From 27462031e5530668a943f584ba5a5503a7cbee87 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Mon, 13 Jan 2025 19:03:00 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/artifact.json | 457 +++++++++++--- codegen/sdk-codegen/aws-models/bedrock.json | 37 ++ codegen/sdk-codegen/aws-models/ec2.json | 40 +- .../sdk-codegen/aws-models/kafkaconnect.json | 559 ++++++++++++++++-- .../sdk-codegen/aws-models/transcribe.json | 24 + 5 files changed, 974 insertions(+), 143 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/artifact.json b/codegen/sdk-codegen/aws-models/artifact.json index 90a54e27e54..1eaacfd2fff 100644 --- a/codegen/sdk-codegen/aws-models/artifact.json +++ b/codegen/sdk-codegen/aws-models/artifact.json @@ -121,18 +121,15 @@ "aws.auth#sigv4": { "name": "artifact" }, + "aws.endpoints#standardPartitionalEndpoints": { + "endpointPatternType": "service_region_dnsSuffix" + }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "

This reference provides descriptions of the low-level AWS Artifact Service API.

", "smithy.api#title": "AWS Artifact", "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, @@ -152,6 +149,12 @@ "required": false, "documentation": "Override the endpoint used to send this request", "type": "String" + }, + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" } }, "rules": [ @@ -303,18 +306,19 @@ "rules": [ { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://artifact-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -337,6 +341,15 @@ }, true ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] } ], "rules": [ @@ -361,18 +374,19 @@ "rules": [ { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://artifact-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -387,6 +401,15 @@ }, { "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, { "fn": "booleanEquals", "argv": [ @@ -419,18 +442,19 @@ "rules": [ { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://artifact.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -445,18 +469,19 @@ }, { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://artifact.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -476,10 +501,51 @@ }, "smithy.rules#endpointTests": { "testCases": [ + { + "documentation": "For custom endpoint with region not set and fips disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips enabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": true + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": false, + "UseDualStack": true + } + }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://artifact-fips.us-east-1.api.aws" } }, @@ -493,6 +559,14 @@ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://artifact-fips.us-east-1.amazonaws.com" } }, @@ -506,6 +580,14 @@ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://artifact.us-east-1.api.aws" } }, @@ -519,6 +601,14 @@ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://artifact.us-east-1.amazonaws.com" } }, @@ -529,105 +619,169 @@ } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://artifact-fips.cn-north-1.api.amazonwebservices.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://artifact-fips.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://artifact-fips.cn-north-1.amazonaws.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://artifact-fips.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://artifact.cn-north-1.api.amazonwebservices.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://artifact.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://artifact.cn-north-1.amazonaws.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://artifact.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://artifact-fips.us-gov-east-1.api.aws" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://artifact-fips.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://artifact-fips.us-gov-east-1.amazonaws.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://artifact-fips.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://artifact.us-gov-east-1.api.aws" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://artifact.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://artifact.us-gov-east-1.amazonaws.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://artifact.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": false } @@ -647,6 +801,14 @@ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, "url": "https://artifact-fips.us-iso-east-1.c2s.ic.gov" } }, @@ -671,6 +833,14 @@ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, "url": "https://artifact.us-iso-east-1.c2s.ic.gov" } }, @@ -695,6 +865,14 @@ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, "url": "https://artifact-fips.us-isob-east-1.sc2s.sgov.gov" } }, @@ -719,6 +897,14 @@ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, "url": "https://artifact.us-isob-east-1.sc2s.sgov.gov" } }, @@ -729,54 +915,131 @@ } }, { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "eu-isoe-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://example.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://artifact-fips.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { - "Region": "us-east-1", + "Region": "eu-isoe-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "eu-isoe-west-1", "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": true } }, { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://example.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://artifact.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { + "Region": "eu-isoe-west-1", "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", + "Region": "us-isof-south-1", "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": true } }, { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled", "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://artifact-fips.us-isof-south-1.csp.hci.ic.gov" + } }, "params": { - "Region": "us-east-1", + "Region": "us-isof-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://artifact.us-isof-south-1.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" + "UseDualStack": false } }, { diff --git a/codegen/sdk-codegen/aws-models/bedrock.json b/codegen/sdk-codegen/aws-models/bedrock.json index 278940da89b..73463e335b5 100644 --- a/codegen/sdk-codegen/aws-models/bedrock.json +++ b/codegen/sdk-codegen/aws-models/bedrock.json @@ -3027,6 +3027,12 @@ "smithy.api#default": "{}", "smithy.api#documentation": "

Each Amazon Bedrock support different inference parameters that change how the model behaves during inference.

" } + }, + "performanceConfig": { + "target": "com.amazonaws.bedrock#PerformanceConfiguration", + "traits": { + "smithy.api#documentation": "

Specifies performance settings for the model or inference profile.

