Skip to content

Commit fdf75ed

Browse files
authored
Merge branch 'feat-ddb-mapper' into feat-ddb-publish
2 parents eacd39d + 4240741 commit fdf75ed

File tree

74 files changed

+17872
-5099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+17872
-5099
lines changed

.brazil.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.*.*": "KotlinStdlibJdk8-2.x",
66
"org.jetbrains.kotlin:kotlin-stdlib:2.*.*": "KotlinStdlib-2.x",
77
"org.jetbrains.kotlinx:atomicfu:0.*.*": "Atomicfu-0.x",
8-
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.8.*": "KotlinxCoroutinesCoreJvm-1.8.x",
9-
"org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.*": "KotlinxCoroutinesCore-1.8.x",
10-
"org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.8.*": "KotlinxCoroutinesJdk8-1.8.x",
8+
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.*": "KotlinxCoroutinesCoreJvm-1.x",
9+
"org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.*": "KotlinxCoroutinesJdk8-1.x",
1110
"com.google.devtools.ksp:symbol-processing-api:2.*": "Maven-com-google-devtools-ksp_symbol-processing-api-2.x",
1211
"com.google.devtools.ksp:symbol-processing-gradle-plugin:2.*": "Maven-com-google-devtools-ksp_symbol-processing-gradle-plugin-2.x"
1312
},
@@ -21,6 +20,9 @@
2120
"aws.sdk.kotlin:version-catalog"
2221
],
2322
"resolvesConflictDependencies": {
23+
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.*" : ["KotlinxCoroutinesCoreJvm-1.x"],
24+
"org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.*": ["KotlinxCoroutinesJdk8-1.x"],
25+
"aws.smithy.kotlin:aws-event-stream:1.*": ["KotlinxCoroutinesCoreJvm-1.x"]
2426
}
2527
}
2628
}

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ body:
1111
validations:
1212
required: true
1313

14+
- type: checkboxes
15+
id: regression
16+
attributes:
17+
label: Regression Issue
18+
description: What is a regression? If it worked in a previous version but doesn't in the latest version, it's considered a regression. In this case, please provide specific version number in the report.
19+
options:
20+
- label: Select this option if this issue appears to be a regression.
21+
required: false
22+
1423
- type: textarea
1524
id: expected
1625
attributes:
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Apply potential regression label on issues
2+
name: issue-regression-label
3+
on:
4+
issues:
5+
types: [opened, edited]
6+
jobs:
7+
add-regression-label:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
steps:
12+
- name: Fetch template body
13+
id: check_regression
14+
uses: actions/github-script@v7
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
TEMPLATE_BODY: ${{ github.event.issue.body }}
18+
with:
19+
script: |
20+
const regressionPattern = /\[x\] Select this option if this issue appears to be a regression\./i;
21+
const template = `${process.env.TEMPLATE_BODY}`
22+
const match = regressionPattern.test(template);
23+
core.setOutput('is_regression', match);
24+
- name: Manage regression label
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
run: |
28+
if [ "${{ steps.check_regression.outputs.is_regression }}" == "true" ]; then
29+
gh issue edit ${{ github.event.issue.number }} --add-label "potential-regression" -R ${{ github.repository }}
30+
else
31+
gh issue edit ${{ github.event.issue.number }} --remove-label "potential-regression" -R ${{ github.repository }}
32+
fi

CHANGELOG.md

Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,162 @@
11
# Changelog
22

