Skip to content

Commit 53e9db0

Browse files
committed
Merge branch 'main' into feat-ddb-mapper
2 parents 8bd53f6 + 87b1ace commit 53e9db0

File tree

64 files changed

+8452
-2826
lines changed

Some content is hidden

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

64 files changed

+8452
-2826
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"id": "b95f4632-90cf-4d72-8947-46fd13b902c4",
3+
"type": "bugfix",
4+
"description": "Fix backwards incompatibility with versions < 1.2.28"
5+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Kat Transform
2+
3+
on:
4+
pull_request:
5+
types: [ opened, synchronize, reopened, labeled, unlabeled ]
6+
branches: [ main ]
7+
8+
# Allow one instance of this workflow per pull request, and cancel older runs when new changes are pushed
9+
concurrency:
10+
group: kat-pr-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
permissions:
14+
id-token: write
15+
contents: read
16+
17+
env:
18+
RUN: ${{ github.run_id }}-${{ github.run_number }}
19+
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dkotlin.incremental=false"
20+
21+
jobs:
22+
verify-transform:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout sources
26+
uses: actions/checkout@v4
27+
with:
28+
path: 'aws-sdk-kotlin'
29+
30+
- name: Setup Build
31+
uses: ./aws-sdk-kotlin/.github/actions/setup-build
32+
33+
- name: Configure AWS Credentials
34+
uses: aws-actions/configure-aws-credentials@v4
35+
with:
36+
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
37+
aws-region: us-west-2
38+
39+
- name: Setup kat
40+
uses: awslabs/aws-kotlin-repo-tools/.github/actions/setup-kat@main
41+
42+
- name: Build
43+
working-directory: ./aws-sdk-kotlin
44+
shell: bash
45+
run: |
46+
pwd
47+
ls -lsa
48+
kat bump-version # Bump from `vNext-SNAPSHOT` to `vNext`. kat transform only works on non-SNAPSHOT versions
49+
./gradlew build
50+
./gradlew publishAllPublicationsToTestLocalRepository
51+
52+
- name: Transform
53+
working-directory: ./aws-sdk-kotlin
54+
shell: bash
55+
run: |
56+
pwd
57+
ls -lsa
58+
kat brazil transform -i ./build/m2 -o ./transformed -t .brazil.json -v live -m ./codegen/sdk/packages.json
59+
60+
# Check for manifest file
61+
if [ ! -f "./transformed/brazil-import-manifest.json" ]; then
62+
echo "Error: brazil-import-manifest.json not found in the transformed artifact"
63+
exit 1
64+
fi
65+
66+
echo "Transformation succeeded!"

CHANGELOG.md

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