" + } } }, "traits": { @@ -10536,6 +10542,37 @@ "smithy.api#pattern": "^\\S*$" } }, + "com.amazonaws.bedrock#PerformanceConfigLatency": { + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "standard" + } + }, + "OPTIMIZED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "optimized" + } + } + } + }, + "com.amazonaws.bedrock#PerformanceConfiguration": { + "type": "structure", + "members": { + "latency": { + "target": "com.amazonaws.bedrock#PerformanceConfigLatency", + "traits": { + "smithy.api#documentation": "

Specifies whether to use the latency-optimized or standard version of a model or inference profile.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains performance settings for a model.

" + } + }, "com.amazonaws.bedrock#PositiveInteger": { "type": "integer", "traits": { diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 336ecc33085..0618d22ea07 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -10248,7 +10248,7 @@ "target": "com.amazonaws.ec2#CancelCapacityReservationResult" }, "traits": { - "smithy.api#documentation": "

Cancels the specified Capacity Reservation, releases the reserved capacity, and changes \n\t\t\tthe Capacity Reservation's state to cancelled.

\n

You can cancel a Capacity Reservation that is in the following states:

\n \n

If a future-dated Capacity Reservation enters the delayed state, the commitment \n\t\t\tduration is waived, and you can cancel it as soon as it enters the active state.

\n

Instances running in the reserved capacity continue running until you stop them. Stopped\n\t\t\tinstances that target the Capacity Reservation can no longer launch. Modify these instances to either\n\t\t\ttarget a different Capacity Reservation, launch On-Demand Instance capacity, or run in any open Capacity Reservation\n\t\t\tthat has matching attributes and sufficient capacity.

" + "smithy.api#documentation": "

Cancels the specified Capacity Reservation, releases the reserved capacity, and changes \n\t\t\tthe Capacity Reservation's state to cancelled.

\n

You can cancel a Capacity Reservation that is in the following states:

\n \n \n

You can't modify or cancel a Capacity Block. For more information, see Capacity Blocks for ML.

\n
\n

If a future-dated Capacity Reservation enters the delayed state, the commitment \n\t\t\tduration is waived, and you can cancel it as soon as it enters the active state.

\n

Instances running in the reserved capacity continue running until you stop them. Stopped\n\t\t\tinstances that target the Capacity Reservation can no longer launch. Modify these instances to either\n\t\t\ttarget a different Capacity Reservation, launch On-Demand Instance capacity, or run in any open Capacity Reservation\n\t\t\tthat has matching attributes and sufficient capacity.

" } }, "com.amazonaws.ec2#CancelCapacityReservationFleetError": { @@ -13506,6 +13506,14 @@ "smithy.api#documentation": "

Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is\n\t\t\testablished.

", "smithy.api#xmlName": "clientLoginBannerOptions" } + }, + "DisconnectOnSessionTimeout": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "aws.protocols#ec2QueryName": "DisconnectOnSessionTimeout", + "smithy.api#documentation": "

Indicates whether the client VPN session is disconnected after the maximum sessionTimeoutHours is reached. If true, users are prompted to reconnect client VPN. If false, client VPN attempts to reconnect automatically. The default value is false.

", + "smithy.api#xmlName": "disconnectOnSessionTimeout" + } } }, "traits": { @@ -14723,7 +14731,7 @@ "target": "com.amazonaws.ec2#CopySnapshotResult" }, "traits": { - "smithy.api#documentation": "

Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy a\n snapshot within the same Region, from one Region to another, or from a Region to an Outpost. \n You can't copy a snapshot from an Outpost to a Region, from one Outpost to another, or within \n the same Outpost.

\n

You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs).

\n

When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted. \n \tCopies of unencrypted snapshots remain unencrypted, unless you enable encryption for the \n \tsnapshot copy operation. By default, encrypted snapshot copies use the default KMS key; \n \thowever, you can specify a different KMS key. To copy an encrypted \n \tsnapshot that has been shared from another account, you must have permissions for the KMS key \n \tused to encrypt the snapshot.

\n

Snapshots copied to an Outpost are encrypted by default using the default\n \t\tencryption key for the Region, or a different key that you specify in the request using \n \t\tKmsKeyId. Outposts do not support unencrypted \n \t snapshots. For more information, \n \t\t\tAmazon EBS local snapshots on Outposts in the Amazon EBS User Guide.

\n

Snapshots created by copying another snapshot have an arbitrary volume ID that should not\n be used for any purpose.

\n

For more information, see Copy an Amazon EBS snapshot in the\n Amazon EBS User Guide.

", + "smithy.api#documentation": "

Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy a\n snapshot within the same Region, from one Region to another, or from a Region to an Outpost. \n You can't copy a snapshot from an Outpost to a Region, from one Outpost to another, or within \n the same Outpost.

\n

You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs).

\n