3+
## [1.3.42] - 09/27/2024
4+
5+
### Features
6+
* (**customerprofiles**) Introduces optional RoleArn parameter for PutIntegration request and includes RoleArn in the response of PutIntegration, GetIntegration and ListIntegrations
7+
* (**quicksight**) Adding personalization in QuickSight data stories. Admins can enable or disable personalization through QuickSight settings.
8+
* (**sesv2**) This release adds support for engagement tracking over Https using custom domains.
9+
10+
### Documentation
11+
* (**securityhub**) Documentation updates for AWS Security Hub
12+
13+
### Miscellaneous
14+
* Remove WorkLink service
15+
16+
## [1.3.41] - 09/26/2024
17+
18+
### Features
19+
* (**chatbot**) Return State and StateReason fields for Chatbot Channel Configurations.
20+
* (**lambda**) Reverting Lambda resource-based policy and block public access APIs.
21+
* (**organizations**) Add support for policy operations on the CHATBOT_POLICY policy type.
22+
* (**sagemaker**) Adding `TagPropagation` attribute to Sagemaker API
23+
24+
### Documentation
25+
* (**pcs**) AWS PCS API documentation - Edited the description of the iamInstanceProfileArn parameter of the CreateComputeNodeGroup and UpdateComputeNodeGroup actions; edited the description of the SlurmCustomSetting data type to list the supported parameters for clusters and compute node groups.
26+
* (**rdsdata**) Documentation update for RDS Data API to reflect support for Aurora MySQL Serverless v2 and Provisioned DB clusters.
27+
28+
## [1.3.40] - 09/25/2024
29+
30+
### Documentation
31+
* (**cloudtrail**) Doc-only update for CloudTrail network activity events release (in preview)
32+
* (**ec2**) Updates to documentation for the transit gateway security group referencing feature.
33+
* (**fsx**) Doc-only update to address Lustre S3 hard-coded names.
34+
35+
## [1.3.39] - 09/24/2024
36+
37+
### Features
38+
* (**bedrock**) Add support for Cross Region Inference in Bedrock Model Evaluations.
39+
* (**budgets**) Releasing minor partitional endpoint updates
40+
* (**kinesis**) This release includes support to add tags when creating a stream
41+
* (**pinpointsmsvoicev2**) AWS End User Messaging SMS-Voice V2 has added support for resource policies. Use the three new APIs to create, view, edit, and delete resource policies.
42+
* (**sagemaker**) Adding `HiddenInstanceTypes` and `HiddenSageMakerImageVersionAliases` attribute to SageMaker API
43+
44+
## [1.3.38] - 09/23/2024
45+
46+
### Features
47+
* (**athena**) List/Get/Update/Delete/CreateDataCatalog now integrate with AWS Glue connections. Users can create a Glue connection through Athena or use a Glue connection to define their Athena federated parameters.
48+
* (**bedrockagent**) Amazon Bedrock Prompt Flows and Prompt Management now supports using inference profiles to increase throughput and improve resilience.
49+
* (**ec2**) Amazon EC2 G6e instances powered by NVIDIA L40S Tensor Core GPUs are the most cost-efficient GPU instances for deploying generative AI models and the highest performance GPU instances for spatial computing workloads.
50+
* (**emrserverless**) This release adds support for job concurrency and queuing configuration at Application level.
51+
* (**glue**) Added AthenaProperties parameter to Glue Connections, allowing Athena to store service specific properties on Glue Connections.
52+
* (**rds**) Support ComputeRedundancy parameter in ModifyDBShardGroup API. Add DBShardGroupArn in DBShardGroup API response. Remove InvalidMaxAcuFault from CreateDBShardGroup and ModifyDBShardGroup API. Both API will throw InvalidParameterValueException for invalid ACU configuration.
53+
* (**resourceexplorer2**) AWS Resource Explorer released ListResources feature which allows customers to list all indexed AWS resources within a view.
54+
55+
### Documentation
56+
* (**apigateway**) Documentation updates for Amazon API Gateway
57+
58+
## [1.3.37] - 09/20/2024
59+
60+
### Features
61+
* (**dynamodb**) Generate account endpoint for DynamoDB requests when the account ID is available
62+
* (**neptune**) Add v2 smoke tests and smithy smokeTests trait for SDK testing.
63+
* (**sagemaker**) Amazon SageMaker now supports using manifest files to specify the location of uncompressed model artifacts within Model Packages
64+
* (**sagemakermetrics**) This release introduces support for the SageMaker Metrics BatchGetMetrics API.
65+
* (**workspaces**) Releasing new ErrorCodes for SysPrep failures during ImageImport and CreateImage process
66+
67+
## [1.3.36] - 09/19/2024
68+
69+
### Features
70+
* (**codeconnections**) This release adds the PullRequestComment field to CreateSyncConfiguration API input, UpdateSyncConfiguration API input, GetSyncConfiguration API output and ListSyncConfiguration API output
71+
* (**glue**) This change is for releasing TestConnection api SDK model
72+
* (**lambda**) Tagging support for Lambda event source mapping, and code signing configuration resources.
73+
* (**mediaconvert**) This release provides support for additional DRM configurations per SPEKE Version 2.0.
74+
* (**medialive**) Adds Bandwidth Reduction Filtering for HD AVC and HEVC encodes, multiplex container settings.
75+
* (**quicksight**) QuickSight: 1. Add new API - ListFoldersForResource. 2. Commit mode adds visibility configuration of Apply button on multi-select controls for authors.
76+
* (**sagemaker**) Introduced support for G6e instance types on SageMaker Studio for JupyterLab and CodeEditor applications.
77+
* (**workspacesweb**) WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs.
78+
79+
### Miscellaneous
80+
* Upgrade to kotlinx.coroutines 1.9.0
81+
82+
## [1.3.35] - 09/18/2024
83+
84+
### Features
85+
* (**costexplorer**) This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations.
86+
* (**directoryservice**) Added new APIs for enabling, disabling, and describing access to the AWS Directory Service Data API
87+
* (**directoryservicedata**) Added new AWS Directory Service Data API, enabling you to manage data stored in AWS Directory Service directories. This includes APIs for creating, reading, updating, and deleting directory users, groups, and group memberships.
88+
* (**guardduty**) Add `launchType` and `sourceIPs` fields to GuardDuty findings.
89+
* (**mailmanager**) Introduce a new RuleSet condition evaluation, where customers can set up a StringExpression with a MimeHeader condition. This condition will perform the necessary validation based on the X-header provided by customers.
90+
* (**s3**) Added SSE-KMS support for directory buckets.
91+
92+
### Documentation
93+
* (**rds**) Updates Amazon RDS documentation with information upgrading snapshots with unsupported engine versions for RDS for MySQL and RDS for PostgreSQL.
94+
95+
## [1.3.34] - 09/17/2024
96+
97+
### Features
98+
* (**codebuild**) GitLab Enhancements - Add support for Self-Hosted GitLab runners in CodeBuild. Add group webhooks
99+
* (**ecr**) The `DescribeImageScanning` API now includes `fixAvailable`, `exploitAvailable`, and `fixedInVersion` fields to provide more detailed information about the availability of fixes, exploits, and fixed versions for identified image vulnerabilities.
100+
* (**lambda**) Support for JSON resource-based policies and block public access
101+
* (**ssm**) Support for additional levels of cross-account, cross-Region organizational units in Automation. Various documentation updates.
102+
103+
### Documentation
104+
* (**ecs**) This is a documentation only release to address various tickets.
105+
* (**rds**) Updates Amazon RDS documentation with configuration information about the BYOL model for RDS for Db2.
106+
107+
## [1.3.33] - 09/16/2024
108+
109+
### Features
110+
* (**bedrock**) This feature adds cross account s3 bucket and VPC support to ModelInvocation jobs. To use a cross account bucket, pass in the accountId of the bucket to s3BucketOwner in the ModelInvocationJobInputDataConfig or ModelInvocationJobOutputDataConfig.
111+
* (**iot**) This release adds additional enhancements to AWS IoT Device Management Software Package Catalog and Jobs. It also adds SBOM support in Software Package Version.
112+
* (**medialive**) Removing the ON_PREMISE enum from the input settings field.
113+
* (**rds**) Launching Global Cluster tagging.
114+
115+
### Documentation
116+
* (**organizations**) Doc only update for AWS Organizations that fixes several customer-reported issues
117+
* (**pcaconnectorscep**) This is a general availability (GA) release of Connector for SCEP, a feature of AWS Private CA. Connector for SCEP links your SCEP-enabled and mobile device management systems to AWS Private CA for digital signature installation and certificate management.
118+
119+
## [1.3.32] - 09/13/2024
120+
121+
### Documentation
122+
* (**amplify**) Doc only update to Amplify to explain platform setting for Next.js 14 SSG only applications
123+
* (**ivs**) Updates to all tags descriptions.
124+
* (**ivschat**) Updates to all tags descriptions.
125+
126+
## [1.3.31] - 09/12/2024
127+
128+
### Features
129+
* (**cognitoidentityprovider**) Added email MFA option to user pools with advanced security features.
130+
* (**elasticloadbalancingv2**) Correct incorrectly mapped error in ELBv2 waiters
131+
* (**emr**) Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters.
132+
* (**glue**) AWS Glue is introducing two new optimizers for Apache Iceberg tables: snapshot retention and orphan file deletion. Customers can enable these optimizers and customize their configurations to perform daily maintenance tasks on their Iceberg tables based on their specific requirements.
133+
* (**mediaconvert**) This release includes support for dynamic video overlay workflows, including picture-in-picture and squeezeback
134+
* (**storagegateway**) The S3 File Gateway now supports DSSE-KMS encryption. A new parameter EncryptionType is added to these APIs: CreateSmbFileShare, CreateNfsFileShare, UpdateSmbFileShare, UpdateNfsFileShare, DescribeSmbFileShares, DescribeNfsFileShares. Also, in favor of EncryptionType, KmsEncrypted is deprecated.
135+
* (**synthetics**) This release introduces two features. The first is tag replication, which allows for the propagation of canary tags onto Synthetics related resources, such as Lambda functions. The second is a limit increase in canary name length, which has now been increased from 21 to 255 characters.
136+
137+
### Documentation
138+
* (**rds**) This release adds support for the os-upgrade pending maintenance action for Amazon Aurora DB clusters.
139+
140+
## [1.3.30] - 09/11/2024
141+
142+
### Features
143+
* (**bedrockagent**) Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.
144+
* (**bedrockagentruntime**) Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.
145+
* (**ecr**) Added KMS_DSSE to EncryptionType
146+
* (**guardduty**) Add support for new statistic types in GetFindingsStatistics.
147+
* (**lexmodelsv2**) Support new Polly voice engines in VoiceSettings: long-form and generative
148+
* (**medialive**) Adds AV1 Codec support, SRT ouputs, and MediaLive Anywhere support.
149+
150+
## [1.3.29] - 09/10/2024
151+
152+
### Features
153+
* (**cognitoidentity**) This release adds sensitive trait to some required shapes.
154+
* (**pipes**) This release adds support for customer managed KMS keys in Amazon EventBridge Pipe
155+
156+
### Documentation
157+
* (**chimesdkvoice**) Documentation-only update that clarifies the ValidateE911Address action of the Amazon Chime SDK Voice APIs.
158+
* (**securityhub**) Documentation update for Security Hub
159+
3160
## [1.3.28] - 09/09/2024
4161