3+
## [1.3.59] - 10/22/2024
4+
5+
### Features
6+
* (**bedrockruntime**) Updating invoke regex to support imported models for converse API
7+
* (**imagebuilder**) Add macOS platform and instance placement options
8+
* (**m2**) Add AuthSecretsManagerArn optional parameter to batch job APIs, expand batch parameter limits, and introduce clientToken constraints.
9+
* (**rds**) Global clusters now expose the Endpoint attribute as one of its fields. It is a Read/Write endpoint for the global cluster which resolves to the Global Cluster writer instance.
10+
* (**repostspace**) Adds the BatchAddRole and BatchRemoveRole APIs.
11+
* (**timestreamquery**) This release adds support for Query Insights, a feature that provides details of query execution, enabling users to identify areas for improvement to optimize their queries, resulting in improved query performance and lower query costs.
12+
13+
## [1.3.58] - 10/21/2024
14+
15+
### Features
16+
* (**applicationinsights**) This feature enables customers to specify SNS Topic ARN. CloudWatch Application Insights (CWAI) will utilize this ARN to send problem notifications.
17+
* (**autoscaling**) Adds support for removing the PlacementGroup setting on an Auto Scaling Group through the UpdateAutoScalingGroup API.
18+
* (**bedrockagentruntime**) Knowledge Bases for Amazon Bedrock now supports custom prompts and model parameters in the orchestrationConfiguration of the RetrieveAndGenerate API. The modelArn field accepts Custom Models and Imported Models ARNs.
19+
* (**databasemigrationservice**) Added support for tagging in StartReplicationTaskAssessmentRun API and introduced IsLatestTaskAssessmentRun and ResultStatistic fields for enhanced tracking and assessment result statistics.
20+
* (**ec2**) Amazon EC2 now allows you to create network interfaces with just the EFA driver and no ENA driver by specifying the network interface type as efa-only.
21+
* (**eks**) This release adds support for Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift with EKS that enhances the resiliency of multi-AZ cluster environments
22+
* (**fms**) Update AWS WAF policy - add the option to retrofit existing web ACLs instead of creating all new web ACLs.
23+
* (**paymentcryptographydata**) Adding new API to generate authenticated scripts for EMV pin change use cases.
24+
* (**wafv2**) Add a property to WebACL to indicate whether it's been retrofitted by Firewall Manager.
25+
26+
## [1.3.57] - 10/18/2024
27+
28+
### Features
29+
* (**athena**) Removing FEDERATED from Create/List/Delete/GetDataCatalog API
30+
* (**bedrock**) Adding converse support to CMI API's
31+
* (**bedrockruntime**) Added converse support for custom imported models
32+
* (**datazone**) Adding the following project member designations: PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER and PROJECT_CATALOG_STEWARD in the CreateProjectMembership API and PROJECT_CATALOG_STEWARD designation in the AddPolicyGrant API.
33+
* (**ec2**) RequestSpotInstances and RequestSpotFleet feature release.
34+
35+
## [1.3.56] - 10/17/2024
36+
37+
### Features
38+
* (**bedrockagent**) Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1
39+
* (**dataexchange**) This release adds Data Grant support, through which customers can programmatically create data grants to share with other AWS accounts and accept data grants from other AWS accounts.
40+
* (**pinpointsmsvoicev2**) Added the registrations status of REQUIRES_AUTHENTICATION
41+
* (**pipes**) This release adds validation to require specifying a SecurityGroup and Subnets in the Vpc object under PipesSourceSelfManagedKafkaParameters. It also adds support for iso-e, iso-f, and other non-commercial partitions in ARN parameters.
42+
* (**quicksight**) Add StartDashboardSnapshotJobSchedule API. RestoreAnalysis now supports restoring analysis to folders.
43+
* (**workspaces**) Updated the DomainName pattern for Active Directory
44+
45+
### Documentation
46+
* (**ecs**) This is an Amazon ECS documentation only update to address tickets.
47+
* (**rds**) Updates Amazon RDS documentation for TAZ IAM support
48+
49+
### Miscellaneous
50+
* Upgrade to Kotlin 2.0.21
51+
52+
## [1.3.55] - 10/16/2024
53+
54+
### Features
55+
* (**s3**) Add support for the new optional bucket-region and prefix query parameters in the ListBuckets API. For ListBuckets requests that express pagination, Amazon S3 will now return both the bucket names and associated AWS regions in the response.
56+
57+
## [1.3.54] - 10/15/2024
58+
59+
### Features
60+
* (**amplify**) Added sourceUrlType field to StartDeployment request
61+
* (**codebuild**) Enable proxy for reserved capacity fleet.
62+
* (**ivs**) On a channel that you own, you can now replace an ongoing stream with a new stream by streaming up with the priority parameter appended to the stream key.
63+
* (**qbusiness**) Amazon Q Business now supports embedding the Amazon Q Business web experience on third-party websites.
64+
* (**redshift**) This release launches the CreateIntegration, DeleteIntegration, DescribeIntegrations and ModifyIntegration APIs to create and manage Amazon Redshift Zero-ETL Integrations.
65+
* (**resiliencehub**) AWS Resilience Hub now integrates with the myApplications platform, enabling customers to easily assess the resilience of applications defined in myApplications. The new Resiliency widget provides visibility into application resilience and actionable recommendations for improvement.
66+
* (**sesv2**) This release adds support for email maximum delivery seconds that allows senders to control the time within which their emails are attempted for delivery.
67+
* (**transcribestreaming**) We are expanding support for 40 new locales in AWS Transcribe Streaming.
68+
69+
### Documentation
70+
* (**cloudformation**) Documentation update for AWS CloudFormation API Reference.
71+
72+
## [1.3.53] - 10/14/2024
73+
74+
### Features
75+
* (**codepipeline**) AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions.
76+
* (**mailmanager**) Mail Manager support for viewing and exporting metadata of archived messages.
77+
* (**securitylake**) This release updates request validation regex for resource ARNs.
78+
* (**supplychain**) This release adds AWS Supply Chain instance management functionality. Specifically adding CreateInstance, DeleteInstance, GetInstance, ListInstances, and UpdateInstance APIs.
79+
* (**transfer**) This release enables customers using SFTP connectors to query the transfer status of their files to meet their monitoring needs as well as orchestrate post transfer actions.
80+
81+
### Fixes
82+
* ⚠️ **IMPORTANT**: Update to the latest S3 model, which correctly models `ReplicationRuleFilter` and `LifecycleRuleFilter` as structures (not unions). This may cause compilation failures in existing code which references these two shapes.
83+
84+
## [1.3.52] - 10/11/2024
85+
86+
### Features
87+
* (**elasticloadbalancingv2**) Add zonal_shift.config.enabled attribute. Add new AdministrativeOverride construct in the describe-target-health API response to include information about the override status applied to a target.
88+
* (**emr**) This release provides new parameter "Context" in instance fleet clusters.
89+
* (**guardduty**) Added a new field for network connection details.
90+
91+
### Fixes
92+
* [#1433](https://github.com/awslabs/aws-sdk-kotlin/issues/1433) Remove Route53 InvalidChangeBatch error response customization
93+
94+
### Documentation
95+
* (**appflow**) Doc only updates for clarification around OAuth2GrantType for Salesforce.
96+
* (**robomaker**) Documentation update: added support notices to each API action.
97+
398
## [1.3.51] - 10/10/2024
499

5100
### Features

aws-runtime/aws-config/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ plugins {
1414
description = "Support for AWS configuration"
1515
extra["moduleName"] = "aws.sdk.kotlin.runtime.config"
1616

17-
apply(plugin = "kotlinx-atomicfu")
17+
apply(plugin = "org.jetbrains.kotlinx.atomicfu")
1818

1919
kotlin {
2020
sourceSets {

aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/config/profile/ConfigSection.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ package aws.sdk.kotlin.runtime.config.profile
88
import aws.sdk.kotlin.runtime.InternalSdkApi
99

1010
@InternalSdkApi
11+
@ExposedCopyVisibility // FIXME Change to @ConsistentCopyVisibility in 1.4.x minor version bump
1112
public data class ConfigSection internal constructor(
1213
public val name: String,
1314
internal val properties: Map<String, AwsConfigValue>,

aws-runtime/aws-endpoint/api/aws-endpoint.api

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public final class aws/sdk/kotlin/runtime/endpoint/functions/PartitionConfig {
4747
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
4848
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;)V
4949
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
50+
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
5051
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;)V
5152
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
5253
public final fun component1 ()Ljava/lang/String;

aws-runtime/aws-endpoint/common/src/aws/sdk/kotlin/runtime/endpoint/functions/Functions.kt

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,31 @@ public data class Partition(
6262
* the result of a partition call.
6363
*/
6464
@InternalSdkApi
65-
public data class PartitionConfig @JvmOverloads constructor(
65+
public data class PartitionConfig(
6666
public val name: String? = null,
6767
public val dnsSuffix: String? = null,
6868
public val dualStackDnsSuffix: String? = null,
6969
public val supportsFIPS: Boolean? = null,
7070
public val supportsDualStack: Boolean? = null,
7171
public val implicitGlobalRegion: String? = null,
7272
) {
73+
@Deprecated("This constructor does not support implicitGlobalRegion") // but is added for backwards compatibility
74+
@JvmOverloads
75+
public constructor (
76+
name: String? = null,
77+
dnsSuffix: String? = null,
78+
dualStackDnsSuffix: String? = null,
79+
supportsFIPS: Boolean? = null,
80+
supportsDualStack: Boolean? = null,
81+
) : this(
82+
name,
83+
dnsSuffix,
84+
dualStackDnsSuffix,
85+
supportsFIPS,
86+
supportsDualStack,
87+
null,
88+
)
89+
7390
public fun mergeWith(other: PartitionConfig): PartitionConfig =
7491
PartitionConfig(
7592
other.name ?: name,

codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/customization/route53/ChangeResourceRecordSetsUnmarshallingIntegration.kt

Lines changed: 0 additions & 42 deletions
This file was deleted.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ aws.sdk.kotlin.codegen.customization.glacier.GlacierBodyChecksum
3333
aws.sdk.kotlin.codegen.customization.polly.PollyPresigner
3434
aws.sdk.kotlin.codegen.customization.machinelearning.MachineLearningEndpointCustomization
3535
aws.sdk.kotlin.codegen.customization.route53.TrimResourcePrefix
36-
aws.sdk.kotlin.codegen.customization.route53.ChangeResourceRecordSetsUnmarshallingIntegration
3736
aws.sdk.kotlin.codegen.customization.ec2.EC2MakePrimitivesOptional
3837
aws.sdk.kotlin.codegen.customization.RemoveDefaults
3938
aws.sdk.kotlin.codegen.customization.s3.UnsupportedSigningAlgorithmIntegration

0 commit comments

Comments
 (0)