When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted. \n \tCopies of unencrypted snapshots remain unencrypted, unless you enable encryption for the \n \tsnapshot copy operation. By default, encrypted snapshot copies use the default KMS key; \n \thowever, you can specify a different KMS key. To copy an encrypted \n \tsnapshot that has been shared from another account, you must have permissions for the KMS key \n \tused to encrypt the snapshot.

\n

Snapshots copied to an Outpost are encrypted by default using the default encryption key\n for the Region, or a different key that you specify in the request using KmsKeyId. Outposts do not support unencrypted snapshots. For more information,\n see Amazon EBS\n local snapshots on Outposts in the Amazon EBS User Guide.

\n

Snapshots created by copying another snapshot have an arbitrary volume ID that should not\n be used for any purpose.

\n

For more information, see Copy an Amazon EBS snapshot in the\n Amazon EBS User Guide.

", "smithy.api#examples": [ { "title": "To copy a snapshot", @@ -15635,6 +15643,12 @@ "traits": { "smithy.api#documentation": "

Options for enabling a customizable text banner that will be displayed on\n\t\t\tAmazon Web Services provided clients when a VPN session is established.

" } + }, + "DisconnectOnSessionTimeout": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether the client VPN session is disconnected after the maximum timeout specified in SessionTimeoutHours is reached. If true, users are prompted to reconnect client VPN. If false, client VPN attempts to reconnect automatically. \n The default value is false.

" + } } }, "traits": { @@ -19805,7 +19819,7 @@ "target": "com.amazonaws.ec2#Snapshot" }, "traits": { - "smithy.api#documentation": "

Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for\n \tbackups, to make copies of EBS volumes, and to save data before shutting down an\n \tinstance.

\n

The location of the source EBS volume determines where you can create the snapshot.

\n \n

When a snapshot is created, any Amazon Web Services Marketplace product codes that are associated with the\n source volume are propagated to the snapshot.

\n

You can take a snapshot of an attached volume that is in use. However, snapshots only\n capture data that has been written to your Amazon EBS volume at the time the snapshot command is\n issued; this might exclude any data that has been cached by any applications or the operating\n system. If you can pause any file systems on the volume long enough to take a snapshot, your\n snapshot should be complete. However, if you cannot pause all file writes to the volume, you\n should unmount the volume from within the instance, issue the snapshot command, and then\n remount the volume to ensure a consistent and complete snapshot. You may remount and use your\n volume while the snapshot status is pending.

\n

When you create a snapshot for an EBS volume that serves as a root device, we recommend \n that you stop the instance before taking the snapshot.

\n

Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that\n are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes\n and any associated snapshots always remain protected. For more information, \n Amazon EBS encryption \n in the Amazon EBS User Guide.

", + "smithy.api#documentation": "

Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for\n \tbackups, to make copies of EBS volumes, and to save data before shutting down an\n \tinstance.

\n

The location of the source EBS volume determines where you can create the snapshot.

\n \n

When a snapshot is created, any Amazon Web Services Marketplace product codes that are associated with the\n source volume are propagated to the snapshot.

\n

You can take a snapshot of an attached volume that is in use. However, snapshots only\n capture data that has been written to your Amazon EBS volume at the time the snapshot command is\n issued; this might exclude any data that has been cached by any applications or the operating\n system. If you can pause any file systems on the volume long enough to take a snapshot, your\n snapshot should be complete. However, if you cannot pause all file writes to the volume, you\n should unmount the volume from within the instance, issue the snapshot command, and then\n remount the volume to ensure a consistent and complete snapshot. You may remount and use your\n volume while the snapshot status is pending.

\n

When you create a snapshot for an EBS volume that serves as a root device, we recommend \n that you stop the instance before taking the snapshot.

\n

Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that\n are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes\n and any associated snapshots always remain protected. For more information, see Amazon EBS encryption\n in the Amazon EBS User Guide.

", "smithy.api#examples": [ { "title": "To create a snapshot", @@ -19886,7 +19900,7 @@ "target": "com.amazonaws.ec2#CreateSnapshotsResult" }, "traits": { - "smithy.api#documentation": "

Creates crash-consistent snapshots of multiple EBS volumes attached to an Amazon EC2 instance.\n Volumes are chosen by specifying an instance. Each volume attached to the specified instance \n will produce one snapshot that is crash-consistent across the instance. You can include all of \n the volumes currently attached to the instance, or you can exclude the root volume or specific \n data (non-root) volumes from the multi-volume snapshot set.

\n

The location of the source instance determines where you can create the snapshots.

\n " + "smithy.api#documentation": "

Creates crash-consistent snapshots of multiple EBS volumes attached to an Amazon EC2 instance.\n Volumes are chosen by specifying an instance. Each volume attached to the specified instance \n will produce one snapshot that is crash-consistent across the instance. You can include all of \n the volumes currently attached to the instance, or you can exclude the root volume or specific \n data (non-root) volumes from the multi-volume snapshot set.

