Skip to content

Commit ecec7e3

Browse files
committed
Merge branch 'main' of https://github.com/awslabs/aws-sdk-kotlin into smoke-tests-trait
2 parents 408b3cf + 90c0461 commit ecec7e3

File tree

77 files changed

+13929
-3162
lines changed

Some content is hidden

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

77 files changed

+13929
-3162
lines changed
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: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,146 @@
11
# Changelog
22

3+
## [1.3.60] - 10/23/2024
4+
5+
### Features
6+
* (**connect**) Amazon Connect Service Feature: Add support to start screen sharing for a web calling contact.
7+
* (**ec2**) Amazon EC2 X8g, C8g and M8g instances are powered by AWS Graviton4 processors. X8g provide the lowest cost per GiB of memory among Graviton4 instances. C8g provide the best price performance for compute-intensive workloads. M8g provide the best price performance in for general purpose workloads.
8+
* (**mwaa**) Introducing InvokeRestApi which allows users to invoke the Apache Airflow REST API on the webserver with the specified inputs.
9+
* (**paymentcryptography**) Add support for ECC P-256 and P-384 Keys.
10+
* (**paymentcryptographydata**) Add ECDH support on PIN operations.
11+
12+
### Fixes
13+
* Fix backwards incompatibility with versions < 1.2.28
14+
15+
### Documentation
16+
* (**bedrock**) Doc updates for supporting converse
17+
18+
## [1.3.59] - 10/22/2024
19+
20+
### Features
21+
* (**bedrockruntime**) Updating invoke regex to support imported models for converse API
22+
* (**imagebuilder**) Add macOS platform and instance placement options
23+
* (**m2**) Add AuthSecretsManagerArn optional parameter to batch job APIs, expand batch parameter limits, and introduce clientToken constraints.
24+
* (**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.
25+
* (**repostspace**) Adds the BatchAddRole and BatchRemoveRole APIs.
26+
* (**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.
27+
28+
## [1.3.58] - 10/21/2024
29+
30+
### Features
31+
* (**applicationinsights**) This feature enables customers to specify SNS Topic ARN. CloudWatch Application Insights (CWAI) will utilize this ARN to send problem notifications.
32+
* (**autoscaling**) Adds support for removing the PlacementGroup setting on an Auto Scaling Group through the UpdateAutoScalingGroup API.
33+
* (**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.
34+
* (**databasemigrationservice**) Added support for tagging in StartReplicationTaskAssessmentRun API and introduced IsLatestTaskAssessmentRun and ResultStatistic fields for enhanced tracking and assessment result statistics.
35+
* (**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.
36+
* (**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
37+
* (**fms**) Update AWS WAF policy - add the option to retrofit existing web ACLs instead of creating all new web ACLs.
38+
* (**paymentcryptographydata**) Adding new API to generate authenticated scripts for EMV pin change use cases.
39+
* (**wafv2**) Add a property to WebACL to indicate whether it's been retrofitted by Firewall Manager.
40+
41+
## [1.3.57] - 10/18/2024
42+
43+
### Features
44+
* (**athena**) Remove `DataCatalog` from `Create`/`DeleteDataCatalog`. Remove `Status`, `ConnectionType`, and `Error` from `DataCatalog` and `DataCatalogSummary`. These were released inadvertently with no functionality. They were not populated or populated with a default value. Code related to these changes can be safely removed.
45+
* (**bedrock**) Adding converse support to CMI API's
46+
* (**bedrockruntime**) Added converse support for custom imported models
47+
* (**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.
48+
* (**ec2**) RequestSpotInstances and RequestSpotFleet feature release.
49+
50+
## [1.3.56] - 10/17/2024
51+
52+
### Features
53+
* (**bedrockagent**) Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1
54+
* (**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.
55+
* (**pinpointsmsvoicev2**) Added the registrations status of REQUIRES_AUTHENTICATION
56+
* (**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.
57+
* (**quicksight**) Add StartDashboardSnapshotJobSchedule API. RestoreAnalysis now supports restoring analysis to folders.
58+
* (**workspaces**) Updated the DomainName pattern for Active Directory
59+
60+
### Documentation
61+
* (**ecs**) This is an Amazon ECS documentation only update to address tickets.
62+
* (**rds**) Updates Amazon RDS documentation for TAZ IAM support
63+
64+
### Miscellaneous
65+
* Upgrade to Kotlin 2.0.21
66+
67+
## [1.3.55] - 10/16/2024
68+
69+
### Features
70+
* (**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.
71+
72+
## [1.3.54] - 10/15/2024
73+
74+
### Features
75+
* (**amplify**) Added sourceUrlType field to StartDeployment request
76+
* (**codebuild**) Enable proxy for reserved capacity fleet.
77+
* (**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.
78+
* (**qbusiness**) Amazon Q Business now supports embedding the Amazon Q Business web experience on third-party websites.
79+
* (**redshift**) This release launches the CreateIntegration, DeleteIntegration, DescribeIntegrations and ModifyIntegration APIs to create and manage Amazon Redshift Zero-ETL Integrations.
80+
* (**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.
81+
* (**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.
82+
* (**transcribestreaming**) We are expanding support for 40 new locales in AWS Transcribe Streaming.
83+
84+
### Documentation
85+
* (**cloudformation**) Documentation update for AWS CloudFormation API Reference.
86+
87+
## [1.3.53] - 10/14/2024
88+
89+
### Features
90+
* (**codepipeline**) AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions.
91+
* (**mailmanager**) Mail Manager support for viewing and exporting metadata of archived messages.
92+
* (**securitylake**) This release updates request validation regex for resource ARNs.
93+
* (**supplychain**) This release adds AWS Supply Chain instance management functionality. Specifically adding CreateInstance, DeleteInstance, GetInstance, ListInstances, and UpdateInstance APIs.
94+
* (**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.
95+
96+
### Fixes
97+
* ⚠️ **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.
98+
99+
## [1.3.52] - 10/11/2024
100+
101+
### Features
102+
* (**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.
103+
* (**emr**) This release provides new parameter "Context" in instance fleet clusters.
104+
* (**guardduty**) Added a new field for network connection details.
105+
106+
### Fixes
107+
* [#1433](https://github.com/awslabs/aws-sdk-kotlin/issues/1433) Remove Route53 InvalidChangeBatch error response customization
108+
109+
### Documentation
110+
* (**appflow**) Doc only updates for clarification around OAuth2GrantType for Salesforce.
111+
* (**robomaker**) Documentation update: added support notices to each API action.
112+
113+
## [1.3.51] - 10/10/2024
114+
115+
### Features
116+
* (**databasemigrationservice**) Introduces DescribeDataMigrations, CreateDataMigration, ModifyDataMigration, DeleteDataMigration, StartDataMigration, StopDataMigration operations to SDK. Provides FailedDependencyFault error message.
117+
* (**ec2**) This release adds support for assigning the billing of shared Amazon EC2 On-Demand Capacity Reservations.
118+
* (**iotfleetwise**) Refine campaign related API validations
119+
* (**neptunegraph**) Support for 16 m-NCU graphs available through account allowlisting
120+
* (**outposts**) Adding new "DELIVERED" enum value for Outposts Order status
121+
* (**route53resolver**) Route 53 Resolver Forwarding Rules can now include a server name indication (SNI) in the target address for rules that use the DNS-over-HTTPS (DoH) protocol. When a DoH-enabled Outbound Resolver Endpoint forwards a request to a DoH server, it will provide the SNI in the TLS handshake.
122+
* (**socialmessaging**) This release for AWS End User Messaging includes a public SDK, providing a suite of APIs that enable sending WhatsApp messages to end users.
123+
* (**timestreaminfluxdb**) This release updates our regex based validation rules in regards to valid DbInstance and DbParameterGroup name.
124+
125+
### Documentation
126+
* (**acmpca**) Documentation updates for AWS Private CA.
127+
* (**ecs**) This is a documentation only release that updates to documentation to let customers know that Amazon Elastic Inference is no longer available.
128+
* (**elasticinference**) Elastic Inference - Documentation update to add service shutdown notice.
129+
130+
## [1.3.50] - 10/09/2024
131+
132+
### Features
133+
* (**codepipeline**) AWS CodePipeline introduces a Compute category
134+
135+
## [1.3.49] - 10/08/2024
136+
137+
### Features
138+
* (**elasticache**) AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage.
139+
* (**memorydb**) Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage.
140+
141+
### Miscellaneous
142+
* Upgrade to Smithy 1.51.0
143+
3144
## [1.3.48] - 10/07/2024
4145

5146
### 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)