5162
### Features

build-support/src/main/kotlin/aws/sdk/kotlin/gradle/sdk/tasks/UpdatePackageManifest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import aws.sdk.kotlin.gradle.sdk.PackageManifest
88
import aws.sdk.kotlin.gradle.sdk.PackageMetadata
99
import aws.sdk.kotlin.gradle.sdk.orNull
1010
import aws.sdk.kotlin.gradle.sdk.validate
11-
import kotlinx.serialization.ExperimentalSerializationApi
1211
import kotlinx.serialization.encodeToString
1312
import kotlinx.serialization.json.Json
1413
import org.gradle.api.DefaultTask
@@ -46,7 +45,6 @@ abstract class UpdatePackageManifest : DefaultTask() {
4645
@get:Input
4746
public abstract val discover: Property<Boolean>
4847

49-
@OptIn(ExperimentalSerializationApi::class)
5048
@TaskAction
5149
fun updatePackageManifest() {
5250
check(modelFile.isPresent != modelDir.isPresent) { "Exactly one of `model` or `model-dir` must be set" }

build-support/src/test/kotlin/aws/sdk/kotlin/gradle/sdk/tasks/UpdatePackageManifestTaskTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package aws.sdk.kotlin.gradle.sdk.tasks
66

77
import aws.sdk.kotlin.gradle.sdk.PackageManifest
88
import aws.sdk.kotlin.gradle.sdk.PackageMetadata
9-
import kotlinx.serialization.ExperimentalSerializationApi
109
import kotlinx.serialization.encodeToString
1110
import kotlinx.serialization.json.Json
1211
import org.gradle.kotlin.dsl.create
@@ -15,7 +14,6 @@ import org.junit.jupiter.api.io.TempDir
1514
import java.io.File
1615
import kotlin.test.*
1716

18-
@OptIn(ExperimentalSerializationApi::class)
1917
class UpdatePackageManifestTaskTest {
2018
fun modelContents(sdkId: String, serviceName: String = "TestService"): String = """
2119
${"$"}version: "2"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
package aws.sdk.kotlin.codegen.smoketests
2+
3+
import software.amazon.smithy.kotlin.codegen.KotlinSettings
4+
import software.amazon.smithy.kotlin.codegen.integration.KotlinIntegration
5+
import software.amazon.smithy.kotlin.codegen.integration.SectionWriter
6+
import software.amazon.smithy.kotlin.codegen.integration.SectionWriterBinding
7+
import software.amazon.smithy.kotlin.codegen.rendering.smoketests.SmokeTestsRunner
8+
import software.amazon.smithy.model.Model
9+
10+
/**
11+
* Will wipe the smoke test runner file for services that are deny listed.
12+
*
13+
* Some services model smoke tests incorrectly and the code generated file will not compile.
14+
*/
15+
class SmokeTestsDenyListIntegration : KotlinIntegration {
16+
override fun enabledForService(model: Model, settings: KotlinSettings): Boolean =
17+
settings.sdkId in smokeTestDenyList
18+
19+
override val sectionWriters: List<SectionWriterBinding>
20+
get() = listOf(
21+
SectionWriterBinding(SmokeTestsRunner, smokeTestDenyListSectionWriter),
22+
)
23+
24+
private val smokeTestDenyListSectionWriter = SectionWriter { writer, _ ->
25+
writer.write("// Smoke tests for service deny listed until model is fixed")
26+
}
27+
}
28+
29+
/**
30+
* SDK ID's of services that model smoke tests incorrectly
31+
*/
32+
val smokeTestDenyList = setOf(
33+
"Application Auto Scaling",
34+
"SWF",
35+
"WAFV2",
36+
)

codegen/aws-sdk-codegen/src/main/resources/META-INF/services/software.amazon.smithy.kotlin.codegen.integration.KotlinIntegration

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ aws.sdk.kotlin.codegen.customization.s3.express.SigV4S3ExpressAuthSchemeIntegrat
4343
aws.sdk.kotlin.codegen.customization.s3.express.S3ExpressIntegration
4444
aws.sdk.kotlin.codegen.customization.s3.S3ExpiresIntegration
4545
aws.sdk.kotlin.codegen.BusinessMetricsIntegration
46+
aws.sdk.kotlin.codegen.smoketests.SmokeTestsDenyListIntegration

0 commit comments

Comments
 (0)