\n

The location of the source instance determines where you can create the snapshots.

\n " } }, "com.amazonaws.ec2#CreateSnapshotsRequest": { @@ -26560,7 +26574,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "

Deletes the specified snapshot.

\n

When you make periodic snapshots of a volume, the snapshots are incremental, and only the\n blocks on the device that have changed since your last snapshot are saved in the new snapshot.\n When you delete a snapshot, only the data not needed for any other snapshot is removed. So\n regardless of which prior snapshots have been deleted, all active snapshots will have access\n to all the information needed to restore the volume.

\n

You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI.\n You must first de-register the AMI before you can delete the snapshot.

\n

For more information, see Delete an Amazon EBS snapshot in the\n Amazon EBS User Guide.

", + "smithy.api#documentation": "

Deletes the specified snapshot.

\n

When you make periodic snapshots of a volume, the snapshots are incremental, and only the\n blocks on the device that have changed since your last snapshot are saved in the new snapshot.\n When you delete a snapshot, only the data not needed for any other snapshot is removed. So\n regardless of which prior snapshots have been deleted, all active snapshots will have access\n to all the information needed to restore the volume.

\n

You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI.\n You must first deregister the AMI before you can delete the snapshot.

\n

For more information, see Delete an Amazon EBS snapshot in the\n Amazon EBS User Guide.

", "smithy.api#examples": [ { "title": "To delete a snapshot", @@ -29680,7 +29694,7 @@ "target": "com.amazonaws.ec2#DescribeCapacityBlockOfferingsResult" }, "traits": { - "smithy.api#documentation": "

Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a\n\t\t\tspecific instance type for a period of time.

", + "smithy.api#documentation": "

Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a\n\t\t\tspecific instance type for a period of time.

\n

To search for an available Capacity Block offering, you specify a reservation duration\n and instance count. You must select one of the following options.

\n ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -34161,7 +34175,7 @@ "target": "com.amazonaws.ec2#DescribeInstanceTopologyResult" }, "traits": { - "smithy.api#documentation": "

Describes a tree-based hierarchy that represents the physical host placement of your\n EC2 instances within an Availability Zone or Local Zone. You can use this information to\n determine the relative proximity of your EC2 instances within the Amazon Web Services network to\n support your tightly coupled workloads.

\n

\n Limitations\n

\n \n

For more information, see Amazon EC2 instance\n topology in the Amazon EC2 User Guide.

", + "smithy.api#documentation": "

Describes a tree-based hierarchy that represents the physical host placement of your\n EC2 instances within an Availability Zone or Local Zone. You can use this information to\n determine the relative proximity of your EC2 instances within the Amazon Web Services network to\n support your tightly coupled workloads.

\n

\n Limitations\n

\n \n

For more information, see Amazon EC2 instance\n topology in the Amazon EC2 User Guide.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -37886,7 +37900,7 @@ "target": "com.amazonaws.ec2#FilterList", "traits": { "aws.protocols#ec2QueryName": "Filter", - "smithy.api#documentation": "

One or more filters.

\n ", + "smithy.api#documentation": "

One or more filters.

\n ", "smithy.api#xmlName": "filter" } } @@ -62397,7 +62411,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "NoDevice", - "smithy.api#documentation": "

suppress the specified device included in the block device mapping.

", + "smithy.api#documentation": "

Suppresses the specified device included in the block device mapping.

", "smithy.api#xmlName": "noDevice" } } @@ -64007,7 +64021,7 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SecondaryPrivateIpAddressCount", - "smithy.api#documentation": "

The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're\n \tlaunching more than one instance in a RunInstances request.

", + "smithy.api#documentation": "

The number of secondary private IPv4 addresses. You can’t specify this parameter and\n also specify a secondary private IP address using the PrivateIpAddress\n parameter.

", "smithy.api#xmlName": "secondaryPrivateIpAddressCount" } }, @@ -79214,6 +79228,12 @@ "traits": { "smithy.api#documentation": "

Options for enabling a customizable text banner that will be displayed on\n\t\t\tAmazon Web Services provided clients when a VPN session is established.

" } + }, + "DisconnectOnSessionTimeout": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether the client VPN session is disconnected after the maximum timeout specified in sessionTimeoutHours is reached. If true, users are prompted to reconnect client VPN. If false, client VPN attempts to reconnect automatically. The default value is false.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/kafkaconnect.json b/codegen/sdk-codegen/aws-models/kafkaconnect.json index de1e5fec32d..2d3b20d2c52 100644 --- a/codegen/sdk-codegen/aws-models/kafkaconnect.json +++ b/codegen/sdk-codegen/aws-models/kafkaconnect.json @@ -47,7 +47,7 @@ "type": "structure", "members": { "maxWorkerCount": { - "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", + "target": "com.amazonaws.kafkaconnect#__integer", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of workers allocated to the connector.

", @@ -63,7 +63,7 @@ } }, "minWorkerCount": { - "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", + "target": "com.amazonaws.kafkaconnect#__integer", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of workers allocated to the connector.

", @@ -132,7 +132,7 @@ "type": "structure", "members": { "maxWorkerCount": { - "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", + "target": "com.amazonaws.kafkaconnect#__integer", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The target maximum number of workers allocated to the connector.

", @@ -148,7 +148,7 @@ } }, "minWorkerCount": { - "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", + "target": "com.amazonaws.kafkaconnect#__integer", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The target minimum number of workers allocated to the connector.

", @@ -303,6 +303,200 @@ "smithy.api#httpError": 409 } }, + "com.amazonaws.kafkaconnect#ConnectorConfiguration": { + "type": "map", + "key": { + "target": "com.amazonaws.kafkaconnect#__string" + }, + "value": { + "target": "com.amazonaws.kafkaconnect#__string" + }, + "traits": { + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.kafkaconnect#ConnectorConfigurationUpdate": { + "type": "map", + "key": { + "target": "com.amazonaws.kafkaconnect#__string" + }, + "value": { + "target": "com.amazonaws.kafkaconnect#__string" + }, + "traits": { + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.kafkaconnect#ConnectorOperationState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "UPDATE_IN_PROGRESS", + "name": "UPDATE_IN_PROGRESS" + }, + { + "value": "UPDATE_COMPLETE", + "name": "UPDATE_COMPLETE" + }, + { + "value": "UPDATE_FAILED", + "name": "UPDATE_FAILED" + }, + { + "value": "ROLLBACK_IN_PROGRESS", + "name": "ROLLBACK_IN_PROGRESS" + }, + { + "value": "ROLLBACK_FAILED", + "name": "ROLLBACK_FAILED" + }, + { + "value": "ROLLBACK_COMPLETE", + "name": "ROLLBACK_COMPLETE" + } + ] + } + }, + "com.amazonaws.kafkaconnect#ConnectorOperationStep": { + "type": "structure", + "members": { + "stepType": { + "target": "com.amazonaws.kafkaconnect#ConnectorOperationStepType", + "traits": { + "smithy.api#documentation": "

The step type of the operation.

" + } + }, + "stepState": { + "target": "com.amazonaws.kafkaconnect#ConnectorOperationStepState", + "traits": { + "smithy.api#documentation": "

The step state of the operation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details of a step that is involved in a connector's operation.

" + } + }, + "com.amazonaws.kafkaconnect#ConnectorOperationStepState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + }, + { + "value": "FAILED", + "name": "FAILED" + }, + { + "value": "CANCELLED", + "name": "CANCELLED" + } + ] + } + }, + "com.amazonaws.kafkaconnect#ConnectorOperationStepType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "INITIALIZE_UPDATE", + "name": "INITIALIZE_UPDATE" + }, + { + "value": "FINALIZE_UPDATE", + "name": "FINALIZE_UPDATE" + }, + { + "value": "UPDATE_WORKER_SETTING", + "name": "UPDATE_WORKER_SETTING" + }, + { + "value": "UPDATE_CONNECTOR_CONFIGURATION", + "name": "UPDATE_CONNECTOR_CONFIGURATION" + }, + { + "value": "VALIDATE_UPDATE", + "name": "VALIDATE_UPDATE" + } + ] + } + }, + "com.amazonaws.kafkaconnect#ConnectorOperationSummary": { + "type": "structure", + "members": { + "connectorOperationArn": { + "target": "com.amazonaws.kafkaconnect#__string", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connector operation.

" + } + }, + "connectorOperationType": { + "target": "com.amazonaws.kafkaconnect#ConnectorOperationType", + "traits": { + "smithy.api#documentation": "

The type of connector operation performed.

" + } + }, + "connectorOperationState": { + "target": "com.amazonaws.kafkaconnect#ConnectorOperationState", + "traits": { + "smithy.api#documentation": "

The state of the connector operation.

" + } + }, + "creationTime": { + "target": "com.amazonaws.kafkaconnect#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The time when operation was created.

" + } + }, + "endTime": { + "target": "com.amazonaws.kafkaconnect#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The time when operation ended.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Summary of a connector operation.

" + } + }, + "com.amazonaws.kafkaconnect#ConnectorOperationType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "UPDATE_WORKER_SETTING", + "name": "UPDATE_WORKER_SETTING" + }, + { + "value": "UPDATE_CONNECTOR_CONFIGURATION", + "name": "UPDATE_CONNECTOR_CONFIGURATION" + }, + { + "value": "ISOLATE_CONNECTOR", + "name": "ISOLATE_CONNECTOR" + }, + { + "value": "RESTORE_CONNECTOR", + "name": "RESTORE_CONNECTOR" + } + ] + } + }, "com.amazonaws.kafkaconnect#ConnectorState": { "type": "string", "traits": { @@ -482,7 +676,7 @@ } }, "connectorConfiguration": { - "target": "com.amazonaws.kafkaconnect#__sensitive__mapOf__string", + "target": "com.amazonaws.kafkaconnect#ConnectorConfiguration", "traits": { "smithy.api#documentation": "

A map of keys to values that represent the configuration for the connector.

", "smithy.api#required": {} @@ -561,6 +755,9 @@ "smithy.api#documentation": "

The tags you want to attach to the connector.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#CreateConnectorResponse": { @@ -665,6 +862,9 @@ "smithy.api#documentation": "

The tags you want to attach to the custom plugin.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#CreateCustomPluginResponse": { @@ -769,6 +969,9 @@ "smithy.api#documentation": "

The tags you want to attach to the worker configuration.

" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#CreateWorkerConfigurationResponse": { @@ -1094,6 +1297,9 @@ "smithy.api#httpQuery": "currentVersion" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#DeleteConnectorResponse": { @@ -1165,6 +1371,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#DeleteCustomPluginResponse": { @@ -1236,6 +1445,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#DeleteWorkerConfigurationResponse": { @@ -1296,6 +1508,140 @@ "smithy.api#readonly": {} } }, + "com.amazonaws.kafkaconnect#DescribeConnectorOperation": { + "type": "operation", + "input": { + "target": "com.amazonaws.kafkaconnect#DescribeConnectorOperationRequest" + }, + "output": { + "target": "com.amazonaws.kafkaconnect#DescribeConnectorOperationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.kafkaconnect#BadRequestException" + }, + { + "target": "com.amazonaws.kafkaconnect#ForbiddenException" + }, + { + "target": "com.amazonaws.kafkaconnect#InternalServerErrorException" + }, + { + "target": "com.amazonaws.kafkaconnect#NotFoundException" + }, + { + "target": "com.amazonaws.kafkaconnect#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.kafkaconnect#TooManyRequestsException" + }, + { + "target": "com.amazonaws.kafkaconnect#UnauthorizedException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns information about the specified connector's operations.

", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/connectorOperations/{connectorOperationArn}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.kafkaconnect#DescribeConnectorOperationRequest": { + "type": "structure", + "members": { + "connectorOperationArn": { + "target": "com.amazonaws.kafkaconnect#__string", + "traits": { + "smithy.api#documentation": "

ARN of the connector operation to be described.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.kafkaconnect#DescribeConnectorOperationResponse": { + "type": "structure", + "members": { + "connectorArn": { + "target": "com.amazonaws.kafkaconnect#__string", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connector.

" + } + }, + "connectorOperationArn": { + "target": "com.amazonaws.kafkaconnect#__string", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connector operation.

" + } + }, + "connectorOperationState": { + "target": "com.amazonaws.kafkaconnect#ConnectorOperationState", + "traits": { + "smithy.api#documentation": "

The state of the connector operation.

" + } + }, + "connectorOperationType": { + "target": "com.amazonaws.kafkaconnect#ConnectorOperationType", + "traits": { + "smithy.api#documentation": "

The type of connector operation performed.

" + } + }, + "operationSteps": { + "target": "com.amazonaws.kafkaconnect#__listOfConnectorOperationStep", + "traits": { + "smithy.api#documentation": "

The array of operation steps taken.

" + } + }, + "originWorkerSetting": { + "target": "com.amazonaws.kafkaconnect#WorkerSetting", + "traits": { + "smithy.api#documentation": "

The origin worker setting.

" + } + }, + "originConnectorConfiguration": { + "target": "com.amazonaws.kafkaconnect#ConnectorConfiguration", + "traits": { + "smithy.api#documentation": "

The origin connector configuration.

" + } + }, + "targetWorkerSetting": { + "target": "com.amazonaws.kafkaconnect#WorkerSetting", + "traits": { + "smithy.api#documentation": "

The target worker setting.

" + } + }, + "targetConnectorConfiguration": { + "target": "com.amazonaws.kafkaconnect#ConnectorConfiguration", + "traits": { + "smithy.api#documentation": "

The target connector configuration.

" + } + }, + "errorInfo": { + "target": "com.amazonaws.kafkaconnect#StateDescription" + }, + "creationTime": { + "target": "com.amazonaws.kafkaconnect#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The time when the operation was created.

" + } + }, + "endTime": { + "target": "com.amazonaws.kafkaconnect#__timestampIso8601", + "traits": { + "smithy.api#documentation": "

The time when the operation ended.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.kafkaconnect#DescribeConnectorRequest": { "type": "structure", "members": { @@ -1307,6 +1653,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#DescribeConnectorResponse": { @@ -1325,7 +1674,7 @@ } }, "connectorConfiguration": { - "target": "com.amazonaws.kafkaconnect#__sensitive__mapOf__string", + "target": "com.amazonaws.kafkaconnect#ConnectorConfiguration", "traits": { "smithy.api#documentation": "

A map of keys to values that represent the configuration for the connector.

" } @@ -1468,6 +1817,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#DescribeCustomPluginResponse": { @@ -1569,6 +1921,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#DescribeWorkerConfigurationResponse": { @@ -1823,12 +2178,18 @@ { "target": "com.amazonaws.kafkaconnect#DescribeConnector" }, + { + "target": "com.amazonaws.kafkaconnect#DescribeConnectorOperation" + }, { "target": "com.amazonaws.kafkaconnect#DescribeCustomPlugin" }, { "target": "com.amazonaws.kafkaconnect#DescribeWorkerConfiguration" }, + { + "target": "com.amazonaws.kafkaconnect#ListConnectorOperations" + }, { "target": "com.amazonaws.kafkaconnect#ListConnectors" }, @@ -2718,6 +3079,103 @@ } } }, + "com.amazonaws.kafkaconnect#ListConnectorOperations": { + "type": "operation", + "input": { + "target": "com.amazonaws.kafkaconnect#ListConnectorOperationsRequest" + }, + "output": { + "target": "com.amazonaws.kafkaconnect#ListConnectorOperationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.kafkaconnect#BadRequestException" + }, + { + "target": "com.amazonaws.kafkaconnect#ForbiddenException" + }, + { + "target": "com.amazonaws.kafkaconnect#InternalServerErrorException" + }, + { + "target": "com.amazonaws.kafkaconnect#NotFoundException" + }, + { + "target": "com.amazonaws.kafkaconnect#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.kafkaconnect#TooManyRequestsException" + }, + { + "target": "com.amazonaws.kafkaconnect#UnauthorizedException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists information about a connector's operation(s).

", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/connectors/{connectorArn}/operations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "connectorOperations" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.kafkaconnect#ListConnectorOperationsRequest": { + "type": "structure", + "members": { + "connectorArn": { + "target": "com.amazonaws.kafkaconnect#__string", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connector for which to list operations.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.kafkaconnect#MaxResults", + "traits": { + "smithy.api#documentation": "

Maximum number of connector operations to fetch in one get request.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.kafkaconnect#__string", + "traits": { + "smithy.api#documentation": "

If the response is truncated, it includes a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.

", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.kafkaconnect#ListConnectorOperationsResponse": { + "type": "structure", + "members": { + "connectorOperations": { + "target": "com.amazonaws.kafkaconnect#__listOfConnectorOperationSummary", + "traits": { + "smithy.api#documentation": "

An array of connector operation descriptions.

" + } + }, + "nextToken": { + "target": "com.amazonaws.kafkaconnect#__string", + "traits": { + "smithy.api#documentation": "

If the response is truncated, it includes a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.kafkaconnect#ListConnectors": { "type": "operation", "input": { @@ -2778,7 +3236,6 @@ "maxResults": { "target": "com.amazonaws.kafkaconnect#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of connectors to list in one response.

", "smithy.api#httpQuery": "maxResults" } @@ -2790,6 +3247,9 @@ "smithy.api#httpQuery": "nextToken" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#ListConnectorsResponse": { @@ -2862,7 +3322,6 @@ "maxResults": { "target": "com.amazonaws.kafkaconnect#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of custom plugins to list in one response.

", "smithy.api#httpQuery": "maxResults" } @@ -2881,6 +3340,9 @@ "smithy.api#httpQuery": "namePrefix" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#ListCustomPluginsResponse": { @@ -2951,6 +3413,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#ListTagsForResourceResponse": { @@ -3017,7 +3482,6 @@ "maxResults": { "target": "com.amazonaws.kafkaconnect#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of worker configurations to list in one response.

", "smithy.api#httpQuery": "maxResults" } @@ -3036,6 +3500,9 @@ "smithy.api#httpQuery": "namePrefix" } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#ListWorkerConfigurationsResponse": { @@ -3087,7 +3554,6 @@ "com.amazonaws.kafkaconnect#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3148,7 +3614,7 @@ } }, "workerCount": { - "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", + "target": "com.amazonaws.kafkaconnect#__integer", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The number of workers that are allocated to the connector.

", @@ -3194,7 +3660,7 @@ } }, "workerCount": { - "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", + "target": "com.amazonaws.kafkaconnect#__integer", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "

The number of workers that are allocated to the connector.

", @@ -3524,6 +3990,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#TagResourceResponse": { @@ -3639,6 +4108,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#UntagResourceResponse": { @@ -3692,8 +4164,13 @@ "capacity": { "target": "com.amazonaws.kafkaconnect#CapacityUpdate", "traits": { - "smithy.api#documentation": "

The target capacity.

", - "smithy.api#required": {} + "smithy.api#documentation": "

The target capacity.

" + } + }, + "connectorConfiguration": { + "target": "com.amazonaws.kafkaconnect#ConnectorConfigurationUpdate", + "traits": { + "smithy.api#documentation": "

A map of keys to values that represent the configuration for the connector.

" } }, "connectorArn": { @@ -3712,6 +4189,9 @@ "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#input": {} } }, "com.amazonaws.kafkaconnect#UpdateConnectorResponse": { @@ -3728,6 +4208,12 @@ "traits": { "smithy.api#documentation": "

The state of the connector.

" } + }, + "connectorOperationArn": { + "target": "com.amazonaws.kafkaconnect#__string", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the connector operation.

" + } } } }, @@ -3987,6 +4473,17 @@ "smithy.api#documentation": "

Workers can send worker logs to different destination types. This configuration\n specifies the details of these destinations.

" } }, + "com.amazonaws.kafkaconnect#WorkerSetting": { + "type": "structure", + "members": { + "capacity": { + "target": "com.amazonaws.kafkaconnect#CapacityDescription" + } + }, + "traits": { + "smithy.api#documentation": "

Details about worker setting of a connector

" + } + }, "com.amazonaws.kafkaconnect#__boolean": { "type": "boolean", "traits": { @@ -3999,16 +4496,6 @@ "smithy.api#default": 0 } }, - "com.amazonaws.kafkaconnect#__integerMin1Max10": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 1, - "max": 10 - } - } - }, "com.amazonaws.kafkaconnect#__integerMin1Max100": { "type": "integer", "traits": { @@ -4029,6 +4516,18 @@ } } }, + "com.amazonaws.kafkaconnect#__listOfConnectorOperationStep": { + "type": "list", + "member": { + "target": "com.amazonaws.kafkaconnect#ConnectorOperationStep" + } + }, + "com.amazonaws.kafkaconnect#__listOfConnectorOperationSummary": { + "type": "list", + "member": { + "target": "com.amazonaws.kafkaconnect#ConnectorOperationSummary" + } + }, "com.amazonaws.kafkaconnect#__listOfConnectorSummary": { "type": "list", "member": { @@ -4087,18 +4586,6 @@ "smithy.api#sensitive": {} } }, - "com.amazonaws.kafkaconnect#__sensitive__mapOf__string": { - "type": "map", - "key": { - "target": "com.amazonaws.kafkaconnect#__string" - }, - "value": { - "target": "com.amazonaws.kafkaconnect#__string" - }, - "traits": { - "smithy.api#sensitive": {} - } - }, "com.amazonaws.kafkaconnect#__string": { "type": "string" }, diff --git a/codegen/sdk-codegen/aws-models/transcribe.json b/codegen/sdk-codegen/aws-models/transcribe.json index 9446a7bc143..a04f3d22dc2 100644 --- a/codegen/sdk-codegen/aws-models/transcribe.json +++ b/codegen/sdk-codegen/aws-models/transcribe.json @@ -247,6 +247,12 @@ "traits": { "smithy.api#documentation": "

Indicates which speaker is on which channel.

" } + }, + "Tags": { + "target": "com.amazonaws.transcribe#TagList", + "traits": { + "smithy.api#documentation": "

The tags, each in the form of a key:value pair, assigned to the specified\n call analytics job.

" + } } }, "traits": { @@ -507,6 +513,12 @@ "smithy.api#documentation": "

The date and time the specified Call Analytics category was last updated.

\n

Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For\n example, 2022-05-05T12:45:32.691000-07:00 represents 12:45 PM UTC-7 on May\n 5, 2022.

" } }, + "Tags": { + "target": "com.amazonaws.transcribe#TagList", + "traits": { + "smithy.api#documentation": "

The tags, each in the form of a key:value pair, assigned to the specified\n call analytics category.

" + } + }, "InputType": { "target": "com.amazonaws.transcribe#InputType", "traits": { @@ -657,6 +669,12 @@ "smithy.api#required": {} } }, + "Tags": { + "target": "com.amazonaws.transcribe#TagList", + "traits": { + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to a new\n call analytics category at the time you start this new job.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging\n resources.

" + } + }, "InputType": { "target": "com.amazonaws.transcribe#InputType", "traits": { @@ -5275,6 +5293,12 @@ "smithy.api#documentation": "

Specify additional optional settings in your request, including content redaction; allows you to apply custom language models,\n vocabulary filters, and custom vocabularies to your Call Analytics job.

" } }, + "Tags": { + "target": "com.amazonaws.transcribe#TagList", + "traits": { + "smithy.api#documentation": "

Adds one or more custom tags, each in the form of a key:value pair, to a new\n call analytics job at the time you start this new job.

\n

To learn more about using tags with Amazon Transcribe, refer to Tagging\n resources.

" + } + }, "ChannelDefinitions": { "target": "com.amazonaws.transcribe#ChannelDefinitions", "traits": {