From 40986aaaf9af6580d5969c1159ed2ad488b5809e Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Fri, 1 Oct 2021 18:24:52 +0000 Subject: [PATCH 1/3] chore(codegen): update endpoints as of 2021/10/01 --- .../aws/typescript/codegen/endpoints.json | 211 ++++++++++++++++++ 1 file changed, 211 insertions(+) diff --git a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json index 732962996d00..d902b59f2b17 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json +++ b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json @@ -136,6 +136,18 @@ "us-west-2": {} } }, + "account": { + "endpoints": { + "aws-global": { + "credentialScope": { + "region": "us-east-1" + }, + "hostname": "account.us-east-1.amazonaws.com" + } + }, + "isRegionalized": false, + "partitionEndpoint": "aws-global" + }, "acm": { "endpoints": { "af-south-1": {}, @@ -843,7 +855,11 @@ "protocols": ["https"] }, "endpoints": { + "ap-northeast-1": {}, + "ap-southeast-1": {}, + "ap-southeast-2": {}, "eu-central-1": {}, + "eu-north-1": {}, "eu-west-1": {}, "us-east-1": {}, "us-east-2": {}, @@ -899,6 +915,22 @@ "us-west-2": {} } }, + "auditmanager": { + "endpoints": { + "ap-northeast-1": {}, + "ap-south-1": {}, + "ap-southeast-1": {}, + "ap-southeast-2": {}, + "ca-central-1": {}, + "eu-central-1": {}, + "eu-west-1": {}, + "eu-west-2": {}, + "us-east-1": {}, + "us-east-2": {}, + "us-west-1": {}, + "us-west-2": {} + } + }, "autoscaling": { "defaults": { "protocols": ["http", "https"] @@ -1101,6 +1133,61 @@ "us-west-2": {} } }, + "cloudcontrolapi": { + "endpoints": { + "af-south-1": {}, + "ap-east-1": {}, + "ap-northeast-1": {}, + "ap-northeast-2": {}, + "ap-northeast-3": {}, + "ap-south-1": {}, + "ap-southeast-1": {}, + "ap-southeast-2": {}, + "ca-central-1": {}, + "eu-central-1": {}, + "eu-north-1": {}, + "eu-south-1": {}, + "eu-west-1": {}, + "eu-west-2": {}, + "eu-west-3": {}, + "fips-ca-central-1": { + "credentialScope": { + "region": "ca-central-1" + }, + "hostname": "cloudcontrolapi-fips.ca-central-1.amazonaws.com" + }, + "fips-us-east-1": { + "credentialScope": { + "region": "us-east-1" + }, + "hostname": "cloudcontrolapi-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2": { + "credentialScope": { + "region": "us-east-2" + }, + "hostname": "cloudcontrolapi-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1": { + "credentialScope": { + "region": "us-west-1" + }, + "hostname": "cloudcontrolapi-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2": { + "credentialScope": { + "region": "us-west-2" + }, + "hostname": "cloudcontrolapi-fips.us-west-2.amazonaws.com" + }, + "me-south-1": {}, + "sa-east-1": {}, + "us-east-1": {}, + "us-east-2": {}, + "us-west-1": {}, + "us-west-2": {} + } + }, "clouddirectory": { "endpoints": { "ap-southeast-1": {}, @@ -1201,6 +1288,7 @@ "ap-east-1": {}, "ap-northeast-1": {}, "ap-northeast-2": {}, + "ap-northeast-3": {}, "ap-south-1": {}, "ap-southeast-1": {}, "ap-southeast-2": {}, @@ -1349,6 +1437,7 @@ }, "codecommit": { "endpoints": { + "af-south-1": {}, "ap-east-1": {}, "ap-northeast-1": {}, "ap-northeast-2": {}, @@ -3992,6 +4081,26 @@ "us-west-2": {} } }, + "kafkaconnect": { + "endpoints": { + "ap-northeast-1": {}, + "ap-northeast-2": {}, + "ap-south-1": {}, + "ap-southeast-1": {}, + "ap-southeast-2": {}, + "ca-central-1": {}, + "eu-central-1": {}, + "eu-north-1": {}, + "eu-west-1": {}, + "eu-west-2": {}, + "eu-west-3": {}, + "sa-east-1": {}, + "us-east-1": {}, + "us-east-2": {}, + "us-west-1": {}, + "us-west-2": {} + } + }, "kinesis": { "endpoints": { "af-south-1": {}, @@ -4114,6 +4223,7 @@ "ap-east-1": {}, "ap-northeast-1": {}, "ap-northeast-2": {}, + "ap-northeast-3": {}, "ap-south-1": {}, "ap-southeast-1": {}, "ap-southeast-2": {}, @@ -4643,7 +4753,9 @@ }, "models-v2-lex": { "endpoints": { + "af-south-1": {}, "ap-northeast-1": {}, + "ap-northeast-2": {}, "ap-southeast-1": {}, "ap-southeast-2": {}, "ca-central-1": {}, @@ -5369,6 +5481,24 @@ "us-west-2": {} } }, + "quicksight": { + "endpoints": { + "ap-northeast-1": {}, + "ap-northeast-2": {}, + "ap-south-1": {}, + "ap-southeast-1": {}, + "ap-southeast-2": {}, + "api": {}, + "ca-central-1": {}, + "eu-central-1": {}, + "eu-west-1": {}, + "eu-west-2": {}, + "sa-east-1": {}, + "us-east-1": {}, + "us-east-2": {}, + "us-west-2": {} + } + }, "ram": { "endpoints": { "af-south-1": {}, @@ -5706,7 +5836,9 @@ }, "runtime-v2-lex": { "endpoints": { + "af-south-1": {}, "ap-northeast-1": {}, + "ap-northeast-2": {}, "ap-southeast-1": {}, "ap-southeast-2": {}, "ca-central-1": {}, @@ -7365,6 +7497,17 @@ } } }, + "voiceid": { + "endpoints": { + "ap-northeast-1": {}, + "ap-southeast-1": {}, + "ap-southeast-2": {}, + "eu-central-1": {}, + "eu-west-2": {}, + "us-east-1": {}, + "us-west-2": {} + } + }, "waf": { "endpoints": { "aws-fips": { @@ -7775,6 +7918,18 @@ "cn-northwest-1": {} } }, + "account": { + "endpoints": { + "aws-cn-global": { + "credentialScope": { + "region": "cn-northwest-1" + }, + "hostname": "account.cn-northwest-1.amazonaws.com.cn" + } + }, + "isRegionalized": false, + "partitionEndpoint": "aws-cn-global" + }, "acm": { "endpoints": { "cn-north-1": {}, @@ -7818,6 +7973,12 @@ "cn-northwest-1": {} } }, + "appmesh": { + "endpoints": { + "cn-north-1": {}, + "cn-northwest-1": {} + } + }, "appsync": { "endpoints": { "cn-north-1": {}, @@ -8880,6 +9041,24 @@ "us-gov-west-1": {} } }, + "cloudcontrolapi": { + "endpoints": { + "fips-us-gov-east-1": { + "credentialScope": { + "region": "us-gov-east-1" + }, + "hostname": "cloudcontrolapi-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1": { + "credentialScope": { + "region": "us-gov-west-1" + }, + "hostname": "cloudcontrolapi-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1": {}, + "us-gov-west-1": {} + } + }, "clouddirectory": { "endpoints": { "us-gov-west-1": {} @@ -9562,6 +9741,17 @@ "isRegionalized": false, "partitionEndpoint": "aws-us-gov-global" }, + "identitystore": { + "endpoints": { + "fips-us-gov-west-1": { + "credentialScope": { + "region": "us-gov-west-1" + }, + "hostname": "identitystore.us-gov-west-1.amazonaws.com" + }, + "us-gov-west-1": {} + } + }, "inspector": { "endpoints": { "fips-us-gov-east-1": { @@ -9603,6 +9793,21 @@ "us-gov-west-1": {} } }, + "iotevents": { + "endpoints": { + "us-gov-west-1": {} + } + }, + "ioteventsdata": { + "endpoints": { + "us-gov-west-1": { + "credentialScope": { + "region": "us-gov-west-1" + }, + "hostname": "data.iotevents.us-gov-west-1.amazonaws.com" + } + } + }, "iotsecuredtunneling": { "endpoints": { "fips-us-gov-east-1": { @@ -9907,6 +10112,12 @@ "us-gov-west-1": {} } }, + "quicksight": { + "endpoints": { + "api": {}, + "us-gov-west-1": {} + } + }, "ram": { "endpoints": { "us-gov-east-1": { From dd8bedf2ab42761a0e053a171362d51f8f832e29 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Fri, 1 Oct 2021 18:25:48 +0000 Subject: [PATCH 2/3] chore(codegen): update models as of 2021/10/01 --- .../aws-models/account.2021-02-01.json | 438 ++ .../aws-models/amp.2020-08-01.json | 1621 ++++++- .../appintegrations.2020-07-29.json | 662 ++- .../aws-models/apprunner.2020-05-15.json | 162 +- .../aws-models/cloudcontrol.2021-09-30.json | 1606 +++++++ .../aws-models/connect.2017-08-08.json | 134 +- .../aws-models/dataexchange.2017-07-25.json | 581 ++- .../elastic-load-balancing-v2.2015-12-01.json | 27 +- .../aws-models/imagebuilder.2019-12-02.json | 52 +- .../aws-models/lambda.2015-03-31.json | 147 +- .../aws-models/macie2.2020-01-01.json | 72 +- .../network-firewall.2020-11-12.json | 225 +- .../aws-models/pinpoint.2016-12-01.json | 43 + .../aws-models/sesv2.2019-09-27.json | 291 +- .../aws-models/ssm.2014-11-06.json | 12 +- .../aws-models/synthetics.2017-10-11.json | 97 + .../aws-models/transfer.2018-11-05.json | 32 +- .../aws-models/voice-id.2021-09-27.json | 3194 +++++++++++++ .../aws-models/wisdom.2020-10-19.json | 3976 +++++++++++++++++ .../aws-models/workmail.2017-10-01.json | 446 +- .../aws-models/workspaces.2015-04-08.json | 187 +- 21 files changed, 13362 insertions(+), 643 deletions(-) create mode 100644 codegen/sdk-codegen/aws-models/account.2021-02-01.json create mode 100644 codegen/sdk-codegen/aws-models/cloudcontrol.2021-09-30.json create mode 100644 codegen/sdk-codegen/aws-models/voice-id.2021-09-27.json create mode 100644 codegen/sdk-codegen/aws-models/wisdom.2020-10-19.json diff --git a/codegen/sdk-codegen/aws-models/account.2021-02-01.json b/codegen/sdk-codegen/aws-models/account.2021-02-01.json new file mode 100644 index 000000000000..f98b5016dace --- /dev/null +++ b/codegen/sdk-codegen/aws-models/account.2021-02-01.json @@ -0,0 +1,438 @@ +{ + "smithy": "1.0", + "shapes": { + "com.amazonaws.account#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "
The operation failed because the calling identity doesn't have the minimum required\n permissions.
", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.account#Account": { + "type": "service", + "version": "2021-02-01", + "resources": [ + { + "target": "com.amazonaws.account#AlternateContactResource" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Account", + "arnNamespace": "account", + "cloudFormationName": "Account", + "cloudTrailEventSource": "CLOUDTRAIL_EVENT_SOURCE", + "endpointPrefix": "account" + }, + "aws.auth#sigv4": { + "name": "account" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "Operations for Amazon Web Services Account Management
", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + }, + "smithy.api#title": "AWS Account" + } + }, + "com.amazonaws.account#AccountId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\d{12}$" + } + }, + "com.amazonaws.account#AlternateContact": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.account#Name", + "traits": { + "smithy.api#documentation": "The name associated with this alternate contact.
" + } + }, + "Title": { + "target": "com.amazonaws.account#Title", + "traits": { + "smithy.api#documentation": "The title associated with this alternate contact.
" + } + }, + "EmailAddress": { + "target": "com.amazonaws.account#EmailAddress", + "traits": { + "smithy.api#documentation": "The email address associated with this alternate contact.
" + } + }, + "PhoneNumber": { + "target": "com.amazonaws.account#PhoneNumber", + "traits": { + "smithy.api#documentation": "The phone number associated with this alternate contact.
" + } + }, + "AlternateContactType": { + "target": "com.amazonaws.account#AlternateContactType", + "traits": { + "smithy.api#documentation": "The type of alternate contact.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A structure that contains the details of an alternate contact associated with an Amazon Web Services\n account
" + } + }, + "com.amazonaws.account#AlternateContactResource": { + "type": "resource", + "identifiers": { + "AlternateContactType": { + "target": "com.amazonaws.account#AlternateContactType" + } + }, + "put": { + "target": "com.amazonaws.account#PutAlternateContact" + }, + "read": { + "target": "com.amazonaws.account#GetAlternateContact" + }, + "delete": { + "target": "com.amazonaws.account#DeleteAlternateContact" + }, + "traits": { + "aws.api#arn": { + "template": "AlternateContact/{AlternateContactType}", + "absolute": false, + "noAccount": false, + "noRegion": false + } + } + }, + "com.amazonaws.account#AlternateContactType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "BILLING", + "name": "BILLING" + }, + { + "value": "OPERATIONS", + "name": "OPERATIONS" + }, + { + "value": "SECURITY", + "name": "SECURITY" + } + ] + } + }, + "com.amazonaws.account#DeleteAlternateContact": { + "type": "operation", + "input": { + "target": "com.amazonaws.account#DeleteAlternateContactRequest" + }, + "errors": [ + { + "target": "com.amazonaws.account#AccessDeniedException" + }, + { + "target": "com.amazonaws.account#InternalServerException" + }, + { + "target": "com.amazonaws.account#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.account#TooManyRequestsException" + }, + { + "target": "com.amazonaws.account#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the specified alternate contact from an Amazon Web Services account.
\nFor complete details about how to use the alternate contact operations, see Access or\n updating the alternate contacts.
", + "smithy.api#http": { + "method": "POST", + "uri": "/deleteAlternateContact", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.account#DeleteAlternateContactRequest": { + "type": "structure", + "members": { + "AlternateContactType": { + "target": "com.amazonaws.account#AlternateContactType", + "traits": { + "smithy.api#documentation": "Specifies which of the alternate contacts to delete.
", + "smithy.api#required": {} + } + }, + "AccountId": { + "target": "com.amazonaws.account#AccountId", + "traits": { + "smithy.api#documentation": "Specifies the 12 digit account ID number of the Amazon Web Services account that \n you want to access or modify with this operation.
\nIf you do not specify this parameter, it defaults to the Amazon Web Services account of the \n identity used to call the operation.
\nTo use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and \n the specified account ID must be a member account in the same organization. The\n organization must have all features \n enabled, and the organization must have trusted access enabled for the \n Account Management service, and optionally a delegated admin account \n assigned.
\nThe management account can't specify its own AccountId
; it must call\n the operation in standalone context by not including the AccountId
\n parameter.
To call this operation on an account that is not a member of an organization, then \n don't specify this parameter, and call the operation using an identity belonging to\n the account whose contacts you wish to retrieve or modify.
" + } + } + } + }, + "com.amazonaws.account#EmailAddress": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "[\\w+=,.-]+@[\\w.-]+\\.[\\w]+", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.account#GetAlternateContact": { + "type": "operation", + "input": { + "target": "com.amazonaws.account#GetAlternateContactRequest" + }, + "output": { + "target": "com.amazonaws.account#GetAlternateContactResponse" + }, + "errors": [ + { + "target": "com.amazonaws.account#AccessDeniedException" + }, + { + "target": "com.amazonaws.account#InternalServerException" + }, + { + "target": "com.amazonaws.account#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.account#TooManyRequestsException" + }, + { + "target": "com.amazonaws.account#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves the specified alternate contact attached to an Amazon Web Services account.
\nFor complete details about how to use the alternate contact operations, see Access or\n updating the alternate contacts.
", + "smithy.api#http": { + "method": "POST", + "uri": "/getAlternateContact", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.account#GetAlternateContactRequest": { + "type": "structure", + "members": { + "AlternateContactType": { + "target": "com.amazonaws.account#AlternateContactType", + "traits": { + "smithy.api#documentation": "Specifies which alternate contact you want to retrieve.
", + "smithy.api#required": {} + } + }, + "AccountId": { + "target": "com.amazonaws.account#AccountId", + "traits": { + "smithy.api#documentation": "Specifies the 12 digit account ID number of the Amazon Web Services account that \n you want to access or modify with this operation.
\nIf you do not specify this parameter, it defaults to the Amazon Web Services account of the \n identity used to call the operation.
\nTo use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and \n the specified account ID must be a member account in the same organization. The\n organization must have all features \n enabled, and the organization must have trusted access enabled for the \n Account Management service, and optionally a delegated admin account \n assigned.
\nThe management account can't specify its own AccountId
; it must call\n the operation in standalone context by not including the AccountId
\n parameter.
To call this operation on an account that is not a member of an organization, then \n don't specify this parameter, and call the operation using an identity belonging to\n the account whose contacts you wish to retrieve or modify.
" + } + } + } + }, + "com.amazonaws.account#GetAlternateContactResponse": { + "type": "structure", + "members": { + "AlternateContact": { + "target": "com.amazonaws.account#AlternateContact", + "traits": { + "smithy.api#documentation": "A structure that contains the details for the specified alternate contact.
" + } + } + } + }, + "com.amazonaws.account#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The operation failed because of an error internal to Amazon Web Services. Try your operation again\n later.
", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.account#Name": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.account#PhoneNumber": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 25 + }, + "smithy.api#pattern": "^[\\s0-9()+-]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.account#PutAlternateContact": { + "type": "operation", + "input": { + "target": "com.amazonaws.account#PutAlternateContactRequest" + }, + "errors": [ + { + "target": "com.amazonaws.account#AccessDeniedException" + }, + { + "target": "com.amazonaws.account#InternalServerException" + }, + { + "target": "com.amazonaws.account#TooManyRequestsException" + }, + { + "target": "com.amazonaws.account#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Modifies the specified alternate contact attached to an Amazon Web Services account.
\nFor complete details about how to use the alternate contact operations, see Access or\n updating the alternate contacts.
", + "smithy.api#http": { + "method": "POST", + "uri": "/putAlternateContact", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.account#PutAlternateContactRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.account#Name", + "traits": { + "smithy.api#documentation": "Specifies a name for the alternate contact.
", + "smithy.api#required": {} + } + }, + "Title": { + "target": "com.amazonaws.account#Title", + "traits": { + "smithy.api#documentation": "Specifies a title for the alternate contact.
", + "smithy.api#required": {} + } + }, + "EmailAddress": { + "target": "com.amazonaws.account#EmailAddress", + "traits": { + "smithy.api#documentation": "Specifies an email address for the alternate contact.
", + "smithy.api#required": {} + } + }, + "PhoneNumber": { + "target": "com.amazonaws.account#PhoneNumber", + "traits": { + "smithy.api#documentation": "Specifies a phone number for the alternate contact.
", + "smithy.api#required": {} + } + }, + "AlternateContactType": { + "target": "com.amazonaws.account#AlternateContactType", + "traits": { + "smithy.api#documentation": "Specifies which alternate contact you want to create or update.
", + "smithy.api#required": {} + } + }, + "AccountId": { + "target": "com.amazonaws.account#AccountId", + "traits": { + "smithy.api#documentation": "Specifies the 12 digit account ID number of the Amazon Web Services account that \n you want to access or modify with this operation.
\nIf you do not specify this parameter, it defaults to the Amazon Web Services account of the \n identity used to call the operation.
\nTo use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and \n the specified account ID must be a member account in the same organization. The\n organization must have all features \n enabled, and the organization must have trusted access enabled for the \n Account Management service, and optionally a delegated admin account \n assigned.
\nThe management account can't specify its own AccountId
; it must call\n the operation in standalone context by not including the AccountId
\n parameter.
To call this operation on an account that is not a member of an organization, then \n don't specify this parameter, and call the operation using an identity belonging to\n the account whose contacts you wish to retrieve or modify.
" + } + } + } + }, + "com.amazonaws.account#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The operation failed because it specified a resource that can't be found.
", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.account#Title": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.account#TooManyRequestsException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The operation failed because it was called too frequently and exceeded a throttle\n limit.
", + "smithy.api#error": "client", + "smithy.api#httpError": 429, + "smithy.api#retryable": { + "throttling": true + } + } + }, + "com.amazonaws.account#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The operation failed because one of the input parameters was invalid.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + } + } +} diff --git a/codegen/sdk-codegen/aws-models/amp.2020-08-01.json b/codegen/sdk-codegen/aws-models/amp.2020-08-01.json index 4763423ddaa4..3375b223ac9b 100644 --- a/codegen/sdk-codegen/aws-models/amp.2020-08-01.json +++ b/codegen/sdk-codegen/aws-models/amp.2020-08-01.json @@ -18,6 +18,136 @@ "smithy.api#httpError": 403 } }, + "com.amazonaws.amp#AlertManagerDefinition": { + "type": "resource", + "identifiers": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId" + } + }, + "put": { + "target": "com.amazonaws.amp#CreateAlertManagerDefinition" + }, + "read": { + "target": "com.amazonaws.amp#DescribeAlertManagerDefinition" + }, + "update": { + "target": "com.amazonaws.amp#PutAlertManagerDefinition" + }, + "delete": { + "target": "com.amazonaws.amp#DeleteAlertManagerDefinition" + }, + "traits": { + "aws.api#arn": { + "template": "workspace/{workspaceId}", + "absolute": false, + "noAccount": false, + "noRegion": false + }, + "smithy.api#documentation": "The definition of the alert manager in the AMP workspace" + } + }, + "com.amazonaws.amp#AlertManagerDefinitionData": { + "type": "blob", + "traits": { + "smithy.api#documentation": "The alert manager definition data." + } + }, + "com.amazonaws.amp#AlertManagerDefinitionDescription": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.amp#AlertManagerDefinitionStatus", + "traits": { + "smithy.api#documentation": "The status of alert manager definition.", + "smithy.api#required": {} + } + }, + "data": { + "target": "com.amazonaws.amp#AlertManagerDefinitionData", + "traits": { + "smithy.api#documentation": "The alert manager definition.", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the alert manager definition was created.", + "smithy.api#required": {} + } + }, + "modifiedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the alert manager definition was modified.", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the properties of an alert manager definition." + } + }, + "com.amazonaws.amp#AlertManagerDefinitionStatus": { + "type": "structure", + "members": { + "statusCode": { + "target": "com.amazonaws.amp#AlertManagerDefinitionStatusCode", + "traits": { + "smithy.api#documentation": "Status code of this definition.", + "smithy.api#required": {} + } + }, + "statusReason": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The reason for failure if any." + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the status of a definition." + } + }, + "com.amazonaws.amp#AlertManagerDefinitionStatusCode": { + "type": "string", + "traits": { + "smithy.api#documentation": "State of an alert manager definition.", + "smithy.api#enum": [ + { + "value": "CREATING", + "name": "CREATING", + "documentation": "Definition is being created. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE." + }, + { + "value": "ACTIVE", + "name": "ACTIVE", + "documentation": "Definition has been created/updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE." + }, + { + "value": "UPDATING", + "name": "UPDATING", + "documentation": "Definition is being updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE." + }, + { + "value": "DELETING", + "name": "DELETING", + "documentation": "Definition is being deleting. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE." + }, + { + "value": "CREATION_FAILED", + "name": "CREATION_FAILED", + "documentation": "Definition creation failed." + }, + { + "value": "UPDATE_FAILED", + "name": "UPDATE_FAILED", + "documentation": "Definition update failed." + } + ] + } + }, "com.amazonaws.amp#AmazonPrometheusService": { "type": "service", "version": "2020-08-01", @@ -107,13 +237,13 @@ "smithy.api#httpError": 409 } }, - "com.amazonaws.amp#CreateWorkspace": { + "com.amazonaws.amp#CreateAlertManagerDefinition": { "type": "operation", "input": { - "target": "com.amazonaws.amp#CreateWorkspaceRequest" + "target": "com.amazonaws.amp#CreateAlertManagerDefinitionRequest" }, "output": { - "target": "com.amazonaws.amp#CreateWorkspaceResponse" + "target": "com.amazonaws.amp#CreateAlertManagerDefinitionResponse" }, "errors": [ { @@ -125,6 +255,9 @@ { "target": "com.amazonaws.amp#InternalServerException" }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, { "target": "com.amazonaws.amp#ServiceQuotaExceededException" }, @@ -136,22 +269,31 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new AMP workspace.", + "smithy.api#documentation": "Create an alert manager definition.", "smithy.api#http": { "method": "POST", - "uri": "/workspaces", + "uri": "/workspaces/{workspaceId}/alertmanager/definition", "code": 202 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.amp#CreateWorkspaceRequest": { + "com.amazonaws.amp#CreateAlertManagerDefinitionRequest": { "type": "structure", "members": { - "alias": { - "target": "com.amazonaws.amp#WorkspaceAlias", + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", "traits": { - "smithy.api#documentation": "An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique." + "smithy.api#documentation": "The ID of the workspace in which to create the alert manager definition.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "data": { + "target": "com.amazonaws.amp#AlertManagerDefinitionData", + "traits": { + "smithy.api#documentation": "The alert manager definition data.", + "smithy.api#required": {} } }, "clientToken": { @@ -160,68 +302,51 @@ "smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.", "smithy.api#idempotencyToken": {} } - }, - "tags": { - "target": "com.amazonaws.amp#TagMap", - "traits": { - "smithy.api#documentation": "Optional, user-provided tags for this workspace." - } } }, "traits": { - "smithy.api#documentation": "Represents the input of a CreateWorkspace operation." + "smithy.api#documentation": "Represents the input of a CreateAlertManagerDefinition operation." } }, - "com.amazonaws.amp#CreateWorkspaceResponse": { + "com.amazonaws.amp#CreateAlertManagerDefinitionResponse": { "type": "structure", "members": { - "workspaceId": { - "target": "com.amazonaws.amp#WorkspaceId", - "traits": { - "smithy.api#documentation": "The generated ID of the workspace that was just created.", - "smithy.api#required": {} - } - }, - "arn": { - "target": "com.amazonaws.amp#WorkspaceArn", - "traits": { - "smithy.api#documentation": "The ARN of the workspace that was just created.", - "smithy.api#required": {} - } - }, "status": { - "target": "com.amazonaws.amp#WorkspaceStatus", + "target": "com.amazonaws.amp#AlertManagerDefinitionStatus", "traits": { - "smithy.api#documentation": "The status of the workspace that was just created (usually CREATING).", + "smithy.api#documentation": "The status of alert manager definition.", "smithy.api#required": {} } - }, - "tags": { - "target": "com.amazonaws.amp#TagMap", - "traits": { - "smithy.api#documentation": "The tags of this workspace." - } } }, "traits": { - "smithy.api#documentation": "Represents the output of a CreateWorkspace operation." + "smithy.api#documentation": "Represents the output of a CreateAlertManagerDefinition operation." } }, - "com.amazonaws.amp#DeleteWorkspace": { + "com.amazonaws.amp#CreateRuleGroupsNamespace": { "type": "operation", "input": { - "target": "com.amazonaws.amp#DeleteWorkspaceRequest" + "target": "com.amazonaws.amp#CreateRuleGroupsNamespaceRequest" + }, + "output": { + "target": "com.amazonaws.amp#CreateRuleGroupsNamespaceResponse" }, "errors": [ { "target": "com.amazonaws.amp#AccessDeniedException" }, + { + "target": "com.amazonaws.amp#ConflictException" + }, { "target": "com.amazonaws.amp#InternalServerException" }, { "target": "com.amazonaws.amp#ResourceNotFoundException" }, + { + "target": "com.amazonaws.amp#ServiceQuotaExceededException" + }, { "target": "com.amazonaws.amp#ThrottlingException" }, @@ -230,56 +355,113 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an AMP workspace.", + "smithy.api#documentation": "Create a rule group namespace.", "smithy.api#http": { - "method": "DELETE", - "uri": "/workspaces/{workspaceId}", + "method": "POST", + "uri": "/workspaces/{workspaceId}/rulegroupsnamespaces", "code": 202 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.amp#DeleteWorkspaceRequest": { + "com.amazonaws.amp#CreateRuleGroupsNamespaceRequest": { "type": "structure", "members": { "workspaceId": { "target": "com.amazonaws.amp#WorkspaceId", "traits": { - "smithy.api#documentation": "The ID of the workspace to delete.", + "smithy.api#documentation": "The ID of the workspace in which to create the rule group namespace.", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName", + "traits": { + "smithy.api#documentation": "The rule groups namespace name.", + "smithy.api#required": {} + } + }, + "data": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceData", + "traits": { + "smithy.api#documentation": "The namespace data that define the rule groups.", + "smithy.api#required": {} + } + }, "clientToken": { "target": "com.amazonaws.amp#IdempotencyToken", "traits": { "smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.", - "smithy.api#httpQuery": "clientToken", "smithy.api#idempotencyToken": {} } + }, + "tags": { + "target": "com.amazonaws.amp#TagMap", + "traits": { + "smithy.api#documentation": "Optional, user-provided tags for this rule groups namespace." + } } }, "traits": { - "smithy.api#documentation": "Represents the input of a DeleteWorkspace operation." + "smithy.api#documentation": "Represents the input of a CreateRuleGroupsNamespace operation." } }, - "com.amazonaws.amp#DescribeWorkspace": { + "com.amazonaws.amp#CreateRuleGroupsNamespaceResponse": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName", + "traits": { + "smithy.api#documentation": "The rule groups namespace name.", + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of this rule groups namespace.", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceStatus", + "traits": { + "smithy.api#documentation": "The status of rule groups namespace.", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.amp#TagMap", + "traits": { + "smithy.api#documentation": "The tags of this rule groups namespace." + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the output of a CreateRuleGroupsNamespace operation." + } + }, + "com.amazonaws.amp#CreateWorkspace": { "type": "operation", "input": { - "target": "com.amazonaws.amp#DescribeWorkspaceRequest" + "target": "com.amazonaws.amp#CreateWorkspaceRequest" }, "output": { - "target": "com.amazonaws.amp#DescribeWorkspaceResponse" + "target": "com.amazonaws.amp#CreateWorkspaceResponse" }, "errors": [ { "target": "com.amazonaws.amp#AccessDeniedException" }, + { + "target": "com.amazonaws.amp#ConflictException" + }, { "target": "com.amazonaws.amp#InternalServerException" }, { - "target": "com.amazonaws.amp#ResourceNotFoundException" + "target": "com.amazonaws.amp#ServiceQuotaExceededException" }, { "target": "com.amazonaws.amp#ThrottlingException" @@ -289,58 +471,1020 @@ } ], "traits": { - "smithy.api#documentation": "Describes an existing AMP workspace.", + "smithy.api#documentation": "Creates a new AMP workspace.", "smithy.api#http": { - "method": "GET", - "uri": "/workspaces/{workspaceId}", - "code": 200 + "method": "POST", + "uri": "/workspaces", + "code": 202 }, - "smithy.api#readonly": {} + "smithy.api#idempotent": {} } }, - "com.amazonaws.amp#DescribeWorkspaceRequest": { + "com.amazonaws.amp#CreateWorkspaceRequest": { "type": "structure", "members": { - "workspaceId": { - "target": "com.amazonaws.amp#WorkspaceId", + "alias": { + "target": "com.amazonaws.amp#WorkspaceAlias", "traits": { - "smithy.api#documentation": "The ID of the workspace to describe.", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique." + } + }, + "clientToken": { + "target": "com.amazonaws.amp#IdempotencyToken", + "traits": { + "smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.", + "smithy.api#idempotencyToken": {} + } + }, + "tags": { + "target": "com.amazonaws.amp#TagMap", + "traits": { + "smithy.api#documentation": "Optional, user-provided tags for this workspace." } } }, "traits": { - "smithy.api#documentation": "Represents the input of a DescribeWorkspace operation." + "smithy.api#documentation": "Represents the input of a CreateWorkspace operation." } }, - "com.amazonaws.amp#DescribeWorkspaceResponse": { + "com.amazonaws.amp#CreateWorkspaceResponse": { "type": "structure", "members": { - "workspace": { - "target": "com.amazonaws.amp#WorkspaceDescription", + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", "traits": { - "smithy.api#documentation": "The properties of the selected workspace.", + "smithy.api#documentation": "The generated ID of the workspace that was just created.", + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.amp#WorkspaceArn", + "traits": { + "smithy.api#documentation": "The ARN of the workspace that was just created.", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.amp#WorkspaceStatus", + "traits": { + "smithy.api#documentation": "The status of the workspace that was just created (usually CREATING).", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.amp#TagMap", + "traits": { + "smithy.api#documentation": "The tags of this workspace." + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the output of a CreateWorkspace operation." + } + }, + "com.amazonaws.amp#DeleteAlertManagerDefinition": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#DeleteAlertManagerDefinitionRequest" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#ConflictException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes an alert manager definition.", + "smithy.api#http": { + "method": "DELETE", + "uri": "/workspaces/{workspaceId}/alertmanager/definition", + "code": 202 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.amp#DeleteAlertManagerDefinitionRequest": { + "type": "structure", + "members": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", + "traits": { + "smithy.api#documentation": "The ID of the workspace in which to delete the alert manager definition.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.amp#IdempotencyToken", + "traits": { + "smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.", + "smithy.api#httpQuery": "clientToken", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a DeleteAlertManagerDefinition operation." + } + }, + "com.amazonaws.amp#DeleteRuleGroupsNamespace": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#DeleteRuleGroupsNamespaceRequest" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#ConflictException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Delete a rule groups namespace.", + "smithy.api#http": { + "method": "DELETE", + "uri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", + "code": 202 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.amp#DeleteRuleGroupsNamespaceRequest": { + "type": "structure", + "members": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", + "traits": { + "smithy.api#documentation": "The ID of the workspace to delete rule group definition.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName", + "traits": { + "smithy.api#documentation": "The rule groups namespace name.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.amp#IdempotencyToken", + "traits": { + "smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.", + "smithy.api#httpQuery": "clientToken", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a DeleteRuleGroupsNamespace operation." + } + }, + "com.amazonaws.amp#DeleteWorkspace": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#DeleteWorkspaceRequest" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#ConflictException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes an AMP workspace.", + "smithy.api#http": { + "method": "DELETE", + "uri": "/workspaces/{workspaceId}", + "code": 202 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.amp#DeleteWorkspaceRequest": { + "type": "structure", + "members": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", + "traits": { + "smithy.api#documentation": "The ID of the workspace to delete.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.amp#IdempotencyToken", + "traits": { + "smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.", + "smithy.api#httpQuery": "clientToken", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a DeleteWorkspace operation." + } + }, + "com.amazonaws.amp#DescribeAlertManagerDefinition": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#DescribeAlertManagerDefinitionRequest" + }, + "output": { + "target": "com.amazonaws.amp#DescribeAlertManagerDefinitionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Describes an alert manager definition.", + "smithy.api#http": { + "method": "GET", + "uri": "/workspaces/{workspaceId}/alertmanager/definition", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.amp#DescribeAlertManagerDefinitionRequest": { + "type": "structure", + "members": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", + "traits": { + "smithy.api#documentation": "The ID of the workspace to describe.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a DescribeAlertManagerDefinition operation." + } + }, + "com.amazonaws.amp#DescribeAlertManagerDefinitionResponse": { + "type": "structure", + "members": { + "alertManagerDefinition": { + "target": "com.amazonaws.amp#AlertManagerDefinitionDescription", + "traits": { + "smithy.api#documentation": "The properties of the selected workspace's alert manager definition.", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the output of a DescribeAlertManagerDefinition operation." + } + }, + "com.amazonaws.amp#DescribeRuleGroupsNamespace": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#DescribeRuleGroupsNamespaceRequest" + }, + "output": { + "target": "com.amazonaws.amp#DescribeRuleGroupsNamespaceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Describe a rule groups namespace.", + "smithy.api#http": { + "method": "GET", + "uri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.amp#DescribeRuleGroupsNamespaceRequest": { + "type": "structure", + "members": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", + "traits": { + "smithy.api#documentation": "The ID of the workspace to describe.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName", + "traits": { + "smithy.api#documentation": "The rule groups namespace.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a DescribeRuleGroupsNamespace operation." + } + }, + "com.amazonaws.amp#DescribeRuleGroupsNamespaceResponse": { + "type": "structure", + "members": { + "ruleGroupsNamespace": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceDescription", + "traits": { + "smithy.api#documentation": "The selected rule groups namespace.", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the output of a DescribeRuleGroupsNamespace operation." + } + }, + "com.amazonaws.amp#DescribeWorkspace": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#DescribeWorkspaceRequest" + }, + "output": { + "target": "com.amazonaws.amp#DescribeWorkspaceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Describes an existing AMP workspace.", + "smithy.api#http": { + "method": "GET", + "uri": "/workspaces/{workspaceId}", + "code": 200 + }, + "smithy.api#readonly": {}, + "smithy.waiters#waitable": { + "WorkspaceActive": { + "documentation": "Wait until a workspace reaches ACTIVE status", + "acceptors": [ + { + "state": "success", + "matcher": { + "output": { + "path": "workspace.status.statusCode", + "expected": "ACTIVE", + "comparator": "stringEquals" + } + } + }, + { + "state": "retry", + "matcher": { + "output": { + "path": "workspace.status.statusCode", + "expected": "UPDATING", + "comparator": "stringEquals" + } + } + }, + { + "state": "retry", + "matcher": { + "output": { + "path": "workspace.status.statusCode", + "expected": "CREATING", + "comparator": "stringEquals" + } + } + } + ] + }, + "WorkspaceDeleted": { + "documentation": "Wait until a workspace reaches DELETED status", + "acceptors": [ + { + "state": "success", + "matcher": { + "errorType": "ResourceNotFoundException" + } + }, + { + "state": "retry", + "matcher": { + "output": { + "path": "workspace.status.statusCode", + "expected": "DELETING", + "comparator": "stringEquals" + } + } + } + ] + } + } + } + }, + "com.amazonaws.amp#DescribeWorkspaceRequest": { + "type": "structure", + "members": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", + "traits": { + "smithy.api#documentation": "The ID of the workspace to describe.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a DescribeWorkspace operation." + } + }, + "com.amazonaws.amp#DescribeWorkspaceResponse": { + "type": "structure", + "members": { + "workspace": { + "target": "com.amazonaws.amp#WorkspaceDescription", + "traits": { + "smithy.api#documentation": "The properties of the selected workspace.", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the output of a DescribeWorkspace operation." + } + }, + "com.amazonaws.amp#IdempotencyToken": { + "type": "string", + "traits": { + "smithy.api#documentation": "An identifier used to ensure the idempotency of a write request.", + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "[!-~]+" + } + }, + "com.amazonaws.amp#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Description of the error.", + "smithy.api#required": {} + } + }, + "retryAfterSeconds": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "Advice to clients on when the call can be safely retried.", + "smithy.api#httpHeader": "Retry-After" + } + } + }, + "traits": { + "smithy.api#documentation": "Unexpected error during processing of request.", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.amp#ListRuleGroupsNamespaces": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#ListRuleGroupsNamespacesRequest" + }, + "output": { + "target": "com.amazonaws.amp#ListRuleGroupsNamespacesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists rule groups namespaces.", + "smithy.api#http": { + "method": "GET", + "uri": "/workspaces/{workspaceId}/rulegroupsnamespaces", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "ruleGroupsNamespaces", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.amp#ListRuleGroupsNamespacesRequest": { + "type": "structure", + "members": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", + "traits": { + "smithy.api#documentation": "The ID of the workspace.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName", + "traits": { + "smithy.api#documentation": "Optional filter for rule groups namespace name. Only the rule groups namespace that begin with this value will be returned.", + "smithy.api#httpQuery": "name" + } + }, + "nextToken": { + "target": "com.amazonaws.amp#PaginationToken", + "traits": { + "smithy.api#documentation": "Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListRuleGroupsNamespaces request.", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "Maximum results to return in response (default=100, maximum=1000).", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 1000 + } + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a ListRuleGroupsNamespaces operation." + } + }, + "com.amazonaws.amp#ListRuleGroupsNamespacesResponse": { + "type": "structure", + "members": { + "ruleGroupsNamespaces": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceSummaryList", + "traits": { + "smithy.api#documentation": "The list of the selected rule groups namespaces.", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.amp#PaginationToken", + "traits": { + "smithy.api#documentation": "Pagination token to use when requesting the next page in this list." + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the output of a ListRuleGroupsNamespaces operation." + } + }, + "com.amazonaws.amp#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.amp#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists the tags you have assigned to the resource.", + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{resourceArn}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.amp#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The ARN of the resource.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.amp#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.amp#TagMap" + } + } + }, + "com.amazonaws.amp#ListWorkspaces": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#ListWorkspacesRequest" + }, + "output": { + "target": "com.amazonaws.amp#ListWorkspacesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists all AMP workspaces, including workspaces being created or deleted.", + "smithy.api#http": { + "method": "GET", + "uri": "/workspaces", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "workspaces", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.amp#ListWorkspacesRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.amp#PaginationToken", + "traits": { + "smithy.api#documentation": "Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.", + "smithy.api#httpQuery": "nextToken" + } + }, + "alias": { + "target": "com.amazonaws.amp#WorkspaceAlias", + "traits": { + "smithy.api#documentation": "Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.", + "smithy.api#httpQuery": "alias" + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "Maximum results to return in response (default=100, maximum=1000).", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 1000 + } + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a ListWorkspaces operation." + } + }, + "com.amazonaws.amp#ListWorkspacesResponse": { + "type": "structure", + "members": { + "workspaces": { + "target": "com.amazonaws.amp#WorkspaceSummaryList", + "traits": { + "smithy.api#documentation": "The list of existing workspaces, including those undergoing creation or deletion.", "smithy.api#required": {} } + }, + "nextToken": { + "target": "com.amazonaws.amp#PaginationToken", + "traits": { + "smithy.api#documentation": "Pagination token to use when requesting the next page in this list." + } } }, "traits": { - "smithy.api#documentation": "Represents the output of a DescribeWorkspace operation." + "smithy.api#documentation": "Represents the output of a ListWorkspaces operation." } }, - "com.amazonaws.amp#IdempotencyToken": { + "com.amazonaws.amp#PaginationToken": { "type": "string", "traits": { - "smithy.api#documentation": "An identifier used to ensure the idempotency of a write request.", - "smithy.api#length": { - "min": 1, - "max": 64 + "smithy.api#documentation": "A token used to access the next page in a paginated result set." + } + }, + "com.amazonaws.amp#PutAlertManagerDefinition": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#PutAlertManagerDefinitionRequest" + }, + "output": { + "target": "com.amazonaws.amp#PutAlertManagerDefinitionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" }, - "smithy.api#pattern": "[!-~]+" + { + "target": "com.amazonaws.amp#ConflictException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Update an alert manager definition.", + "smithy.api#http": { + "method": "PUT", + "uri": "/workspaces/{workspaceId}/alertmanager/definition", + "code": 202 + }, + "smithy.api#idempotent": {} } }, - "com.amazonaws.amp#InternalServerException": { + "com.amazonaws.amp#PutAlertManagerDefinitionRequest": { + "type": "structure", + "members": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", + "traits": { + "smithy.api#documentation": "The ID of the workspace in which to update the alert manager definition.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "data": { + "target": "com.amazonaws.amp#AlertManagerDefinitionData", + "traits": { + "smithy.api#documentation": "The alert manager definition data.", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.amp#IdempotencyToken", + "traits": { + "smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a PutAlertManagerDefinition operation." + } + }, + "com.amazonaws.amp#PutAlertManagerDefinitionResponse": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.amp#AlertManagerDefinitionStatus", + "traits": { + "smithy.api#documentation": "The status of alert manager definition.", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the output of a PutAlertManagerDefinition operation." + } + }, + "com.amazonaws.amp#PutRuleGroupsNamespace": { + "type": "operation", + "input": { + "target": "com.amazonaws.amp#PutRuleGroupsNamespaceRequest" + }, + "output": { + "target": "com.amazonaws.amp#PutRuleGroupsNamespaceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.amp#AccessDeniedException" + }, + { + "target": "com.amazonaws.amp#ConflictException" + }, + { + "target": "com.amazonaws.amp#InternalServerException" + }, + { + "target": "com.amazonaws.amp#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.amp#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.amp#ThrottlingException" + }, + { + "target": "com.amazonaws.amp#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Update a rule groups namespace.", + "smithy.api#http": { + "method": "PUT", + "uri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", + "code": 202 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.amp#PutRuleGroupsNamespaceRequest": { + "type": "structure", + "members": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId", + "traits": { + "smithy.api#documentation": "The ID of the workspace in which to update the rule group namespace.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName", + "traits": { + "smithy.api#documentation": "The rule groups namespace name.", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "data": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceData", + "traits": { + "smithy.api#documentation": "The namespace data that define the rule groups.", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.amp#IdempotencyToken", + "traits": { + "smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the input of a PutRuleGroupsNamespace operation." + } + }, + "com.amazonaws.amp#PutRuleGroupsNamespaceResponse": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName", + "traits": { + "smithy.api#documentation": "The rule groups namespace name.", + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of this rule groups namespace.", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceStatus", + "traits": { + "smithy.api#documentation": "The status of rule groups namespace.", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.amp#TagMap", + "traits": { + "smithy.api#documentation": "The tags of this rule groups namespace." + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the output of a PutRuleGroupsNamespace operation." + } + }, + "com.amazonaws.amp#ResourceNotFoundException": { "type": "structure", "members": { "message": { @@ -350,204 +1494,261 @@ "smithy.api#required": {} } }, - "retryAfterSeconds": { - "target": "smithy.api#Integer", + "resourceId": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "Advice to clients on when the call can be safely retried.", - "smithy.api#httpHeader": "Retry-After" + "smithy.api#documentation": "Identifier of the resource affected.", + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Type of the resource affected.", + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Unexpected error during processing of request.", - "smithy.api#error": "server", - "smithy.api#httpError": 500, - "smithy.api#retryable": {} + "smithy.api#documentation": "Request references a resource which does not exist.", + "smithy.api#error": "client", + "smithy.api#httpError": 404 } }, - "com.amazonaws.amp#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.amp#ListTagsForResourceRequest" + "com.amazonaws.amp#RuleGroupsNamespace": { + "type": "resource", + "identifiers": { + "workspaceId": { + "target": "com.amazonaws.amp#WorkspaceId" + }, + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName" + } }, - "output": { - "target": "com.amazonaws.amp#ListTagsForResourceResponse" + "put": { + "target": "com.amazonaws.amp#CreateRuleGroupsNamespace" }, - "errors": [ - { - "target": "com.amazonaws.amp#AccessDeniedException" - }, - { - "target": "com.amazonaws.amp#InternalServerException" - }, - { - "target": "com.amazonaws.amp#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.amp#ThrottlingException" + "read": { + "target": "com.amazonaws.amp#DescribeRuleGroupsNamespace" + }, + "update": { + "target": "com.amazonaws.amp#PutRuleGroupsNamespace" + }, + "delete": { + "target": "com.amazonaws.amp#DeleteRuleGroupsNamespace" + }, + "list": { + "target": "com.amazonaws.amp#ListRuleGroupsNamespaces" + }, + "traits": { + "aws.api#arn": { + "template": "rulegroupsnamespace/{workspaceId}/{name}", + "absolute": false, + "noAccount": false, + "noRegion": false }, - { - "target": "com.amazonaws.amp#ValidationException" - } - ], + "smithy.api#documentation": "The definition of a rule group namespace in an AMP workspace" + } + }, + "com.amazonaws.amp#RuleGroupsNamespaceArn": { + "type": "string", "traits": { - "smithy.api#documentation": "Lists the tags you have assigned to the resource.", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 + "aws.api#arnReference": { + "type": "AWS::APS::RuleGroupsNamespace", + "service": "com.amazonaws.services.awsprometheus.serviceapi#ManagedPrometheusCP", + "resource": "com.amazonaws.amp#RuleGroupsNamespace" }, - "smithy.api#readonly": {} + "smithy.api#documentation": "An ARN identifying a rule groups namespace." } }, - "com.amazonaws.amp#ListTagsForResourceRequest": { + "com.amazonaws.amp#RuleGroupsNamespaceData": { + "type": "blob", + "traits": { + "smithy.api#documentation": "The rule groups namespace data." + } + }, + "com.amazonaws.amp#RuleGroupsNamespaceDescription": { "type": "structure", "members": { - "resourceArn": { - "target": "smithy.api#String", + "arn": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceArn", "traits": { - "smithy.api#documentation": "The ARN of the resource.", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "The Amazon Resource Name (ARN) of this rule groups namespace.", "smithy.api#required": {} } - } - } - }, - "com.amazonaws.amp#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.amp#TagMap" - } - } - }, - "com.amazonaws.amp#ListWorkspaces": { - "type": "operation", - "input": { - "target": "com.amazonaws.amp#ListWorkspacesRequest" - }, - "output": { - "target": "com.amazonaws.amp#ListWorkspacesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.amp#AccessDeniedException" - }, - { - "target": "com.amazonaws.amp#InternalServerException" }, - { - "target": "com.amazonaws.amp#ThrottlingException" + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName", + "traits": { + "smithy.api#documentation": "The rule groups namespace name.", + "smithy.api#required": {} + } }, - { - "target": "com.amazonaws.amp#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "Lists all AMP workspaces, including workspaces being created or deleted.", - "smithy.api#http": { - "method": "GET", - "uri": "/workspaces", - "code": 200 + "status": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceStatus", + "traits": { + "smithy.api#documentation": "The status of rule groups namespace.", + "smithy.api#required": {} + } }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "workspaces", - "pageSize": "maxResults" + "data": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceData", + "traits": { + "smithy.api#documentation": "The rule groups namespace data.", + "smithy.api#required": {} + } }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.amp#ListWorkspacesRequest": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.amp#PaginationToken", + "createdAt": { + "target": "smithy.api#Timestamp", "traits": { - "smithy.api#documentation": "Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.", - "smithy.api#httpQuery": "nextToken" + "smithy.api#documentation": "The time when the rule groups namespace was created.", + "smithy.api#required": {} } }, - "alias": { - "target": "com.amazonaws.amp#WorkspaceAlias", + "modifiedAt": { + "target": "smithy.api#Timestamp", "traits": { - "smithy.api#documentation": "Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.", - "smithy.api#httpQuery": "alias" + "smithy.api#documentation": "The time when the rule groups namespace was modified.", + "smithy.api#required": {} } }, - "maxResults": { - "target": "smithy.api#Integer", + "tags": { + "target": "com.amazonaws.amp#TagMap", "traits": { - "smithy.api#documentation": "Maximum results to return in response (default=100, maximum=1000).", - "smithy.api#httpQuery": "maxResults", - "smithy.api#range": { - "min": 1, - "max": 1000 - } + "smithy.api#documentation": "The tags of this rule groups namespace." } } }, "traits": { - "smithy.api#documentation": "Represents the input of a ListWorkspaces operation." + "smithy.api#documentation": "Represents a description of the rule groups namespace." } }, - "com.amazonaws.amp#ListWorkspacesResponse": { + "com.amazonaws.amp#RuleGroupsNamespaceName": { + "type": "string", + "traits": { + "smithy.api#documentation": "The namespace name that the rule group belong to.", + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "[0-9A-Za-z][-.0-9A-Z_a-z]*" + } + }, + "com.amazonaws.amp#RuleGroupsNamespaceStatus": { "type": "structure", "members": { - "workspaces": { - "target": "com.amazonaws.amp#WorkspaceSummaryList", + "statusCode": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceStatusCode", "traits": { - "smithy.api#documentation": "The list of existing workspaces, including those undergoing creation or deletion.", + "smithy.api#documentation": "Status code of this namespace.", "smithy.api#required": {} } }, - "nextToken": { - "target": "com.amazonaws.amp#PaginationToken", + "statusReason": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "Pagination token to use when requesting the next page in this list." + "smithy.api#documentation": "The reason for failure if any." } } }, "traits": { - "smithy.api#documentation": "Represents the output of a ListWorkspaces operation." + "smithy.api#documentation": "Represents the status of a namespace." } }, - "com.amazonaws.amp#PaginationToken": { + "com.amazonaws.amp#RuleGroupsNamespaceStatusCode": { "type": "string", "traits": { - "smithy.api#documentation": "A token used to access the next page in a paginated result set." + "smithy.api#documentation": "State of a namespace.", + "smithy.api#enum": [ + { + "value": "CREATING", + "name": "CREATING", + "documentation": "Namespace is being created. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE." + }, + { + "value": "ACTIVE", + "name": "ACTIVE", + "documentation": "Namespace has been created/updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE." + }, + { + "value": "UPDATING", + "name": "UPDATING", + "documentation": "Namespace is being updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE." + }, + { + "value": "DELETING", + "name": "DELETING", + "documentation": "Namespace is being deleting. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE." + }, + { + "value": "CREATION_FAILED", + "name": "CREATION_FAILED", + "documentation": "Namespace creation failed." + }, + { + "value": "UPDATE_FAILED", + "name": "UPDATE_FAILED", + "documentation": "Namespace update failed." + } + ] } }, - "com.amazonaws.amp#ResourceNotFoundException": { + "com.amazonaws.amp#RuleGroupsNamespaceSummary": { "type": "structure", "members": { - "message": { - "target": "smithy.api#String", + "arn": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceArn", "traits": { - "smithy.api#documentation": "Description of the error.", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of this rule groups namespace.", "smithy.api#required": {} } }, - "resourceId": { - "target": "smithy.api#String", + "name": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceName", "traits": { - "smithy.api#documentation": "Identifier of the resource affected.", + "smithy.api#documentation": "The rule groups namespace name.", "smithy.api#required": {} } }, - "resourceType": { - "target": "smithy.api#String", + "status": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceStatus", "traits": { - "smithy.api#documentation": "Type of the resource affected.", + "smithy.api#documentation": "The status of rule groups namespace.", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the rule groups namespace was created.", + "smithy.api#required": {} + } + }, + "modifiedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time when the rule groups namespace was modified.", "smithy.api#required": {} } + }, + "tags": { + "target": "com.amazonaws.amp#TagMap", + "traits": { + "smithy.api#documentation": "The tags of this rule groups namespace." + } } }, "traits": { - "smithy.api#documentation": "Request references a resource which does not exist.", - "smithy.api#error": "client", - "smithy.api#httpError": 404 + "smithy.api#documentation": "Represents a summary of the rule groups namespace." + } + }, + "com.amazonaws.amp#RuleGroupsNamespaceSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.amp#RuleGroupsNamespaceSummary" + }, + "traits": { + "smithy.api#documentation": "A list of rule groups namespace summary." } }, "com.amazonaws.amp#ServiceQuotaExceededException": { @@ -979,6 +2180,14 @@ "list": { "target": "com.amazonaws.amp#ListWorkspaces" }, + "resources": [ + { + "target": "com.amazonaws.amp#AlertManagerDefinition" + }, + { + "target": "com.amazonaws.amp#RuleGroupsNamespace" + } + ], "traits": { "aws.api#arn": { "template": "workspace/{workspaceId}", diff --git a/codegen/sdk-codegen/aws-models/appintegrations.2020-07-29.json b/codegen/sdk-codegen/aws-models/appintegrations.2020-07-29.json index ba183a5c4f62..2f1547571149 100644 --- a/codegen/sdk-codegen/aws-models/appintegrations.2020-07-29.json +++ b/codegen/sdk-codegen/aws-models/appintegrations.2020-07-29.json @@ -46,15 +46,30 @@ "type": "service", "version": "2020-07-29", "operations": [ + { + "target": "com.amazonaws.appintegrations#CreateDataIntegration" + }, { "target": "com.amazonaws.appintegrations#CreateEventIntegration" }, + { + "target": "com.amazonaws.appintegrations#DeleteDataIntegration" + }, { "target": "com.amazonaws.appintegrations#DeleteEventIntegration" }, + { + "target": "com.amazonaws.appintegrations#GetDataIntegration" + }, { "target": "com.amazonaws.appintegrations#GetEventIntegration" }, + { + "target": "com.amazonaws.appintegrations#ListDataIntegrationAssociations" + }, + { + "target": "com.amazonaws.appintegrations#ListDataIntegrations" + }, { "target": "com.amazonaws.appintegrations#ListEventIntegrationAssociations" }, @@ -70,6 +85,9 @@ { "target": "com.amazonaws.appintegrations#UntagResource" }, + { + "target": "com.amazonaws.appintegrations#UpdateDataIntegration" + }, { "target": "com.amazonaws.appintegrations#UpdateEventIntegration" } @@ -86,7 +104,7 @@ "name": "app-integrations" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.
\nFor information about how you can use external applications with Amazon Connect, see Set up pre-built integrations in the Amazon Connect Administrator Guide.
", + "smithy.api#documentation": "The Amazon AppIntegrations service enables you to configure and reuse connections to external\n applications.
\nFor information about how you can use external applications with Amazon Connect, see Set up pre-built\n integrations and Deliver information to agents using Amazon Connect Wisdom\n in the Amazon Connect Administrator Guide.
", "smithy.api#title": "Amazon AppIntegrations Service" } }, @@ -119,6 +137,151 @@ "smithy.api#pattern": ".*" } }, + "com.amazonaws.appintegrations#CreateDataIntegration": { + "type": "operation", + "input": { + "target": "com.amazonaws.appintegrations#CreateDataIntegrationRequest" + }, + "output": { + "target": "com.amazonaws.appintegrations#CreateDataIntegrationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.appintegrations#AccessDeniedException" + }, + { + "target": "com.amazonaws.appintegrations#DuplicateResourceException" + }, + { + "target": "com.amazonaws.appintegrations#InternalServiceError" + }, + { + "target": "com.amazonaws.appintegrations#InvalidRequestException" + }, + { + "target": "com.amazonaws.appintegrations#ResourceQuotaExceededException" + }, + { + "target": "com.amazonaws.appintegrations#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Creates and persists a DataIntegration resource.
\nYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. \n Use a different DataIntegration, or recreate the DataIntegration using the \n CreateDataIntegration
API.
The name of the DataIntegration.
", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.appintegrations#Description", + "traits": { + "smithy.api#documentation": "A description of the DataIntegration.
" + } + }, + "KmsKey": { + "target": "com.amazonaws.appintegrations#NonBlankString", + "traits": { + "smithy.api#documentation": "The KMS key for the DataIntegration.
" + } + }, + "SourceURI": { + "target": "com.amazonaws.appintegrations#NonBlankString", + "traits": { + "smithy.api#documentation": "The URI of the data source.
" + } + }, + "ScheduleConfig": { + "target": "com.amazonaws.appintegrations#ScheduleConfiguration", + "traits": { + "smithy.api#documentation": "The name of the data and how often it should be pulled from the source.
" + } + }, + "Tags": { + "target": "com.amazonaws.appintegrations#TagMap", + "traits": { + "smithy.api#documentation": "One or more tags.
" + } + }, + "ClientToken": { + "target": "com.amazonaws.appintegrations#IdempotencyToken", + "traits": { + "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.appintegrations#CreateDataIntegrationResponse": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.appintegrations#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN)
" + } + }, + "Id": { + "target": "com.amazonaws.appintegrations#UUID", + "traits": { + "smithy.api#documentation": "A unique identifier.
" + } + }, + "Name": { + "target": "com.amazonaws.appintegrations#Name", + "traits": { + "smithy.api#documentation": "The name of the DataIntegration.
" + } + }, + "Description": { + "target": "com.amazonaws.appintegrations#Description", + "traits": { + "smithy.api#documentation": "A description of the DataIntegration.
" + } + }, + "KmsKey": { + "target": "com.amazonaws.appintegrations#NonBlankString", + "traits": { + "smithy.api#documentation": "The KMS key for the DataIntegration.
" + } + }, + "SourceURI": { + "target": "com.amazonaws.appintegrations#NonBlankString", + "traits": { + "smithy.api#documentation": "The URI of the data source.
" + } + }, + "ScheduleConfiguration": { + "target": "com.amazonaws.appintegrations#ScheduleConfiguration", + "traits": { + "smithy.api#documentation": "The name of the data and how often it should be pulled from the source.
" + } + }, + "Tags": { + "target": "com.amazonaws.appintegrations#TagMap", + "traits": { + "smithy.api#documentation": "One or more tags.
" + } + }, + "ClientToken": { + "target": "com.amazonaws.appintegrations#IdempotencyToken", + "traits": { + "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
" + } + } + } + }, "com.amazonaws.appintegrations#CreateEventIntegration": { "type": "operation", "input": { @@ -148,7 +311,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates an EventIntegration, given a specified name, description, and a reference to an\n Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No\n objects are created in the your account, only metadata that is persisted on the EventIntegration\n control plane.
", + "smithy.api#documentation": "Creates an EventIntegration, given a specified name, description, and a reference to an\n Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No\n objects are created in the your account, only metadata that is persisted on the\n EventIntegration control plane.
", "smithy.api#http": { "method": "POST", "uri": "/eventIntegrations", @@ -212,6 +375,133 @@ } } }, + "com.amazonaws.appintegrations#DataIntegrationAssociationSummary": { + "type": "structure", + "members": { + "DataIntegrationAssociationArn": { + "target": "com.amazonaws.appintegrations#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the DataIntegration association.
" + } + }, + "DataIntegrationArn": { + "target": "com.amazonaws.appintegrations#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN)of the DataIntegration.
" + } + }, + "ClientId": { + "target": "com.amazonaws.appintegrations#ClientId", + "traits": { + "smithy.api#documentation": "The identifier for teh client that is associated with the DataIntegration\n association.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Summary information about the DataIntegration association.
" + } + }, + "com.amazonaws.appintegrations#DataIntegrationAssociationsList": { + "type": "list", + "member": { + "target": "com.amazonaws.appintegrations#DataIntegrationAssociationSummary" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.appintegrations#DataIntegrationSummary": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.appintegrations#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the DataIntegration.
" + } + }, + "Name": { + "target": "com.amazonaws.appintegrations#Name", + "traits": { + "smithy.api#documentation": "The name of the DataIntegration.
" + } + }, + "SourceURI": { + "target": "com.amazonaws.appintegrations#NonBlankString", + "traits": { + "smithy.api#documentation": "The URI of the data source.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Summary information about the DataIntegration.
" + } + }, + "com.amazonaws.appintegrations#DataIntegrationsList": { + "type": "list", + "member": { + "target": "com.amazonaws.appintegrations#DataIntegrationSummary" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.appintegrations#DeleteDataIntegration": { + "type": "operation", + "input": { + "target": "com.amazonaws.appintegrations#DeleteDataIntegrationRequest" + }, + "output": { + "target": "com.amazonaws.appintegrations#DeleteDataIntegrationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.appintegrations#AccessDeniedException" + }, + { + "target": "com.amazonaws.appintegrations#InternalServiceError" + }, + { + "target": "com.amazonaws.appintegrations#InvalidRequestException" + }, + { + "target": "com.amazonaws.appintegrations#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.appintegrations#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the DataIntegration. Only DataIntegrations that don't have any\n DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the\n underlying Amazon AppFlow flow and service linked role.
\nYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. \nUse a different DataIntegration, or recreate the DataIntegration using the \nCreateDataIntegration API.
\nA unique identifier for the DataIntegration.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.appintegrations#DeleteDataIntegrationResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.appintegrations#DeleteEventIntegration": { "type": "operation", "input": { @@ -433,6 +723,106 @@ } } }, + "com.amazonaws.appintegrations#GetDataIntegration": { + "type": "operation", + "input": { + "target": "com.amazonaws.appintegrations#GetDataIntegrationRequest" + }, + "output": { + "target": "com.amazonaws.appintegrations#GetDataIntegrationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.appintegrations#AccessDeniedException" + }, + { + "target": "com.amazonaws.appintegrations#InternalServiceError" + }, + { + "target": "com.amazonaws.appintegrations#InvalidRequestException" + }, + { + "target": "com.amazonaws.appintegrations#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.appintegrations#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns information about the DataIntegration.
\nYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. \nUse a different DataIntegration, or recreate the DataIntegration using the \nCreateDataIntegration API.
\nA unique identifier.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.appintegrations#GetDataIntegrationResponse": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.appintegrations#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the DataIntegration.
" + } + }, + "Id": { + "target": "com.amazonaws.appintegrations#UUID", + "traits": { + "smithy.api#documentation": "A unique identifier.
" + } + }, + "Name": { + "target": "com.amazonaws.appintegrations#Name", + "traits": { + "smithy.api#documentation": "The name of the DataIntegration.
" + } + }, + "Description": { + "target": "com.amazonaws.appintegrations#Description", + "traits": { + "smithy.api#documentation": "The KMS key for the DataIntegration.
" + } + }, + "KmsKey": { + "target": "com.amazonaws.appintegrations#NonBlankString", + "traits": { + "smithy.api#documentation": "The KMS key for the DataIntegration.
" + } + }, + "SourceURI": { + "target": "com.amazonaws.appintegrations#NonBlankString", + "traits": { + "smithy.api#documentation": "The URI of the data source.
" + } + }, + "ScheduleConfiguration": { + "target": "com.amazonaws.appintegrations#ScheduleConfiguration", + "traits": { + "smithy.api#documentation": "The name of the data and how often it should be pulled from the source.
" + } + }, + "Tags": { + "target": "com.amazonaws.appintegrations#TagMap", + "traits": { + "smithy.api#documentation": "One or more tags.
" + } + } + } + }, "com.amazonaws.appintegrations#GetEventIntegration": { "type": "operation", "input": { @@ -459,7 +849,7 @@ } ], "traits": { - "smithy.api#documentation": "Return information about the event integration.
", + "smithy.api#documentation": "Returns information about the event integration.
", "smithy.api#http": { "method": "GET", "uri": "/eventIntegrations/{Name}", @@ -531,6 +921,16 @@ "smithy.api#pattern": ".*" } }, + "com.amazonaws.appintegrations#Identifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "\\S" + } + }, "com.amazonaws.appintegrations#InternalServiceError": { "type": "structure", "members": { @@ -552,11 +952,156 @@ } }, "traits": { - "smithy.api#documentation": "The request is not valid.
", + "smithy.api#documentation": "The request is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, + "com.amazonaws.appintegrations#ListDataIntegrationAssociations": { + "type": "operation", + "input": { + "target": "com.amazonaws.appintegrations#ListDataIntegrationAssociationsRequest" + }, + "output": { + "target": "com.amazonaws.appintegrations#ListDataIntegrationAssociationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.appintegrations#AccessDeniedException" + }, + { + "target": "com.amazonaws.appintegrations#InternalServiceError" + }, + { + "target": "com.amazonaws.appintegrations#InvalidRequestException" + }, + { + "target": "com.amazonaws.appintegrations#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.appintegrations#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a paginated list of DataIntegration associations in the account.
\nYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. \nUse a different DataIntegration, or recreate the DataIntegration using the \nCreateDataIntegration API.
\nA unique identifier for the DataIntegration.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.appintegrations#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "MaxResults": { + "target": "com.amazonaws.appintegrations#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.appintegrations#ListDataIntegrationAssociationsResponse": { + "type": "structure", + "members": { + "DataIntegrationAssociations": { + "target": "com.amazonaws.appintegrations#DataIntegrationAssociationsList", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) and unique ID of the DataIntegration association.
" + } + }, + "NextToken": { + "target": "com.amazonaws.appintegrations#NextToken", + "traits": { + "smithy.api#documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + } + }, + "com.amazonaws.appintegrations#ListDataIntegrations": { + "type": "operation", + "input": { + "target": "com.amazonaws.appintegrations#ListDataIntegrationsRequest" + }, + "output": { + "target": "com.amazonaws.appintegrations#ListDataIntegrationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.appintegrations#AccessDeniedException" + }, + { + "target": "com.amazonaws.appintegrations#InternalServiceError" + }, + { + "target": "com.amazonaws.appintegrations#InvalidRequestException" + }, + { + "target": "com.amazonaws.appintegrations#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a paginated list of DataIntegrations in the account.
\nYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. \nUse a different DataIntegration, or recreate the DataIntegration using the \nCreateDataIntegration API.
\nThe token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "MaxResults": { + "target": "com.amazonaws.appintegrations#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.appintegrations#ListDataIntegrationsResponse": { + "type": "structure", + "members": { + "DataIntegrations": { + "target": "com.amazonaws.appintegrations#DataIntegrationsList", + "traits": { + "smithy.api#documentation": "The DataIntegrations associated with this account.
" + } + }, + "NextToken": { + "target": "com.amazonaws.appintegrations#NextToken", + "traits": { + "smithy.api#documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + } + }, "com.amazonaws.appintegrations#ListEventIntegrationAssociations": { "type": "operation", "input": { @@ -800,6 +1345,16 @@ "smithy.api#pattern": "\\S" } }, + "com.amazonaws.appintegrations#Object": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9\\/\\._\\-]+$" + } + }, "com.amazonaws.appintegrations#ResourceNotFoundException": { "type": "structure", "members": { @@ -826,6 +1381,42 @@ "smithy.api#httpError": 429 } }, + "com.amazonaws.appintegrations#Schedule": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9\\/\\._\\-]+$" + } + }, + "com.amazonaws.appintegrations#ScheduleConfiguration": { + "type": "structure", + "members": { + "FirstExecutionFrom": { + "target": "com.amazonaws.appintegrations#NonBlankString", + "traits": { + "smithy.api#documentation": "The start date for objects to import in the first flow run.
" + } + }, + "Object": { + "target": "com.amazonaws.appintegrations#Object", + "traits": { + "smithy.api#documentation": "The name of the object to pull from the data source.
" + } + }, + "ScheduleExpression": { + "target": "com.amazonaws.appintegrations#Schedule", + "traits": { + "smithy.api#documentation": "How often the data should be pulled from data source.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The name of the data and how often it should be pulled from the source.
" + } + }, "com.amazonaws.appintegrations#Source": { "type": "string", "traits": { @@ -1012,6 +1603,69 @@ "type": "structure", "members": {} }, + "com.amazonaws.appintegrations#UpdateDataIntegration": { + "type": "operation", + "input": { + "target": "com.amazonaws.appintegrations#UpdateDataIntegrationRequest" + }, + "output": { + "target": "com.amazonaws.appintegrations#UpdateDataIntegrationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.appintegrations#AccessDeniedException" + }, + { + "target": "com.amazonaws.appintegrations#InternalServiceError" + }, + { + "target": "com.amazonaws.appintegrations#InvalidRequestException" + }, + { + "target": "com.amazonaws.appintegrations#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.appintegrations#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the description of a DataIntegration.
\nYou cannot create a DataIntegration association for a DataIntegration that has been previously associated. \nUse a different DataIntegration, or recreate the DataIntegration using the \nCreateDataIntegration API.
\nA unique identifier for the DataIntegration.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.appintegrations#Name", + "traits": { + "smithy.api#documentation": "The name of the DataIntegration.
" + } + }, + "Description": { + "target": "com.amazonaws.appintegrations#Description", + "traits": { + "smithy.api#documentation": "A description of the DataIntegration.
" + } + } + } + }, + "com.amazonaws.appintegrations#UpdateDataIntegrationResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.appintegrations#UpdateEventIntegration": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/apprunner.2020-05-15.json b/codegen/sdk-codegen/aws-models/apprunner.2020-05-15.json index 5aa34344b923..d775cef26d9b 100644 --- a/codegen/sdk-codegen/aws-models/apprunner.2020-05-15.json +++ b/codegen/sdk-codegen/aws-models/apprunner.2020-05-15.json @@ -142,7 +142,7 @@ "name": "apprunner" }, "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "AWS App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code\n to a running service in the AWS cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to\n provision and configure AWS resources.
\nApp Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations,\n high performance, scalability, and security.
\nFor more information about App Runner, see the AWS App Runner Developer Guide.\n For release information, see the AWS App Runner Release Notes.
\n\n To install the Software Development Kits (SDKs), Integrated\n Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for\n Amazon Web Services.
\n\n Endpoints\n
\nFor a list of Region-specific endpoints that App Runner supports, see AWS App Runner\n endpoints and quotas in the AWS General Reference.
", + "smithy.api#documentation": "App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code\n to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to\n provision and configure Amazon Web Services resources.
\nApp Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations,\n high performance, scalability, and security.
\nFor more information about App Runner, see the App Runner Developer Guide.\n For release information, see the App Runner Release Notes.
\n\n To install the Software Development Kits (SDKs), Integrated\n Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for\n Amazon Web Services.
\n\n Endpoints\n
\nFor a list of Region-specific endpoints that App Runner supports, see App Runner\n endpoints and quotas in the Amazon Web Services General Reference.
", "smithy.api#title": "AWS App Runner", "smithy.api#xmlNamespace": { "uri": "http://apprunner.amazonaws.com/doc/2020-05-15/" @@ -156,7 +156,7 @@ "min": 1, "max": 1011 }, - "smithy.api#pattern": "arn:aws(-[\\w]+)*:[a-z0-9-\\\\.]{0,63}:[a-z0-9-\\\\.]{0,63}:[0-9]{12}:(\\w|\\/|-){1,1011}" + "smithy.api#pattern": "^arn:aws(-[\\w]+)*:[a-z0-9-\\\\.]{0,63}:[a-z0-9-\\\\.]{0,63}:[0-9]{12}:(\\w|\\/|-){1,1011}$" } }, "com.amazonaws.apprunner#AssociateCustomDomain": { @@ -179,7 +179,7 @@ } ], "traits": { - "smithy.api#documentation": "Associate your own domain name with the AWS App Runner subdomain URL of your App Runner service.
\nAfter you call AssociateCustomDomain
and receive a successful response, use the information in the CustomDomain record\n that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or\n more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks\n domain validity in a certificate stored in AWS Certificate Manager (ACM).
Associate your own domain name with the App Runner subdomain URL of your App Runner service.
\nAfter you call AssociateCustomDomain
and receive a successful response, use the information in the CustomDomain record\n that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or\n more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks\n domain validity in a certificate stored in AWS Certificate Manager (ACM).
Describes an AWS App Runner automatic scaling configuration resource. Multiple revisions of a configuration have the same\n AutoScalingConfigurationName
and different AutoScalingConfigurationRevision
values.
A higher MinSize
increases the spread of your App Runner service over more Availability Zones in the AWS Region. The tradeoff is a higher\n minimal cost.
A lower MaxSize
controls your cost. The tradeoff is lower responsiveness during peak demand.
Describes an App Runner automatic scaling configuration resource. Multiple revisions of a configuration have the same\n AutoScalingConfigurationName
and different AutoScalingConfigurationRevision
values.
A higher MinSize
increases the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher\n minimal cost.
A lower MaxSize
controls your cost. The tradeoff is lower responsiveness during peak demand.
Provides summary information about an AWS App Runner automatic scaling configuration resource.
\nThis type contains limited information about an auto scaling configuration. It includes only identification information, without configuration\n details. It's returned by the ListAutoScalingConfigurations action. Complete configuration information is returned by the CreateAutoScalingConfiguration, DescribeAutoScalingConfiguration, and DeleteAutoScalingConfiguration\n actions using the AutoScalingConfiguration type.
" + "smithy.api#documentation": "Provides summary information about an App Runner automatic scaling configuration resource.
\nThis type contains limited information about an auto scaling configuration. It includes only identification information, without configuration\n details. It's returned by the ListAutoScalingConfigurations action. Complete configuration information is returned by the CreateAutoScalingConfiguration, DescribeAutoScalingConfiguration, and DeleteAutoScalingConfiguration\n actions using the AutoScalingConfiguration type.
" } }, "com.amazonaws.apprunner#AutoScalingConfigurationSummaryList": { @@ -462,7 +462,7 @@ } }, "traits": { - "smithy.api#documentation": "Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository.
" + "smithy.api#documentation": "Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository.
" } }, "com.amazonaws.apprunner#CodeConfigurationValues": { @@ -501,7 +501,7 @@ } }, "traits": { - "smithy.api#documentation": "Describes the basic configuration needed for building and running an AWS App Runner service. This type doesn't support the full set of possible\n configuration options. Fur full configuration capabilities, use a apprunner.yaml
file in the source code repository.
Describes the basic configuration needed for building and running an App Runner service. This type doesn't support the full set of possible\n configuration options. Fur full configuration capabilities, use a apprunner.yaml
file in the source code repository.
Describes an AWS App Runner connection resource.
" + "smithy.api#documentation": "Describes an App Runner connection resource.
" } }, "com.amazonaws.apprunner#ConnectionName": { @@ -592,7 +592,7 @@ "min": 4, "max": 32 }, - "smithy.api#pattern": "[A-Za-z0-9][A-Za-z0-9\\-_]{3,31}" + "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9\\-_]{3,31}$" } }, "com.amazonaws.apprunner#ConnectionStatus": { @@ -653,7 +653,7 @@ } }, "traits": { - "smithy.api#documentation": "Provides summary information about an AWS App Runner connection resource.
" + "smithy.api#documentation": "Provides summary information about an App Runner connection resource.
" } }, "com.amazonaws.apprunner#ConnectionSummaryList": { @@ -669,7 +669,7 @@ "min": 4, "max": 6 }, - "smithy.api#pattern": "1024|2048|(1|2) vCPU" + "smithy.api#pattern": "^1024|2048|(1|2) vCPU$" } }, "com.amazonaws.apprunner#CreateAutoScalingConfiguration": { @@ -692,7 +692,7 @@ } ], "traits": { - "smithy.api#documentation": "Create an AWS App Runner automatic scaling configuration resource. App Runner requires this resource\n when you create App Runner services that require non-default auto scaling settings. You can share an\n auto scaling configuration across multiple services.
\nCreate multiple revisions of a configuration by using the same AutoScalingConfigurationName
and different\n AutoScalingConfigurationRevision
values. When you create a service, you can set it to use the latest active revision of an auto scaling\n configuration or a specific revision.
Configure a higher MinSize
to increase the spread of your App Runner service over more Availability Zones in the AWS Region. The tradeoff is\n a higher minimal cost.
Configure a lower MaxSize
to control your cost. The tradeoff is lower responsiveness during peak demand.
Create an App Runner automatic scaling configuration resource. App Runner requires this resource\n when you create App Runner services that require non-default auto scaling settings. You can share an\n auto scaling configuration across multiple services.
\nCreate multiple revisions of a configuration by using the same AutoScalingConfigurationName
and different\n AutoScalingConfigurationRevision
values. When you create a service, you can set it to use the latest active revision of an auto scaling\n configuration or a specific revision.
Configure a higher MinSize
to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is\n a higher minimal cost.
Configure a lower MaxSize
to control your cost. The tradeoff is lower responsiveness during peak demand.
A name for the auto scaling configuration. When you use it for the first time in an AWS Region, App Runner creates revision number 1
of this\n name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.
A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1
of this\n name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.
Create an AWS App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from\n certain third-party providers. You can share a connection across multiple services.
\nA connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you\n can use the connection.
" + "smithy.api#documentation": "Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from\n certain third-party providers. You can share a connection across multiple services.
\nA connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you\n can use the connection.
" } }, "com.amazonaws.apprunner#CreateConnectionRequest": { @@ -772,7 +772,7 @@ "ConnectionName": { "target": "com.amazonaws.apprunner#ConnectionName", "traits": { - "smithy.api#documentation": "A name for the new connection. It must be unique across all App Runner connections for the AWS account in the AWS Region.
", + "smithy.api#documentation": "A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region.
", "smithy.api#required": {} } }, @@ -823,7 +823,7 @@ } ], "traits": { - "smithy.api#documentation": "Create an AWS App Runner service. After the service is created, the action also automatically starts a deployment.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
Create an App Runner service. After the service is created, the action also automatically starts a deployment.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations call to track the operation's progress.
A name for the new service. It must be unique across all the running App Runner services in your AWS account in the AWS Region.
", + "smithy.api#documentation": "A name for the new service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region.
", "smithy.api#required": {} } }, @@ -858,13 +858,13 @@ "EncryptionConfiguration": { "target": "com.amazonaws.apprunner#EncryptionConfiguration", "traits": { - "smithy.api#documentation": "An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default,\n App Runner uses an AWS managed CMK.
" + "smithy.api#documentation": "An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default,\n App Runner uses an Amazon Web Services managed CMK.
" } }, "HealthCheckConfiguration": { "target": "com.amazonaws.apprunner#HealthCheckConfiguration", "traits": { - "smithy.api#documentation": "The settings for the health check that AWS App Runner performs to monitor the health of your service.
" + "smithy.api#documentation": "The settings for the health check that App Runner performs to monitor the health of your service.
" } }, "AutoScalingConfigurationArn": { @@ -926,7 +926,7 @@ } }, "traits": { - "smithy.api#documentation": "Describes a custom domain that's associated with an AWS App Runner service.
" + "smithy.api#documentation": "Describes a custom domain that's associated with an App Runner service.
" } }, "com.amazonaws.apprunner#CustomDomainAssociationStatus": { @@ -990,7 +990,7 @@ } ], "traits": { - "smithy.api#documentation": "Delete an AWS App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a\n configuration that's used by one or more App Runner services.
" + "smithy.api#documentation": "Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a\n configuration that's used by one or more App Runner services.
" } }, "com.amazonaws.apprunner#DeleteAutoScalingConfigurationRequest": { @@ -1037,7 +1037,7 @@ } ], "traits": { - "smithy.api#documentation": "Delete an AWS App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the\n DeleteConnection
action fails.
Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the\n DeleteConnection
action fails.
Delete an AWS App Runner service.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
Delete an App Runner service.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
Return a full description of an AWS App Runner automatic scaling configuration resource.
" + "smithy.api#documentation": "Return a full description of an App Runner automatic scaling configuration resource.
" } }, "com.amazonaws.apprunner#DescribeAutoScalingConfigurationRequest": { @@ -1187,7 +1187,7 @@ } ], "traits": { - "smithy.api#documentation": "Return a description of custom domain names that are associated with an AWS App Runner service.
", + "smithy.api#documentation": "Return a description of custom domain names that are associated with an App Runner service.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1281,7 +1281,7 @@ } ], "traits": { - "smithy.api#documentation": "Return a full description of an AWS App Runner service.
" + "smithy.api#documentation": "Return a full description of an App Runner service.
" } }, "com.amazonaws.apprunner#DescribeServiceRequest": { @@ -1331,7 +1331,7 @@ } ], "traits": { - "smithy.api#documentation": "Disassociate a custom domain name from an AWS App Runner service.
\nCertificates tracking domain validity are associated with a custom domain and are stored in AWS\n Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for\n 30 days after a domain is disassociated from your service.
" + "smithy.api#documentation": "Disassociate a custom domain name from an App Runner service.
\nCertificates tracking domain validity are associated with a custom domain and are stored in AWS\n Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for\n 30 days after a domain is disassociated from your service.
" } }, "com.amazonaws.apprunner#DisassociateCustomDomainRequest": { @@ -1400,7 +1400,7 @@ } }, "traits": { - "smithy.api#documentation": "Describes a custom encryption key that AWS App Runner uses to encrypt copies of the source repository and service logs.
" + "smithy.api#documentation": "Describes a custom encryption key that App Runner uses to encrypt copies of the source repository and service logs.
" } }, "com.amazonaws.apprunner#ErrorMessage": { @@ -1422,7 +1422,7 @@ } }, "Path": { - "target": "com.amazonaws.apprunner#String", + "target": "com.amazonaws.apprunner#HealthCheckPath", "traits": { "smithy.api#documentation": "The URL that health check requests are sent to.
\n\n Path
is only applicable when you set Protocol
to HTTP
.
Default: \"/\"
\n
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
\nDefault: 3
\n
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
\nDefault: 1
\n
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
\nDefault: 3
\n
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
\nDefault: 5
\n
Describes the settings for the health check that AWS App Runner performs to monitor the health of a service.
" + "smithy.api#documentation": "Describes the settings for the health check that App Runner performs to monitor the health of a service.
" } }, "com.amazonaws.apprunner#HealthCheckHealthyThreshold": { @@ -1476,6 +1476,14 @@ } } }, + "com.amazonaws.apprunner#HealthCheckPath": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, "com.amazonaws.apprunner#HealthCheckProtocol": { "type": "string", "traits": { @@ -1534,7 +1542,7 @@ } }, "traits": { - "smithy.api#documentation": "Describes the configuration that AWS App Runner uses to run an App Runner service using an image pulled from a source image repository.
" + "smithy.api#documentation": "Describes the configuration that App Runner uses to run an App Runner service using an image pulled from a source image repository.
" } }, "com.amazonaws.apprunner#ImageIdentifier": { @@ -1544,7 +1552,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "([0-9]{12}.dkr.ecr.[a-z\\-]+-[0-9]{1}.amazonaws.com\\/.*)|(^public\\.ecr\\.aws\\/.+\\/.+)" + "smithy.api#pattern": "^([0-9]{12}.dkr.ecr.[a-z\\-]+-[0-9]{1}.amazonaws.com\\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(:([\\w\\d+\\-=._:\\/@])+|@([\\w\\d\\:]+))?)|(^public\\.ecr\\.aws\\/.+\\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(:([\\w\\d+\\-=._:\\/@])+|@([\\w\\d\\:]+))?)$" } }, "com.amazonaws.apprunner#ImageRepository": { @@ -1608,12 +1616,12 @@ "InstanceRoleArn": { "target": "com.amazonaws.apprunner#RoleArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls\n any AWS APIs.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls\n any Amazon Web Services APIs.
" } } }, "traits": { - "smithy.api#documentation": "Describes the runtime configuration of an AWS App Runner service instance (scaling unit).
" + "smithy.api#documentation": "Describes the runtime configuration of an App Runner service instance (scaling unit).
" } }, "com.amazonaws.apprunner#Integer": { @@ -1627,6 +1635,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InternalServiceError", + "httpResponseCode": 500 + }, "smithy.api#documentation": "An unexpected service exception occurred.
", "smithy.api#error": "server", "smithy.api#httpError": 500 @@ -1640,6 +1652,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidRequest", + "httpResponseCode": 400 + }, "smithy.api#documentation": "One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1653,6 +1669,10 @@ } }, "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidState", + "httpResponseCode": 400 + }, "smithy.api#documentation": "You can't perform this action when the resource is in its current state.
", "smithy.api#error": "client", "smithy.api#httpError": 400 @@ -1665,7 +1685,7 @@ "min": 0, "max": 256 }, - "smithy.api#pattern": "arn:aws(-[\\w]+)*:kms:[a-z\\-]+-[0-9]{1}:[0-9]{12}:key\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" + "smithy.api#pattern": "^arn:aws(-[\\w]+)*:kms:[a-z\\-]+-[0-9]{1}:[0-9]{12}:key\\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } }, "com.amazonaws.apprunner#ListAutoScalingConfigurations": { @@ -1685,7 +1705,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of AWS App Runner automatic scaling configurations in your AWS account. You can query the revisions for a specific configuration name or\n the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name.
", + "smithy.api#documentation": "Returns a list of App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or\n the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1757,7 +1777,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of AWS App Runner connections that are associated with your AWS account.
", + "smithy.api#documentation": "Returns a list of App Runner connections that are associated with your Amazon Web Services account.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1826,7 +1846,7 @@ } ], "traits": { - "smithy.api#documentation": "Return a list of operations that occurred on an AWS App Runner service.
\nThe resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the\n last started operation.
", + "smithy.api#documentation": "Return a list of operations that occurred on an App Runner service.
\nThe resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the\n last started operation.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1902,7 +1922,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of running AWS App Runner services in your AWS account.
", + "smithy.api#documentation": "Returns a list of running App Runner services in your Amazon Web Services account.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -1968,7 +1988,7 @@ } ], "traits": { - "smithy.api#documentation": "List tags that are associated with for an AWS App Runner resource. The response contains a list of tag key-value pairs.
" + "smithy.api#documentation": "List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
" } }, "com.amazonaws.apprunner#ListTagsForResourceRequest": { @@ -2011,7 +2031,7 @@ "min": 4, "max": 4 }, - "smithy.api#pattern": "2048|3072|4096|(2|3|4) GB" + "smithy.api#pattern": "^2048|3072|4096|(2|3|4) GB$" } }, "com.amazonaws.apprunner#NextToken": { @@ -2112,7 +2132,7 @@ } }, "traits": { - "smithy.api#documentation": "Provides summary information for an operation that occurred on an AWS App Runner service.
" + "smithy.api#documentation": "Provides summary information for an operation that occurred on an App Runner service.
" } }, "com.amazonaws.apprunner#OperationSummaryList": { @@ -2171,7 +2191,7 @@ } ], "traits": { - "smithy.api#documentation": "Pause an active AWS App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is\n removed).
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is\n removed).
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.
", + "aws.protocols#awsQueryError": { + "code": "ResourceNotfound", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services account.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -2251,7 +2275,7 @@ } ], "traits": { - "smithy.api#documentation": "Resume an active AWS App Runner service. App Runner provisions compute capacity for the service.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
Resume an active App Runner service. App Runner provisions compute capacity for the service.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
An ID that App Runner generated for this service. It's unique within the AWS Region.
", + "smithy.api#documentation": "An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
", "smithy.api#required": {} } }, @@ -2405,7 +2429,7 @@ "EncryptionConfiguration": { "target": "com.amazonaws.apprunner#EncryptionConfiguration", "traits": { - "smithy.api#documentation": "The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be\n either a customer-provided encryption key or an AWS managed CMK.
" + "smithy.api#documentation": "The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be\n either a customer-provided encryption key or an Amazon Web Services managed CMK.
" } }, "HealthCheckConfiguration": { @@ -2423,7 +2447,7 @@ } }, "traits": { - "smithy.api#documentation": "Describes an AWS App Runner service. It can describe a service in any state, including deleted services.
\nThis type contains the full information about a service, including configuration details. It's returned by the CreateService, DescribeService, and DeleteService actions. A subset of this\n information is returned by the ListServices action using the ServiceSummary type.
" + "smithy.api#documentation": "Describes an App Runner service. It can describe a service in any state, including deleted services.
\nThis type contains the full information about a service, including configuration details. It's returned by the CreateService, DescribeService, and DeleteService actions. A subset of this\n information is returned by the ListServices action using the ServiceSummary type.
" } }, "com.amazonaws.apprunner#ServiceId": { @@ -2433,7 +2457,7 @@ "min": 32, "max": 32 }, - "smithy.api#pattern": "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}" + "smithy.api#pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" } }, "com.amazonaws.apprunner#ServiceMaxResults": { @@ -2453,7 +2477,7 @@ "min": 4, "max": 40 }, - "smithy.api#pattern": "[A-Za-z0-9][A-Za-z0-9-_]{3,39}" + "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9-_]{3,39}$" } }, "com.amazonaws.apprunner#ServiceQuotaExceededException": { @@ -2464,7 +2488,11 @@ } }, "traits": { - "smithy.api#documentation": "App Runner can't create this resource. You've reached your account quota for this resource type.
\nFor App Runner per-resource quotas, see AWS App Runner endpoints and quotas in the\n AWS General Reference.
", + "aws.protocols#awsQueryError": { + "code": "ServiceQuotaExceeded", + "httpResponseCode": 402 + }, + "smithy.api#documentation": "App Runner can't create this resource. You've reached your account quota for this resource type.
\nFor App Runner per-resource quotas, see App Runner endpoints and quotas in the\n Amazon Web Services General Reference.
", "smithy.api#error": "client", "smithy.api#httpError": 402 } @@ -2512,7 +2540,7 @@ "ServiceId": { "target": "com.amazonaws.apprunner#ServiceId", "traits": { - "smithy.api#documentation": "An ID that App Runner generated for this service. It's unique within the AWS Region.
" + "smithy.api#documentation": "An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
" } }, "ServiceArn": { @@ -2547,7 +2575,7 @@ } }, "traits": { - "smithy.api#documentation": "Provides summary information for an AWS App Runner service.
\nThis type contains limited information about a service. It doesn't include configuration details. It's returned by the ListServices action. Complete service information is returned by the CreateService, DescribeService, and DeleteService actions using the Service type.
" + "smithy.api#documentation": "Provides summary information for an App Runner service.
\nThis type contains limited information about a service. It doesn't include configuration details. It's returned by the ListServices action. Complete service information is returned by the CreateService, DescribeService, and DeleteService actions using the Service type.
" } }, "com.amazonaws.apprunner#ServiceSummaryList": { @@ -2575,7 +2603,7 @@ } }, "traits": { - "smithy.api#documentation": "Identifies a version of code that AWS App Runner refers to within a source code repository.
" + "smithy.api#documentation": "Identifies a version of code that App Runner refers to within a source code repository.
" } }, "com.amazonaws.apprunner#SourceCodeVersionType": { @@ -2607,7 +2635,7 @@ "AutoDeploymentsEnabled": { "target": "com.amazonaws.apprunner#NullableBoolean", "traits": { - "smithy.api#documentation": "If true
, continuous integration from the source repository is enabled for the App Runner service. Each repository change (source code commit or\n new image version) starts a deployment.
Default: true
\n
If true
, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source\n code commit or new image version) starts a deployment.
Default: App Runner sets to false
for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true
in all other cases (which currently include a source code\n repository or a source image using a same-account ECR repository).
Describes the source deployed to an AWS App Runner service. It can be a code or an image repository.
" + "smithy.api#documentation": "Describes the source deployed to an App Runner service. It can be a code or an image repository.
" } }, "com.amazonaws.apprunner#StartCommand": { @@ -2647,7 +2675,7 @@ } ], "traits": { - "smithy.api#documentation": "Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an AWS App Runner\n service.
\nFor a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker\n image. In both cases, App Runner then deploys the new image to your service and starts a new container instance.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner\n service.
\nFor a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker\n image. In both cases, App Runner then deploys the new image to your service and starts a new container instance.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
Describes a tag that is applied to an AWS App Runner resource. A tag is a metadata item consisting of a key-value pair.
" + "smithy.api#documentation": "Describes a tag that is applied to an App Runner resource. A tag is a metadata item consisting of a key-value pair.
" } }, "com.amazonaws.apprunner#TagKey": { @@ -2711,7 +2739,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "^(?!aws:).+" + "smithy.api#pattern": "^(?!aws:).+$" } }, "com.amazonaws.apprunner#TagKeyList": { @@ -2795,7 +2823,7 @@ "min": 36, "max": 36 }, - "smithy.api#pattern": "[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}" + "smithy.api#pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" } }, "com.amazonaws.apprunner#UntagResource": { @@ -2870,7 +2898,7 @@ } ], "traits": { - "smithy.api#documentation": "Update an AWS App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto\n scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service.\n These can be set only when you create the service.
\nTo update the tags applied to your service, use the separate actions TagResource and UntagResource.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto\n scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service.\n These can be set only when you create the service.
\nTo update the tags applied to your service, use the separate actions TagResource and UntagResource.
\nThis is an asynchronous operation. On a successful call, you can use the returned OperationId
and the ListOperations\n call to track the operation's progress.
The settings for the health check that AWS App Runner performs to monitor the health of your service.
" + "smithy.api#documentation": "The settings for the health check that App Runner performs to monitor the health of your service.
" } } } diff --git a/codegen/sdk-codegen/aws-models/cloudcontrol.2021-09-30.json b/codegen/sdk-codegen/aws-models/cloudcontrol.2021-09-30.json new file mode 100644 index 000000000000..50cf2119cfa0 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/cloudcontrol.2021-09-30.json @@ -0,0 +1,1606 @@ +{ + "smithy": "1.0", + "metadata": { + "suppressions": [ + { + "id": "HttpMethodSemantics", + "namespace": "*" + }, + { + "id": "HttpResponseCodeSemantics", + "namespace": "*" + }, + { + "id": "PaginatedTrait", + "namespace": "*" + }, + { + "id": "HttpHeaderTrait", + "namespace": "*" + }, + { + "id": "HttpUriConflict", + "namespace": "*" + }, + { + "id": "Service", + "namespace": "*" + } + ] + }, + "shapes": { + "com.amazonaws.cloudcontrol#AlreadyExistsException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "AlreadyExistsException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "The resource with the name requested already exists.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.cloudcontrol#CancelResourceRequest": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudcontrol#CancelResourceRequestInput" + }, + "output": { + "target": "com.amazonaws.cloudcontrol#CancelResourceRequestOutput" + }, + "errors": [ + { + "target": "com.amazonaws.cloudcontrol#ConcurrentModificationException" + }, + { + "target": "com.amazonaws.cloudcontrol#RequestTokenNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Cancels the specified resource operation request. For more information, see Canceling resource operation requests in the\n Amazon Web Services Cloud Control API User Guide.
\nOnly resource operations requests with a status of PENDING
or\n IN_PROGRESS
can be cancelled.
The RequestToken
of the ProgressEvent
object returned by the\n resource operation request.
The specified client token has already been used in another resource request.
\nIt is best practice for client tokens to be unique for each resource operation request.\n However, client token expire after 36 hours.
", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.cloudcontrol#CloudApiService": { + "type": "service", + "version": "2021-09-30", + "operations": [ + { + "target": "com.amazonaws.cloudcontrol#CancelResourceRequest" + }, + { + "target": "com.amazonaws.cloudcontrol#CreateResource" + }, + { + "target": "com.amazonaws.cloudcontrol#DeleteResource" + }, + { + "target": "com.amazonaws.cloudcontrol#GetResource" + }, + { + "target": "com.amazonaws.cloudcontrol#GetResourceRequestStatus" + }, + { + "target": "com.amazonaws.cloudcontrol#ListResourceRequests" + }, + { + "target": "com.amazonaws.cloudcontrol#ListResources" + }, + { + "target": "com.amazonaws.cloudcontrol#UpdateResource" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "CloudControl", + "arnNamespace": "cloudcontrolapi", + "cloudFormationName": "CloudControl", + "cloudTrailEventSource": "cloudcontrol.amazonaws.com", + "endpointPrefix": "cloudcontrolapi" + }, + "aws.auth#sigv4": { + "name": "cloudcontrolapi" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Use Amazon Web Services Cloud Control API to create, read, update, delete, and list (CRUD-L) your cloud resources that\n belong to a wide range of services--both Amazon Web Services and third-party. With the Cloud Control API\n standardized set of application programming interfaces (APIs), you can perform CRUD-L operations\n on any supported resources in your Amazon Web Services account. Using Cloud Control API, you won't have to generate code\n or scripts specific to each individual service responsible for those resources.
\nFor more information about Amazon Web Services Cloud Control API, see the Amazon Web Services Cloud Control API User\n Guide.
", + "smithy.api#title": "AWS Cloud Control API" + } + }, + "com.amazonaws.cloudcontrol#ConcurrentModificationException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "ConcurrentModificationException", + "httpResponseCode": 500 + }, + "smithy.api#documentation": "The resource is currently being modified by another operation.
", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.cloudcontrol#ConcurrentOperationException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "ConcurrentOperationException", + "httpResponseCode": 409 + }, + "smithy.api#documentation": "Another resource operation is currently being performed on this resource.
", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.cloudcontrol#CreateResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudcontrol#CreateResourceInput" + }, + "output": { + "target": "com.amazonaws.cloudcontrol#CreateResourceOutput" + }, + "errors": [ + { + "target": "com.amazonaws.cloudcontrol#AlreadyExistsException" + }, + { + "target": "com.amazonaws.cloudcontrol#ClientTokenConflictException" + }, + { + "target": "com.amazonaws.cloudcontrol#ConcurrentOperationException" + }, + { + "target": "com.amazonaws.cloudcontrol#GeneralServiceException" + }, + { + "target": "com.amazonaws.cloudcontrol#HandlerFailureException" + }, + { + "target": "com.amazonaws.cloudcontrol#HandlerInternalFailureException" + }, + { + "target": "com.amazonaws.cloudcontrol#InvalidCredentialsException" + }, + { + "target": "com.amazonaws.cloudcontrol#InvalidRequestException" + }, + { + "target": "com.amazonaws.cloudcontrol#NetworkFailureException" + }, + { + "target": "com.amazonaws.cloudcontrol#NotStabilizedException" + }, + { + "target": "com.amazonaws.cloudcontrol#NotUpdatableException" + }, + { + "target": "com.amazonaws.cloudcontrol#PrivateTypeException" + }, + { + "target": "com.amazonaws.cloudcontrol#ResourceConflictException" + }, + { + "target": "com.amazonaws.cloudcontrol#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudcontrol#ServiceInternalErrorException" + }, + { + "target": "com.amazonaws.cloudcontrol#ServiceLimitExceededException" + }, + { + "target": "com.amazonaws.cloudcontrol#ThrottlingException" + }, + { + "target": "com.amazonaws.cloudcontrol#TypeNotFoundException" + }, + { + "target": "com.amazonaws.cloudcontrol#UnsupportedActionException" + } + ], + "traits": { + "smithy.api#documentation": "Creates the specified resource. For more information, see Creating a\n resource in the Amazon Web Services Cloud Control API User Guide.
\nAfter you have initiated a resource creation request, you can monitor the progress of your\n request by calling GetResourceRequestStatus using the RequestToken
of the\n ProgressEvent
type returned by CreateResource
.
The name of the resource type.
", + "smithy.api#required": {} + } + }, + "TypeVersionId": { + "target": "com.amazonaws.cloudcontrol#TypeVersionId", + "traits": { + "smithy.api#documentation": "For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
" + } + }, + "RoleArn": { + "target": "com.amazonaws.cloudcontrol#RoleArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the \n handlers\n
section of the resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
\nFor more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
" + } + }, + "ClientToken": { + "target": "com.amazonaws.cloudcontrol#ClientToken", + "traits": { + "smithy.api#documentation": "A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.
\nA client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.
\nIf you do not specify a client token, one is generated for inclusion in the request.
\nFor more information, see Ensuring resource operation requests are unique in the Amazon Web Services Cloud Control API User Guide.
", + "smithy.api#idempotencyToken": {} + } + }, + "DesiredState": { + "target": "com.amazonaws.cloudcontrol#Properties", + "traits": { + "smithy.api#documentation": "Structured data format representing the desired state of the resource, consisting of that\n resource's properties and their desired values.
\nCloud Control API currently supports JSON as a structured data format.
\nSpecify the desired state as one of the following:
\nA JSON blob
\nA local path containing the desired state in JSON data format
\nFor more information, see Composing the desired state of the resource in the Amazon Web Services Cloud Control API User\n Guide.
\nFor more information about the properties of a specific resource, refer to the related\n topic for the resource in the Resource and property types reference in the Amazon Web Services\n CloudFormation Users Guide.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.cloudcontrol#CreateResourceOutput": { + "type": "structure", + "members": { + "ProgressEvent": { + "target": "com.amazonaws.cloudcontrol#ProgressEvent", + "traits": { + "smithy.api#documentation": "Represents the current status of the resource creation request.
\nAfter you have initiated a resource creation request, you can monitor the progress of your\n request by calling GetResourceRequestStatus using the RequestToken
of the\n ProgressEvent
returned by CreateResource
.
Deletes the specified resource. For details, see Deleting a\n resource in the Amazon Web Services Cloud Control API User Guide.
\nAfter you have initiated a resource deletion request, you can monitor the progress of your\n request by calling GetResourceRequestStatus using the RequestToken
of the\n ProgressEvent
returned by DeleteResource
.
The name of the resource type.
", + "smithy.api#required": {} + } + }, + "TypeVersionId": { + "target": "com.amazonaws.cloudcontrol#TypeVersionId", + "traits": { + "smithy.api#documentation": "For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
" + } + }, + "RoleArn": { + "target": "com.amazonaws.cloudcontrol#RoleArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the \n handlers\n
section of the resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
\nFor more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
" + } + }, + "ClientToken": { + "target": "com.amazonaws.cloudcontrol#ClientToken", + "traits": { + "smithy.api#documentation": "A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.
\nA client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.
\nIf you do not specify a client token, one is generated for inclusion in the request.
\nFor more information, see Ensuring resource operation requests are unique in the Amazon Web Services Cloud Control API User Guide.
", + "smithy.api#idempotencyToken": {} + } + }, + "Identifier": { + "target": "com.amazonaws.cloudcontrol#Identifier", + "traits": { + "smithy.api#documentation": "The identifier for the resource.
\nYou can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.
\nFor compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values in the order they are specified in the primary identifier definition, separated by |
.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.cloudcontrol#DeleteResourceOutput": { + "type": "structure", + "members": { + "ProgressEvent": { + "target": "com.amazonaws.cloudcontrol#ProgressEvent", + "traits": { + "smithy.api#documentation": "Represents the current status of the resource deletion request.
\nAfter you have initiated a resource deletion request, you can monitor the progress of your\n request by calling GetResourceRequestStatus using the RequestToken
of the\n ProgressEvent
returned by DeleteResource
.
The resource handler has returned that the downstream service generated an error that does\n not map to any other handler error code.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.cloudcontrol#GetResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudcontrol#GetResourceInput" + }, + "output": { + "target": "com.amazonaws.cloudcontrol#GetResourceOutput" + }, + "errors": [ + { + "target": "com.amazonaws.cloudcontrol#AlreadyExistsException" + }, + { + "target": "com.amazonaws.cloudcontrol#GeneralServiceException" + }, + { + "target": "com.amazonaws.cloudcontrol#HandlerFailureException" + }, + { + "target": "com.amazonaws.cloudcontrol#HandlerInternalFailureException" + }, + { + "target": "com.amazonaws.cloudcontrol#InvalidCredentialsException" + }, + { + "target": "com.amazonaws.cloudcontrol#InvalidRequestException" + }, + { + "target": "com.amazonaws.cloudcontrol#NetworkFailureException" + }, + { + "target": "com.amazonaws.cloudcontrol#NotStabilizedException" + }, + { + "target": "com.amazonaws.cloudcontrol#NotUpdatableException" + }, + { + "target": "com.amazonaws.cloudcontrol#PrivateTypeException" + }, + { + "target": "com.amazonaws.cloudcontrol#ResourceConflictException" + }, + { + "target": "com.amazonaws.cloudcontrol#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudcontrol#ServiceInternalErrorException" + }, + { + "target": "com.amazonaws.cloudcontrol#ServiceLimitExceededException" + }, + { + "target": "com.amazonaws.cloudcontrol#ThrottlingException" + }, + { + "target": "com.amazonaws.cloudcontrol#TypeNotFoundException" + }, + { + "target": "com.amazonaws.cloudcontrol#UnsupportedActionException" + } + ], + "traits": { + "smithy.api#documentation": "Returns information about the current state of the specified resource. For details, see\n Reading a resource's current state.
\nYou can use this action to return information about an existing resource in your account\n and Amazon Web Services Region, whether or not those resources were provisioned using Cloud Control API.
" + } + }, + "com.amazonaws.cloudcontrol#GetResourceInput": { + "type": "structure", + "members": { + "TypeName": { + "target": "com.amazonaws.cloudcontrol#TypeName", + "traits": { + "smithy.api#documentation": "The name of the resource type.
", + "smithy.api#required": {} + } + }, + "TypeVersionId": { + "target": "com.amazonaws.cloudcontrol#TypeVersionId", + "traits": { + "smithy.api#documentation": "For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
" + } + }, + "RoleArn": { + "target": "com.amazonaws.cloudcontrol#RoleArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the \n handlers\n
section of the resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
\nFor more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
" + } + }, + "Identifier": { + "target": "com.amazonaws.cloudcontrol#Identifier", + "traits": { + "smithy.api#documentation": "The identifier for the resource.
\nYou can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.
\nFor compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values in the order they are specified in the primary identifier definition, separated by |
.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.cloudcontrol#GetResourceOutput": { + "type": "structure", + "members": { + "TypeName": { + "target": "com.amazonaws.cloudcontrol#TypeName", + "traits": { + "smithy.api#documentation": "The name of the resource type.
" + } + }, + "ResourceDescription": { + "target": "com.amazonaws.cloudcontrol#ResourceDescription" + } + } + }, + "com.amazonaws.cloudcontrol#GetResourceRequestStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudcontrol#GetResourceRequestStatusInput" + }, + "output": { + "target": "com.amazonaws.cloudcontrol#GetResourceRequestStatusOutput" + }, + "errors": [ + { + "target": "com.amazonaws.cloudcontrol#RequestTokenNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Returns the current status of a resource operation request. For more information, see\n Tracking the progress of resource operation requests in the\n Amazon Web Services Cloud Control API User Guide.
", + "smithy.waiters#waitable": { + "ResourceRequestSuccess": { + "documentation": "Wait until resource operation request is successful", + "acceptors": [ + { + "state": "success", + "matcher": { + "output": { + "path": "ProgressEvent.OperationStatus", + "expected": "SUCCESS", + "comparator": "stringEquals" + } + } + }, + { + "state": "failure", + "matcher": { + "output": { + "path": "ProgressEvent.OperationStatus", + "expected": "FAILED", + "comparator": "stringEquals" + } + } + }, + { + "state": "failure", + "matcher": { + "output": { + "path": "ProgressEvent.OperationStatus", + "expected": "CANCEL_COMPLETE", + "comparator": "stringEquals" + } + } + } + ], + "minDelay": 5 + } + } + } + }, + "com.amazonaws.cloudcontrol#GetResourceRequestStatusInput": { + "type": "structure", + "members": { + "RequestToken": { + "target": "com.amazonaws.cloudcontrol#RequestToken", + "traits": { + "smithy.api#documentation": "A unique token used to track the progress of the resource operation request.
\nRequest tokens are included in the ProgressEvent
type returned by a resource\n operation request.
Represents the current status of the resource operation request.
" + } + } + } + }, + "com.amazonaws.cloudcontrol#HandlerErrorCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NotUpdatable", + "name": "NOT_UPDATABLE" + }, + { + "value": "InvalidRequest", + "name": "INVALID_REQUEST" + }, + { + "value": "AccessDenied", + "name": "ACCESS_DENIED" + }, + { + "value": "InvalidCredentials", + "name": "INVALID_CREDENTIALS" + }, + { + "value": "AlreadyExists", + "name": "ALREADY_EXISTS" + }, + { + "value": "NotFound", + "name": "NOT_FOUND" + }, + { + "value": "ResourceConflict", + "name": "RESOURCE_CONFLICT" + }, + { + "value": "Throttling", + "name": "THROTTLING" + }, + { + "value": "ServiceLimitExceeded", + "name": "SERVICE_LIMIT_EXCEEDED" + }, + { + "value": "NotStabilized", + "name": "NOT_STABILIZED" + }, + { + "value": "GeneralServiceException", + "name": "GENERAL_SERVICE_EXCEPTION" + }, + { + "value": "ServiceInternalError", + "name": "SERVICE_INTERNAL_ERROR" + }, + { + "value": "ServiceTimeout", + "name": "SERVICE_TIMEOUT" + }, + { + "value": "NetworkFailure", + "name": "NETWORK_FAILURE" + }, + { + "value": "InternalFailure", + "name": "INTERNAL_FAILURE" + } + ] + } + }, + "com.amazonaws.cloudcontrol#HandlerFailureException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "HandlerFailureException", + "httpResponseCode": 502 + }, + "smithy.api#documentation": "The resource handler has failed without a returning a more specific error code. This can\n include timeouts.
", + "smithy.api#error": "server", + "smithy.api#httpError": 502 + } + }, + "com.amazonaws.cloudcontrol#HandlerInternalFailureException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "HandlerInternalFailureException", + "httpResponseCode": 502 + }, + "smithy.api#documentation": "The resource handler has returned that an unexpected error occurred within the resource\n handler.
", + "smithy.api#error": "server", + "smithy.api#httpError": 502 + } + }, + "com.amazonaws.cloudcontrol#HandlerNextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^.+$" + } + }, + "com.amazonaws.cloudcontrol#Identifier": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + }, + "smithy.api#pattern": "^.+$" + } + }, + "com.amazonaws.cloudcontrol#InvalidCredentialsException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidCredentialsException", + "httpResponseCode": 401 + }, + "smithy.api#documentation": "The resource handler has returned that the credentials provided by the user are\n invalid.
", + "smithy.api#error": "client", + "smithy.api#httpError": 401 + } + }, + "com.amazonaws.cloudcontrol#InvalidRequestException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "InvalidRequestException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "The resource handler has returned that invalid input from the user has generated a generic\n exception.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.cloudcontrol#ListResourceRequests": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudcontrol#ListResourceRequestsInput" + }, + "output": { + "target": "com.amazonaws.cloudcontrol#ListResourceRequestsOutput" + }, + "traits": { + "smithy.api#documentation": "Returns existing resource operation requests. This includes requests of all status types.\n For more information, see Listing active resource operation requests in the\n Amazon Web Services Cloud Control API User Guide.
\nResource operation requests expire after seven days.
\nThe maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken
value\n that you can assign to the NextToken
request parameter to get the next set of\n results.
The default is 20
.
If the previous paginated request didn't return all of the remaining results, the response object's NextToken
parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
The filter criteria to apply to the requests returned.
" + } + } + } + }, + "com.amazonaws.cloudcontrol#ListResourceRequestsOutput": { + "type": "structure", + "members": { + "ResourceRequestStatusSummaries": { + "target": "com.amazonaws.cloudcontrol#ResourceRequestStatusSummaries", + "traits": { + "smithy.api#documentation": "The requests that match the specified filter criteria.
" + } + }, + "NextToken": { + "target": "com.amazonaws.cloudcontrol#NextToken", + "traits": { + "smithy.api#documentation": "If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResources
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to null.
Returns information about the specified resources. For more information, see Discovering\n resources in the Amazon Web Services Cloud Control API User Guide.
\nYou can use this action to return information about existing resources in your account and\n Amazon Web Services Region, whether or not those resources were provisioned using Cloud Control API.
", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.cloudcontrol#ListResourcesInput": { + "type": "structure", + "members": { + "TypeName": { + "target": "com.amazonaws.cloudcontrol#TypeName", + "traits": { + "smithy.api#documentation": "The name of the resource type.
", + "smithy.api#required": {} + } + }, + "TypeVersionId": { + "target": "com.amazonaws.cloudcontrol#TypeVersionId", + "traits": { + "smithy.api#documentation": "For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
" + } + }, + "RoleArn": { + "target": "com.amazonaws.cloudcontrol#RoleArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the \n handlers\n
section of the resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
\nFor more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
" + } + }, + "NextToken": { + "target": "com.amazonaws.cloudcontrol#HandlerNextToken", + "traits": { + "smithy.api#documentation": "If the previous paginated request didn't return all of the remaining results, the response object's NextToken
parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a NextToken
value\n that you can assign to the NextToken
request parameter to get the next set of\n results.
The default is 20
.
The resource model to use to select the resources to return.
" + } + } + } + }, + "com.amazonaws.cloudcontrol#ListResourcesOutput": { + "type": "structure", + "members": { + "TypeName": { + "target": "com.amazonaws.cloudcontrol#TypeName", + "traits": { + "smithy.api#documentation": "The name of the resource type.
" + } + }, + "ResourceDescriptions": { + "target": "com.amazonaws.cloudcontrol#ResourceDescriptions", + "traits": { + "smithy.api#documentation": "Information about the specified resources, including primary identifier and resource\n model.
" + } + }, + "NextToken": { + "target": "com.amazonaws.cloudcontrol#HandlerNextToken", + "traits": { + "smithy.api#documentation": "If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResources
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to null.
The resource handler has returned that the request could not be completed due to\n networking issues, such as a failure to receive a response from the server.
", + "smithy.api#error": "server", + "smithy.api#httpError": 502 + } + }, + "com.amazonaws.cloudcontrol#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^[-A-Za-z0-9+/=]+$" + } + }, + "com.amazonaws.cloudcontrol#NotStabilizedException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "NotStabilizedException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "The resource handler has returned that the downstream resource failed to complete all of\n its ready-state checks.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.cloudcontrol#NotUpdatableException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "NotUpdatableException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "One or more properties included in this resource operation are defined as create-only, and\n therefore cannot be updated.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.cloudcontrol#Operation": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATE", + "name": "CREATE" + }, + { + "value": "DELETE", + "name": "DELETE" + }, + { + "value": "UPDATE", + "name": "UPDATE" + } + ] + } + }, + "com.amazonaws.cloudcontrol#OperationStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "SUCCESS", + "name": "SUCCESS" + }, + { + "value": "FAILED", + "name": "FAILED" + }, + { + "value": "CANCEL_IN_PROGRESS", + "name": "CANCEL_IN_PROGRESS" + }, + { + "value": "CANCEL_COMPLETE", + "name": "CANCEL_COMPLETE" + } + ] + } + }, + "com.amazonaws.cloudcontrol#OperationStatuses": { + "type": "list", + "member": { + "target": "com.amazonaws.cloudcontrol#OperationStatus" + } + }, + "com.amazonaws.cloudcontrol#Operations": { + "type": "list", + "member": { + "target": "com.amazonaws.cloudcontrol#Operation" + } + }, + "com.amazonaws.cloudcontrol#PatchDocument": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 65536 + }, + "smithy.api#pattern": "^(.|\\s)*$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.cloudcontrol#PrivateTypeException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "PrivateTypeException", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "Cloud Control API has not received a valid response from the resource handler, due to a\n configuration error. This includes issues such as the resource handler returning an invalid\n response, or timing out.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.cloudcontrol#ProgressEvent": { + "type": "structure", + "members": { + "TypeName": { + "target": "com.amazonaws.cloudcontrol#TypeName", + "traits": { + "smithy.api#documentation": "The name of the resource type used in the operation.
" + } + }, + "Identifier": { + "target": "com.amazonaws.cloudcontrol#Identifier", + "traits": { + "smithy.api#documentation": "The primary identifier for the resource.
\nIn some cases, the resource identifier may be available before the resource operation\n has reached a status of SUCCESS
.
The unique token representing this resource operation request.
\nUse the RequestToken
with GetResourceRequestStatus to return the current status of a resource operation\n request.
The resource operation type.
" + } + }, + "OperationStatus": { + "target": "com.amazonaws.cloudcontrol#OperationStatus", + "traits": { + "smithy.api#documentation": "The current status of the resource operation request.
\n\n PENDING
: The resource operation has not yet started.
\n IN_PROGRESS
: The resource operation is currently in progress.
\n SUCCESS
: The resource operation has successfully completed.
\n FAILED
: The resource operation has failed. Refer to the error code and\n status message for more information.
\n CANCEL_IN_PROGRESS
: The resource operation is in the process of being\n canceled.
\n CANCEL_COMPLETE
: The resource operation has been canceled.
When the resource operation request was initiated.
" + } + }, + "ResourceModel": { + "target": "com.amazonaws.cloudcontrol#Properties", + "traits": { + "smithy.api#documentation": "A JSON string containing the resource model, consisting of each resource property and its\n current value.
" + } + }, + "StatusMessage": { + "target": "com.amazonaws.cloudcontrol#StatusMessage", + "traits": { + "smithy.api#documentation": "Any message explaining the current status.
" + } + }, + "ErrorCode": { + "target": "com.amazonaws.cloudcontrol#HandlerErrorCode", + "traits": { + "smithy.api#documentation": "For requests with a status of FAILED
, the associated error code.
For error code definitions, see Handler error codes in the CloudFormation Command\n Line Interface User Guide for Extension Development.
" + } + }, + "RetryAfter": { + "target": "com.amazonaws.cloudcontrol#Timestamp", + "traits": { + "smithy.api#documentation": "When to next request the status of this resource operation request.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Represents the current status of a resource operation request. For more information, see\n Managing resource operation requests in the\n Amazon Web Services Cloud Control API User Guide.
" + } + }, + "com.amazonaws.cloudcontrol#Properties": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 16384 + }, + "smithy.api#pattern": "^(.|\\s)*$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.cloudcontrol#RequestToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[-A-Za-z0-9+/=]+$" + } + }, + "com.amazonaws.cloudcontrol#RequestTokenNotFoundException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "RequestTokenNotFoundException", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "A resource operation with the specified request token cannot be found.
", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.cloudcontrol#ResourceConflictException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceConflictException", + "httpResponseCode": 409 + }, + "smithy.api#documentation": "The resource is temporarily unavailable to be acted upon. For example, if the resource is\n currently undergoing an operation and cannot be acted upon until that operation is\n finished.
", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.cloudcontrol#ResourceDescription": { + "type": "structure", + "members": { + "Identifier": { + "target": "com.amazonaws.cloudcontrol#Identifier", + "traits": { + "smithy.api#documentation": "The primary identifier for the resource.
\nFor more information, see Identifying\n resources in the Amazon Web Services Cloud Control API User Guide.
" + } + }, + "Properties": { + "target": "com.amazonaws.cloudcontrol#Properties", + "traits": { + "smithy.api#documentation": "A list of the resource properties and their current values.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Represents information about a provisioned resource.
" + } + }, + "com.amazonaws.cloudcontrol#ResourceDescriptions": { + "type": "list", + "member": { + "target": "com.amazonaws.cloudcontrol#ResourceDescription" + } + }, + "com.amazonaws.cloudcontrol#ResourceNotFoundException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "ResourceNotFoundException", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "A resource with the specified identifier cannot be found.
", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.cloudcontrol#ResourceRequestStatusFilter": { + "type": "structure", + "members": { + "Operations": { + "target": "com.amazonaws.cloudcontrol#Operations", + "traits": { + "smithy.api#documentation": "The operation types to include in the filter.
" + } + }, + "OperationStatuses": { + "target": "com.amazonaws.cloudcontrol#OperationStatuses", + "traits": { + "smithy.api#documentation": "The operation statuses to include in the filter.
\n\n PENDING
: The operation has been requested, but not yet initiated.
\n IN_PROGRESS
: The operation is currently in progress.
\n SUCCESS
: The operation has successfully completed.
\n FAILED
: The operation has failed.
\n CANCEL_IN_PROGRESS
: The operation is currently in the process of being\n canceled.
\n CANCEL_COMPLETE
: The operation has been canceled.
The filter criteria to use in determining the requests returned.
" + } + }, + "com.amazonaws.cloudcontrol#ResourceRequestStatusSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.cloudcontrol#ProgressEvent" + } + }, + "com.amazonaws.cloudcontrol#RoleArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 2048 + }, + "smithy.api#pattern": "^arn:.+:iam::[0-9]{12}:role/.+$" + } + }, + "com.amazonaws.cloudcontrol#ServiceInternalErrorException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "ServiceInternalErrorException", + "httpResponseCode": 502 + }, + "smithy.api#documentation": "The resource handler has returned that the downstream service returned an internal error,\n typically with a 5XX HTTP
status code.
The resource handler has returned that a non-transient resource limit was reached on the\n service side.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.cloudcontrol#StatusMessage": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + }, + "smithy.api#pattern": "^(.|\\s)*$" + } + }, + "com.amazonaws.cloudcontrol#ThrottlingException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "ThrottlingException", + "httpResponseCode": 429 + }, + "smithy.api#documentation": "The request was denied due to request throttling.
", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.cloudcontrol#Timestamp": { + "type": "timestamp" + }, + "com.amazonaws.cloudcontrol#TypeName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 10, + "max": 196 + }, + "smithy.api#pattern": "^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$" + } + }, + "com.amazonaws.cloudcontrol#TypeNotFoundException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "TypeNotFoundException", + "httpResponseCode": 404 + }, + "smithy.api#documentation": "The specified extension does not exist in the CloudFormation registry.
", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.cloudcontrol#TypeVersionId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[A-Za-z0-9-]+$" + } + }, + "com.amazonaws.cloudcontrol#UnsupportedActionException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudcontrol#ErrorMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "UnsupportedActionException", + "httpResponseCode": 405 + }, + "smithy.api#documentation": "The specified resource does not support this resource operation.
", + "smithy.api#error": "client", + "smithy.api#httpError": 405 + } + }, + "com.amazonaws.cloudcontrol#UpdateResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudcontrol#UpdateResourceInput" + }, + "output": { + "target": "com.amazonaws.cloudcontrol#UpdateResourceOutput" + }, + "errors": [ + { + "target": "com.amazonaws.cloudcontrol#AlreadyExistsException" + }, + { + "target": "com.amazonaws.cloudcontrol#ClientTokenConflictException" + }, + { + "target": "com.amazonaws.cloudcontrol#ConcurrentOperationException" + }, + { + "target": "com.amazonaws.cloudcontrol#GeneralServiceException" + }, + { + "target": "com.amazonaws.cloudcontrol#HandlerFailureException" + }, + { + "target": "com.amazonaws.cloudcontrol#HandlerInternalFailureException" + }, + { + "target": "com.amazonaws.cloudcontrol#InvalidCredentialsException" + }, + { + "target": "com.amazonaws.cloudcontrol#InvalidRequestException" + }, + { + "target": "com.amazonaws.cloudcontrol#NetworkFailureException" + }, + { + "target": "com.amazonaws.cloudcontrol#NotStabilizedException" + }, + { + "target": "com.amazonaws.cloudcontrol#NotUpdatableException" + }, + { + "target": "com.amazonaws.cloudcontrol#PrivateTypeException" + }, + { + "target": "com.amazonaws.cloudcontrol#ResourceConflictException" + }, + { + "target": "com.amazonaws.cloudcontrol#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudcontrol#ServiceInternalErrorException" + }, + { + "target": "com.amazonaws.cloudcontrol#ServiceLimitExceededException" + }, + { + "target": "com.amazonaws.cloudcontrol#ThrottlingException" + }, + { + "target": "com.amazonaws.cloudcontrol#TypeNotFoundException" + }, + { + "target": "com.amazonaws.cloudcontrol#UnsupportedActionException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the specified property values in the resource.
\nYou specify your resource property updates as a list of patch operations contained in a\n JSON patch document that adheres to the \n RFC 6902 - JavaScript Object\n Notation (JSON) Patch\n standard.
\nFor details on how Cloud Control API performs resource update operations, see Updating a resource in the Amazon Web Services Cloud Control API User Guide.
\nAfter you have initiated a resource update request, you can monitor the progress of your\n request by calling GetResourceRequestStatus using the RequestToken
of the\n ProgressEvent
returned by UpdateResource
.
For more information about the properties of a specific resource, refer to the related\n topic for the resource in the Resource and property types reference in the Amazon Web Services\n CloudFormation Users Guide.
" + } + }, + "com.amazonaws.cloudcontrol#UpdateResourceInput": { + "type": "structure", + "members": { + "TypeName": { + "target": "com.amazonaws.cloudcontrol#TypeName", + "traits": { + "smithy.api#documentation": "The name of the resource type.
", + "smithy.api#required": {} + } + }, + "TypeVersionId": { + "target": "com.amazonaws.cloudcontrol#TypeVersionId", + "traits": { + "smithy.api#documentation": "For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
" + } + }, + "RoleArn": { + "target": "com.amazonaws.cloudcontrol#RoleArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the \n handlers\n
section of the resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
\nFor more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
" + } + }, + "ClientToken": { + "target": "com.amazonaws.cloudcontrol#ClientToken", + "traits": { + "smithy.api#documentation": "A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.
\nA client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.
\nIf you do not specify a client token, one is generated for inclusion in the request.
\nFor more information, see Ensuring resource operation requests are unique in the Amazon Web Services Cloud Control API User Guide.
", + "smithy.api#idempotencyToken": {} + } + }, + "Identifier": { + "target": "com.amazonaws.cloudcontrol#Identifier", + "traits": { + "smithy.api#documentation": "The identifier for the resource.
\nYou can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.
\nFor compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values in the order they are specified in the primary identifier definition, separated by |
.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
", + "smithy.api#required": {} + } + }, + "PatchDocument": { + "target": "com.amazonaws.cloudcontrol#PatchDocument", + "traits": { + "smithy.api#documentation": "A JavaScript Object Notation (JSON) document listing the patch operations that represent\n the updates to apply to the current resource properties. For details, see Composing the patch document in the Amazon Web Services Cloud Control API User\n Guide.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.cloudcontrol#UpdateResourceOutput": { + "type": "structure", + "members": { + "ProgressEvent": { + "target": "com.amazonaws.cloudcontrol#ProgressEvent", + "traits": { + "smithy.api#documentation": "Represents the current status of the resource update request.
\nUse the RequestToken
of the ProgressEvent
with GetResourceRequestStatus to return the current status of a resource operation\n request.
The flag to indicate if answer machine detection analysis needs to be performed for a voice\n call. If set to true
, TrafficType
must be set as CAMPAIGN
.\n
Wait for the answering machine prompt.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration of the answering machine detection.
" + } + }, "com.amazonaws.connect#AssociateApprovedOrigin": { "type": "operation", "input": { @@ -1178,6 +1198,15 @@ } } }, + "com.amazonaws.connect#CampaignId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, "com.amazonaws.connect#Channel": { "type": "string", "traits": { @@ -1937,7 +1966,7 @@ } ], "traits": { - "smithy.api#documentation": "Create an AppIntegration association with an Amazon Connect instance.
", + "smithy.api#documentation": "Creates an AWS resource association with an Amazon Connect instance.
", "smithy.api#http": { "method": "PUT", "uri": "/instance/{InstanceId}/integration-associations", @@ -1973,22 +2002,19 @@ "SourceApplicationUrl": { "target": "com.amazonaws.connect#URI", "traits": { - "smithy.api#documentation": "The URL for the external application.
", - "smithy.api#required": {} + "smithy.api#documentation": "The URL for the external application. This field is only required for the EVENT integration type.
" } }, "SourceApplicationName": { "target": "com.amazonaws.connect#SourceApplicationName", "traits": { - "smithy.api#documentation": "The name of the external application.
", - "smithy.api#required": {} + "smithy.api#documentation": "The name of the external application. This field is only required for the EVENT integration type.
" } }, "SourceType": { "target": "com.amazonaws.connect#SourceType", "traits": { - "smithy.api#documentation": "The type of the data source.
", - "smithy.api#required": {} + "smithy.api#documentation": "The type of the data source. This field is only required for the EVENT integration type.
" } }, "Tags": { @@ -2005,7 +2031,7 @@ "IntegrationAssociationId": { "target": "com.amazonaws.connect#IntegrationAssociationId", "traits": { - "smithy.api#documentation": "The identifier for the association.
" + "smithy.api#documentation": "The identifier for the integration association.
" } }, "IntegrationAssociationArn": { @@ -2363,7 +2389,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a use case for an AppIntegration association.
", + "smithy.api#documentation": "Creates a use case for an integration association.
", "smithy.api#http": { "method": "PUT", "uri": "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases", @@ -2385,7 +2411,7 @@ "IntegrationAssociationId": { "target": "com.amazonaws.connect#IntegrationAssociationId", "traits": { - "smithy.api#documentation": "The identifier for the AppIntegration association.
", + "smithy.api#documentation": "The identifier for the integration association.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2393,7 +2419,7 @@ "UseCaseType": { "target": "com.amazonaws.connect#UseCaseType", "traits": { - "smithy.api#documentation": "The type of use case to associate to the AppIntegration association. Each AppIntegration\n association can have only one of each use case type.
", + "smithy.api#documentation": "The type of use case to associate to the integration association. Each integration\n association can have only one of each use case type.
", "smithy.api#required": {} } }, @@ -2923,7 +2949,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an AppIntegration association from an Amazon Connect instance. The association must not have\n any use cases associated with it.
", + "smithy.api#documentation": "Deletes an AWS resource association from an Amazon Connect instance. The association must not have\n any use cases associated with it.
", "smithy.api#http": { "method": "DELETE", "uri": "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}", @@ -2945,7 +2971,7 @@ "IntegrationAssociationId": { "target": "com.amazonaws.connect#IntegrationAssociationId", "traits": { - "smithy.api#documentation": "The identifier for the AppIntegration association.
", + "smithy.api#documentation": "The identifier for the integration association.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3024,7 +3050,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes a use case from an AppIntegration association.
", + "smithy.api#documentation": "Deletes a use case from an integration association.
", "smithy.api#http": { "method": "DELETE", "uri": "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}", @@ -3046,7 +3072,7 @@ "IntegrationAssociationId": { "target": "com.amazonaws.connect#IntegrationAssociationId", "traits": { - "smithy.api#documentation": "The identifier for the AppIntegration association.
", + "smithy.api#documentation": "The identifier for the integration association.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4523,7 +4549,7 @@ "KeyId": { "target": "com.amazonaws.connect#KeyId", "traits": { - "smithy.api#documentation": "The identifier of the encryption key.
", + "smithy.api#documentation": "The full ARN of the encryption key.
\nBe sure to provide the full ARN of the encryption key, not just the ID.
\nThe metrics to retrieve. Specify the name and unit for each metric. The following metrics\n are available. For a description of all the metrics, see Real-time Metrics\n Definitions in the Amazon Connect Administrator Guide.
\nUnit: COUNT
\nName in real-time metrics report: ACW\n
\n\nUnit: COUNT
\nName in real-time metrics report: Available\n
\nUnit: COUNT
\nName in real-time metrics report: Error\n
\nUnit: COUNT
\nName in real-time metrics report: NPT (Non-Productive Time)\n
\nUnit: COUNT
\nName in real-time metrics report: On\n contact\n
\nUnit: COUNT
\nName in real-time metrics report: On\n contact\n
\nUnit: COUNT
\nName in real-time metrics report: Online\n
\nUnit: COUNT
\nName in real-time metrics report: Staffed\n
\nUnit: COUNT
\nName in real-time metrics report: In\n queue\n
\nUnit: COUNT
\nName in real-time metrics report: Scheduled\n
\nUnit: SECONDS
\nWhen you use groupings, Unit says SECONDS but the Value is returned in MILLISECONDS. For\n example, if you get a response like this:
\n\n { \"Metric\": { \"Name\": \"OLDEST_CONTACT_AGE\", \"Unit\": \"SECONDS\" }, \"Value\": 24113.0\n
}
The actual OLDEST_CONTACT_AGE is 24 seconds.
\n\nName in real-time metrics report: Oldest\n
\nUnit: COUNT
\nName in real-time metrics report: Active\n
\nUnit: COUNT
\nName in real-time metrics report: Availability\n
\nThe metrics to retrieve. Specify the name and unit for each metric. The following metrics\n are available. For a description of all the metrics, see Real-time Metrics\n Definitions in the Amazon Connect Administrator Guide.
\nUnit: COUNT
\nName in real-time metrics report: ACW\n
\n\nUnit: COUNT
\nName in real-time metrics report: Available\n
\nUnit: COUNT
\nName in real-time metrics report: Error\n
\nUnit: COUNT
\nName in real-time metrics report: NPT (Non-Productive Time)\n
\nUnit: COUNT
\nName in real-time metrics report: On\n contact\n
\nUnit: COUNT
\nName in real-time metrics report: On\n contact\n
\nUnit: COUNT
\nName in real-time metrics report: Online\n
\nUnit: COUNT
\nName in real-time metrics report: Staffed\n
\nUnit: COUNT
\nName in real-time metrics report: In\n queue\n
\nUnit: COUNT
\nName in real-time metrics report: Scheduled\n
\nUnit: SECONDS
\nWhen you use groupings, Unit says SECONDS and the Value is returned in SECONDS.
\nWhen you do not use groupings, Unit says SECONDS but the Value is returned in MILLISECONDS. For\n example, if you get a response like this:
\n\n { \"Metric\": { \"Name\": \"OLDEST_CONTACT_AGE\", \"Unit\": \"SECONDS\" }, \"Value\": 24113.0\n
}
The actual OLDEST_CONTACT_AGE is 24 seconds.
\n\nName in real-time metrics report: Oldest\n
\nUnit: COUNT
\nName in real-time metrics report: Active\n
\nUnit: COUNT
\nName in real-time metrics report: Availability\n
\nProvides summary information about the AppIntegration associations for the specified Amazon Connect\n instance.
", + "smithy.api#documentation": "Provides summary information about the AWS resource associations for the specified Amazon Connect\n instance.
", "smithy.api#http": { "method": "GET", "uri": "/instance/{InstanceId}/integration-associations", @@ -6968,6 +7010,13 @@ "smithy.api#required": {} } }, + "IntegrationType": { + "target": "com.amazonaws.connect#IntegrationType", + "traits": { + "smithy.api#documentation": "", + "smithy.api#httpQuery": "integrationType" + } + }, "NextToken": { "target": "com.amazonaws.connect#NextToken", "traits": { @@ -6991,7 +7040,7 @@ "IntegrationAssociationSummaryList": { "target": "com.amazonaws.connect#IntegrationAssociationSummaryList", "traits": { - "smithy.api#documentation": "The AppIntegration associations.
" + "smithy.api#documentation": "The associations.
" } }, "NextToken": { @@ -8060,7 +8109,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the use cases.
", + "smithy.api#documentation": "Lists the use cases for the integration association.
", "smithy.api#http": { "method": "GET", "uri": "/instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases", @@ -8110,7 +8159,7 @@ } }, "traits": { - "smithy.api#documentation": "Provides summary information about the use cases for the specified Amazon Connect AppIntegration\n association.
" + "smithy.api#documentation": "Provides summary information about the use cases for the specified integration\n association.
" } }, "com.amazonaws.connect#ListUseCasesResponse": { @@ -10902,7 +10951,7 @@ } ], "traits": { - "smithy.api#documentation": "Places an outbound call to a contact, and then initiates the contact flow. It performs the\n actions in the contact flow that's specified (in ContactFlowId
).
Agents do not initiate the outbound API, which means that they do not dial the contact. If\n the contact flow places an outbound call to a contact, and then puts the contact in queue, the\n call is then routed to the agent, like any other inbound case.
\n\nThere is a 60-second dialing timeout for this operation. If the call is not connected after\n 60 seconds, it fails.
\nUK numbers with a 447 prefix are not allowed by default. Before you can dial these UK\n mobile numbers, you must submit a service quota increase request. For more information, see\n Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
\nPlaces an outbound call to a contact, and then initiates the contact flow. It performs the\n actions in the contact flow that's specified (in ContactFlowId
).
Agents do not initiate the outbound API, which means that they do not dial the contact. If\n the contact flow places an outbound call to a contact, and then puts the contact in queue, the\n call is then routed to the agent, like any other inbound case.
\n\nThere is a 60-second dialing timeout for this operation. If the call is not connected after\n 60 seconds, it fails.
\nUK numbers with a 447 prefix are not allowed by default. Before you can dial these UK\n mobile numbers, you must submit a service quota increase request. For more information, see\n Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
\nCampaign calls are not allowed by default. Before you can make a call with \n TrafficType
= CAMPAIGN
, you must submit a service quota increase request. For more information, see \n Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect\n attributes, and can be accessed in contact flows just like any other contact attributes.
\nThere can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys\n can include only alphanumeric, dash, and underscore characters.
" } + }, + "AnswerMachineDetectionConfig": { + "target": "com.amazonaws.connect#AnswerMachineDetectionConfig", + "traits": { + "smithy.api#documentation": "Configuration of the answering machine detection for this outbound call.
" + } + }, + "CampaignId": { + "target": "com.amazonaws.connect#CampaignId", + "traits": { + "smithy.api#documentation": "The campaign identifier of the outbound communication.
" + } + }, + "TrafficType": { + "target": "com.amazonaws.connect#TrafficType", + "traits": { + "smithy.api#documentation": "Denotes the class of traffic. Calls with different traffic types are handled differently by\n Amazon Connect. The default value is GENERAL
. Use CAMPAIGN
if\n EnableAnswerMachineDetection
is set to true
. For all other cases, use\n GENERAL
.
The type of attribute.
", + "smithy.api#documentation": "The type of attribute.
\nOnly allowlisted customers can consume USE_CUSTOM_TTS_VOICES. To access this feature, contact AWS Support for allowlisting.
\nThe type of use case to associate to the AppIntegration association. Each AppIntegration\n association can have only one of each use case type.
" + "smithy.api#documentation": "The type of use case to associate to the integration association. Each integration\n association can have only one of each use case type.
" } } }, @@ -13160,6 +13242,10 @@ { "value": "RULES_EVALUATION", "name": "RULES_EVALUATION" + }, + { + "value": "CONNECT_CAMPAIGNS", + "name": "CONNECT_CAMPAIGNS" } ] } diff --git a/codegen/sdk-codegen/aws-models/dataexchange.2017-07-25.json b/codegen/sdk-codegen/aws-models/dataexchange.2017-07-25.json index 279880b4b200..46b94a882c58 100644 --- a/codegen/sdk-codegen/aws-models/dataexchange.2017-07-25.json +++ b/codegen/sdk-codegen/aws-models/dataexchange.2017-07-25.json @@ -46,6 +46,14 @@ "smithy.api#httpError": 403 } }, + "com.amazonaws.dataexchange#Action": { + "type": "structure", + "members": { + "ExportRevisionToS3": { + "target": "com.amazonaws.dataexchange#AutoExportRevisionToS3RequestDetails" + } + } + }, "com.amazonaws.dataexchange#Arn": { "type": "string", "traits": { @@ -205,6 +213,44 @@ ] } }, + "com.amazonaws.dataexchange#AutoExportRevisionDestinationEntry": { + "type": "structure", + "members": { + "Bucket": { + "target": "com.amazonaws.dataexchange#__string", + "traits": { + "smithy.api#documentation": "The S3 bucket that is the destination for the event action.
", + "smithy.api#required": {} + } + }, + "KeyPattern": { + "target": "com.amazonaws.dataexchange#__string", + "traits": { + "smithy.api#documentation": "A string representing the pattern for generated names of the individual assets in the revision. For more information about key patterns, see Key patterns when exporting revisions.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A revision destination is the Amazon S3 bucket folder destination to where the export will be sent.
" + } + }, + "com.amazonaws.dataexchange#AutoExportRevisionToS3RequestDetails": { + "type": "structure", + "members": { + "Encryption": { + "target": "com.amazonaws.dataexchange#ExportServerSideEncryption" + }, + "RevisionDestination": { + "target": "com.amazonaws.dataexchange#AutoExportRevisionDestinationEntry", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Details of the operation to be performed by the job.
" + } + }, "com.amazonaws.dataexchange#CancelJob": { "type": "operation", "input": { @@ -453,6 +499,103 @@ } } }, + "com.amazonaws.dataexchange#CreateEventAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.dataexchange#CreateEventActionRequest" + }, + "output": { + "target": "com.amazonaws.dataexchange#CreateEventActionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.dataexchange#AccessDeniedException" + }, + { + "target": "com.amazonaws.dataexchange#InternalServerException" + }, + { + "target": "com.amazonaws.dataexchange#ServiceLimitExceededException" + }, + { + "target": "com.amazonaws.dataexchange#ThrottlingException" + }, + { + "target": "com.amazonaws.dataexchange#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "This operation creates an event action.
", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/event-actions", + "code": 201 + } + } + }, + "com.amazonaws.dataexchange#CreateEventActionRequest": { + "type": "structure", + "members": { + "Action": { + "target": "com.amazonaws.dataexchange#Action", + "traits": { + "smithy.api#documentation": "What occurs after a certain event.
", + "smithy.api#required": {} + } + }, + "Event": { + "target": "com.amazonaws.dataexchange#Event", + "traits": { + "smithy.api#documentation": "What occurs to start an action.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request body for CreateEventAction.
" + } + }, + "com.amazonaws.dataexchange#CreateEventActionResponse": { + "type": "structure", + "members": { + "Action": { + "target": "com.amazonaws.dataexchange#Action", + "traits": { + "smithy.api#documentation": "What occurs after a certain event.
" + } + }, + "Arn": { + "target": "com.amazonaws.dataexchange#Arn", + "traits": { + "smithy.api#documentation": "The ARN for the event action.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.dataexchange#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the event action was created, in ISO 8601 format.
" + } + }, + "Event": { + "target": "com.amazonaws.dataexchange#Event", + "traits": { + "smithy.api#documentation": "What occurs to start an action.
" + } + }, + "Id": { + "target": "com.amazonaws.dataexchange#Id", + "traits": { + "smithy.api#documentation": "The unique identifier for the event action.
" + } + }, + "UpdatedAt": { + "target": "com.amazonaws.dataexchange#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the event action was last updated, in ISO 8601 format.
" + } + } + } + }, "com.amazonaws.dataexchange#CreateJob": { "type": "operation", "input": { @@ -693,6 +836,9 @@ { "target": "com.amazonaws.dataexchange#CreateDataSet" }, + { + "target": "com.amazonaws.dataexchange#CreateEventAction" + }, { "target": "com.amazonaws.dataexchange#CreateJob" }, @@ -705,6 +851,9 @@ { "target": "com.amazonaws.dataexchange#DeleteDataSet" }, + { + "target": "com.amazonaws.dataexchange#DeleteEventAction" + }, { "target": "com.amazonaws.dataexchange#DeleteRevision" }, @@ -714,6 +863,9 @@ { "target": "com.amazonaws.dataexchange#GetDataSet" }, + { + "target": "com.amazonaws.dataexchange#GetEventAction" + }, { "target": "com.amazonaws.dataexchange#GetJob" }, @@ -726,6 +878,9 @@ { "target": "com.amazonaws.dataexchange#ListDataSets" }, + { + "target": "com.amazonaws.dataexchange#ListEventActions" + }, { "target": "com.amazonaws.dataexchange#ListJobs" }, @@ -750,6 +905,9 @@ { "target": "com.amazonaws.dataexchange#UpdateDataSet" }, + { + "target": "com.amazonaws.dataexchange#UpdateEventAction" + }, { "target": "com.amazonaws.dataexchange#UpdateRevision" } @@ -956,6 +1114,47 @@ } } }, + "com.amazonaws.dataexchange#DeleteEventAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.dataexchange#DeleteEventActionRequest" + }, + "errors": [ + { + "target": "com.amazonaws.dataexchange#InternalServerException" + }, + { + "target": "com.amazonaws.dataexchange#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.dataexchange#ThrottlingException" + }, + { + "target": "com.amazonaws.dataexchange#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "This operation deletes the event action.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/v1/event-actions/{EventActionId}", + "code": 204 + } + } + }, + "com.amazonaws.dataexchange#DeleteEventActionRequest": { + "type": "structure", + "members": { + "EventActionId": { + "target": "com.amazonaws.dataexchange#__string", + "traits": { + "smithy.api#documentation": "The unique identifier for the event action.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.dataexchange#DeleteRevision": { "type": "operation", "input": { @@ -1028,6 +1227,79 @@ } } }, + "com.amazonaws.dataexchange#Event": { + "type": "structure", + "members": { + "RevisionPublished": { + "target": "com.amazonaws.dataexchange#RevisionPublished" + } + } + }, + "com.amazonaws.dataexchange#EventActionEntry": { + "type": "structure", + "members": { + "Action": { + "target": "com.amazonaws.dataexchange#Action", + "traits": { + "smithy.api#documentation": "What occurs after a certain event.
", + "smithy.api#required": {} + } + }, + "Arn": { + "target": "com.amazonaws.dataexchange#Arn", + "traits": { + "smithy.api#documentation": "The ARN for the event action.
", + "smithy.api#required": {} + } + }, + "CreatedAt": { + "target": "com.amazonaws.dataexchange#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the event action was created, in ISO 8601 format.
", + "smithy.api#required": {} + } + }, + "Event": { + "target": "com.amazonaws.dataexchange#Event", + "traits": { + "smithy.api#documentation": "What occurs to start an action.
", + "smithy.api#required": {} + } + }, + "Id": { + "target": "com.amazonaws.dataexchange#Id", + "traits": { + "smithy.api#documentation": "The unique identifier for the event action.
", + "smithy.api#required": {} + } + }, + "UpdatedAt": { + "target": "com.amazonaws.dataexchange#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the event action was last updated, in ISO 8601 format.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An event action is an object that defines the relationship between a specific event and an automated action that will be taken on behalf of the customer.
" + } + }, + "com.amazonaws.dataexchange#ExceptionCause": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "InsufficientS3BucketPolicy", + "name": "InsufficientS3BucketPolicy" + }, + { + "value": "S3AccessDenied", + "name": "S3AccessDenied" + } + ] + } + }, "com.amazonaws.dataexchange#ExportAssetToSignedUrlRequestDetails": { "type": "structure", "members": { @@ -1230,7 +1502,7 @@ "KmsKeyArn": { "target": "com.amazonaws.dataexchange#__string", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
" } }, "Type": { @@ -1242,7 +1514,7 @@ } }, "traits": { - "smithy.api#documentation": "Encryption configuration of the export job. Includes the encryption type as well as the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption type.
" + "smithy.api#documentation": "Encryption configuration of the export job. Includes the encryption type in addition to the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption. type.
" } }, "com.amazonaws.dataexchange#GetAsset": { @@ -1485,6 +1757,91 @@ } } }, + "com.amazonaws.dataexchange#GetEventAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.dataexchange#GetEventActionRequest" + }, + "output": { + "target": "com.amazonaws.dataexchange#GetEventActionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.dataexchange#InternalServerException" + }, + { + "target": "com.amazonaws.dataexchange#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.dataexchange#ThrottlingException" + }, + { + "target": "com.amazonaws.dataexchange#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "This operation retrieves information about an event action.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/event-actions/{EventActionId}", + "code": 200 + } + } + }, + "com.amazonaws.dataexchange#GetEventActionRequest": { + "type": "structure", + "members": { + "EventActionId": { + "target": "com.amazonaws.dataexchange#__string", + "traits": { + "smithy.api#documentation": "The unique identifier for the event action.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.dataexchange#GetEventActionResponse": { + "type": "structure", + "members": { + "Action": { + "target": "com.amazonaws.dataexchange#Action", + "traits": { + "smithy.api#documentation": "What occurs after a certain event.
" + } + }, + "Arn": { + "target": "com.amazonaws.dataexchange#Arn", + "traits": { + "smithy.api#documentation": "The ARN for the event action.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.dataexchange#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the event action was created, in ISO 8601 format.
" + } + }, + "Event": { + "target": "com.amazonaws.dataexchange#Event", + "traits": { + "smithy.api#documentation": "What occurs to start an action.
" + } + }, + "Id": { + "target": "com.amazonaws.dataexchange#Id", + "traits": { + "smithy.api#documentation": "The unique identifier for the event action.
" + } + }, + "UpdatedAt": { + "target": "com.amazonaws.dataexchange#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the event action was last updated, in ISO 8601 format.
" + } + } + } + }, "com.amazonaws.dataexchange#GetJob": { "type": "operation", "input": { @@ -2008,6 +2365,10 @@ { "value": "ASSET", "name": "ASSET" + }, + { + "value": "DATA_SET", + "name": "DATA_SET" } ] } @@ -2063,6 +2424,18 @@ { "value": "Concurrent in progress jobs to export assets to a signed URL", "name": "Concurrent_in_progress_jobs_to_export_assets_to_a_signed_URL" + }, + { + "value": "Concurrent in progress jobs to export revisions to Amazon S3", + "name": "Concurrent_in_progress_jobs_to_export_revisions_to_Amazon_S3" + }, + { + "value": "Event actions per account", + "name": "Event_actions_per_account" + }, + { + "value": "Auto export event actions per data set", + "name": "Auto_export_event_actions_per_data_set" } ] } @@ -2228,6 +2601,86 @@ } } }, + "com.amazonaws.dataexchange#ListEventActions": { + "type": "operation", + "input": { + "target": "com.amazonaws.dataexchange#ListEventActionsRequest" + }, + "output": { + "target": "com.amazonaws.dataexchange#ListEventActionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.dataexchange#InternalServerException" + }, + { + "target": "com.amazonaws.dataexchange#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.dataexchange#ThrottlingException" + }, + { + "target": "com.amazonaws.dataexchange#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "This operation lists your event actions.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/event-actions", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "EventActions", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.dataexchange#ListEventActionsRequest": { + "type": "structure", + "members": { + "EventSourceId": { + "target": "com.amazonaws.dataexchange#__string", + "traits": { + "smithy.api#documentation": "The unique identifier for the event source.
", + "smithy.api#httpQuery": "eventSourceId" + } + }, + "MaxResults": { + "target": "com.amazonaws.dataexchange#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results returned by a single call.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "NextToken": { + "target": "com.amazonaws.dataexchange#__string", + "traits": { + "smithy.api#documentation": "The token value retrieved from a previous call to access the next page of results.
", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.dataexchange#ListEventActionsResponse": { + "type": "structure", + "members": { + "EventActions": { + "target": "com.amazonaws.dataexchange#ListOfEventActionEntry", + "traits": { + "smithy.api#documentation": "The event action objects listed by the request.
" + } + }, + "NextToken": { + "target": "com.amazonaws.dataexchange#NextToken", + "traits": { + "smithy.api#documentation": "The token value retrieved from a previous call to access the next page of results.
" + } + } + } + }, "com.amazonaws.dataexchange#ListJobs": { "type": "operation", "input": { @@ -2345,6 +2798,12 @@ "target": "com.amazonaws.dataexchange#DataSetEntry" } }, + "com.amazonaws.dataexchange#ListOfEventActionEntry": { + "type": "list", + "member": { + "target": "com.amazonaws.dataexchange#EventActionEntry" + } + }, "com.amazonaws.dataexchange#ListOfJobEntry": { "type": "list", "member": { @@ -2652,6 +3111,10 @@ { "value": "JOB", "name": "JOB" + }, + { + "value": "EVENT_ACTION", + "name": "EVENT_ACTION" } ] } @@ -2783,6 +3246,17 @@ "smithy.api#documentation": "A revision is a container for one or more assets.
" } }, + "com.amazonaws.dataexchange#RevisionPublished": { + "type": "structure", + "members": { + "DataSetId": { + "target": "com.amazonaws.dataexchange#Id", + "traits": { + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.dataexchange#S3SnapshotAsset": { "type": "structure", "members": { @@ -3320,6 +3794,103 @@ } } }, + "com.amazonaws.dataexchange#UpdateEventAction": { + "type": "operation", + "input": { + "target": "com.amazonaws.dataexchange#UpdateEventActionRequest" + }, + "output": { + "target": "com.amazonaws.dataexchange#UpdateEventActionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.dataexchange#AccessDeniedException" + }, + { + "target": "com.amazonaws.dataexchange#InternalServerException" + }, + { + "target": "com.amazonaws.dataexchange#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.dataexchange#ThrottlingException" + }, + { + "target": "com.amazonaws.dataexchange#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "This operation updates the event action.
", + "smithy.api#http": { + "method": "PATCH", + "uri": "/v1/event-actions/{EventActionId}", + "code": 200 + } + } + }, + "com.amazonaws.dataexchange#UpdateEventActionRequest": { + "type": "structure", + "members": { + "Action": { + "target": "com.amazonaws.dataexchange#Action", + "traits": { + "smithy.api#documentation": "What occurs after a certain event.
" + } + }, + "EventActionId": { + "target": "com.amazonaws.dataexchange#__string", + "traits": { + "smithy.api#documentation": "The unique identifier for the event action.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The request body for UpdateEventAction.
" + } + }, + "com.amazonaws.dataexchange#UpdateEventActionResponse": { + "type": "structure", + "members": { + "Action": { + "target": "com.amazonaws.dataexchange#Action", + "traits": { + "smithy.api#documentation": "What occurs after a certain event.
" + } + }, + "Arn": { + "target": "com.amazonaws.dataexchange#Arn", + "traits": { + "smithy.api#documentation": "The ARN for the event action.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.dataexchange#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the event action was created, in ISO 8601 format.
" + } + }, + "Event": { + "target": "com.amazonaws.dataexchange#Event", + "traits": { + "smithy.api#documentation": "What occurs to start an action.
" + } + }, + "Id": { + "target": "com.amazonaws.dataexchange#Id", + "traits": { + "smithy.api#documentation": "The unique identifier for the event action.
" + } + }, + "UpdatedAt": { + "target": "com.amazonaws.dataexchange#Timestamp", + "traits": { + "smithy.api#documentation": "The date and time that the event action was last updated, in ISO 8601 format.
" + } + } + } + }, "com.amazonaws.dataexchange#UpdateRevision": { "type": "operation", "input": { @@ -3455,6 +4026,12 @@ "smithy.api#documentation": "The message that informs you about what was invalid about the request.
", "smithy.api#required": {} } + }, + "ExceptionCause": { + "target": "com.amazonaws.dataexchange#ExceptionCause", + "traits": { + "smithy.api#documentation": "The message that informs you about what the exception was.
" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json index cca9a964057e..e9a3abb635f2 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json @@ -211,9 +211,15 @@ { "target": "com.amazonaws.elasticloadbalancingv2#DuplicateTagKeysException" }, + { + "target": "com.amazonaws.elasticloadbalancingv2#ListenerNotFoundException" + }, { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException" }, + { + "target": "com.amazonaws.elasticloadbalancingv2#RuleNotFoundException" + }, { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupNotFoundException" }, @@ -1133,7 +1139,7 @@ "HealthCheckEnabled": { "target": "com.amazonaws.elasticloadbalancingv2#HealthCheckEnabled", "traits": { - "smithy.api#documentation": "Indicates whether health checks are enabled. If the target type is lambda
,\n health checks are disabled by default but can be enabled. If the target type is\n instance
or ip
, health checks are always enabled and cannot be\n disabled.
Indicates whether health checks are enabled. If the target type is lambda
,\n health checks are disabled by default but can be enabled. If the target type is\n instance
, ip
, or alb
, health checks are always\n enabled and cannot be disabled.
The type of target that you must specify when registering targets with this target group.\n You can't specify targets for a target group using more than one target type.
\n\n instance
- Register targets by instance ID. This is the default\n value.
\n ip
- Register targets by IP address. You can specify IP addresses from\n the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range\n (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10).\n You can't specify publicly routable IP addresses.
\n lambda
- Register a single Lambda function as a target.
The type of target that you must specify when registering targets with this target group.\n You can't specify targets for a target group using more than one target type.
\n\n instance
- Register targets by instance ID. This is the default\n value.
\n ip
- Register targets by IP address. You can specify IP addresses from\n the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range\n (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10).\n You can't specify publicly routable IP addresses.
\n lambda
- Register a single Lambda function as a target.
\n alb
- Register a single Application Load Balancer as a target.
The name of the attribute.
\n\nThe following attribute is supported by all load balancers:
\n\n deletion_protection.enabled
- Indicates whether deletion protection is\n enabled. The value is true
or false
. The default is\n false
.
The following attributes are supported by both Application Load Balancers and Network Load\n Balancers:
\n\n access_logs.s3.enabled
- Indicates whether access logs are enabled. The\n value is true
or false
. The default is\n false
.
\n access_logs.s3.bucket
- The name of the S3 bucket for the access logs.\n This attribute is required if access logs are enabled. The bucket must exist in the same\n region as the load balancer and have a bucket policy that grants Elastic Load Balancing\n permissions to write to the bucket.
\n access_logs.s3.prefix
- The prefix for the location in the S3 bucket for the\n access logs.
The following attributes are supported by only Application Load Balancers:
\n\n idle_timeout.timeout_seconds
- The idle timeout value, in seconds. The\n valid range is 1-4000 seconds. The default is 60 seconds.
\n routing.http.desync_mitigation_mode
- Determines how the load balancer\n handles requests that might pose a security risk to your application. The possible values\n are monitor
, defensive
, and strictest
. The default\n is defensive
.
\n routing.http.drop_invalid_header_fields.enabled
- Indicates whether HTTP\n headers with invalid header fields are removed by the load balancer (true
) or\n routed to targets (false
). The default is false
.
\n routing.http.x_amzn_tls_version_and_cipher_suite.enabled
- Indicates\n whether the two headers (x-amzn-tls-version
and\n x-amzn-tls-cipher-suite
), which contain information about the negotiated\n TLS version and cipher suite, are added to the client request before sending it to the\n target. The x-amzn-tls-version
header has information about the TLS protocol\n version negotiated with the client, and the x-amzn-tls-cipher-suite
header\n has information about the cipher suite negotiated with the client. Both headers are in\n OpenSSL format. The possible values for the attribute are true
and\n false
. The default is false
.
\n routing.http.xff_client_port.enabled
- Indicates whether the\n X-Forwarded-For
header should preserve the source port that the client used\n to connect to the load balancer. The possible values are true
and\n false
. The default is false
.
\n routing.http2.enabled
- Indicates whether HTTP/2 is enabled. The possible\n values are true
and false
. The default is true
.\n Elastic Load Balancing requires that message header names contain only alphanumeric\n characters and hyphens.
\n waf.fail_open.enabled
- Indicates whether to allow a WAF-enabled load\n balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true
and false
. The\n default is false
.
The following attribute is supported by Network Load Balancers and Gateway Load\n Balancers:
\n\n load_balancing.cross_zone.enabled
- Indicates whether cross-zone load\n balancing is enabled. The possible values are true
and false
.\n The default is false
.
The name of the attribute.
\n\nThe following attribute is supported by all load balancers:
\n\n deletion_protection.enabled
- Indicates whether deletion protection is\n enabled. The value is true
or false
. The default is\n false
.
The following attributes are supported by both Application Load Balancers and Network Load\n Balancers:
\n\n access_logs.s3.enabled
- Indicates whether access logs are enabled. The\n value is true
or false
. The default is\n false
.
\n access_logs.s3.bucket
- The name of the S3 bucket for the access logs.\n This attribute is required if access logs are enabled. The bucket must exist in the same\n region as the load balancer and have a bucket policy that grants Elastic Load Balancing\n permissions to write to the bucket.
\n access_logs.s3.prefix
- The prefix for the location in the S3 bucket for the\n access logs.
The following attributes are supported by only Application Load Balancers:
\n\n idle_timeout.timeout_seconds
- The idle timeout value, in seconds. The\n valid range is 1-4000 seconds. The default is 60 seconds.
\n routing.http.desync_mitigation_mode
- Determines how the load balancer\n handles requests that might pose a security risk to your application. The possible values\n are monitor
, defensive
, and strictest
. The default\n is defensive
.
\n routing.http.drop_invalid_header_fields.enabled
- Indicates whether HTTP\n headers with invalid header fields are removed by the load balancer (true
) or\n routed to targets (false
). The default is false
.
\n routing.http.x_amzn_tls_version_and_cipher_suite.enabled
- Indicates whether the two headers (x-amzn-tls-version
and\n x-amzn-tls-cipher-suite
), which contain information about\n the negotiated TLS version and cipher suite, are added to the client request\n before sending it to the target. The x-amzn-tls-version
header\n has information about the TLS protocol version negotiated with the client,\n and the x-amzn-tls-cipher-suite
header has information about\n the cipher suite negotiated with the client. Both headers are in OpenSSL\n format. The possible values for the attribute are true
and\n false
. The default is false
.
\n routing.http.xff_client_port.enabled
- Indicates whether the\n X-Forwarded-For
header should preserve the source port that the client used\n to connect to the load balancer. The possible values are true
and\n false
. The default is false
.
\n routing.http2.enabled
- Indicates whether HTTP/2 is enabled. The possible\n values are true
and false
. The default is true
.\n Elastic Load Balancing requires that message header names contain only alphanumeric\n characters and hyphens.
\n waf.fail_open.enabled
- Indicates whether to allow a WAF-enabled load\n balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true
and false
. The\n default is false
.
The following attribute is supported by Network Load Balancers and Gateway Load\n Balancers:
\n\n load_balancing.cross_zone.enabled
- Indicates whether cross-zone load\n balancing is enabled. The possible values are true
and false
.\n The default is false
.
The ID of the target. If the target type of the target group is instance
,\n specify an instance ID. If the target type is ip
, specify an IP address. If the\n target type is lambda
, specify the ARN of the Lambda function.
The ID of the target. If the target type of the target group is instance
,\n specify an instance ID. If the target type is ip
, specify an IP address. If the\n target type is lambda
, specify the ARN of the Lambda function. If the target type\n is alb
, specify the ARN of the Application Load Balancer target.
The port on which the target is listening. If the target group protocol is GENEVE, the\n supported port is 6081. Not used if the target is a Lambda function.
" + "smithy.api#documentation": "The port on which the target is listening. If the target group protocol is GENEVE, the\n supported port is 6081. If the target type is alb
, the targeted Application Load\n Balancer must have at least one listener whose port matches the target group port. Not used if\n the target is a Lambda function.
An Availability Zone or all
. This determines whether the target receives\n traffic from the load balancer nodes in the specified Availability Zone or from all enabled\n Availability Zones for the load balancer.
This parameter is not supported if the target type of the target group is\n instance
.
If the target type is ip
and the IP address is in a subnet of the VPC for the\n target group, the Availability Zone is automatically detected and this parameter is optional.\n If the IP address is outside the VPC, this parameter is required.
With an Application Load Balancer, if the target type is ip
and the IP\n address is outside the VPC for the target group, the only supported value is\n all
.
If the target type is lambda
, this parameter is optional and the only\n supported value is all
.
An Availability Zone or all
. This determines whether the target receives\n traffic from the load balancer nodes in the specified Availability Zone or from all enabled\n Availability Zones for the load balancer.
This parameter is not supported if the target type of the target group is\n instance
or alb
.
If the target type is ip
and the IP address is in a subnet of the VPC for the\n target group, the Availability Zone is automatically detected and this parameter is optional.\n If the IP address is outside the VPC, this parameter is required.
With an Application Load Balancer, if the target type is ip
and the IP\n address is outside the VPC for the target group, the only supported value is\n all
.
If the target type is lambda
, this parameter is optional and the only\n supported value is all
.
The type of target that you must specify when registering targets with this target group.\n The possible values are instance
(register targets by instance ID),\n ip
(register targets by IP address), or lambda
(register a single\n Lambda function as a target).
The type of target that you must specify when registering targets with this target group.\n The possible values are instance
(register targets by instance ID),\n ip
(register targets by IP address), lambda
(register a single\n Lambda function as a target), or alb
(register a single Application Load Balancer\n as a target).
Use this property to provide commands or a command script to run when you launch \n\t\t\tyour build instance.
\n\t\tThe userDataOverride property replaces any commands that Image Builder might have added to ensure\n\t\t\t\tthat Systems Manager is installed on your Linux build instance. If you override the user data,\n\t\t\t\tmake sure that you add commands to install Systems Manager, if it is not pre-installed on your\n\t\t\t\tsource image.
\n\t\tUse this property to provide commands or a command script to run when you launch \n\t\t\tyour build instance.
\n\t\tThe userDataOverride property replaces any commands that Image Builder might have added to ensure\n\t\t\t\tthat Systems Manager is installed on your Linux build instance. If you override the user data,\n\t\t\t\tmake sure that you add commands to install Systems Manager, if it is not pre-installed on your\n\t\t\t\tbase image.
\n\t\tThe name of the distribution configuration.
" + "smithy.api#documentation": "The name of the output AMI.
" } }, "description": { @@ -343,7 +343,7 @@ "supportedOsVersions": { "target": "com.amazonaws.imagebuilder#OsVersionList", "traits": { - "smithy.api#documentation": "The operating system (OS) version supported by the component. If the OS information is\n\t\t\tavailable, a prefix match is performed against the parent image OS version during image recipe\n\t\t\tcreation.
" + "smithy.api#documentation": "The operating system (OS) version supported by the component. If the OS information is\n\t\t\tavailable, a prefix match is performed against the base image OS version during image recipe\n\t\t\tcreation.
" } }, "state": { @@ -630,7 +630,7 @@ "supportedOsVersions": { "target": "com.amazonaws.imagebuilder#OsVersionList", "traits": { - "smithy.api#documentation": "The operating system (OS) version supported by the component. If the OS information is\n\t\t\tavailable, a prefix match is performed against the parent image OS version during image recipe\n\t\t\tcreation.
" + "smithy.api#documentation": "The operating system (OS) version supported by the component. If the OS information is\n\t\t\tavailable, a prefix match is performed against the base image OS version during image recipe\n\t\t\tcreation.
" } }, "state": { @@ -719,7 +719,7 @@ "version": { "target": "com.amazonaws.imagebuilder#VersionNumber", "traits": { - "smithy.api#documentation": "The semantic version of the component.
\n\t\tThe semantic version has four nodes:
\n Assignment: For the first three nodes you can assign any positive integer value, including \n\tzero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the \n\tbuild number to the fourth node.
\n\t\t\t\n Patterns: You can use any numeric pattern that adheres to the assignment requirements for \n\tthe nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or \n\ta date, such as 2021.01.01.
\n\t\t\t\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the source image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe semantic version of the component.
\n\t\tThe semantic version has four nodes:
\n Assignment: For the first three nodes you can assign any positive integer value, including \n\tzero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the \n\tbuild number to the fourth node.
\n\t\t\t\n Patterns: You can use any numeric pattern that adheres to the assignment requirements for \n\tthe nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or \n\ta date, such as 2021.01.01.
\n\t\t\t\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the base image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\the operating system (OS) version supported by the component. If the OS information is\n\t\t\tavailable, a prefix match is performed against the parent image OS version during image recipe\n\t\t\tcreation.
" + "smithy.api#documentation": "he operating system (OS) version supported by the component. If the OS information is\n\t\t\tavailable, a prefix match is performed against the base image OS version during image recipe\n\t\t\tcreation.
" } }, "type": { @@ -876,7 +876,7 @@ "version": { "target": "com.amazonaws.imagebuilder#VersionNumber", "traits": { - "smithy.api#documentation": "The semantic version of the container recipe.
\n\t\tThe semantic version has four nodes:
\n Assignment: For the first three nodes you can assign any positive integer value, including \n\tzero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the \n\tbuild number to the fourth node.
\n\t\t\t\n Patterns: You can use any numeric pattern that adheres to the assignment requirements for \n\tthe nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or \n\ta date, such as 2021.01.01.
\n\t\t\t\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the source image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe semantic version of the container recipe.
\n\t\tThe semantic version has four nodes:
\n Assignment: For the first three nodes you can assign any positive integer value, including \n\tzero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the \n\tbuild number to the fourth node.
\n\t\t\t\n Patterns: You can use any numeric pattern that adheres to the assignment requirements for \n\tthe nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or \n\ta date, such as 2021.01.01.
\n\t\t\t\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the base image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe source image for the container recipe.
" + "smithy.api#documentation": "The base image for the container recipe.
" } }, "dateCreated": { @@ -986,7 +986,7 @@ "parentImage": { "target": "com.amazonaws.imagebuilder#NonEmptyString", "traits": { - "smithy.api#documentation": "The source image for the container recipe.
" + "smithy.api#documentation": "The base image for the container recipe.
" } }, "dateCreated": { @@ -1125,7 +1125,7 @@ "supportedOsVersions": { "target": "com.amazonaws.imagebuilder#OsVersionList", "traits": { - "smithy.api#documentation": "The operating system (OS) version supported by the component. If the OS information is\n\t\t\tavailable, a prefix match is performed against the parent image OS version during image recipe\n\t\t\tcreation.
" + "smithy.api#documentation": "The operating system (OS) version supported by the component. If the OS information is\n\t\t\tavailable, a prefix match is performed against the base image OS version during image recipe\n\t\t\tcreation.
" } }, "data": { @@ -1295,19 +1295,19 @@ "platformOverride": { "target": "com.amazonaws.imagebuilder#Platform", "traits": { - "smithy.api#documentation": "Specifies the operating system platform when you use a custom source image.
" + "smithy.api#documentation": "Specifies the operating system platform when you use a custom base image.
" } }, "imageOsVersionOverride": { "target": "com.amazonaws.imagebuilder#NonEmptyString", "traits": { - "smithy.api#documentation": "Specifies the operating system version for the source image.
" + "smithy.api#documentation": "Specifies the operating system version for the base image.
" } }, "parentImage": { "target": "com.amazonaws.imagebuilder#NonEmptyString", "traits": { - "smithy.api#documentation": "The source image for the container recipe.
", + "smithy.api#documentation": "The base image for the container recipe.
", "smithy.api#required": {} } }, @@ -1767,7 +1767,7 @@ "parentImage": { "target": "com.amazonaws.imagebuilder#NonEmptyString", "traits": { - "smithy.api#documentation": "The parent image of the image recipe. The value of the string can be the ARN of the parent \n\t\t\timage or an AMI ID. The format for the ARN follows this example: \n\t\t\tarn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x
. \n\t\t\tYou can provide the specific version that you want to use, or you can use a wildcard in \n\t\t\tall of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, \n\t\t\tand the AMI must be in the same Region in which you are using Image Builder.
The base image of the image recipe. The value of the string can be the ARN of the base \n\t\t\timage or an AMI ID. The format for the ARN follows this example: \n\t\t\tarn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x
. \n\t\t\tYou can provide the specific version that you want to use, or you can use a wildcard in \n\t\t\tall of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, \n\t\t\tand the AMI must be in the same Region in which you are using Image Builder.
The instance metadata options that you can set for the HTTP requests that pipeline builds\n\t\t\tuse to launch EC2 build and test instances. For more information about instance metadata\n\t\t\toptions, see one of the following links:
\n\t\t\n Configure \n\t\t\t\t\tthe instance metadata options in the \n Amazon EC2 User Guide\n \n\t\t\t\t\tfor Linux instances.
\n\t\t\t\n Configure \n\t\t\t\t\tthe instance metadata options in the \n Amazon EC2 Windows Guide\n \n\t\t\t\t\tfor Windows instances.
\n\t\t\tThe instance types of the infrastructure configuration. You can specify one or more\n\t\t\tinstance types to use for this build. The service will pick one of these instance types based\n\t\t\ton availability.
" } }, "instanceProfileName": { @@ -3740,7 +3740,7 @@ "version": { "target": "com.amazonaws.imagebuilder#VersionNumber", "traits": { - "smithy.api#documentation": "The semantic version of the image.
\n\t\tThe semantic version has four nodes:
\n Assignment: For the first three nodes you can assign any positive integer value, including \n\tzero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the \n\tbuild number to the fourth node.
\n\t\t\t\n Patterns: You can use any numeric pattern that adheres to the assignment requirements for \n\tthe nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or \n\ta date, such as 2021.01.01.
\n\t\t\t\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the source image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe semantic version of the image.
\n\t\tThe semantic version has four nodes:
\n Assignment: For the first three nodes you can assign any positive integer value, including \n\tzero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the \n\tbuild number to the fourth node.
\n\t\t\t\n Patterns: You can use any numeric pattern that adheres to the assignment requirements for \n\tthe nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or \n\ta date, such as 2021.01.01.
\n\t\t\t\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the base image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe parent image of the image recipe.
" + "smithy.api#documentation": "The base image of the image recipe.
" } }, "blockDeviceMappings": { @@ -4120,7 +4120,7 @@ "parentImage": { "target": "com.amazonaws.imagebuilder#NonEmptyString", "traits": { - "smithy.api#documentation": "The parent image of the image recipe.
" + "smithy.api#documentation": "The base image of the image recipe.
" } }, "dateCreated": { @@ -4366,7 +4366,7 @@ "version": { "target": "com.amazonaws.imagebuilder#VersionNumber", "traits": { - "smithy.api#documentation": "Details for a specific version of an Image Builder image. This version follows the semantic version syntax.
\n\t\tThe semantic version has four nodes:
\n Assignment: For the first three nodes you can assign any positive integer value, including \n\tzero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the \n\tbuild number to the fourth node.
\n\t\t\t\n Patterns: You can use any numeric pattern that adheres to the assignment requirements for \n\tthe nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or \n\ta date, such as 2021.01.01.
\n\t\t\t\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the source image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tDetails for a specific version of an Image Builder image. This version follows the semantic version syntax.
\n\t\tThe semantic version has four nodes:
\n Assignment: For the first three nodes you can assign any positive integer value, including \n\tzero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the \n\tbuild number to the fourth node.
\n\t\t\t\n Patterns: You can use any numeric pattern that adheres to the assignment requirements for \n\tthe nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or \n\ta date, such as 2021.01.01.
\n\t\t\t\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the base image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe semantic version of the component. This version follows the semantic version syntax.
\n\t\tThe semantic version has four nodes:
\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the source image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe semantic version of the component. This version follows the semantic version syntax.
\n\t\tThe semantic version has four nodes:
\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the base image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tUse to remove a mapping from the parent image.
" + "smithy.api#documentation": "Use to remove a mapping from the base image.
" } } }, @@ -4825,7 +4825,7 @@ } }, "traits": { - "smithy.api#documentation": "Defines a custom source AMI and block device mapping configurations of an instance \n\t\t\tused for building and testing container images.
" + "smithy.api#documentation": "Defines a custom base AMI and block device mapping configurations of an instance \n\t\t\tused for building and testing container images.
" } }, "com.amazonaws.imagebuilder#InstanceMetadataOptions": { @@ -5060,7 +5060,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns the list of component build versions for the specified semantic version.
\n\t\tThe semantic version has four nodes:
\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the source image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tReturns the list of component build versions for the specified semantic version.
\n\t\tThe semantic version has four nodes:
\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the base image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tReturns the list of component build versions for the specified semantic version.
\n\t\tThe semantic version has four nodes:
\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the source image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tReturns the list of component build versions for the specified semantic version.
\n\t\tThe semantic version has four nodes:
\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the base image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe list of image semantic versions.
\n\t\tThe semantic version has four nodes:
\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the source image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe list of image semantic versions.
\n\t\tThe semantic version has four nodes:
\n Filtering: With semantic versioning, you have the flexibility to use wildcards (x) \n\tto specify the most recent versions or nodes when selecting the base image or components for your \n\trecipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be \n\twildcards.
\n\t\tThe condition configures when the pipeline should trigger a new image build. When the\n\t\t\tpipelineExecutionStartCondition
is set to\n\t\t\tEXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, and you use semantic version\n\t\t\tfilters on the source image or components in your image recipe, EC2 Image Builder will build a\n\t\t\tnew image only when there are new versions of the image or components in your recipe that\n\t\t\tmatch the semantic version filter. When it is set to EXPRESSION_MATCH_ONLY
, it\n\t\t\twill build a new image every time the CRON expression matches the current time. For semantic\n\t\t\tversion syntax, see CreateComponent in the EC2 Image Builder API\n\t\t\t\t\tReference.
The condition configures when the pipeline should trigger a new image build. When the\n\t\t\tpipelineExecutionStartCondition
is set to\n\t\t\tEXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, and you use semantic version\n\t\t\tfilters on the base image or components in your image recipe, EC2 Image Builder will build a\n\t\t\tnew image only when there are new versions of the image or components in your recipe that\n\t\t\tmatch the semantic version filter. When it is set to EXPRESSION_MATCH_ONLY
, it\n\t\t\twill build a new image every time the CRON expression matches the current time. For semantic\n\t\t\tversion syntax, see CreateComponent in the EC2 Image Builder API\n\t\t\t\t\tReference.
Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the\n function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier,\n the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.
\n \nTo grant permission to another account, specify the account ID as the Principal
. For Amazon Web Services\n services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com
or\n sns.amazonaws.com
. For Amazon Web Services services, you can also specify the ARN of the associated resource as the\n SourceArn
. If you grant permission to a service principal without specifying the source, other\n accounts could potentially configure resources in their account to invoke your Lambda function.
This action adds a statement to a resource-based permissions policy for the function. For more information\n about function policies, see Lambda Function Policies.
", + "smithy.api#documentation": "Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the\n function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier,\n the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.\n Note: Lambda does not support adding policies to version $LATEST.
\n \nTo grant permission to another account, specify the account ID as the Principal
. For Amazon Web Services\n services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com
or\n sns.amazonaws.com
. For Amazon Web Services services, you can also specify the ARN of the associated resource as the\n SourceArn
. If you grant permission to a service principal without specifying the source, other\n accounts could potentially configure resources in their account to invoke your Lambda function.
This action adds a statement to a resource-based permissions policy for the function. For more information\n about function policies, see Lambda Function Policies.
", "smithy.api#http": { "method": "POST", "uri": "/2015-03-31/functions/{FunctionName}/policy", @@ -475,7 +475,7 @@ "SourceArn": { "target": "com.amazonaws.lambda#Arn", "traits": { - "smithy.api#documentation": "For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or\n Amazon SNS topic.
" + "smithy.api#documentation": "For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or\n Amazon SNS topic.
\nNote that Lambda configures the comparison using the StringLike
operator.
List of signing profiles that can sign a code package.
" } }, + "com.amazonaws.lambda#Architecture": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "x86_64", + "name": "x86_64" + }, + { + "value": "arm64", + "name": "arm64" + } + ] + } + }, + "com.amazonaws.lambda#ArchitecturesList": { + "type": "list", + "member": { + "target": "com.amazonaws.lambda#Architecture" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, "com.amazonaws.lambda#Arn": { "type": "string", "traits": { @@ -807,11 +834,23 @@ } }, "traits": { - "smithy.api#documentation": "The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy \n is set to ENFORCE. Lambda blocks the deployment.
", + "smithy.api#documentation": "The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy\n is set to ENFORCE. Lambda blocks the deployment.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, + "com.amazonaws.lambda#CompatibleArchitectures": { + "type": "list", + "member": { + "target": "com.amazonaws.lambda#Architecture" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 2 + } + } + }, "com.amazonaws.lambda#CompatibleRuntimes": { "type": "list", "member": { @@ -830,7 +869,7 @@ "ReservedConcurrentExecutions": { "target": "com.amazonaws.lambda#ReservedConcurrentExecutions", "traits": { - "smithy.api#documentation": "The number of concurrent executions that are reserved for this function. For more information, see Managing Concurrency.
" + "smithy.api#documentation": "The number of concurrent executions that are reserved for this function. For more information, see Managing Concurrency.
" } } } @@ -995,7 +1034,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source\n and triggers the function.
\nFor details about each event source type, see the following topics. In particular, each of the topics\n describes the required and optional parameters for the specific event source.
\n\n \n Configuring Self-Managed Apache Kafka as an event source\n
\nThe following error handling options are only available for stream sources (DynamoDB and Kinesis):
\n\n BisectBatchOnFunctionError
- If the function returns an error, split the batch in two and retry.
\n DestinationConfig
- Send discarded records to an Amazon SQS queue or Amazon SNS topic.
\n MaximumRecordAgeInSeconds
- Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires
\n MaximumRetryAttempts
- Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
\n ParallelizationFactor
- Process multiple batches from each shard concurrently.
Creates a mapping between an event source and an Lambda function. Lambda reads items from the\n event source and triggers the function.
\nFor details about each event source type, see the following topics.
\n\n Configuring Self-Managed Apache Kafka\n as an event source\n
\nThe following error handling options are only available for stream sources (DynamoDB and Kinesis):
\n\n BisectBatchOnFunctionError
- If the function returns an error, split the batch in two and retry.
\n DestinationConfig
- Send discarded records to an Amazon SQS queue or Amazon SNS topic.
\n MaximumRecordAgeInSeconds
- Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires
\n MaximumRetryAttempts
- Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
\n ParallelizationFactor
- Process multiple batches from each shard concurrently.
If true, the event source mapping is active. Set to false to pause polling and invocation.
" + "smithy.api#documentation": "When true, the event source mapping is active. When false, Lambda pauses polling and invocation.
\nDefault: True
" } }, "BatchSize": { "target": "com.amazonaws.lambda#BatchSize", "traits": { - "smithy.api#documentation": "The maximum number of items to retrieve in a single batch.
\n\n Amazon Kinesis - Default 100. Max 10,000.
\n\n Amazon DynamoDB Streams - Default 100. Max 1,000.
\n\n Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
\n\n Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.
\n\n Self-Managed Apache Kafka - Default 100. Max 10,000.
\nThe maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).
\n\n Amazon Kinesis - Default 100. Max 10,000.
\n\n Amazon DynamoDB Streams - Default 100. Max 1,000.
\n\n Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
\n\n Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.
\n\n Self-Managed Apache Kafka - Default 100. Max 10,000.
\n(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds.
" + "smithy.api#documentation": "(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
\nDefault: 0
\nRelated setting: When you set BatchSize
to a value greater than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams\n sources. AT_TIMESTAMP
is only supported for Amazon Kinesis streams.
The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon\n MSK Streams sources. AT_TIMESTAMP
is only supported for Amazon Kinesis streams.
\n (MQ) The name of the Amazon MQ broker destination queue to consume.\n
" + "smithy.api#documentation": "(MQ) The name of the Amazon MQ broker destination queue to consume.
" } }, "SourceAccessConfigurations": { @@ -1155,7 +1194,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a Lambda function. To create a function, you need a deployment package and an execution role. The\n deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services\n services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.
\n \nYou set the package type to Image
if the deployment package is a\n container image. For a container image,\n the code property must include the URI of a container image in the Amazon ECR registry.\n You do not need to specify the handler and runtime properties.
You set the package type to Zip
if the deployment package is a\n .zip file archive.\n For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and\n runtime properties.
When you create a function, Lambda provisions an instance of the function and its supporting resources. If\n your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or\n modify the function. The State
, StateReason
, and StateReasonCode
fields in\n the response from GetFunctionConfiguration indicate when the function is ready to invoke. For\n more information, see Function\n States.
A function has an unpublished version, and can have published versions and aliases. The unpublished version\n changes when you update your function's code and configuration. A published version is a snapshot of your function\n code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be\n changed to map to a different version. Use the Publish
parameter to create version 1
of\n your function from its initial configuration.
The other parameters let you configure version-specific and function-level settings. You can modify\n version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply\n to both the unpublished and published versions of the function, and include tags (TagResource)\n and per-function concurrency limits (PutFunctionConcurrency).
\n \nYou can use code signing if your deployment package is a .zip file archive. To enable code signing for this function,\n specify the ARN of a code-signing configuration. When a user\n attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code\n package has a valid signature from a trusted publisher. The code-signing configuration\n includes set set of signing profiles, which define the trusted publishers for this function.
\n \nIf another account or an Amazon Web Services service invokes your function, use AddPermission to grant\n permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version,\n or on an alias.
\n \nTo invoke your function directly, use Invoke. To invoke your function in response to events\n in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a\n function trigger in the other service. For more information, see Invoking Functions.
", + "smithy.api#documentation": "Creates a Lambda function. To create a function, you need a deployment package and an execution role. The\n deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services\n services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.
\n \nYou set the package type to Image
if the deployment package is a\n container image. For a container image,\n the code property must include the URI of a container image in the Amazon ECR registry.\n You do not need to specify the handler and runtime properties.
You set the package type to Zip
if the deployment package is a .zip file\n archive. For a .zip file archive, the code property specifies the location of the\n .zip file. You must also specify the handler and runtime properties. The code in the\n deployment package must be compatible with the target instruction set architecture of the\n function (x86-64
or arm64
). If you do not specify the architecture, the default value is\n x86-64
.
When you create a function, Lambda provisions an instance of the function and its supporting resources. If\n your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or\n modify the function. The State
, StateReason
, and StateReasonCode
fields in\n the response from GetFunctionConfiguration indicate when the function is ready to invoke. For\n more information, see Function\n States.
A function has an unpublished version, and can have published versions and aliases. The unpublished version\n changes when you update your function's code and configuration. A published version is a snapshot of your function\n code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be\n changed to map to a different version. Use the Publish
parameter to create version 1
of\n your function from its initial configuration.
The other parameters let you configure version-specific and function-level settings. You can modify\n version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply\n to both the unpublished and published versions of the function, and include tags (TagResource)\n and per-function concurrency limits (PutFunctionConcurrency).
\n \nYou can use code signing if your deployment package is a .zip file archive. To enable code signing for this function,\n specify the ARN of a code-signing configuration. When a user\n attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code\n package has a valid signature from a trusted publisher. The code-signing configuration\n includes set set of signing profiles, which define the trusted publishers for this function.
\n \nIf another account or an Amazon Web Services service invokes your function, use AddPermission to grant\n permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version,\n or on an alias.
\n \nTo invoke your function directly, use Invoke. To invoke your function in response to events\n in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a\n function trigger in the other service. For more information, see Invoking Functions.
", "smithy.api#http": { "method": "POST", "uri": "/2015-03-31/functions", @@ -1288,6 +1327,12 @@ "traits": { "smithy.api#documentation": "To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration\nincludes a set of signing profiles, which define the trusted publishers for this function.
" } + }, + "Architectures": { + "target": "com.amazonaws.lambda#ArchitecturesList", + "traits": { + "smithy.api#documentation": "The instruction set architecture that the function supports. Enter a string array with one of the valid values. \n The default value is x86_64
.
Deletes an event source\n mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.
\nWhen you delete an event source mapping, it enters a Deleting
state and might not be completely deleted for several seconds.
Deletes an event source\n mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.
\nWhen you delete an event source mapping, it enters a Deleting
state and might not be completely\n deleted for several seconds.
An error occured when reading from or writing to a connected file system.
", + "smithy.api#documentation": "An error occurred when reading from or writing to a connected file system.
", "smithy.api#error": "client", "smithy.api#httpError": 410 } @@ -2067,13 +2112,13 @@ "BatchSize": { "target": "com.amazonaws.lambda#BatchSize", "traits": { - "smithy.api#documentation": "The maximum number of items to retrieve in a single batch.
" + "smithy.api#documentation": "The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).
\nDefault value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
\nRelated setting: When you set BatchSize
to a value greater than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
(Streams and Amazon SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds. The default value is zero.
" + "smithy.api#documentation": "(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
\nDefault: 0
\nRelated setting: When you set BatchSize
to a value greater than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
The ARN of the signing job.
" } + }, + "Architectures": { + "target": "com.amazonaws.lambda#ArchitecturesList", + "traits": { + "smithy.api#documentation": "The instruction set architecture that the function supports. Architecture is a string array with one of the \n valid values. The default architecture value is x86_64
.
Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.
", + "smithy.api#documentation": "Returns details about an event source mapping. You can get the identifier of a mapping from the output of\n ListEventSourceMappings.
", "smithy.api#http": { "method": "GET", "uri": "/2015-03-31/event-source-mappings/{UUID}", @@ -3432,6 +3483,12 @@ "traits": { "smithy.api#documentation": "The layer's software license.
" } + }, + "CompatibleArchitectures": { + "target": "com.amazonaws.lambda#CompatibleArchitectures", + "traits": { + "smithy.api#documentation": "A list of compatible \ninstruction set architectures.
" + } } } }, @@ -3826,7 +3883,7 @@ "LogType": { "target": "com.amazonaws.lambda#LogType", "traits": { - "smithy.api#documentation": "Set to Tail
to include the execution log in the response.
Set to Tail
to include the execution log in the response. Applies to synchronously invoked functions only.
The layer's open-source license.
" } + }, + "CompatibleArchitectures": { + "target": "com.amazonaws.lambda#CompatibleArchitectures", + "traits": { + "smithy.api#documentation": "A list of compatible \n instruction set architectures.
" + } } }, "traits": { @@ -4696,7 +4759,7 @@ "MaxItems": { "target": "com.amazonaws.lambda#MaxListItems", "traits": { - "smithy.api#documentation": "The maximum number of event source mappings to return. Note that ListEventSourceMappings returns\n a maximum of 100 items in each response, even if you set the number higher.
", + "smithy.api#documentation": "The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of\n 100 items in each response, even if you set the number higher.
", "smithy.api#httpQuery": "MaxItems" } } @@ -4988,7 +5051,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the versions of an Lambda\n layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only\n versions that indicate that they're compatible with that runtime.
", + "smithy.api#documentation": "Lists the versions of an Lambda\n layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only\n versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only \n layer versions that are compatible with that architecture.
", "smithy.api#http": { "method": "GET", "uri": "/2018-10-31/layers/{LayerName}/versions", @@ -5033,6 +5096,13 @@ "smithy.api#documentation": "The maximum number of versions to return.
", "smithy.api#httpQuery": "MaxItems" } + }, + "CompatibleArchitecture": { + "target": "com.amazonaws.lambda#Architecture", + "traits": { + "smithy.api#documentation": "The compatible \ninstruction set architecture.
", + "smithy.api#httpQuery": "CompatibleArchitecture" + } } } }, @@ -5073,7 +5143,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists Lambda\n layers and shows information about the latest version of each. Specify a runtime identifier to list only layers\n that indicate that they're compatible with that runtime.
", + "smithy.api#documentation": "Lists Lambda\n layers and shows information about the latest version of each. Specify a\n runtime\n identifier to list only layers that indicate that they're compatible with that\n runtime. Specify a compatible architecture to include only layers that are compatible with\n that instruction set architecture.
", "smithy.api#http": { "method": "GET", "uri": "/2018-10-31/layers", @@ -5110,6 +5180,13 @@ "smithy.api#documentation": "The maximum number of layers to return.
", "smithy.api#httpQuery": "MaxItems" } + }, + "CompatibleArchitecture": { + "target": "com.amazonaws.lambda#Architecture", + "traits": { + "smithy.api#documentation": "The compatible \ninstruction set architecture.
", + "smithy.api#httpQuery": "CompatibleArchitecture" + } } } }, @@ -5248,7 +5325,7 @@ "Resource": { "target": "com.amazonaws.lambda#FunctionArn", "traits": { - "smithy.api#documentation": "The function's Amazon Resource Name (ARN).
", + "smithy.api#documentation": "The function's Amazon Resource Name (ARN). \n Note: Lambda does not support adding tags to aliases or versions.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -5792,6 +5869,12 @@ "traits": { "smithy.api#documentation": "The layer's software license. It can be any of the following:
\nAn SPDX license identifier. For example,\n MIT
.
The URL of a license hosted on the internet. For example,\n https://opensource.org/licenses/MIT
.
The full text of the license.
\nA list of compatible \ninstruction set architectures.
" + } } } }, @@ -5845,6 +5928,12 @@ "traits": { "smithy.api#documentation": "The layer's software license.
" } + }, + "CompatibleArchitectures": { + "target": "com.amazonaws.lambda#CompatibleArchitectures", + "traits": { + "smithy.api#documentation": "A list of compatible \ninstruction set architectures.
" + } } } }, @@ -7395,7 +7484,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.
\nThe following error handling options are only available for stream sources (DynamoDB and Kinesis):
\n\n BisectBatchOnFunctionError
- If the function returns an error, split the batch in two and retry.
\n DestinationConfig
- Send discarded records to an Amazon SQS queue or Amazon SNS topic.
\n MaximumRecordAgeInSeconds
- Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires
\n MaximumRetryAttempts
- Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
\n ParallelizationFactor
- Process multiple batches from each shard concurrently.
Updates an event source mapping. You can change the function that Lambda invokes, or pause\n invocation and resume later from the same location.
\n \nThe following error handling options are only available for stream sources (DynamoDB and Kinesis):
\n\n BisectBatchOnFunctionError
- If the function returns an error, split the batch in two and retry.
\n DestinationConfig
- Send discarded records to an Amazon SQS queue or Amazon SNS topic.
\n MaximumRecordAgeInSeconds
- Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires
\n MaximumRetryAttempts
- Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
\n ParallelizationFactor
- Process multiple batches from each shard concurrently.
If true, the event source mapping is active. Set to false to pause polling and invocation.
" + "smithy.api#documentation": "When true, the event source mapping is active. When false, Lambda pauses polling and invocation.
\nDefault: True
" } }, "BatchSize": { "target": "com.amazonaws.lambda#BatchSize", "traits": { - "smithy.api#documentation": "The maximum number of items to retrieve in a single batch.
\n\n Amazon Kinesis - Default 100. Max 10,000.
\n\n Amazon DynamoDB Streams - Default 100. Max 1,000.
\n\n Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
\n\n Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.
\n\n Self-Managed Apache Kafka - Default 100. Max 10,000.
\nThe maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation\n (6 MB).
\n\n Amazon Kinesis - Default 100. Max 10,000.
\n\n Amazon DynamoDB Streams - Default 100. Max 1,000.
\n\n Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.
\n\n Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000.
\n\n Self-Managed Apache Kafka - Default 100. Max 10,000.
\n(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds.
" + "smithy.api#documentation": "(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
\nDefault: 0
\nRelated setting: When you set BatchSize
to a value greater than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
Only update the function if the revision ID matches the ID that's specified. Use this option to avoid modifying a\n function that has changed since you last read it.
" } + }, + "Architectures": { + "target": "com.amazonaws.lambda#ArchitecturesList", + "traits": { + "smithy.api#documentation": "The instruction set architecture that the function supports. Enter a string array with one of the valid values. \n The default value is x86_64
.
\n Container image configuration\n values that override the values in the container image Dockerfile.
" + "smithy.api#documentation": "\n Container image configuration\n values that override the values in the container image Docker file.
" } } } diff --git a/codegen/sdk-codegen/aws-models/macie2.2020-01-01.json b/codegen/sdk-codegen/aws-models/macie2.2020-01-01.json index bbf0ee5a2b7a..b43002bcdb81 100644 --- a/codegen/sdk-codegen/aws-models/macie2.2020-01-01.json +++ b/codegen/sdk-codegen/aws-models/macie2.2020-01-01.json @@ -550,7 +550,7 @@ "kmsManaged": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "The total number of buckets that use an Key Management Service (KMS) customer master key (CMK) to encrypt new objects by default. These buckets use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS) by default.
", + "smithy.api#documentation": "The total number of buckets that use an KMS key to encrypt new objects by default, either an Amazon Web Services managed key or a customer managed key. These buckets use KMS encryption (SSE-KMS) by default.
", "smithy.api#jsonName": "kmsManaged" } }, @@ -663,7 +663,7 @@ "eq": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { - "smithy.api#documentation": "The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR logic to join the values.
", + "smithy.api#documentation": "The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
", "smithy.api#jsonName": "eq" } }, @@ -795,6 +795,20 @@ "smithy.api#jsonName": "classifiableSizeInBytes" } }, + "errorCode": { + "target": "com.amazonaws.macie2#BucketMetadataErrorCode", + "traits": { + "smithy.api#documentation": "Specifies the error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.
", + "smithy.api#jsonName": "errorCode" + } + }, + "errorMessage": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.
", + "smithy.api#jsonName": "errorMessage" + } + }, "jobDetails": { "target": "com.amazonaws.macie2#JobDetails", "traits": { @@ -868,7 +882,7 @@ "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
", + "smithy.api#documentation": "The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
", "smithy.api#jsonName": "sizeInBytesCompressed" } }, @@ -902,7 +916,19 @@ } }, "traits": { - "smithy.api#documentation": "Provides information about an S3 bucket that Amazon Macie monitors and analyzes.
" + "smithy.api#documentation": "Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for most of these properties is null. Exceptions are accountId, bucketArn, bucketCreatedAt, bucketName, lastUpdated, and region. To identify the cause of the error, refer to the errorCode and errorMessage values.
" + } + }, + "com.amazonaws.macie2#BucketMetadataErrorCode": { + "type": "string", + "traits": { + "smithy.api#documentation": "The error code for an error that prevented Amazon Macie from retrieving and processing information about an S3 bucket and the bucket's objects.
", + "smithy.api#enum": [ + { + "value": "ACCESS_DENIED", + "name": "ACCESS_DENIED" + } + ] } }, "com.amazonaws.macie2#BucketPermissionConfiguration": { @@ -977,14 +1003,14 @@ "kmsMasterKeyId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.
", "smithy.api#jsonName": "kmsMasterKeyId" } }, "type": { "target": "com.amazonaws.macie2#Type", "traits": { - "smithy.api#documentation": "The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:
AES256 - New objects are encrypted with an Amazon S3 managed key and use Amazon S3 managed encryption (SSE-S3).
aws:kms - New objects are encrypted with an KMS CMK, specified by the kmsMasterKeyId property, and use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).
NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.
The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:
AES256 - New objects are encrypted with an Amazon S3 managed key. They use SSE-S3 encryption.
aws:kms - New objects are encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key. They use SSE-KMS encryption.
NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.
The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
", + "smithy.api#documentation": "The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
", "smithy.api#jsonName": "sizeInBytes" } }, "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
", + "smithy.api#documentation": "The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
", "smithy.api#jsonName": "sizeInBytesCompressed" } }, @@ -6639,6 +6665,20 @@ "smithy.api#jsonName": "classifiableSizeInBytes" } }, + "errorCode": { + "target": "com.amazonaws.macie2#BucketMetadataErrorCode", + "traits": { + "smithy.api#documentation": "Specifies the error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.
", + "smithy.api#jsonName": "errorCode" + } + }, + "errorMessage": { + "target": "com.amazonaws.macie2#__string", + "traits": { + "smithy.api#documentation": "A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.
", + "smithy.api#jsonName": "errorMessage" + } + }, "jobDetails": { "target": "com.amazonaws.macie2#JobDetails", "traits": { @@ -6670,7 +6710,7 @@ "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
", + "smithy.api#documentation": "The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.
If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
", "smithy.api#jsonName": "sizeInBytesCompressed" } }, @@ -6690,7 +6730,7 @@ } }, "traits": { - "smithy.api#documentation": "Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes.
" + "smithy.api#documentation": "Provides statistical data and other information about an S3 bucket that Amazon Macie monitors and analyzes for your account. If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for most of these properties is null. Exceptions are accountId and bucketName. To identify the cause of the error, refer to the errorCode and errorMessage values.
" } }, "com.amazonaws.macie2#MatchingResource": { @@ -6705,7 +6745,7 @@ } }, "traits": { - "smithy.api#documentation": "Provides statistical data and other information about an Amazon Web Services resource that Amazon Macie monitors and analyzes.
" + "smithy.api#documentation": "Provides statistical data and other information about an Amazon Web Services resource that Amazon Macie monitors and analyzes for your account.
" } }, "com.amazonaws.macie2#MaxResults": { @@ -6809,14 +6849,14 @@ "customerManaged": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "The total number of objects that are encrypted with a customer-managed key. The objects use customer-provided server-side encryption (SSE-C).
", + "smithy.api#documentation": "The total number of objects that are encrypted with a customer-provided key. The objects use customer-provided server-side encryption (SSE-C).
", "smithy.api#jsonName": "customerManaged" } }, "kmsManaged": { "target": "com.amazonaws.macie2#__long", "traits": { - "smithy.api#documentation": "The total number of objects that are encrypted with an Key Management Service (KMS) customer master key (CMK). The objects use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).
", + "smithy.api#documentation": "The total number of objects that are encrypted with an KMS key, either an Amazon Web Services managed key or a customer managed key. The objects use KMS encryption (SSE-KMS).
", "smithy.api#jsonName": "kmsManaged" } }, @@ -6872,7 +6912,7 @@ } }, "traits": { - "smithy.api#documentation": "Provides information about the total storage size (in bytes) or number of objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse object, this data is aggregated for all the buckets in the query results. If versioning is enabled for a bucket, total storage size values are based on the size of the latest version of each applicable object in the bucket.
" + "smithy.api#documentation": "Provides information about the total storage size (in bytes) or number of objects that Amazon Macie can't analyze in one or more S3 buckets. In a BucketMetadata or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse object, this data is aggregated for the buckets in the query results. If versioning is enabled for a bucket, total storage size values are based on the size of the latest version of each applicable object in the bucket.
" } }, "com.amazonaws.macie2#Occurrences": { @@ -7454,7 +7494,7 @@ "kmsKeyArn": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Key Management Service (KMS) customer master key (CMK) to use for encryption of the results. This must be the ARN of an existing CMK that's in the same Amazon Web Services Region as the bucket.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the bucket.
", "smithy.api#jsonName": "kmsKeyArn", "smithy.api#required": {} } @@ -8046,7 +8086,7 @@ "kmsMasterKeyId": { "target": "com.amazonaws.macie2#__string", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used to encrypt data in the bucket or the object. If an KMS CMK isn't used, this value is null.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.
", "smithy.api#jsonName": "kmsMasterKeyId" } } diff --git a/codegen/sdk-codegen/aws-models/network-firewall.2020-11-12.json b/codegen/sdk-codegen/aws-models/network-firewall.2020-11-12.json index eeb6f0eec2ca..45cb0d738aa3 100644 --- a/codegen/sdk-codegen/aws-models/network-firewall.2020-11-12.json +++ b/codegen/sdk-codegen/aws-models/network-firewall.2020-11-12.json @@ -75,7 +75,7 @@ "min": 1, "max": 255 }, - "smithy.api#pattern": "^([a-fA-F\\d:\\.]+/\\d{1,3})$" + "smithy.api#pattern": "^([a-fA-F\\d:\\.]+($|/\\d{1,3}))$" } }, "com.amazonaws.networkfirewall#Addresses": { @@ -128,13 +128,13 @@ "FirewallArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallPolicyArn": { @@ -222,13 +222,13 @@ "FirewallArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "SubnetMappings": { @@ -716,7 +716,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified Firewall and its FirewallStatus. This operation requires the firewall's DeleteProtection
flag to be\n FALSE
. You can't revert this operation.
You can check whether a firewall is\n in use by reviewing the route tables for the Availability Zones where you have \n firewall subnet mappings. Retrieve the subnet mappings by calling DescribeFirewall.\n You define and update the route tables through Amazon VPC. As needed, update the route tables for the \n zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints, \n you can remove the firewall safely.
\nTo delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection,\n then delete the firewall by calling DeleteFirewall.
" + "smithy.api#documentation": "Deletes the specified Firewall and its FirewallStatus. \n This operation requires the firewall's DeleteProtection
flag to be\n FALSE
. You can't revert this operation.
You can check whether a firewall is\n in use by reviewing the route tables for the Availability Zones where you have \n firewall subnet mappings. Retrieve the subnet mappings by calling DescribeFirewall.\n You define and update the route tables through Amazon VPC. As needed, update the route tables for the \n zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints, \n you can remove the firewall safely.
\nTo delete a firewall, remove the delete protection if you need to using UpdateFirewallDeleteProtection,\n then delete the firewall by calling DeleteFirewall.
" } }, "com.amazonaws.networkfirewall#DeleteFirewallPolicy": { @@ -786,13 +786,13 @@ "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } } } @@ -823,6 +823,9 @@ { "target": "com.amazonaws.networkfirewall#InvalidRequestException" }, + { + "target": "com.amazonaws.networkfirewall#InvalidResourcePolicyException" + }, { "target": "com.amazonaws.networkfirewall#ResourceNotFoundException" }, @@ -975,13 +978,13 @@ "FirewallPolicyName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallPolicyArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall policy.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall policy.
\nYou must specify the ARN or the name, and you can specify both.
" } } } @@ -1017,13 +1020,13 @@ "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } } } @@ -1083,13 +1086,13 @@ "FirewallArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } } } @@ -1189,19 +1192,19 @@ "RuleGroupName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the rule group. You can't change the name of a rule group after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the rule group. You can't change the name of a rule group after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "RuleGroupArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the rule group.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the rule group.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "Type": { "target": "com.amazonaws.networkfirewall#RuleGroupType", "traits": { - "smithy.api#documentation": "Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains \nstateless rules. If it is stateful, it contains stateful rules.
\nThis setting is required for requests that do not include the RuleGroupARN
.
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains \nstateless rules. If it is stateful, it contains stateful rules.
\nThis setting is required for requests that do not include the RuleGroupARN
.
The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "SubnetIds": { @@ -1521,7 +1524,19 @@ "StatefulRuleGroupReferences": { "target": "com.amazonaws.networkfirewall#StatefulRuleGroupReferences", "traits": { - "smithy.api#documentation": "References to the stateless rule groups that are used in the policy. These define the\n inspection criteria in stateful rules.
" + "smithy.api#documentation": "References to the stateful rule groups that are used in the policy. These define the\n inspection criteria in stateful rules.
" + } + }, + "StatefulDefaultActions": { + "target": "com.amazonaws.networkfirewall#StatefulActions", + "traits": { + "smithy.api#documentation": "The default actions to take on a packet that doesn't match any stateful rules.
" + } + }, + "StatefulEngineOptions": { + "target": "com.amazonaws.networkfirewall#StatefulEngineOptions", + "traits": { + "smithy.api#documentation": "Additional options governing how Network Firewall handles stateful rules. The stateful \n rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
" } } }, @@ -1590,6 +1605,24 @@ "traits": { "smithy.api#documentation": "The key:value pairs to associate with the resource.
" } + }, + "ConsumedStatelessRuleCapacity": { + "target": "com.amazonaws.networkfirewall#RuleCapacity", + "traits": { + "smithy.api#documentation": "The number of capacity units currently consumed by the policy's stateless rules.
" + } + }, + "ConsumedStatefulRuleCapacity": { + "target": "com.amazonaws.networkfirewall#RuleCapacity", + "traits": { + "smithy.api#documentation": "The number of capacity units currently consumed by the policy's stateful rules.
" + } + }, + "NumberOfAssociations": { + "target": "com.amazonaws.networkfirewall#NumberOfAssociations", + "traits": { + "smithy.api#documentation": "The number of firewalls that are associated with this firewall policy.
" + } } }, "traits": { @@ -1687,7 +1720,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "[\\s\\S]*$" + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.networkfirewall#Header": { @@ -1710,7 +1743,7 @@ "SourcePort": { "target": "com.amazonaws.networkfirewall#Port", "traits": { - "smithy.api#documentation": "The source port to inspect for. You can specify an individual port, for \n example 1994
and you can specify a port\n range, for example 1990-1994
.\n To match with any port, specify ANY
.
The source port to inspect for. You can specify an individual port, for \n example 1994
and you can specify a port\n range, for example 1990:1994
.\n To match with any port, specify ANY
.
The destination port to inspect for. You can specify an individual port, for \n example 1994
and you can specify\n a port range, for example 1990-1994
.\n To match with any port, specify ANY
.
The destination port to inspect for. You can specify an individual port, for \n example 1994
and you can specify\n a port range, for example 1990:1994
.\n To match with any port, specify ANY
.
The 5-tuple criteria for AWS Network Firewall to use to inspect packet headers in stateful\n traffic flow inspection. Traffic flows that match the criteria are a match for the\n corresponding StatefulRule.
" + "smithy.api#documentation": "The basic rule criteria for AWS Network Firewall to use to inspect packet headers in stateful\n traffic flow inspection. Traffic flows that match the criteria are a match for the\n corresponding StatefulRule.
" } }, "com.amazonaws.networkfirewall#IPSet": { @@ -1820,7 +1853,7 @@ } }, "traits": { - "smithy.api#documentation": "", + "smithy.api#documentation": "The policy statement failed validation.
", "smithy.api#error": "client" } }, @@ -2193,7 +2226,7 @@ "min": 2, "max": 30 }, - "smithy.api#pattern": "[0-9A-Za-z]+" + "smithy.api#pattern": "^[0-9A-Za-z]+$" } }, "com.amazonaws.networkfirewall#LogType": { @@ -2244,13 +2277,13 @@ "SourcePorts": { "target": "com.amazonaws.networkfirewall#PortRanges", "traits": { - "smithy.api#documentation": "The source ports to inspect for. If not specified, this matches with any source port.\n This setting is only used for protocols 6 (TCP) and 17 (UDP).
\nYou can specify individual ports, for example 1994
and you can specify port\n ranges, for example 1990-1994
.
The source ports to inspect for. If not specified, this matches with any source port.\n This setting is only used for protocols 6 (TCP) and 17 (UDP).
\nYou can specify individual ports, for example 1994
and you can specify port\n ranges, for example 1990:1994
.
The destination ports to inspect for. If not specified, this matches with any\n destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
\nYou can specify individual ports, for example 1994
and you can specify port\n ranges, for example 1990-1994
.
The destination ports to inspect for. If not specified, this matches with any\n destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP).
\nYou can specify individual ports, for example 1994
and you can specify port\n ranges, for example 1990:1994
.
This is the API Reference for AWS Network Firewall. This guide is for developers who need\n detailed information about the Network Firewall API actions, data types, and errors.
\nThe REST API requires you to handle connection details, such as calculating\n signatures, handling request retries, and error handling. For general information\n about using the AWS REST APIs, see AWS APIs.
\nTo access Network Firewall using the REST API endpoint:\n https://network-firewall.
\n
Alternatively, you can use one of the AWS SDKs to access an API that's tailored to\n the programming language or platform that you're using. For more information, see\n AWS SDKs.
\nFor descriptions of Network Firewall features, including and step-by-step\n instructions on how to use them through the Network Firewall console, see the Network Firewall Developer\n Guide.
\nNetwork Firewall is a stateful, managed, network firewall and intrusion detection and\n prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the\n perimeter of your VPC. This includes filtering traffic going to and coming from an internet\n gateway, NAT gateway, or over VPN or AWS Direct Connect. Network Firewall uses rules that are compatible\n with Suricata, a free, open source intrusion detection system (IDS) engine. For information about Suricata, \n see the Suricata website.
\nYou can use Network Firewall to monitor and protect your VPC traffic in a number of ways.\n The following are just a few examples:
\nAllow domains or IP addresses for known AWS service endpoints, such as Amazon S3, and\n block all other forms of traffic.
\nUse custom lists of known bad domains to limit the types of domain names that your\n applications can access.
\nPerform deep packet inspection on traffic entering or leaving your VPC.
\nUse stateful protocol detection to filter protocols like HTTPS, regardless of the\n port used.
\nTo enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in\n Network Firewall. For information about using Amazon VPC, see Amazon VPC User Guide.
\nTo start using Network Firewall, do the following:
\n(Optional) If you don't already have a VPC that you want to protect, create it in\n Amazon VPC.
\nIn Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a\n subnet for the sole use of Network Firewall.
\nIn Network Firewall, create stateless and stateful rule groups, \n to define the components of the network traffic filtering behavior that you want your firewall to have.
\nIn Network Firewall, create a firewall policy that uses your rule groups and\n specifies additional default traffic filtering behavior.
\nIn Network Firewall, create a firewall and specify your new firewall policy and \n VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you\n specify, with the behavior that's defined in the firewall policy.
\nIn Amazon VPC, use ingress routing enhancements to route traffic through the new firewall\n endpoints.
\nThis is the API Reference for AWS Network Firewall. This guide is for developers who need\n detailed information about the Network Firewall API actions, data types, and errors.
\nThe REST API requires you to handle connection details, such as calculating\n signatures, handling request retries, and error handling. For general information\n about using the AWS REST APIs, see AWS APIs.
\nTo access Network Firewall using the REST API endpoint:\n https://network-firewall.
\n
Alternatively, you can use one of the AWS SDKs to access an API that's tailored to\n the programming language or platform that you're using. For more information, see\n AWS SDKs.
\nFor descriptions of Network Firewall features, including and step-by-step\n instructions on how to use them through the Network Firewall console, see the Network Firewall Developer\n Guide.
\nNetwork Firewall is a stateful, managed, network firewall and intrusion detection and\n prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the\n perimeter of your VPC. This includes filtering traffic going to and coming from an internet\n gateway, NAT gateway, or over VPN or AWS Direct Connect. Network Firewall uses rules that are compatible\n with Suricata, a free, open source intrusion detection system (IDS) engine. \n AWS Network Firewall supports Suricata version 5.0.2. For information about Suricata, \n see the Suricata website.
\nYou can use Network Firewall to monitor and protect your VPC traffic in a number of ways.\n The following are just a few examples:
\nAllow domains or IP addresses for known AWS service endpoints, such as Amazon S3, and\n block all other forms of traffic.
\nUse custom lists of known bad domains to limit the types of domain names that your\n applications can access.
\nPerform deep packet inspection on traffic entering or leaving your VPC.
\nUse stateful protocol detection to filter protocols like HTTPS, regardless of the\n port used.
\nTo enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in\n Network Firewall. For information about using Amazon VPC, see Amazon VPC User Guide.
\nTo start using Network Firewall, do the following:
\n(Optional) If you don't already have a VPC that you want to protect, create it in\n Amazon VPC.
\nIn Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a\n subnet for the sole use of Network Firewall.
\nIn Network Firewall, create stateless and stateful rule groups, \n to define the components of the network traffic filtering behavior that you want your firewall to have.
\nIn Network Firewall, create a firewall policy that uses your rule groups and\n specifies additional default traffic filtering behavior.
\nIn Network Firewall, create a firewall and specify your new firewall policy and \n VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you\n specify, with the behavior that's defined in the firewall policy.
\nIn Amazon VPC, use ingress routing enhancements to route traffic through the new firewall\n endpoints.
\nUnable to change the resource because your account doesn't own it.
", "smithy.api#error": "client" } }, @@ -2716,6 +2755,12 @@ "smithy.api#documentation": "The stateful rules or stateless rules for the rule group.
", "smithy.api#required": {} } + }, + "StatefulRuleOptions": { + "target": "com.amazonaws.networkfirewall#StatefulRuleOptions", + "traits": { + "smithy.api#documentation": "Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful \n rule group must have stateful rule options settings that are compatible with these settings.
" + } } }, "traits": { @@ -2795,6 +2840,18 @@ "traits": { "smithy.api#documentation": "The key:value pairs to associate with the resource.
" } + }, + "ConsumedCapacity": { + "target": "com.amazonaws.networkfirewall#RuleCapacity", + "traits": { + "smithy.api#documentation": "The number of capacity units currently consumed by the rule group rules.
" + } + }, + "NumberOfAssociations": { + "target": "com.amazonaws.networkfirewall#NumberOfAssociations", + "traits": { + "smithy.api#documentation": "The number of firewall policies that use this rule group.
" + } } }, "traits": { @@ -2849,6 +2906,21 @@ "target": "com.amazonaws.networkfirewall#RuleOption" } }, + "com.amazonaws.networkfirewall#RuleOrder": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "DEFAULT_ACTION_ORDER", + "name": "DEFAULT_ACTION_ORDER" + }, + { + "value": "STRICT_ORDER", + "name": "STRICT_ORDER" + } + ] + } + }, "com.amazonaws.networkfirewall#RuleTargets": { "type": "list", "member": { @@ -2903,7 +2975,7 @@ "StatefulRules": { "target": "com.amazonaws.networkfirewall#StatefulRules", "traits": { - "smithy.api#documentation": "The 5-tuple stateful inspection criteria. This contains an array of individual 5-tuple\n stateful rules to be used together in a stateful rule group.
" + "smithy.api#documentation": "An array of individual stateful rules inspection criteria to be used together in a stateful rule group. \n Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. \n For information about the Suricata Rules
format, see\n Rules Format.
The protocols you want to inspect. Specify TLS_SNI
for HTTPS
. Specity HTTP_HOST
for HTTP
. You can specify either or both.
The protocols you want to inspect. Specify TLS_SNI
for HTTPS
. Specify HTTP_HOST
for HTTP
. You can specify either or both.
Stateful inspection criteria for a domain list rule group.
\nFor HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake.
\nBy default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the HOME_NET
rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see RuleVariables in this guide and Stateful domain list rule groups in AWS Network Firewall in the Network Firewall Developer Guide\n
Stateful inspection criteria for a domain list rule group.
\nFor HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake.
\nBy default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the HOME_NET
rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see RuleVariables in this guide and Stateful domain list rule groups in AWS Network Firewall in the Network Firewall Developer Guide.
Indicates how to manage the order of stateful rule evaluation for the policy. By default, Network Firewall\n leaves the rule evaluation order up to the Suricata rule processing engine. If you set \n this to STRICT_ORDER
, your rules are evaluated in the exact order that you provide them\n in the policy. With strict ordering, the rule groups are evaluated by order of priority, starting from the lowest number, and \n the rules in each rule group are processed in the order that they're defined.
Configuration settings for the handling of the stateful rule groups in a firewall policy.
" + } + }, "com.amazonaws.networkfirewall#StatefulRule": { "type": "structure", "members": { @@ -3013,20 +3105,20 @@ "Header": { "target": "com.amazonaws.networkfirewall#Header", "traits": { - "smithy.api#documentation": "The stateful 5-tuple inspection criteria for this rule, used to inspect traffic flows.\n
", + "smithy.api#documentation": "The stateful inspection criteria for this rule, used to inspect traffic flows.\n
", "smithy.api#required": {} } }, "RuleOptions": { "target": "com.amazonaws.networkfirewall#RuleOptions", "traits": { - "smithy.api#documentation": "", + "smithy.api#documentation": "Additional options for the rule. These are the Suricata RuleOptions
settings.
A single 5-tuple stateful rule, for use in a stateful rule group.
" + "smithy.api#documentation": "A single Suricata rules specification, for use in a stateful rule group. \n Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options. \n For information about the Suricata Rules
format, see\n Rules Format.
The Amazon Resource Name (ARN) of the stateful rule group.
", "smithy.api#required": {} } + }, + "Priority": { + "target": "com.amazonaws.networkfirewall#Priority", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "An integer setting that indicates the order in which to run the stateful rule groups in\n a single FirewallPolicy. This setting only applies to firewall policies\n that specify the STRICT_ORDER
rule order in the stateful engine options settings.
Network Firewall evalutes each stateful rule group\n against a packet starting with the group that has the lowest priority setting. You must ensure\n that the priority settings are unique within each policy.
\nYou can change the priority settings of your rule groups at any time. To make it easier to\n insert rule groups later, number them so there's a wide range in between, for example use 100,\n 200, and so on.
" + } } }, "traits": { @@ -3065,6 +3164,20 @@ "target": "com.amazonaws.networkfirewall#StatefulRuleGroupReference" } }, + "com.amazonaws.networkfirewall#StatefulRuleOptions": { + "type": "structure", + "members": { + "RuleOrder": { + "target": "com.amazonaws.networkfirewall#RuleOrder", + "traits": { + "smithy.api#documentation": "Indicates how to manage the order of the rule evaluation for the rule group. By default, Network Firewall\n leaves the rule evaluation order up to the Suricata rule processing engine. If you set \n this to STRICT_ORDER
, your rules are evaluated in the exact order that they're listed \n in your Suricata rules string.
Additional options governing how Network Firewall handles the rule group. You can only use these for stateful rule groups.
" + } + }, "com.amazonaws.networkfirewall#StatefulRuleProtocol": { "type": "string", "traits": { @@ -3173,7 +3286,7 @@ "Priority": { "target": "com.amazonaws.networkfirewall#Priority", "traits": { - "smithy.api#documentation": "A setting that indicates the order in which to run this rule relative to all of the\n rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a\n rule group starting with the lowest priority setting. You must ensure that the priority\n settings are unique for the rule group.
\nEach stateless rule group uses exactly one StatelessRulesAndCustomActions
\n object, and each StatelessRulesAndCustomActions
contains exactly one\n StatelessRules
object. To ensure unique priority settings for your rule\n groups, set unique priorities for the stateless rules that you define inside any single\n StatelessRules
object.
You can change the priority settings of your rules at any time. To make it easier to\n insert rules later, number them so there's a wide range in between, for example use 100,\n 200, and so on.
", + "smithy.api#documentation": "Indicates the order in which to run this rule relative to all of the\n rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a\n rule group starting with the lowest priority setting. You must ensure that the priority\n settings are unique for the rule group.
\nEach stateless rule group uses exactly one StatelessRulesAndCustomActions
\n object, and each StatelessRulesAndCustomActions
contains exactly one\n StatelessRules
object. To ensure unique priority settings for your rule\n groups, set unique priorities for the stateless rules that you define inside any single\n StatelessRules
object.
You can change the priority settings of your rules at any time. To make it easier to\n insert rules later, number them so there's a wide range in between, for example use 100,\n 200, and so on.
", "smithy.api#required": {} } } @@ -3613,13 +3726,13 @@ "FirewallArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "DeleteProtection": { @@ -3701,13 +3814,13 @@ "FirewallArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "Description": { @@ -3820,13 +3933,13 @@ "FirewallArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallPolicyChangeProtection": { @@ -3880,13 +3993,13 @@ "FirewallPolicyArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall policy.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall policy.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallPolicyName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallPolicy": { @@ -3967,13 +4080,13 @@ "FirewallArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "LoggingConfiguration": { @@ -4046,13 +4159,13 @@ "RuleGroupArn": { "target": "com.amazonaws.networkfirewall#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the rule group.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the rule group.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "RuleGroupName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the rule group. You can't change the name of a rule group after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the rule group. You can't change the name of a rule group after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "RuleGroup": { @@ -4070,7 +4183,7 @@ "Type": { "target": "com.amazonaws.networkfirewall#RuleGroupType", "traits": { - "smithy.api#documentation": "Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains \nstateless rules. If it is stateful, it contains stateful rules.
\nThis setting is required for requests that do not include the RuleGroupARN
.
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains \nstateless rules. If it is stateful, it contains stateful rules.
\nThis setting is required for requests that do not include the RuleGroupARN
.
The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the firewall.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "FirewallName": { "target": "com.amazonaws.networkfirewall#ResourceName", "traits": { - "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" + "smithy.api#documentation": "The descriptive name of the firewall. You can't change the name of a firewall after you create it.
\nYou must specify the ARN or the name, and you can specify both.
" } }, "SubnetChangeProtection": { diff --git a/codegen/sdk-codegen/aws-models/pinpoint.2016-12-01.json b/codegen/sdk-codegen/aws-models/pinpoint.2016-12-01.json index de527361807c..d97f5aafad71 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint.2016-12-01.json +++ b/codegen/sdk-codegen/aws-models/pinpoint.2016-12-01.json @@ -1046,6 +1046,12 @@ "traits": { "smithy.api#documentation": "The settings for a wait activity. This type of activity waits for a certain amount of time or until a specific date and time before moving participants to the next activity in a journey.
" } + }, + "ContactCenter": { + "target": "com.amazonaws.pinpoint#ContactCenterActivity", + "traits": { + "smithy.api#documentation": "The settings for a connect activity. This type of activity initiates a contact center call to participants.
" + } } }, "traits": { @@ -2456,6 +2462,17 @@ "smithy.api#httpError": 409 } }, + "com.amazonaws.pinpoint#ContactCenterActivity": { + "type": "structure", + "members": { + "NextActivity": { + "target": "com.amazonaws.pinpoint#__string", + "traits": { + "smithy.api#documentation": "The unique identifier for the next activity to perform after the this activity.
" + } + } + } + }, "com.amazonaws.pinpoint#CreateApp": { "type": "operation", "input": { @@ -11172,6 +11189,26 @@ ] } }, + "com.amazonaws.pinpoint#JourneyChannelSettings": { + "type": "structure", + "members": { + "ConnectCampaignArn": { + "target": "com.amazonaws.pinpoint#__string", + "traits": { + "smithy.api#documentation": "Amazon Resource Name (ARN) of the Connect Campaign.
" + } + }, + "ConnectCampaignExecutionRoleArn": { + "target": "com.amazonaws.pinpoint#__string", + "traits": { + "smithy.api#documentation": "IAM role ARN to be assumed when invoking Connect campaign execution APIs for dialing.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The channel-specific configurations for the journey.
" + } + }, "com.amazonaws.pinpoint#JourneyCustomMessage": { "type": "structure", "members": { @@ -11496,6 +11533,12 @@ "traits": { "smithy.api#documentation": "Specifies whether a journey should be refreshed on segment update.
" } + }, + "JourneyChannelSettings": { + "target": "com.amazonaws.pinpoint#JourneyChannelSettings", + "traits": { + "smithy.api#documentation": "The channel-specific configurations for the journey.
" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/sesv2.2019-09-27.json b/codegen/sdk-codegen/aws-models/sesv2.2019-09-27.json index 26d51e1ba837..fd710c30f895 100644 --- a/codegen/sdk-codegen/aws-models/sesv2.2019-09-27.json +++ b/codegen/sdk-codegen/aws-models/sesv2.2019-09-27.json @@ -145,7 +145,7 @@ "com.amazonaws.sesv2#BehaviorOnMxFailure": { "type": "string", "traits": { - "smithy.api#documentation": "The action that you want to take if the required MX record can't be found when you\n send an email. When you set this value to UseDefaultValue
, the mail is sent\n using amazonses.com as the MAIL FROM domain. When you set this\n value to RejectMessage
, the Amazon SES API v2 returns a\n MailFromDomainNotVerified
error, and doesn't attempt to deliver the\n email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the\n Pending
, Failed
, and TemporaryFailure
\n states.
The action to take if the required MX record can't be found when you send an email.\n When you set this value to UseDefaultValue
, the mail is sent using\n amazonses.com as the MAIL FROM domain. When you set this value\n to RejectMessage
, the Amazon SES API v2 returns a\n MailFromDomainNotVerified
error, and doesn't attempt to deliver the\n email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the\n Pending
, Failed
, and TemporaryFailure
\n states.
The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. If\n you want to use the message tags that you specify using an\n X-SES-MESSAGE-TAGS
header or a parameter to the SendEmail
\n or SendRawEmail
API, choose messageTag
. If you want to use\n your own email headers, choose emailHeader
. If you want to use link tags,\n choose linkTags
.
The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. To\n use the message tags that you specify using an X-SES-MESSAGE-TAGS
header or\n a parameter to the SendEmail
or SendRawEmail
API, choose\n messageTag
. To use your own email headers, choose\n emailHeader
. To use link tags, choose linkTags
.
>The type of action that you want to perform on the addresses. Acceptable\n values:
\nPUT: add the addresses to the contact list. If the record already exists, it\n will override it with the new value.
\nDELETE: remove the addresses from the contact list.
\n>The type of action to perform on the addresses. The following are the \n possible values:
\nPUT: add the addresses to the contact list. If the record already exists, it\n will override it with the new value.
\nDELETE: remove the addresses from the contact list.
\nThe name of the configuration set that you want to add an event destination to.
", + "smithy.api#documentation": "The name of the configuration set .
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -727,7 +727,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set.
", + "smithy.api#documentation": "The name of the configuration set. The name can contain up to 64 alphanumeric\n characters, including letters, numbers, hyphens (-) and underscores (_) only.
", "smithy.api#required": {} } }, @@ -758,7 +758,7 @@ "Tags": { "target": "com.amazonaws.sesv2#TagList", "traits": { - "smithy.api#documentation": "An array of objects that define the tags (keys and values) that you want to associate\n with the configuration set.
" + "smithy.api#documentation": "An array of objects that define the tags (keys and values) to associate with the\n configuration set.
" } }, "SuppressionOptions": { @@ -1031,7 +1031,7 @@ } ], "traits": { - "smithy.api#documentation": "Create a new pool of dedicated IP addresses. A pool can include one or more dedicated\n IP addresses that are associated with your AWS account. You can associate a pool with\n a configuration set. When you send an email that uses that configuration set, the\n message is sent from one of the addresses in the associated pool.
", + "smithy.api#documentation": "Create a new pool of dedicated IP addresses. A pool can include one or more dedicated\n IP addresses that are associated with your Amazon Web Services account. You can associate a pool with\n a configuration set. When you send an email that uses that configuration set, the\n message is sent from one of the addresses in the associated pool.
", "smithy.api#http": { "method": "POST", "uri": "/v2/email/dedicated-ip-pools", @@ -1198,7 +1198,7 @@ } ], "traits": { - "smithy.api#documentation": "Starts the process of verifying an email identity. An identity is\n an email address or domain that you use when you send email. Before you can use an\n identity to send email, you first have to verify it. By verifying an identity, you\n demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2\n permission to send email from the identity.
\nWhen you verify an email address, Amazon SES sends an email to the address. Your email\n address is verified as soon as you follow the link in the verification email.\n \n
\nWhen you verify a domain without specifying the DkimSigningAttributes
\n object, this operation provides a set of DKIM tokens. You can convert these tokens into\n CNAME records, which you then add to the DNS configuration for your domain. Your domain\n is verified when Amazon SES detects these records in the DNS configuration for your domain.\n This verification method is known as Easy DKIM.
Alternatively, you can perform the verification process by providing your own\n public-private key pair. This verification method is known as Bring Your Own DKIM\n (BYODKIM). To use BYODKIM, your call to the CreateEmailIdentity
operation\n has to include the DkimSigningAttributes
object. When you specify this\n object, you provide a selector (a component of the DNS record name that identifies the\n public key that you want to use for DKIM authentication) and a private key.
When you verify a domain, this operation provides a set of DKIM tokens, which you can\n convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your\n domain. Your domain is verified when Amazon SES detects these records in the DNS\n configuration for your domain. For some DNS providers, it can take 72 hours or more to\n complete the domain verification process.
\nAdditionally, you can associate an existing configuration set with the email identity that you're verifying.
", + "smithy.api#documentation": "Starts the process of verifying an email identity. An identity is\n an email address or domain that you use when you send email. Before you can use an\n identity to send email, you first have to verify it. By verifying an identity, you\n demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2\n permission to send email from the identity.
\nWhen you verify an email address, Amazon SES sends an email to the address. Your email\n address is verified as soon as you follow the link in the verification email.\n \n
\nWhen you verify a domain without specifying the DkimSigningAttributes
\n object, this operation provides a set of DKIM tokens. You can convert these tokens into\n CNAME records, which you then add to the DNS configuration for your domain. Your domain\n is verified when Amazon SES detects these records in the DNS configuration for your domain.\n This verification method is known as Easy DKIM.
Alternatively, you can perform the verification process by providing your own\n public-private key pair. This verification method is known as Bring Your Own DKIM\n (BYODKIM). To use BYODKIM, your call to the CreateEmailIdentity
operation\n has to include the DkimSigningAttributes
object. When you specify this\n object, you provide a selector (a component of the DNS record name that identifies the\n public key to use for DKIM authentication) and a private key.
When you verify a domain, this operation provides a set of DKIM tokens, which you can\n convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your\n domain. Your domain is verified when Amazon SES detects these records in the DNS\n configuration for your domain. For some DNS providers, it can take 72 hours or more to\n complete the domain verification process.
\nAdditionally, you can associate an existing configuration set with the email identity that you're verifying.
", "smithy.api#http": { "method": "POST", "uri": "/v2/email/identities", @@ -1246,7 +1246,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The email identity for which you want to create a policy.
", + "smithy.api#documentation": "The email identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1284,26 +1284,26 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The email address or domain that you want to verify.
", + "smithy.api#documentation": "The email address or domain to verify.
", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.sesv2#TagList", "traits": { - "smithy.api#documentation": "An array of objects that define the tags (keys and values) that you want to associate\n with the email identity.
" + "smithy.api#documentation": "An array of objects that define the tags (keys and values) to associate with the email\n identity.
" } }, "DkimSigningAttributes": { "target": "com.amazonaws.sesv2#DkimSigningAttributes", "traits": { - "smithy.api#documentation": "If your request includes this object, Amazon SES configures the identity to use Bring Your\n Own DKIM (BYODKIM) for DKIM authentication purposes, as opposed to the default method,\n Easy\n DKIM.
\nYou can only specify this object if the email identity is a domain, as opposed to an\n address.
" + "smithy.api#documentation": "If your request includes this object, Amazon SES configures the identity to use Bring Your\n Own DKIM (BYODKIM) for DKIM authentication purposes, or, configures the key length to be used for\n Easy DKIM.
\nYou can only specify this object if the email identity is a domain, as opposed to an\n address.
" } }, "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The configuration set to use by default when sending from this identity.\n Note that any configuration set defined in the email sending request takes precedence.\n
" + "smithy.api#documentation": "The configuration set to use by default when sending from this identity. Note that any\n configuration set defined in the email sending request takes precedence.
" } } }, @@ -1317,7 +1317,7 @@ "IdentityType": { "target": "com.amazonaws.sesv2#IdentityType", "traits": { - "smithy.api#documentation": "The email identity type.
" + "smithy.api#documentation": "The email identity type. Note: the MANAGED_DOMAIN
identity type is not\n supported.
Creates an email template. Email templates enable you to send personalized email to\n one or more destinations in a single API operation. For more information, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#documentation": "Creates an email template. Email templates enable you to send personalized email to\n one or more destinations in a single API operation. For more information, see the Amazon SES Developer\n Guide.
\nYou can execute this operation no more than once per second.
", "smithy.api#http": { "method": "POST", "uri": "/v2/email/templates", @@ -1374,7 +1374,7 @@ "TemplateName": { "target": "com.amazonaws.sesv2#EmailTemplateName", "traits": { - "smithy.api#documentation": "The name of the template you want to create.
", + "smithy.api#documentation": "The name of the template.
", "smithy.api#required": {} } }, @@ -1464,7 +1464,7 @@ "com.amazonaws.sesv2#CustomRedirectDomain": { "type": "string", "traits": { - "smithy.api#documentation": "The domain that you want to use for tracking open and click events.
" + "smithy.api#documentation": "The domain to use for tracking open and click events.
" } }, "com.amazonaws.sesv2#CustomVerificationEmailTemplateMetadata": { @@ -1603,7 +1603,7 @@ "target": "com.amazonaws.sesv2#DedicatedIp" }, "traits": { - "smithy.api#documentation": "A list of dedicated IP addresses that are associated with your AWS account.
" + "smithy.api#documentation": "A list of dedicated IP addresses that are associated with your Amazon Web Services account.
" } }, "com.amazonaws.sesv2#DefaultDimensionValue": { @@ -1677,7 +1677,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set that contains the event destination that you want to\n delete.
", + "smithy.api#documentation": "The name of the configuration set that contains the event destination to\n delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1685,7 +1685,7 @@ "EventDestinationName": { "target": "com.amazonaws.sesv2#EventDestinationName", "traits": { - "smithy.api#documentation": "The name of the event destination that you want to delete.
", + "smithy.api#documentation": "The name of the event destination to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1708,7 +1708,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set that you want to delete.
", + "smithy.api#documentation": "The name of the configuration set.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1846,7 +1846,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an existing custom verification email template.
\nFor more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer\n Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#documentation": "Deletes an existing custom verification email template.
\nFor more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer\n Guide.
\nYou can execute this operation no more than once per second.
", "smithy.api#http": { "method": "DELETE", "uri": "/v2/email/custom-verification-email-templates/{TemplateName}", @@ -1996,7 +1996,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The email identity for which you want to delete a policy.
", + "smithy.api#documentation": "The email identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2027,7 +2027,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The identity (that is, the email address or domain) that you want to delete.
", + "smithy.api#documentation": "The identity (that is, the email address or domain) to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2250,7 +2250,7 @@ "SendingPoolName": { "target": "com.amazonaws.sesv2#PoolName", "traits": { - "smithy.api#documentation": "The name of the dedicated IP pool that you want to associate with the configuration\n set.
" + "smithy.api#documentation": "The name of the dedicated IP pool to associate with the configuration set.
" } } }, @@ -2284,7 +2284,7 @@ } }, "traits": { - "smithy.api#documentation": "An object that describes the recipients for an email.
" + "smithy.api#documentation": "An object that describes the recipients for an email.
\nAmazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the\n local part of a destination email address (the part of the\n email address that precedes the @ sign) may only contain 7-bit ASCII\n characters. If the domain part of an address (the\n part after the @ sign) contains non-ASCII characters, they must be encoded using\n Punycode, as described in RFC3492.
\nThe location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. If\n you want to use the message tags that you specify using an\n X-SES-MESSAGE-TAGS
header or a parameter to the SendEmail
\n or SendRawEmail
API, choose messageTag
. If you want to use\n your own email headers, choose emailHeader
. If you want to use link tags,\n choose linkTags
.
The location where the Amazon SES API v2 finds the value of a dimension to publish to Amazon CloudWatch. To\n use the message tags that you specify using an X-SES-MESSAGE-TAGS
header or\n a parameter to the SendEmail
or SendRawEmail
API, choose\n messageTag
. To use your own email headers, choose\n emailHeader
. To use link tags, choose linkTags
.
A string that indicates how DKIM was configured for the identity. There are two\n possible values:
\n\n AWS_SES
– Indicates that DKIM was configured for the\n identity by using Easy DKIM.
\n EXTERNAL
– Indicates that DKIM was configured for the\n identity by using Bring Your Own DKIM (BYODKIM).
A string that indicates how DKIM was configured for the identity. These are the\n possible values:
\n\n AWS_SES
– Indicates that DKIM was configured for the\n identity by using Easy DKIM.
\n EXTERNAL
– Indicates that DKIM was configured for the\n identity by using Bring Your Own DKIM (BYODKIM).
[Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
" + } + }, + "CurrentSigningKeyLength": { + "target": "com.amazonaws.sesv2#DkimSigningKeyLength", + "traits": { + "smithy.api#documentation": "[Easy DKIM] The key length of the DKIM key pair in use.
" + } + }, + "LastKeyGenerationTimestamp": { + "target": "com.amazonaws.sesv2#Timestamp", + "traits": { + "smithy.api#documentation": "[Easy DKIM] The last time a key pair was generated for this identity.
" } } }, @@ -2354,20 +2372,24 @@ "DomainSigningSelector": { "target": "com.amazonaws.sesv2#Selector", "traits": { - "smithy.api#documentation": "A string that's used to identify a public key in the DNS configuration for a\n domain.
", - "smithy.api#required": {} + "smithy.api#documentation": "[Bring Your Own DKIM] A string that's used to identify a public key in the DNS configuration for a\n domain.
" } }, "DomainSigningPrivateKey": { "target": "com.amazonaws.sesv2#PrivateKey", "traits": { - "smithy.api#documentation": "A private key that's used to generate a DKIM signature.
\nThe private key must use 1024-bit RSA encryption, and must be encoded using base64\n encoding.
", - "smithy.api#required": {} + "smithy.api#documentation": "[Bring Your Own DKIM] A private key that's used to generate a DKIM signature.
\nThe private key must use 1024 or 2048-bit RSA encryption, and must be encoded using\n base64 encoding.
" + } + }, + "NextSigningKeyLength": { + "target": "com.amazonaws.sesv2#DkimSigningKeyLength", + "traits": { + "smithy.api#documentation": "[Easy DKIM] The key length of the future DKIM key pair to be generated. This can be changed at most once per day.
" } } }, "traits": { - "smithy.api#documentation": "An object that contains information about the tokens used for setting up Bring Your\n Own DKIM (BYODKIM).
" + "smithy.api#documentation": "An object that contains configuration for Bring Your Own DKIM (BYODKIM), or, for Easy DKIM
" } }, "com.amazonaws.sesv2#DkimSigningAttributesOrigin": { @@ -2385,6 +2407,21 @@ ] } }, + "com.amazonaws.sesv2#DkimSigningKeyLength": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "RSA_1024_BIT", + "name": "RSA_1024_BIT" + }, + { + "value": "RSA_2048_BIT", + "name": "RSA_2048_BIT" + } + ] + } + }, "com.amazonaws.sesv2#DkimStatus": { "type": "string", "traits": { @@ -2532,7 +2569,7 @@ "Domain": { "target": "com.amazonaws.sesv2#Domain", "traits": { - "smithy.api#documentation": "A verified domain that’s associated with your AWS account and currently has an\n active Deliverability dashboard subscription.
" + "smithy.api#documentation": "A verified domain that’s associated with your Amazon Web Services account and currently has an\n active Deliverability dashboard subscription.
" } }, "SubscriptionStartDate": { @@ -2802,7 +2839,7 @@ } }, "traits": { - "smithy.api#documentation": "In the Amazon SES API v2, events include message sends, deliveries, opens,\n clicks, bounces, complaints and delivery delays. Event destinations are places that\n you can send information about these events to. For example, you can send event data to\n Amazon SNS to receive notifications when you receive bounces or complaints, or you can use\n Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
" + "smithy.api#documentation": "In the Amazon SES API v2, events include message sends, deliveries, opens,\n clicks, bounces, complaints and delivery delays. Event destinations\n are places that you can send information about these events to. For example, you can\n send event data to Amazon SNS to receive notifications when you receive bounces or\n complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
" } }, "com.amazonaws.sesv2#EventDestinationDefinition": { @@ -2973,7 +3010,7 @@ } ], "traits": { - "smithy.api#documentation": "Obtain information about the email-sending status and capabilities of your Amazon SES\n account in the current AWS Region.
", + "smithy.api#documentation": "Obtain information about the email-sending status and capabilities of your Amazon SES\n account in the current Amazon Web Services Region.
", "smithy.api#http": { "method": "GET", "uri": "/v2/email/account", @@ -3006,25 +3043,25 @@ "ProductionAccessEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { - "smithy.api#documentation": "Indicates whether or not your account has production access in the current AWS\n Region.
\nIf the value is false
, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.
Indicates whether or not your account has production access in the current Amazon Web Services\n Region.
\nIf the value is false
, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.
An object that contains information about the per-day and per-second sending limits\n for your Amazon SES account in the current AWS Region.
" + "smithy.api#documentation": "An object that contains information about the per-day and per-second sending limits\n for your Amazon SES account in the current Amazon Web Services Region.
" } }, "SendingEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { - "smithy.api#documentation": "Indicates whether or not email sending is enabled for your Amazon SES account in the\n current AWS Region.
" + "smithy.api#documentation": "Indicates whether or not email sending is enabled for your Amazon SES account in the\n current Amazon Web Services Region.
" } }, "SuppressionAttributes": { "target": "com.amazonaws.sesv2#SuppressionAttributes", "traits": { - "smithy.api#documentation": "An object that contains information about the email address suppression preferences\n for your account in the current AWS Region.
" + "smithy.api#documentation": "An object that contains information about the email address suppression preferences\n for your account in the current Amazon Web Services Region.
" } }, "Details": { @@ -3035,7 +3072,7 @@ } }, "traits": { - "smithy.api#documentation": "A list of details about the email-sending capabilities of your Amazon SES account in the\n current AWS Region.
" + "smithy.api#documentation": "A list of details about the email-sending capabilities of your Amazon SES account in the\n current Amazon Web Services Region.
" } }, "com.amazonaws.sesv2#GetBlacklistReports": { @@ -3189,7 +3226,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set that you want to obtain more information\n about.
", + "smithy.api#documentation": "The name of the configuration set.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3555,7 +3592,7 @@ "Ip": { "target": "com.amazonaws.sesv2#Ip", "traits": { - "smithy.api#documentation": "The IP address that you want to obtain more information about. The value you specify\n has to be a dedicated IP address that's assocaited with your AWS account.
", + "smithy.api#documentation": "The IP address that you want to obtain more information about. The value you specify\n has to be a dedicated IP address that's assocaited with your Amazon Web Services account.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3599,7 +3636,7 @@ } ], "traits": { - "smithy.api#documentation": "List the dedicated IP addresses that are associated with your AWS\n account.
", + "smithy.api#documentation": "List the dedicated IP addresses that are associated with your Amazon Web Services\n account.
", "smithy.api#http": { "method": "GET", "uri": "/v2/email/dedicated-ips", @@ -3647,7 +3684,7 @@ "DedicatedIps": { "target": "com.amazonaws.sesv2#DedicatedIpList", "traits": { - "smithy.api#documentation": "A list of dedicated IP addresses that are associated with your AWS account.
" + "smithy.api#documentation": "A list of dedicated IP addresses that are associated with your Amazon Web Services account.
" } }, "NextToken": { @@ -3658,7 +3695,7 @@ } }, "traits": { - "smithy.api#documentation": "Information about the dedicated IP addresses that are associated with your AWS\n account.
" + "smithy.api#documentation": "Information about the dedicated IP addresses that are associated with your Amazon Web Services\n account.
" } }, "com.amazonaws.sesv2#GetDeliverabilityDashboardOptions": { @@ -3681,7 +3718,7 @@ } ], "traits": { - "smithy.api#documentation": "Retrieve information about the status of the Deliverability dashboard for your account. When\n the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other\n metrics for the domains that you use to send email. You also gain the ability to perform\n predictive inbox placement tests.
\n \nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon SES and other AWS services. For more\n information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing.
", + "smithy.api#documentation": "Retrieve information about the status of the Deliverability dashboard for your account. When\n the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other\n metrics for the domains that you use to send email. You also gain the ability to perform\n predictive inbox placement tests.
\n \nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more\n information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing.
", "smithy.api#http": { "method": "GET", "uri": "/v2/email/deliverability-dashboard", @@ -3693,7 +3730,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "Retrieve information about the status of the Deliverability dashboard for your AWS account.\n When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and\n other metrics for your domains. You also gain the ability to perform predictive inbox placement tests.
\n \nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon SES and other AWS services. For more\n information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
" + "smithy.api#documentation": "Retrieve information about the status of the Deliverability dashboard for your Amazon Web Services account.\n When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and\n other metrics for your domains. You also gain the ability to perform predictive inbox placement tests.
\n \nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more\n information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
" } }, "com.amazonaws.sesv2#GetDeliverabilityDashboardOptionsResponse": { @@ -4023,7 +4060,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The email identity that you want to retrieve policies for.
", + "smithy.api#documentation": "The email identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4053,7 +4090,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The email identity that you want to retrieve details for.
", + "smithy.api#documentation": "The email identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4069,7 +4106,7 @@ "IdentityType": { "target": "com.amazonaws.sesv2#IdentityType", "traits": { - "smithy.api#documentation": "The email identity type.
" + "smithy.api#documentation": "The email identity type. Note: the MANAGED_DOMAIN
identity type is not\n supported.
The name of the template you want to retrieve.
", + "smithy.api#documentation": "The name of the template.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -4169,7 +4206,7 @@ "TemplateName": { "target": "com.amazonaws.sesv2#EmailTemplateName", "traits": { - "smithy.api#documentation": "The name of the template you want to retrieve.
", + "smithy.api#documentation": "The name of the template.
", "smithy.api#required": {} } }, @@ -4364,7 +4401,7 @@ "IdentityType": { "target": "com.amazonaws.sesv2#IdentityType", "traits": { - "smithy.api#documentation": "The email identity type. The identity type can be one of the following:
\n\n EMAIL_ADDRESS
– The identity is an email address.
\n DOMAIN
– The identity is a domain.
\n MANAGED_DOMAIN
– The identity is a domain that is managed\n by AWS.
The email identity type. Note: the MANAGED_DOMAIN
type is not supported\n for email identity types.
The email identity type. The identity type can be one of the following:
\n\n EMAIL_ADDRESS
– The identity is an email address.
\n DOMAIN
– The identity is a domain.
An object that contains information about the inbox placement data settings for a\n verified domain that’s associated with your AWS account. This data is available only\n if you enabled the Deliverability dashboard for the domain.
" + "smithy.api#documentation": "An object that contains information about the inbox placement data settings for a\n verified domain that’s associated with your Amazon Web Services account. This data is available only\n if you enabled the Deliverability dashboard for the domain.
" } }, "com.amazonaws.sesv2#InvalidNextTokenException": { @@ -4709,7 +4745,7 @@ } }, "traits": { - "smithy.api#documentation": "A request to obtain a list of configuration sets for your Amazon SES account in the current\n AWS Region.
" + "smithy.api#documentation": "A request to obtain a list of configuration sets for your Amazon SES account in the current\n Amazon Web Services Region.
" } }, "com.amazonaws.sesv2#ListConfigurationSetsResponse": { @@ -4718,7 +4754,7 @@ "ConfigurationSets": { "target": "com.amazonaws.sesv2#ConfigurationSetNameList", "traits": { - "smithy.api#documentation": "An array that contains all of the configuration sets in your Amazon SES account in the\n current AWS Region.
" + "smithy.api#documentation": "An array that contains all of the configuration sets in your Amazon SES account in the\n current Amazon Web Services Region.
" } }, "NextToken": { @@ -4729,7 +4765,7 @@ } }, "traits": { - "smithy.api#documentation": "A list of configuration sets in your Amazon SES account in the current AWS Region.
" + "smithy.api#documentation": "A list of configuration sets in your Amazon SES account in the current Amazon Web Services Region.
" } }, "com.amazonaws.sesv2#ListContactLists": { @@ -4918,7 +4954,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the existing custom verification email templates for your account in the current\n AWS Region.
\nFor more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer\n Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#documentation": "Lists the existing custom verification email templates for your account in the current\n Amazon Web Services Region.
\nFor more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer\n Guide.
\nYou can execute this operation no more than once per second.
", "smithy.api#http": { "method": "GET", "uri": "/v2/email/custom-verification-email-templates", @@ -4990,7 +5026,7 @@ } ], "traits": { - "smithy.api#documentation": "List all of the dedicated IP pools that exist in your AWS account in the current\n Region.
", + "smithy.api#documentation": "List all of the dedicated IP pools that exist in your Amazon Web Services account in the current\n Region.
", "smithy.api#http": { "method": "GET", "uri": "/v2/email/dedicated-ip-pools", @@ -5031,7 +5067,7 @@ "DedicatedIpPools": { "target": "com.amazonaws.sesv2#ListOfDedicatedIpPools", "traits": { - "smithy.api#documentation": "A list of all of the dedicated IP pools that are associated with your AWS account in\n the current Region.
" + "smithy.api#documentation": "A list of all of the dedicated IP pools that are associated with your Amazon Web Services account in\n the current Region.
" } }, "NextToken": { @@ -5238,7 +5274,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns a list of all of the email identities that are associated with your AWS\n account. An identity can be either an email address or a domain. This operation returns\n identities that are verified as well as those that aren't. This operation returns\n identities that are associated with Amazon SES and Amazon Pinpoint.
", + "smithy.api#documentation": "Returns a list of all of the email identities that are associated with your Amazon Web Services\n account. An identity can be either an email address or a domain. This operation returns\n identities that are verified as well as those that aren't. This operation returns\n identities that are associated with Amazon SES and Amazon Pinpoint.
", "smithy.api#http": { "method": "GET", "uri": "/v2/email/identities", @@ -5270,7 +5306,7 @@ } }, "traits": { - "smithy.api#documentation": "A request to list all of the email identities associated with your AWS account. This\n list includes identities that you've already verified, identities that are unverified,\n and identities that were verified in the past, but are no longer verified.
" + "smithy.api#documentation": "A request to list all of the email identities associated with your Amazon Web Services account. This\n list includes identities that you've already verified, identities that are unverified,\n and identities that were verified in the past, but are no longer verified.
" } }, "com.amazonaws.sesv2#ListEmailIdentitiesResponse": { @@ -5279,7 +5315,7 @@ "EmailIdentities": { "target": "com.amazonaws.sesv2#IdentityInfoList", "traits": { - "smithy.api#documentation": "An array that includes all of the email identities associated with your AWS\n account.
" + "smithy.api#documentation": "An array that includes all of the email identities associated with your Amazon Web Services\n account.
" } }, "NextToken": { @@ -5310,7 +5346,7 @@ } ], "traits": { - "smithy.api#documentation": "Lists the email templates present in your Amazon SES account in the current AWS\n Region.
\n\nYou can execute this operation no more than once per second.
", + "smithy.api#documentation": "Lists the email templates present in your Amazon SES account in the current Amazon Web Services\n Region.
\n\nYou can execute this operation no more than once per second.
", "smithy.api#http": { "method": "GET", "uri": "/v2/email/templates", @@ -5342,7 +5378,7 @@ } }, "traits": { - "smithy.api#documentation": "Represents a request to list the email templates present in your Amazon SES account in the\n current AWS Region. For more information, see the Amazon SES Developer\n Guide.
" + "smithy.api#documentation": "Represents a request to list the email templates present in your Amazon SES account in the\n current Amazon Web Services Region. For more information, see the Amazon SES Developer\n Guide.
" } }, "com.amazonaws.sesv2#ListEmailTemplatesResponse": { @@ -5482,7 +5518,7 @@ "target": "com.amazonaws.sesv2#PoolName" }, "traits": { - "smithy.api#documentation": "A list of dedicated IP pools that are associated with your AWS account.
" + "smithy.api#documentation": "A list of dedicated IP pools that are associated with your Amazon Web Services account.
" } }, "com.amazonaws.sesv2#ListSuppressedDestinations": { @@ -5654,7 +5690,7 @@ "BehaviorOnMxFailure": { "target": "com.amazonaws.sesv2#BehaviorOnMxFailure", "traits": { - "smithy.api#documentation": "The action that you want to take if the required MX record can't be found when you\n send an email. When you set this value to UseDefaultValue
, the mail is sent\n using amazonses.com as the MAIL FROM domain. When you set this\n value to RejectMessage
, the Amazon SES API v2 returns a\n MailFromDomainNotVerified
error, and doesn't attempt to deliver the\n email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the\n Pending
, Failed
, and TemporaryFailure
\n states.
The action to take if the required MX record can't be found when you send an email.\n When you set this value to UseDefaultValue
, the mail is sent using\n amazonses.com as the MAIL FROM domain. When you set this value\n to RejectMessage
, the Amazon SES API v2 returns a\n MailFromDomainNotVerified
error, and doesn't attempt to deliver the\n email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the\n Pending
, Failed
, and TemporaryFailure
\n states.
The domain that you want to use as a MAIL FROM domain.
" + "smithy.api#documentation": "The domain to use as a MAIL FROM domain.
" } }, "com.amazonaws.sesv2#MailFromDomainNotVerifiedException": { @@ -5884,7 +5920,7 @@ "ApplicationArn": { "target": "com.amazonaws.sesv2#AmazonResourceName", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon Pinpoint project that you want to send email\n events to.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon Pinpoint project to send email events to.
" } } }, @@ -6015,7 +6051,7 @@ "AutoWarmupEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { - "smithy.api#documentation": "Enables or disables the automatic warm-up feature for dedicated IP addresses that are\n associated with your Amazon SES account in the current AWS Region. Set to true
\n to enable the automatic warm-up feature, or set to false
to disable\n it.
Enables or disables the automatic warm-up feature for dedicated IP addresses that are\n associated with your Amazon SES account in the current Amazon Web Services Region. Set to true
\n to enable the automatic warm-up feature, or set to false
to disable\n it.
Indicates whether or not your account should have production access in the current\n AWS Region.
\nIf the value is false
, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.
Indicates whether or not your account should have production access in the current\n Amazon Web Services Region.
\nIf the value is false
, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.
If the value is true
, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.
Enables or disables your account's ability to send email. Set to true
to\n enable email sending, or set to false
to disable email sending.
If AWS paused your account's ability to send email, you can't use this operation\n to resume your account's ability to send email.
\nEnables or disables your account's ability to send email. Set to true
to\n enable email sending, or set to false
to disable email sending.
If Amazon Web Services paused your account's ability to send email, you can't use this operation\n to resume your account's ability to send email.
\nThe name of the configuration set that you want to associate with a dedicated IP\n pool.
", + "smithy.api#documentation": "The name of the configuration set to associate with a dedicated IP pool.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6252,7 +6288,7 @@ "SendingPoolName": { "target": "com.amazonaws.sesv2#SendingPoolName", "traits": { - "smithy.api#documentation": "The name of the dedicated IP pool that you want to associate with the configuration\n set.
" + "smithy.api#documentation": "The name of the dedicated IP pool to associate with the configuration set.
" } } }, @@ -6287,7 +6323,7 @@ } ], "traits": { - "smithy.api#documentation": "Enable or disable collection of reputation metrics for emails that you send using a\n particular configuration set in a specific AWS Region.
", + "smithy.api#documentation": "Enable or disable collection of reputation metrics for emails that you send using a\n particular configuration set in a specific Amazon Web Services Region.
", "smithy.api#http": { "method": "PUT", "uri": "/v2/email/configuration-sets/{ConfigurationSetName}/reputation-options", @@ -6301,7 +6337,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set that you want to enable or disable reputation metric\n tracking for.
", + "smithy.api#documentation": "The name of the configuration set.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6344,7 +6380,7 @@ } ], "traits": { - "smithy.api#documentation": "Enable or disable email sending for messages that use a particular configuration set\n in a specific AWS Region.
", + "smithy.api#documentation": "Enable or disable email sending for messages that use a particular configuration set\n in a specific Amazon Web Services Region.
", "smithy.api#http": { "method": "PUT", "uri": "/v2/email/configuration-sets/{ConfigurationSetName}/sending", @@ -6358,7 +6394,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set that you want to enable or disable email sending\n for.
", + "smithy.api#documentation": "The name of the configuration set to enable or disable email sending for.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6415,7 +6451,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set that you want to change the suppression list\n preferences for.
", + "smithy.api#documentation": "The name of the configuration set to change the suppression list preferences\n for.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6423,7 +6459,7 @@ "SuppressedReasons": { "target": "com.amazonaws.sesv2#SuppressionListReasons", "traits": { - "smithy.api#documentation": "A list that contains the reasons that email addresses are automatically added to the\n suppression list for your account. This list can contain any or all of the\n following:
\n\n COMPLAINT
– Amazon SES adds an email address to the suppression\n list for your account when a message sent to that address results in a\n complaint.
\n BOUNCE
– Amazon SES adds an email address to the suppression\n list for your account when a message sent to that address results in a\n hard bounce.
A list that contains the reasons that email addresses are automatically added to the\n suppression list for your account. This list can contain any or all of the\n following:
\n\n COMPLAINT
– Amazon SES adds an email address to the suppression\n list for your account when a message sent to that address results in a\n complaint.
\n BOUNCE
– Amazon SES adds an email address to the suppression\n list for your account when a message sent to that address results in a hard\n bounce.
The name of the configuration set that you want to add a custom tracking domain\n to.
", + "smithy.api#documentation": "The name of the configuration set.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6480,7 +6516,7 @@ "CustomRedirectDomain": { "target": "com.amazonaws.sesv2#CustomRedirectDomain", "traits": { - "smithy.api#documentation": "The domain that you want to use to track open and click events.
" + "smithy.api#documentation": "The domain to use to track open and click events.
" } } }, @@ -6515,7 +6551,7 @@ } ], "traits": { - "smithy.api#documentation": "Move a dedicated IP address to an existing dedicated IP pool.
\nThe dedicated IP address that you specify must already exist, and must be\n associated with your AWS account.\n \n
\nThe dedicated IP pool you specify must already exist. You can create a new pool by\n using the CreateDedicatedIpPool
operation.
Move a dedicated IP address to an existing dedicated IP pool.
\nThe dedicated IP address that you specify must already exist, and must be\n associated with your Amazon Web Services account.\n \n
\nThe dedicated IP pool you specify must already exist. You can create a new pool by\n using the CreateDedicatedIpPool
operation.
The IP address that you want to move to the dedicated IP pool. The value you specify\n has to be a dedicated IP address that's associated with your AWS account.
", + "smithy.api#documentation": "The IP address that you want to move to the dedicated IP pool. The value you specify\n has to be a dedicated IP address that's associated with your Amazon Web Services account.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6637,7 +6673,7 @@ } ], "traits": { - "smithy.api#documentation": "Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain\n access to reputation, deliverability, and other metrics for the domains that you use to\n send email. You also gain the ability to perform predictive inbox placement tests.
\n \nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon SES and other AWS services. For more\n information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing.
", + "smithy.api#documentation": "Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain\n access to reputation, deliverability, and other metrics for the domains that you use to\n send email. You also gain the ability to perform predictive inbox placement tests.
\n \nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more\n information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing.
", "smithy.api#http": { "method": "PUT", "uri": "/v2/email/deliverability-dashboard", @@ -6663,7 +6699,7 @@ } }, "traits": { - "smithy.api#documentation": "Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain\n access to reputation, deliverability, and other metrics for the domains that you use to\n send email using Amazon SES API v2. You also gain the ability to perform predictive inbox placement tests.
\nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon SES and other AWS services. For more\n information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
" + "smithy.api#documentation": "Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain\n access to reputation, deliverability, and other metrics for the domains that you use to\n send email using Amazon SES API v2. You also gain the ability to perform predictive inbox placement tests.
\nWhen you use the Deliverability dashboard, you pay a monthly subscription charge, in addition\n to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more\n information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
" } }, "com.amazonaws.sesv2#PutDeliverabilityDashboardOptionResponse": { @@ -6707,7 +6743,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The email address or domain that you want to associate with a configuration set.
", + "smithy.api#documentation": "The email address or domain to associate with a configuration set.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6715,7 +6751,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The configuration set that you want to associate with an email identity.
" + "smithy.api#documentation": "The configuration set to associate with an email identity.
" } } }, @@ -6727,7 +6763,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
" + "smithy.api#documentation": "If the action is successful, the service sends back an HTTP 200 response with an empty\n HTTP body.
" } }, "com.amazonaws.sesv2#PutEmailIdentityDkimAttributes": { @@ -6764,7 +6800,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The email identity that you want to change the DKIM settings for.
", + "smithy.api#documentation": "The email identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6807,7 +6843,7 @@ } ], "traits": { - "smithy.api#documentation": "Used to configure or change the DKIM authentication settings for an email domain\n identity. You can use this operation to do any of the following:
\nUpdate the signing attributes for an identity that uses Bring Your Own DKIM\n (BYODKIM).
\nChange from using no DKIM authentication to using Easy DKIM.
\nChange from using no DKIM authentication to using BYODKIM.
\nChange from using Easy DKIM to using BYODKIM.
\nChange from using BYODKIM to using Easy DKIM.
\nUsed to configure or change the DKIM authentication settings for an email domain\n identity. You can use this operation to do any of the following:
\nUpdate the signing attributes for an identity that uses Bring Your Own DKIM\n (BYODKIM).
\nUpdate the key length that should be used for Easy DKIM.
\nChange from using no DKIM authentication to using Easy DKIM.
\nChange from using no DKIM authentication to using BYODKIM.
\nChange from using Easy DKIM to using BYODKIM.
\nChange from using BYODKIM to using Easy DKIM.
\nThe email identity that you want to configure DKIM for.
", + "smithy.api#documentation": "The email identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6829,14 +6865,14 @@ "SigningAttributesOrigin": { "target": "com.amazonaws.sesv2#DkimSigningAttributesOrigin", "traits": { - "smithy.api#documentation": "The method that you want to use to configure DKIM for the identity. There are two\n possible values:
\n\n AWS_SES
– Configure DKIM for the identity by using Easy\n DKIM.
\n EXTERNAL
– Configure DKIM for the identity by using Bring\n Your Own DKIM (BYODKIM).
The method to use to configure DKIM for the identity. There are the following possible\n values:
\n\n AWS_SES
– Configure DKIM for the identity by using Easy\n DKIM.
\n EXTERNAL
– Configure DKIM for the identity by using Bring\n Your Own DKIM (BYODKIM).
An object that contains information about the private key and selector that you want\n to use to configure DKIM for the identity. This object is only required if you want to\n configure Bring Your Own DKIM (BYODKIM) for the identity.
" + "smithy.api#documentation": "An object that contains information about the private key and selector that you want\n to use to configure DKIM for the identity for Bring Your Own DKIM (BYODKIM) for the identity, or,\n configures the key length to be used for\n Easy DKIM.
" } } }, @@ -6898,7 +6934,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The email identity that you want to configure bounce and complaint feedback forwarding\n for.
", + "smithy.api#documentation": "The email identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6955,7 +6991,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The verified email identity that you want to set up the custom MAIL FROM domain\n for.
", + "smithy.api#documentation": "The verified email identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -6969,7 +7005,7 @@ "BehaviorOnMxFailure": { "target": "com.amazonaws.sesv2#BehaviorOnMxFailure", "traits": { - "smithy.api#documentation": "The action that you want to take if the required MX record isn't found when you send\n an email. When you set this value to UseDefaultValue
, the mail is sent\n using amazonses.com as the MAIL FROM domain. When you set this\n value to RejectMessage
, the Amazon SES API v2 returns a\n MailFromDomainNotVerified
error, and doesn't attempt to deliver the\n email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the\n Pending
, Failed
, and TemporaryFailure
\n states.
The action to take if the required MX record isn't found when you send an email. When\n you set this value to UseDefaultValue
, the mail is sent using\n amazonses.com as the MAIL FROM domain. When you set this value\n to RejectMessage
, the Amazon SES API v2 returns a\n MailFromDomainNotVerified
error, and doesn't attempt to deliver the\n email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the\n Pending
, Failed
, and TemporaryFailure
\n states.
Enable or disable collection of reputation metrics for emails that you send using this\n configuration set in the current AWS Region.
" + "smithy.api#documentation": "Enable or disable collection of reputation metrics for emails that you send using this\n configuration set in the current Amazon Web Services Region.
" } }, "com.amazonaws.sesv2#ReviewDetails": { @@ -7240,7 +7276,7 @@ "FromEmailAddress": { "target": "com.amazonaws.sesv2#EmailAddress", "traits": { - "smithy.api#documentation": "The email address that you want to use as the \"From\" address for the email. The\n address that you specify has to be verified.
" + "smithy.api#documentation": "The email address to use as the \"From\" address for the email. The\n address that you specify has to be verified.
" } }, "FromEmailAddressIdentityArn": { @@ -7290,7 +7326,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set that you want to use when sending the email.
" + "smithy.api#documentation": "The name of the configuration set to use when sending the email.
" } } }, @@ -7304,6 +7340,7 @@ "BulkEmailEntryResults": { "target": "com.amazonaws.sesv2#BulkEmailEntryResultList", "traits": { + "smithy.api#documentation": "One object per intended recipient. Check each response object and retry any messages\n with a failure status.
", "smithy.api#required": {} } } @@ -7344,7 +7381,7 @@ } ], "traits": { - "smithy.api#documentation": "Adds an email address to the list of identities for your Amazon SES account in the current\n AWS Region and attempts to verify it. As a result of executing this operation, a\n customized verification email is sent to the specified address.
\nTo use this operation, you must first create a custom verification email template. For\n more information about creating and using custom verification email templates, see\n Using Custom Verification Email Templates in the Amazon SES Developer\n Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#documentation": "Adds an email address to the list of identities for your Amazon SES account in the current\n Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a\n customized verification email is sent to the specified address.
\nTo use this operation, you must first create a custom verification email template. For\n more information about creating and using custom verification email templates, see\n Using Custom Verification Email Templates in the Amazon SES Developer\n Guide.
\nYou can execute this operation no more than once per second.
", "smithy.api#http": { "method": "POST", "uri": "/v2/email/outbound-custom-verification-emails", @@ -7429,7 +7466,7 @@ } ], "traits": { - "smithy.api#documentation": "Sends an email message. You can use the Amazon SES API v2 to send two types of\n messages:
\n\n Simple – A standard email message. When\n you create this type of message, you specify the sender, the recipient, and the\n message body, and Amazon SES assembles the message for you.
\n\n Raw – A raw, MIME-formatted email\n message. When you send this type of email, you have to specify all of the\n message headers, as well as the message body. You can use this message type to\n send messages that contain attachments. The message that you specify has to be a\n valid MIME message.
\n\n Templated – A message that contains\n personalization tags. When you send this type of email, Amazon SES API v2 automatically\n replaces the tags with values that you specify.
\nSends an email message. You can use the Amazon SES API v2 to send the following types of\n messages:
\n\n Simple – A standard email message. When\n you create this type of message, you specify the sender, the recipient, and the\n message body, and Amazon SES assembles the message for you.
\n\n Raw – A raw, MIME-formatted email\n message. When you send this type of email, you have to specify all of the\n message headers, as well as the message body. You can use this message type to\n send messages that contain attachments. The message that you specify has to be a\n valid MIME message.
\n\n Templated – A message that contains\n personalization tags. When you send this type of email, Amazon SES API v2 automatically\n replaces the tags with values that you specify.
\nThe email address that you want to use as the \"From\" address for the email. The\n address that you specify has to be verified.\n
" + "smithy.api#documentation": "The email address to use as the \"From\" address for the email. The\n address that you specify has to be verified.\n
" } }, "FromEmailAddressIdentityArn": { @@ -7492,7 +7529,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set that you want to use when sending the email.
" + "smithy.api#documentation": "The name of the configuration set to use when sending the email.
" } }, "ListManagementOptions": { @@ -7526,24 +7563,24 @@ "Max24HourSend": { "target": "com.amazonaws.sesv2#Max24HourSend", "traits": { - "smithy.api#documentation": "The maximum number of emails that you can send in the current AWS Region over a\n 24-hour period. This value is also called your sending\n quota.
" + "smithy.api#documentation": "The maximum number of emails that you can send in the current Amazon Web Services Region over a\n 24-hour period. This value is also called your sending\n quota.
" } }, "MaxSendRate": { "target": "com.amazonaws.sesv2#MaxSendRate", "traits": { - "smithy.api#documentation": "The maximum number of emails that you can send per second in the current AWS Region.\n This value is also called your maximum sending rate or your\n maximum TPS (transactions per second) rate.
" + "smithy.api#documentation": "The maximum number of emails that you can send per second in the current Amazon Web Services Region.\n This value is also called your maximum sending rate or your\n maximum TPS (transactions per second) rate.
" } }, "SentLast24Hours": { "target": "com.amazonaws.sesv2#SentLast24Hours", "traits": { - "smithy.api#documentation": "The number of emails sent from your Amazon SES account in the current AWS Region over the\n past 24 hours.
" + "smithy.api#documentation": "The number of emails sent from your Amazon SES account in the current Amazon Web Services Region over the\n past 24 hours.
" } } }, "traits": { - "smithy.api#documentation": "An object that contains information about the per-day and per-second sending limits\n for your Amazon SES account in the current AWS Region.
" + "smithy.api#documentation": "An object that contains information about the per-day and per-second sending limits\n for your Amazon SES account in the current Amazon Web Services Region.
" } }, "com.amazonaws.sesv2#SendingOptions": { @@ -7557,7 +7594,7 @@ } }, "traits": { - "smithy.api#documentation": "Used to enable or disable email sending for messages that use this configuration set\n in the current AWS Region.
" + "smithy.api#documentation": "Used to enable or disable email sending for messages that use this configuration set\n in the current Amazon Web Services Region.
" } }, "com.amazonaws.sesv2#SendingPausedException": { @@ -7576,7 +7613,7 @@ "com.amazonaws.sesv2#SendingPoolName": { "type": "string", "traits": { - "smithy.api#documentation": "The name of the dedicated IP pool that you want to associate with the configuration\n set.
" + "smithy.api#documentation": "The name of the dedicated IP pool to associate with the configuration set.
" } }, "com.amazonaws.sesv2#SentLast24Hours": { @@ -7842,7 +7879,7 @@ "name": "ses" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Welcome to the Amazon SES API v2 Reference. This guide provides information about the Amazon SES API v2,\n including supported operations, data types, parameters, and schemas.
\n\n Amazon SES is an AWS service that\n you can use to send email messages to your customers.
\nIf you're new to Amazon SES API v2, you might find it helpful to also review the Amazon Simple Email Service Developer\n Guide. The Amazon SES Developer Guide provides information\n and code samples that demonstrate how to use Amazon SES API v2 features programmatically.
\nThe Amazon SES API v2 is available in several AWS Regions and it provides an endpoint for each\n of these Regions. For a list of all the Regions and endpoints where the API is currently\n available, see AWS Service Endpoints in the Amazon Web Services General Reference. To\n learn more about AWS Regions, see Managing AWS Regions in the\n Amazon Web Services General Reference.
\nIn each Region, AWS maintains multiple Availability Zones. These Availability Zones\n are physically isolated from each other, but are united by private, low-latency,\n high-throughput, and highly redundant network connections. These Availability Zones\n enable us to provide very high levels of availability and redundancy, while also\n minimizing latency. To learn more about the number of Availability Zones that are\n available in each Region, see AWS Global Infrastructure.
", + "smithy.api#documentation": "\n Amazon SES is an Amazon Web Services service that\n you can use to send email messages to your customers.
\nIf you're new to Amazon SES API v2, you might find it helpful to review the Amazon Simple Email Service Developer\n Guide. The Amazon SES Developer Guide provides information\n and code samples that demonstrate how to use Amazon SES API v2 features programmatically.
", "smithy.api#title": "Amazon Simple Email Service" } }, @@ -7852,7 +7889,7 @@ "TopicArn": { "target": "com.amazonaws.sesv2#AmazonResourceName", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email\n events to. For more information about Amazon SNS topics, see the Amazon SNS Developer\n Guide.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to. For\n more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
", "smithy.api#required": {} } } @@ -7986,7 +8023,7 @@ } }, "traits": { - "smithy.api#documentation": "An object that contains information about the email address suppression preferences\n for your account in the current AWS Region.
" + "smithy.api#documentation": "An object that contains information about the email address suppression preferences\n for your account in the current Amazon Web Services Region.
" } }, "com.amazonaws.sesv2#SuppressionListDestination": { @@ -7995,7 +8032,7 @@ "SuppressionListImportAction": { "target": "com.amazonaws.sesv2#SuppressionListImportAction", "traits": { - "smithy.api#documentation": "The type of action that you want to perform on the address. Acceptable values:
\nPUT: add the addresses to the suppression list. If the record already exists,\n it will override it with the new value.
\nDELETE: remove the addresses from the suppression list.
\nThe type of action to perform on the address. The following are possible values:
\nPUT: add the addresses to the suppression list. If the record already exists,\n it will override it with the new value.
\nDELETE: remove the addresses from the suppression list.
\nThe type of action that you want to perform on the address. Acceptable values:
\nPUT: add the addresses to the suppression list.
\nDELETE: remove the address from the suppression list.
\nThe type of action to perform on the address. The following are possible values:
\nPUT: add the addresses to the suppression list.
\nDELETE: remove the address from the suppression list.
\nAn object that defines the tags that are associated with a resource.\n A tag is a label that you optionally define and associate with\n a resource. Tags can help you categorize and manage resources in different ways, such as\n by purpose, owner, environment, or other criteria. A resource can have as many as 50\n tags.
\nEach tag consists of a required tag key and an\n associated tag value, both of which you define. A tag key is a\n general label that acts as a category for a more specific tag value. A tag value acts as\n a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag\n value can contain as many as 256 characters. The characters can be Unicode letters,\n digits, white space, or one of the following symbols: _ . : / = + -. The following\n additional restrictions apply to tags:
\nTag keys and values are case sensitive.
\nFor each associated resource, each tag key must be unique and it can have only\n one value.
\nThe aws:
prefix is reserved for use by AWS; you can’t use it in\n any tag keys or values that you define. In addition, you can't edit or remove\n tag keys or values that use this prefix. Tags that use this prefix don’t count\n against the limit of 50 tags per resource.
You can associate tags with public or shared resources, but the tags are\n available only for your AWS account, not any other accounts that share the\n resource. In addition, the tags are available only for resources that are\n located in the specified AWS Region for your AWS account.
\nAn object that defines the tags that are associated with a resource.\n A tag is a label that you optionally define and associate with\n a resource. Tags can help you categorize and manage resources in different ways, such as\n by purpose, owner, environment, or other criteria. A resource can have as many as 50\n tags.
\nEach tag consists of a required tag key and an\n associated tag value, both of which you define. A tag key is a\n general label that acts as a category for a more specific tag value. A tag value acts as\n a descriptor within a tag key. A tag key can contain as many as 128 characters. A tag\n value can contain as many as 256 characters. The characters can be Unicode letters,\n digits, white space, or one of the following symbols: _ . : / = + -. The following\n additional restrictions apply to tags:
\nTag keys and values are case sensitive.
\nFor each associated resource, each tag key must be unique and it can have only\n one value.
\nThe aws:
prefix is reserved for use by Amazon Web Services; you can’t use it in\n any tag keys or values that you define. In addition, you can't edit or remove\n tag keys or values that use this prefix. Tags that use this prefix don’t count\n against the limit of 50 tags per resource.
You can associate tags with public or shared resources, but the tags are\n available only for your Amazon Web Services account, not any other accounts that share the\n resource. In addition, the tags are available only for resources that are\n located in the specified Amazon Web Services Region for your Amazon Web Services account.
\nThe name of the template that you want to render.
", + "smithy.api#documentation": "The name of the template.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8378,13 +8415,13 @@ "CustomRedirectDomain": { "target": "com.amazonaws.sesv2#CustomRedirectDomain", "traits": { - "smithy.api#documentation": "The domain that you want to use for tracking open and click events.
", + "smithy.api#documentation": "The domain to use for tracking open and click events.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "An object that defines the tracking options for a configuration set. When you use the\n Amazon SES API v2 to send an email, it contains an invisible image that's used to track when\n recipients open your email. If your email contains links, those links are changed\n slightly in order to track when recipients click them.
\nThese images and links include references to a domain operated by AWS. You can\n optionally configure the Amazon SES to use a domain that you operate for these images and\n links.
" + "smithy.api#documentation": "An object that defines the tracking options for a configuration set. When you use the\n Amazon SES API v2 to send an email, it contains an invisible image that's used to track when\n recipients open your email. If your email contains links, those links are changed\n slightly in order to track when recipients click them.
\nThese images and links include references to a domain operated by Amazon Web Services. You can\n optionally configure the Amazon SES to use a domain that you operate for these images and\n links.
" } }, "com.amazonaws.sesv2#UnsubscribeAll": { @@ -8480,7 +8517,7 @@ "ConfigurationSetName": { "target": "com.amazonaws.sesv2#ConfigurationSetName", "traits": { - "smithy.api#documentation": "The name of the configuration set that contains the event destination that you want to\n modify.
", + "smithy.api#documentation": "The name of the configuration set that contains the event destination to\n modify.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8488,7 +8525,7 @@ "EventDestinationName": { "target": "com.amazonaws.sesv2#EventDestinationName", "traits": { - "smithy.api#documentation": "The name of the event destination that you want to modify.
", + "smithy.api#documentation": "The name of the event destination.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8766,7 +8803,7 @@ "EmailIdentity": { "target": "com.amazonaws.sesv2#Identity", "traits": { - "smithy.api#documentation": "The email identity for which you want to update policy.
", + "smithy.api#documentation": "The email identity.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8818,7 +8855,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates an email template. Email templates enable you to send personalized email to\n one or more destinations in a single API operation. For more information, see the Amazon SES\n Developer Guide.
\nYou can execute this operation no more than once per second.
", + "smithy.api#documentation": "Updates an email template. Email templates enable you to send personalized email to\n one or more destinations in a single API operation. For more information, see the Amazon SES Developer\n Guide.
\nYou can execute this operation no more than once per second.
", "smithy.api#http": { "method": "PUT", "uri": "/v2/email/templates/{TemplateName}", @@ -8832,7 +8869,7 @@ "TemplateName": { "target": "com.amazonaws.sesv2#EmailTemplateName", "traits": { - "smithy.api#documentation": "The name of the template you want to update.
", + "smithy.api#documentation": "The name of the template.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -8931,7 +8968,7 @@ "min": 1, "max": 1000 }, - "smithy.api#pattern": "^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?", + "smithy.api#pattern": "^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$", "smithy.api#sensitive": {} } } diff --git a/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json b/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json index 6244750d7373..eaf9da18e3d1 100644 --- a/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json +++ b/codegen/sdk-codegen/aws-models/ssm.2014-11-06.json @@ -853,7 +853,7 @@ "Targets": { "target": "com.amazonaws.ssm#Targets", "traits": { - "smithy.api#documentation": "The instances targeted by the request to create an association.
" + "smithy.api#documentation": "The instances targeted by the request to create an association. You can target all instances\n in an Amazon Web Services account by specifying the InstanceIds
key with a value of\n *
.
The targets for the association. You can target instances by using tags, Amazon Web Services resource\n groups, all instances in an Amazon Web Services account, or individual instance IDs. For more information about\n choosing targets for an association, see Using targets and rate controls with State Manager associations in the\n Amazon Web Services Systems Manager User Guide.
" + "smithy.api#documentation": "The targets for the association. You can target instances by using tags, Amazon Web Services resource\n groups, all instances in an Amazon Web Services account, or individual instance IDs. You can target all\n instances in an Amazon Web Services account by specifying the InstanceIds
key with a value of\n *
. For more information about choosing targets for an association, see Using targets and rate controls with State Manager associations in the\n Amazon Web Services Systems Manager User Guide.
(Deprecated) You can no longer specify this parameter. The system ignores it. Instead,\n Amazon Web Services Systems Manager automatically determines the Region of the S3 bucket.
" + "smithy.api#documentation": "The Amazon Web Services Region of the S3 bucket.
" } }, "OutputS3BucketName": { @@ -23396,6 +23396,12 @@ "smithy.api#documentation": "The user-provided idempotency token. The token must be unique, is case insensitive, enforces\n the UUID format, and can't be reused.
" } }, + "AutoApprove": { + "target": "com.amazonaws.ssm#Boolean", + "traits": { + "smithy.api#documentation": "Indicates whether the change request can be approved automatically without the need for\n manual approvals.
\nIf AutoApprovable
is enabled in a change template, then setting\n AutoApprove
to true
in StartChangeRequestExecution
\n creates a change request that bypasses approver review.
Change Calendar restrictions are not bypassed in this scenario. If the state of an\n associated calendar is CLOSED
, change freeze approvers must still grant permission\n for this change request to run. If they don't, the change won't be processed until the calendar\n state is again OPEN
.
A structure that contains the configuration of the encryption-at-rest settings for artifacts that the canary uploads\n to Amazon S3. \n Artifact encryption functionality is available only for canaries that use Synthetics runtime version \n syn-nodejs-puppeteer-3.3 or later. For more information, see\n Encrypting canary artifacts\n
" + } + } + }, + "traits": { + "smithy.api#documentation": "A structure that contains the configuration for canary artifacts, including the \n encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
" + } + }, + "com.amazonaws.synthetics#ArtifactConfigOutput": { + "type": "structure", + "members": { + "S3Encryption": { + "target": "com.amazonaws.synthetics#S3EncryptionConfig", + "traits": { + "smithy.api#documentation": "A structure that contains the configuration of encryption settings for canary artifacts that are stored in Amazon S3.
" + } + } + }, + "traits": { + "smithy.api#documentation": "A structure that contains the configuration for canary artifacts, including \n the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
" + } + }, "com.amazonaws.synthetics#BaseScreenshot": { "type": "structure", "members": { @@ -184,6 +212,12 @@ "traits": { "smithy.api#documentation": "The list of key-value pairs that are associated with the canary.
" } + }, + "ArtifactConfig": { + "target": "com.amazonaws.synthetics#ArtifactConfigOutput", + "traits": { + "smithy.api#documentation": "A structure that contains the configuration for canary artifacts, including \n the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
" + } } }, "traits": { @@ -736,6 +770,12 @@ "traits": { "smithy.api#documentation": "A list of key-value pairs to associate with the canary. \n You can associate as many as 50 tags with a canary.
\nTags can help you organize and categorize your\n resources. You can also use them to scope user permissions, by \n granting a user permission to access or change only the resources that have\n certain tag values.
" } + }, + "ArtifactConfig": { + "target": "com.amazonaws.synthetics#ArtifactConfigInput", + "traits": { + "smithy.api#documentation": "A structure that contains the configuration for canary artifacts, including \n the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
" + } } } }, @@ -990,6 +1030,21 @@ } } }, + "com.amazonaws.synthetics#EncryptionMode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SSE_S3", + "name": "SSE_S3" + }, + { + "value": "SSE_KMS", + "name": "SSE_KMS" + } + ] + } + }, "com.amazonaws.synthetics#EnvironmentVariableName": { "type": "string", "traits": { @@ -1158,6 +1213,16 @@ "smithy.api#httpError": 500 } }, + "com.amazonaws.synthetics#KmsKeyArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:kms:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:key/[\\w\\-\\/]+$" + } + }, "com.amazonaws.synthetics#ListTagsForResource": { "type": "operation", "input": { @@ -1337,6 +1402,26 @@ "target": "com.amazonaws.synthetics#RuntimeVersion" } }, + "com.amazonaws.synthetics#S3EncryptionConfig": { + "type": "structure", + "members": { + "EncryptionMode": { + "target": "com.amazonaws.synthetics#EncryptionMode", + "traits": { + "smithy.api#documentation": " The encryption method to use for artifacts created by this canary. Specify SSE_S3
to use\n server-side encryption (SSE) with an Amazon S3-managed\n key. Specify SSE-KMS
to use server-side encryption with a customer-managed KMS key.
If you omit this parameter, an \n Amazon Web Services-managed KMS key is used.\n
" + } + }, + "KmsKeyArn": { + "target": "com.amazonaws.synthetics#KmsKeyArn", + "traits": { + "smithy.api#documentation": "The ARN of the customer-managed KMS key to use, if you specify SSE-KMS
\n for EncryptionMode
\n
A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary\n uploads to Amazon S3.
\nFor more information, see\n Encrypting canary artifacts\n
" + } + }, "com.amazonaws.synthetics#SecurityGroupId": { "type": "string" }, @@ -1796,6 +1881,18 @@ "traits": { "smithy.api#documentation": "Defines the screenshots to use as the baseline for comparisons during visual monitoring comparisons during future runs of this canary. If you omit this \n parameter, no changes are made to any baseline screenshots that the canary might be using already.
\nVisual monitoring is supported only on canaries running the syn-puppeteer-node-3.2\n runtime or later. For more information, see \n Visual monitoring and \n Visual monitoring blueprint\n
" } + }, + "ArtifactS3Location": { + "target": "com.amazonaws.synthetics#String", + "traits": { + "smithy.api#documentation": "The location in Amazon S3 where Synthetics stores artifacts from the test runs of this canary. \n Artifacts include the log file, screenshots, and HAR files. The name of the\n S3 bucket can't include a period (.).
" + } + }, + "ArtifactConfig": { + "target": "com.amazonaws.synthetics#ArtifactConfigInput", + "traits": { + "smithy.api#documentation": "A structure that contains the configuration for canary artifacts, \n including the encryption-at-rest settings for artifacts that \n the canary uploads to Amazon S3.
" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/transfer.2018-11-05.json b/codegen/sdk-codegen/aws-models/transfer.2018-11-05.json index 4f7e9c9964df..37a104462e2d 100644 --- a/codegen/sdk-codegen/aws-models/transfer.2018-11-05.json +++ b/codegen/sdk-codegen/aws-models/transfer.2018-11-05.json @@ -170,7 +170,7 @@ "HomeDirectoryMappings": { "target": "com.amazonaws.transfer#HomeDirectoryMappings", "traits": { - "smithy.api#documentation": "Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should\n be visible to your user and how you want to make them visible. You must specify the\n Entry
and Target
pair, where Entry
shows how the path\n is made visible and Target
is the actual Amazon S3 or Amazon EFS path. If you\n only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity\n and Access Management (IAM) role provides access to paths in Target
. This value\n can only be set when HomeDirectoryType
is set to\n LOGICAL.
The following is an Entry
and Target
pair example.
\n [ { \"Entry\": \"your-personal-report.pdf\", \"Target\": \"/bucket3/customized-reports/${transfer:UserName}.pdf\" } ]
\n
In most cases, you can use this value instead of the session policy to lock down your\n user to the designated home directory (\"chroot
\"). To do this, you can set\n Entry
to /
and set Target
to the\n HomeDirectory
parameter value.
The following is an Entry
and Target
pair example for chroot
.
\n [ { \"Entry:\": \"/\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is\n ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place\n holders for your directory. If using the CLI, use the s3api
or efsapi
call instead of\n s3
or efs
so you can use the put-object operation. For example, you use the\n following: aws s3api put-object --bucket bucketname --key path/to/folder/
. Make\n sure that the end of the key name ends in a /
for it to be considered a folder.
Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should\n be visible to your user and how you want to make them visible. You must specify the\n Entry
and Target
pair, where Entry
shows how the path\n is made visible and Target
is the actual Amazon S3 or Amazon EFS path. If you\n only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity\n and Access Management (IAM) role provides access to paths in Target
. This value\n can only be set when HomeDirectoryType
is set to\n LOGICAL.
The following is an Entry
and Target
pair example.
\n [ { \"Entry\": \"/directory1\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
In most cases, you can use this value instead of the session policy to lock down your\n user to the designated home directory (\"chroot
\"). To do this, you can set\n Entry
to /
and set Target
to the\n HomeDirectory
parameter value.
The following is an Entry
and Target
pair example for chroot
.
\n [ { \"Entry:\": \"/\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is\n ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place\n holders for your directory. If using the CLI, use the s3api
or efsapi
call instead of\n s3
or efs
so you can use the put-object operation. For example, you use the\n following: aws s3api put-object --bucket bucketname --key path/to/folder/
. Make\n sure that the end of the key name ends in a /
for it to be considered a folder.
Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should\n be visible to your user and how you want to make them visible. You must specify the\n Entry
and Target
pair, where Entry
shows how the path\n is made visible and Target
is the actual Amazon S3 or Amazon EFS path. If you\n only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity\n and Access Management (IAM) role provides access to paths in Target
. This value\n can only be set when HomeDirectoryType
is set to\n LOGICAL.
The following is an Entry
and Target
pair example.
\n [ { \"Entry\": \"your-personal-report.pdf\", \"Target\":\n \"/bucket3/customized-reports/${transfer:UserName}.pdf\" } ]
\n
In most cases, you can use this value instead of the session policy to lock your user\n down to the designated home directory (\"chroot
\"). To do this, you can set\n Entry
to /
and set Target
to the HomeDirectory\n parameter value.
The following is an Entry
and Target
pair example for chroot
.
\n [ { \"Entry:\": \"/\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is\n ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place\n holders for your directory. If using the CLI, use the s3api
or efsapi
call instead of\n s3
or efs
so you can use the put-object operation. For example, you use the\n following: aws s3api put-object --bucket bucketname --key path/to/folder/
. Make\n sure that the end of the key name ends in a /
for it to be considered a folder.
Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should\n be visible to your user and how you want to make them visible. You must specify the\n Entry
and Target
pair, where Entry
shows how the path\n is made visible and Target
is the actual Amazon S3 or Amazon EFS path. If you\n only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity\n and Access Management (IAM) role provides access to paths in Target
. This value\n can only be set when HomeDirectoryType
is set to\n LOGICAL.
The following is an Entry
and Target
pair example.
\n [ { \"Entry\": \"/directory1\", \"Target\":\n \"/bucket_name/home/mydirectory\" } ]
\n
In most cases, you can use this value instead of the session policy to lock your user\n down to the designated home directory (\"chroot
\"). To do this, you can set\n Entry
to /
and set Target
to the HomeDirectory\n parameter value.
The following is an Entry
and Target
pair example for chroot
.
\n [ { \"Entry:\": \"/\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is\n ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place\n holders for your directory. If using the CLI, use the s3api
or efsapi
call instead of\n s3
or efs
so you can use the put-object operation. For example, you use the\n following: aws s3api put-object --bucket bucketname --key path/to/folder/
. Make\n sure that the end of the key name ends in a /
for it to be considered a folder.
Specifies the details for the steps that are in the specified workflow.
\n\n The TYPE
specifies which of the following actions is being taken for this step.\n
\n Copy: copy the file to another location
\n\n Custom: custom step with a lambda target
\n\n Delete: delete the file
\n\n Tag: add a tag to the file
\n\n For file location, you specify either the S3 bucket and key, or the EFS filesystem ID and path.\n
", + "smithy.api#documentation": "Specifies the details for the steps that are in the specified workflow.
\n\n The TYPE
specifies which of the following actions is being taken for this step.\n
\n Copy: copy the file to another location
\n\n Custom: custom step with a lambda target
\n\n Delete: delete the file
\n\n Tag: add a tag to the file
\n\n Currently, copying and tagging are supported only on S3.\n
\n\n For file location, you specify either the S3 bucket and key, or the EFS filesystem ID and path.\n
", "smithy.api#required": {} } }, "OnExceptionSteps": { "target": "com.amazonaws.transfer#WorkflowSteps", "traits": { - "smithy.api#documentation": "Specifies the steps (actions) to take if any errors are encountered during execution of the workflow.
" + "smithy.api#documentation": "Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
\nFor custom steps, the lambda function needs to send FAILURE
to the call\n back API to kick off the exception steps. Additionally, if the lambda does not send\n SUCCESS
before it times out, the exception steps are executed.
The name of the step, used to identify the step that is being deleted.
" + "smithy.api#documentation": "The name of the step, used to identify the delete step.
" } }, "com.amazonaws.transfer#DeleteUser": { @@ -1520,7 +1520,7 @@ "OnExceptionSteps": { "target": "com.amazonaws.transfer#WorkflowSteps", "traits": { - "smithy.api#documentation": "Specifies the steps (actions) to take if any errors are encountered during execution of the workflow.
" + "smithy.api#documentation": "Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
" } }, "WorkflowId": { @@ -1582,7 +1582,7 @@ } }, "traits": { - "smithy.api#documentation": "Specifies the details for the file location for the file being used in the workflow. Only applicable if you are using Amazon EFS for storage.
\n\n You need to provide the file system ID and the pathname.\n The pathname can represent either a path or a file.\n This is determined by whether or not you end the path value with the forward slash (/) character.\n If the final character is \"/\", then your file is copied to the folder, and its name does not change.\n If, rather, the final character is alphanumeric, your uploaded file is renamed to the path value. In this case, if a file with that name already exists, it is overwritten.\n
\nFor example, if your path is shared-files/bob/
, your uploaded files are copied to the shared-files/bob/
, folder.\n If your path is shared-files/today
, each uploaded file is copied to the shared-files
folder and named today
:\n each upload overwrites the previous version of the bob
file.
Reserved for future use.
\n\n \n
" } }, "com.amazonaws.transfer#EfsFileSystemId": { @@ -1720,7 +1720,7 @@ "OnExceptionSteps": { "target": "com.amazonaws.transfer#ExecutionStepResults", "traits": { - "smithy.api#documentation": "Specifies the steps (actions) to take if any errors are encountered during execution of the workflow.
" + "smithy.api#documentation": "Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
" } } }, @@ -2042,7 +2042,7 @@ "EfsFileLocation": { "target": "com.amazonaws.transfer#EfsFileLocation", "traits": { - "smithy.api#documentation": "Specifies the details for the Amazon EFS file being copied.
" + "smithy.api#documentation": "Reserved for future use.
" } } }, @@ -3182,7 +3182,7 @@ } }, "traits": { - "smithy.api#documentation": "Specifies the details for the file location for the file being used in the workflow. Only applicable if you are using S3 storage.
\n\n You need to provide the bucket and key.\n The key can represent either a path or a file.\n This is determined by whether or not you end the key value with the forward slash (/) character.\n If the final character is \"/\", then your file is copied to the folder, and its name does not change.\n If, rather, the final character is alphanumeric, your uploaded file is renamed to the path value. In this case, if a file with that name already exists, it is overwritten.\n
\nFor example, if your path is shared-files/bob/
, your uploaded files are copied to the shared-files/bob/
, folder.\n If your path is shared-files/today
, each uploaded file is copied to the shared-files
folder and named today
:\n each upload overwrites the previous version of the bob file.
Specifies the details for the file location for the file being used in the workflow. Only applicable if you are using S3 storage.
" } }, "com.amazonaws.transfer#S3InputFileLocation": { @@ -3191,7 +3191,7 @@ "Bucket": { "target": "com.amazonaws.transfer#S3Bucket", "traits": { - "smithy.api#documentation": "Specifies the S3 bucket that contains the file being copied.
" + "smithy.api#documentation": "Specifies the S3 bucket for the customer input file.
" } }, "Key": { @@ -3202,7 +3202,7 @@ } }, "traits": { - "smithy.api#documentation": "Specifies the details for the S3 file being copied.
" + "smithy.api#documentation": "Specifies the customer input S3 file location. If it is used inside copyStepDetails.DestinationFileLocation
, it should be the S3 copy destination.
\n You need to provide the bucket and key.\n The key can represent either a path or a file.\n This is determined by whether or not you end the key value with the forward slash (/) character.\n If the final character is \"/\", then your file is copied to the folder, and its name does not change.\n If, rather, the final character is alphanumeric, your uploaded file is renamed to the path value. In this case, if a file with that name already exists, it is overwritten.\n
\nFor example, if your path is shared-files/bob/
, your uploaded files are copied to the shared-files/bob/
, folder.\n If your path is shared-files/today
, each uploaded file is copied to the shared-files
folder and named today
:\n each upload overwrites the previous version of the bob file.
Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should\n be visible to your user and how you want to make them visible. You must specify the\n Entry
and Target
pair, where Entry
shows how the path\n is made visible and Target
is the actual Amazon S3 or Amazon EFS path. If you\n only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity\n and Access Management (IAM) role provides access to paths in Target
. This value\n can only be set when HomeDirectoryType
is set to\n LOGICAL.
The following is an Entry
and Target
pair example.
\n [ { \"Entry\": \"your-personal-report.pdf\", \"Target\": \"/bucket3/customized-reports/${transfer:UserName}.pdf\" } ]
\n
In most cases, you can use this value instead of the session policy to lock down your\n user to the designated home directory (\"chroot
\"). To do this, you can set\n Entry
to /
and set Target
to the\n HomeDirectory
parameter value.
The following is an Entry
and Target
pair example for chroot
.
\n [ { \"Entry:\": \"/\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is\n ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place\n holders for your directory. If using the CLI, use the s3api
or efsapi
call instead of\n s3
or efs
so you can use the put-object operation. For example, you use the\n following: aws s3api put-object --bucket bucketname --key path/to/folder/
. Make\n sure that the end of the key name ends in a /
for it to be considered a folder.
Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should\n be visible to your user and how you want to make them visible. You must specify the\n Entry
and Target
pair, where Entry
shows how the path\n is made visible and Target
is the actual Amazon S3 or Amazon EFS path. If you\n only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity\n and Access Management (IAM) role provides access to paths in Target
. This value\n can only be set when HomeDirectoryType
is set to\n LOGICAL.
The following is an Entry
and Target
pair example.
\n [ { \"Entry\": \"/directory1\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
In most cases, you can use this value instead of the session policy to lock down your\n user to the designated home directory (\"chroot
\"). To do this, you can set\n Entry
to /
and set Target
to the\n HomeDirectory
parameter value.
The following is an Entry
and Target
pair example for chroot
.
\n [ { \"Entry:\": \"/\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is\n ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place\n holders for your directory. If using the CLI, use the s3api
or efsapi
call instead of\n s3
or efs
so you can use the put-object operation. For example, you use the\n following: aws s3api put-object --bucket bucketname --key path/to/folder/
. Make\n sure that the end of the key name ends in a /
for it to be considered a folder.
Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should\n be visible to your user and how you want to make them visible. You must specify the\n Entry
and Target
pair, where Entry
shows how the path\n is made visible and Target
is the actual Amazon S3 or Amazon EFS path. If you\n only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity\n and Access Management (IAM) role provides access to paths in Target
. This value\n can only be set when HomeDirectoryType
is set to\n LOGICAL.
The following is an Entry
and Target
pair example.
\n [ { \"Entry\": \"your-personal-report.pdf\", \"Target\":\n \"/bucket3/customized-reports/${transfer:UserName}.pdf\" } ]
\n
In most cases, you can use this value instead of the session policy to lock down your\n user to the designated home directory (\"chroot
\"). To do this, you can set\n Entry
to '/' and set Target
to the HomeDirectory\n parameter value.
The following is an Entry
and Target
pair example for chroot
.
\n [ { \"Entry:\": \"/\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is\n ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place\n holders for your directory. If using the CLI, use the s3api
or efsapi
call instead of\n s3
or efs
so you can use the put-object operation. For example, you use the\n following: aws s3api put-object --bucket bucketname --key path/to/folder/
. Make\n sure that the end of the key name ends in a /
for it to be considered a folder.
Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should\n be visible to your user and how you want to make them visible. You must specify the\n Entry
and Target
pair, where Entry
shows how the path\n is made visible and Target
is the actual Amazon S3 or Amazon EFS path. If you\n only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity\n and Access Management (IAM) role provides access to paths in Target
. This value\n can only be set when HomeDirectoryType
is set to\n LOGICAL.
The following is an Entry
and Target
pair example.
\n [ { \"Entry\": \"/directory1\", \"Target\":\n \"/bucket_name/home/mydirectory\" } ]
\n
In most cases, you can use this value instead of the session policy to lock down your\n user to the designated home directory (\"chroot
\"). To do this, you can set\n Entry
to '/' and set Target
to the HomeDirectory\n parameter value.
The following is an Entry
and Target
pair example for chroot
.
\n [ { \"Entry:\": \"/\", \"Target\": \"/bucket_name/home/mydirectory\" } ]
\n
If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is\n ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place\n holders for your directory. If using the CLI, use the s3api
or efsapi
call instead of\n s3
or efs
so you can use the put-object operation. For example, you use the\n following: aws s3api put-object --bucket bucketname --key path/to/folder/
. Make\n sure that the end of the key name ends in a /
for it to be considered a folder.
Details for a step that performs a file copy.
\n\n Consists of the following values:\n
\nA description
\nAn S3 or EFS location for the destination of the file copy.
\nA flag that indicates whether or not to overwrite an existing file of the same name.\n The default is FALSE
.
Details for a step that performs a file copy.
\n\n Consists of the following values:\n
\nA description
\nAn S3 location for the destination of the file copy.
\nA flag that indicates whether or not to overwrite an existing file of the same name.\n The default is FALSE
.
You need to specify the name of the file to be deleted.
" + "smithy.api#documentation": "Details for a step that deletes the file.
" } }, "TagStepDetails": { diff --git a/codegen/sdk-codegen/aws-models/voice-id.2021-09-27.json b/codegen/sdk-codegen/aws-models/voice-id.2021-09-27.json new file mode 100644 index 000000000000..d01d102116de --- /dev/null +++ b/codegen/sdk-codegen/aws-models/voice-id.2021-09-27.json @@ -0,0 +1,3194 @@ +{ + "smithy": "1.0", + "shapes": { + "com.amazonaws.voiceid#AccessDeniedException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.voiceid#String" + } + }, + "traits": { + "smithy.api#documentation": "You do not have sufficient permissions to perform this action. Check the error message and try \n again.
", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.voiceid#AmazonResourceName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1011 + }, + "smithy.api#pattern": "^arn:aws(-[^:]+)?:voiceid.+:[0-9]{12}:domain/[a-zA-Z0-9]{22}$" + } + }, + "com.amazonaws.voiceid#Arn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:aws(-[^:]+)?:voiceid.+:[0-9]{12}:domain/[a-zA-Z0-9]{22}$" + } + }, + "com.amazonaws.voiceid#AuthenticationConfiguration": { + "type": "structure", + "members": { + "AcceptanceThreshold": { + "target": "com.amazonaws.voiceid#Score", + "traits": { + "smithy.api#documentation": "The minimum threshold needed to successfully authenticate a speaker.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration used to authenticate a speaker during a session.
" + } + }, + "com.amazonaws.voiceid#AuthenticationDecision": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACCEPT", + "name": "ACCEPT" + }, + { + "value": "REJECT", + "name": "REJECT" + }, + { + "value": "NOT_ENOUGH_SPEECH", + "name": "NOT_ENOUGH_SPEECH" + }, + { + "value": "SPEAKER_NOT_ENROLLED", + "name": "SPEAKER_NOT_ENROLLED" + }, + { + "value": "SPEAKER_OPTED_OUT", + "name": "SPEAKER_OPTED_OUT" + }, + { + "value": "SPEAKER_ID_NOT_PROVIDED", + "name": "SPEAKER_ID_NOT_PROVIDED" + } + ] + } + }, + "com.amazonaws.voiceid#AuthenticationResult": { + "type": "structure", + "members": { + "AuthenticationResultId": { + "target": "com.amazonaws.voiceid#UniqueIdLarge", + "traits": { + "smithy.api#documentation": "The unique identifier for this authentication result. Because there can be multiple authentications\n for a given session, this field helps to identify if the returned result is from a previous streaming \n activity or a new result. Note that in absence of any new streaming activity, \n AcceptanceThreshold
changes, or SpeakerId
changes, Voice ID \n always returns cached Authentication Result for this API.
A timestamp indicating when audio aggregation started for this authentication result.
" + } + }, + "AudioAggregationEndedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp indicating when audio aggregation ended for this authentication result.
" + } + }, + "CustomerSpeakerId": { + "target": "com.amazonaws.voiceid#CustomerSpeakerId", + "traits": { + "smithy.api#documentation": "The client-provided identifier for the speaker whose authentication result is produced. Only present if a\n SpeakerId
is provided for the session.
The service-generated identifier for the speaker whose authentication result is produced.
" + } + }, + "Decision": { + "target": "com.amazonaws.voiceid#AuthenticationDecision", + "traits": { + "smithy.api#documentation": "The authentication decision produced by Voice ID, processed against the current session state and streamed\n audio of the speaker.
" + } + }, + "Score": { + "target": "com.amazonaws.voiceid#Score", + "traits": { + "smithy.api#documentation": "The authentication score for the speaker whose authentication result is produced. This value is \n only present if the authentication decision is either ACCEPT
or REJECT
.
The AuthenticationConfiguration
used to generate this authentication result.
The authentication result produced by Voice ID, processed against the current session state and streamed\n audio of the speaker.
" + } + }, + "com.amazonaws.voiceid#ClientTokenString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-_]+$" + } + }, + "com.amazonaws.voiceid#ConflictException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.voiceid#String" + }, + "ConflictType": { + "target": "com.amazonaws.voiceid#ConflictType", + "traits": { + "smithy.api#documentation": "The type of conflict which caused a ConflictException. Possible types and the corresponding error messages\n are as follows:
\n\n DOMAIN_NOT_ACTIVE
: The domain is not active.
\n CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT
: You cannot change the speaker ID after an enrollment has been requested.
\n ENROLLMENT_ALREADY_EXISTS
: There is already an enrollment for this session.
\n SPEAKER_NOT_SET
: You must set the speaker ID before requesting an enrollment.
\n SPEAKER_OPTED_OUT
: You cannot request an enrollment for an opted out speaker.
\n CONCURRENT_CHANGES
: The request could not be processed as the resource was modified by another request during execution.
The request failed due to a conflict. Check the ConflictType
and error message for\n more details.
Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer \n audio, and voiceprints.\n
", + "smithy.api#http": { + "method": "POST", + "uri": "/domains", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.voiceid#CreateDomainRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.voiceid#DomainName", + "traits": { + "smithy.api#documentation": "The name of the domain.
", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.voiceid#Description", + "traits": { + "smithy.api#documentation": "A brief description of this domain.
" + } + }, + "ServerSideEncryptionConfiguration": { + "target": "com.amazonaws.voiceid#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The configuration, containing the KMS Key Identifier, to be used by Voice ID for \n the server-side encryption of your data. Refer to \n Amazon Connect VoiceID encryption at rest for more details on how the KMS Key is used.\n
", + "smithy.api#required": {} + } + }, + "ClientToken": { + "target": "com.amazonaws.voiceid#ClientTokenString", + "traits": { + "smithy.api#documentation": "The idempotency token for creating a new domain. If not provided, Amazon Web Services SDK populates \n this field.
", + "smithy.api#idempotencyToken": {} + } + }, + "Tags": { + "target": "com.amazonaws.voiceid#TagList", + "traits": { + "smithy.api#documentation": "A list of tags you want added to the domain.
" + } + } + } + }, + "com.amazonaws.voiceid#CreateDomainResponse": { + "type": "structure", + "members": { + "Domain": { + "target": "com.amazonaws.voiceid#Domain", + "traits": { + "smithy.api#documentation": "Information about the newly created domain.
" + } + } + } + }, + "com.amazonaws.voiceid#CustomerSpeakerId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.voiceid#DeleteDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#DeleteDomainRequest" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the specified domain from the Amazon Connect Voice ID system.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/domains/{DomainId}", + "code": 204 + } + } + }, + "com.amazonaws.voiceid#DeleteDomainRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain you want to delete.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#DeleteFraudster": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#DeleteFraudsterRequest" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the specified fraudster from the Amazon Connect Voice ID system.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/domains/{DomainId}/fraudsters/{FraudsterId}", + "code": 204 + } + } + }, + "com.amazonaws.voiceid#DeleteFraudsterRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain containing the fraudster.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "FraudsterId": { + "target": "com.amazonaws.voiceid#FraudsterId", + "traits": { + "smithy.api#documentation": "The identifier of the fraudster you want to delete.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#DeleteSpeaker": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#DeleteSpeakerRequest" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the specified speaker from the Amazon Connect Voice ID system.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/domains/{DomainId}/speakers/{SpeakerId}", + "code": 204 + } + } + }, + "com.amazonaws.voiceid#DeleteSpeakerRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain containing the speaker.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "SpeakerId": { + "target": "com.amazonaws.voiceid#SpeakerId", + "traits": { + "smithy.api#documentation": "The identifier of the speaker you want to delete.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#DescribeDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#DescribeDomainRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#DescribeDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Describes the specified domain.
", + "smithy.api#http": { + "method": "GET", + "uri": "/domains/{DomainId}", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#DescribeDomainRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain you are describing.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#DescribeDomainResponse": { + "type": "structure", + "members": { + "Domain": { + "target": "com.amazonaws.voiceid#Domain", + "traits": { + "smithy.api#documentation": "Information about the specified domain.
" + } + } + } + }, + "com.amazonaws.voiceid#DescribeFraudster": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#DescribeFraudsterRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#DescribeFraudsterResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Describes the specified fraudster.
", + "smithy.api#http": { + "method": "GET", + "uri": "/domains/{DomainId}/fraudsters/{FraudsterId}", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#DescribeFraudsterRegistrationJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#DescribeFraudsterRegistrationJobRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#DescribeFraudsterRegistrationJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Describes the specified fraudster registration job.
", + "smithy.api#http": { + "method": "GET", + "uri": "/domains/{DomainId}/fraudster-registration-jobs/{JobId}", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#DescribeFraudsterRegistrationJobRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier for the domain containing the fraudster registration job.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "JobId": { + "target": "com.amazonaws.voiceid#JobId", + "traits": { + "smithy.api#documentation": "The identifier for the fraudster registration job you are describing.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#DescribeFraudsterRegistrationJobResponse": { + "type": "structure", + "members": { + "Job": { + "target": "com.amazonaws.voiceid#FraudsterRegistrationJob", + "traits": { + "smithy.api#documentation": "Contains details about the specified fraudster registration job.
" + } + } + } + }, + "com.amazonaws.voiceid#DescribeFraudsterRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain containing the fraudster.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "FraudsterId": { + "target": "com.amazonaws.voiceid#FraudsterId", + "traits": { + "smithy.api#documentation": "The identifier of the fraudster you are describing.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#DescribeFraudsterResponse": { + "type": "structure", + "members": { + "Fraudster": { + "target": "com.amazonaws.voiceid#Fraudster", + "traits": { + "smithy.api#documentation": "Information about the specified fraudster.
" + } + } + } + }, + "com.amazonaws.voiceid#DescribeSpeaker": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#DescribeSpeakerRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#DescribeSpeakerResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Describes the specified speaker.
", + "smithy.api#http": { + "method": "GET", + "uri": "/domains/{DomainId}/speakers/{SpeakerId}", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#DescribeSpeakerEnrollmentJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#DescribeSpeakerEnrollmentJobRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#DescribeSpeakerEnrollmentJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Describes the specified speaker enrollment job.
", + "smithy.api#http": { + "method": "GET", + "uri": "/domains/{DomainId}/speaker-enrollment-jobs/{JobId}", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#DescribeSpeakerEnrollmentJobRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain containing the speaker enrollment job.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "JobId": { + "target": "com.amazonaws.voiceid#JobId", + "traits": { + "smithy.api#documentation": "The identifier of the speaker enrollment job you are describing.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#DescribeSpeakerEnrollmentJobResponse": { + "type": "structure", + "members": { + "Job": { + "target": "com.amazonaws.voiceid#SpeakerEnrollmentJob", + "traits": { + "smithy.api#documentation": "Contains details about the specified speaker enrollment job.
" + } + } + } + }, + "com.amazonaws.voiceid#DescribeSpeakerRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain that contains the speaker.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "SpeakerId": { + "target": "com.amazonaws.voiceid#SpeakerId", + "traits": { + "smithy.api#documentation": "The identifier of the speaker you are describing.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#DescribeSpeakerResponse": { + "type": "structure", + "members": { + "Speaker": { + "target": "com.amazonaws.voiceid#Speaker", + "traits": { + "smithy.api#documentation": "Information about the specified speaker.
" + } + } + } + }, + "com.amazonaws.voiceid#Description": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + }, + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-%@]*)$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.voiceid#Domain": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The service-generated identifier for the domain.
" + } + }, + "Arn": { + "target": "com.amazonaws.voiceid#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the domain.
" + } + }, + "Name": { + "target": "com.amazonaws.voiceid#DomainName", + "traits": { + "smithy.api#documentation": "The client-provided name for the domain.
" + } + }, + "Description": { + "target": "com.amazonaws.voiceid#Description", + "traits": { + "smithy.api#documentation": "The client-provided description of the domain.
" + } + }, + "DomainStatus": { + "target": "com.amazonaws.voiceid#DomainStatus", + "traits": { + "smithy.api#documentation": "The current status of the domain.
" + } + }, + "ServerSideEncryptionConfiguration": { + "target": "com.amazonaws.voiceid#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The server-side encryption configuration containing the KMS Key Identifier you want Voice ID to use\n to encrypt your data.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "The timestamp at which the domain is created.
" + } + }, + "UpdatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "The timestamp showing the domain's last update.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains all the information about a domain.
" + } + }, + "com.amazonaws.voiceid#DomainId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 22, + "max": 22 + }, + "smithy.api#pattern": "^[a-zA-Z0-9]{22}$" + } + }, + "com.amazonaws.voiceid#DomainName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.voiceid#DomainStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "SUSPENDED", + "name": "SUSPENDED" + } + ] + } + }, + "com.amazonaws.voiceid#DomainSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.voiceid#DomainSummary" + } + }, + "com.amazonaws.voiceid#DomainSummary": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The service-generated identifier for the domain.
" + } + }, + "Arn": { + "target": "com.amazonaws.voiceid#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the domain.
" + } + }, + "Name": { + "target": "com.amazonaws.voiceid#DomainName", + "traits": { + "smithy.api#documentation": "The client-provided name for the domain.
" + } + }, + "Description": { + "target": "com.amazonaws.voiceid#Description", + "traits": { + "smithy.api#documentation": "The client-provided description of the domain.
" + } + }, + "DomainStatus": { + "target": "com.amazonaws.voiceid#DomainStatus", + "traits": { + "smithy.api#documentation": "The current status of the domain.
" + } + }, + "ServerSideEncryptionConfiguration": { + "target": "com.amazonaws.voiceid#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The server-side encryption configuration containing the KMS Key Identifier you want Voice ID to use\n to encrypt your data..
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "The timestamp showing when the domain is created.
" + } + }, + "UpdatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "The timestamp showing the domain's last update.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains a summary of information about a domain.
" + } + }, + "com.amazonaws.voiceid#DuplicateRegistrationAction": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SKIP", + "name": "SKIP" + }, + { + "value": "REGISTER_AS_NEW", + "name": "REGISTER_AS_NEW" + } + ] + } + }, + "com.amazonaws.voiceid#EnrollmentConfig": { + "type": "structure", + "members": { + "ExistingEnrollmentAction": { + "target": "com.amazonaws.voiceid#ExistingEnrollmentAction", + "traits": { + "smithy.api#documentation": " The action to take when the specified speaker is already enrolled in the specified domain. The default \n value is SKIP
, which skips the enrollment for the existing speaker. Setting the value to\n OVERWRITE
replaces the existing voice prints and enrollment audio stored for that speaker\n with new data generated from the latest audio.
The fraud detection configuration to use for the speaker enrollment job.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains configurations defining enrollment behavior for the batch job.
" + } + }, + "com.amazonaws.voiceid#EnrollmentJobFraudDetectionConfig": { + "type": "structure", + "members": { + "FraudDetectionAction": { + "target": "com.amazonaws.voiceid#FraudDetectionAction", + "traits": { + "smithy.api#documentation": "The action to take when the given speaker is flagged by the fraud detection system. The default value is\n FAIL
, which fails the speaker enrollment. Changing this value to IGNORE
\n results in the speaker being enrolled even if they are flagged by the fraud detection system.
Threshold value for determining whether the speaker is a high risk to be fraudulent. If the detected risk\n score calculated by Voice ID is greater than or equal to the threshold, the speaker is considered a fraudster.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration defining the action to take when a speaker is flagged by the fraud detection system\n during a batch speaker enrollment job, and the risk threshold to use for identification.
" + } + }, + "com.amazonaws.voiceid#EvaluateSession": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#EvaluateSessionRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#EvaluateSessionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Evaluates a specified session based on audio data accumulated during a streaming Amazon Connect Voice \n ID call.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/sessions/{SessionNameOrId}/evaluate", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#EvaluateSessionRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain where the session started.
", + "smithy.api#httpQuery": "domainId", + "smithy.api#required": {} + } + }, + "SessionNameOrId": { + "target": "com.amazonaws.voiceid#SessionNameOrId", + "traits": { + "smithy.api#documentation": "The session identifier, or name of the session, that you want to evaluate. In Voice ID\n integration, this is the Contact-Id.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#EvaluateSessionResponse": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain containing the session.
" + } + }, + "SessionId": { + "target": "com.amazonaws.voiceid#SessionId", + "traits": { + "smithy.api#documentation": "The service-generated identifier of the session.
" + } + }, + "SessionName": { + "target": "com.amazonaws.voiceid#SessionName", + "traits": { + "smithy.api#documentation": "The client-provided name of the session.
" + } + }, + "StreamingStatus": { + "target": "com.amazonaws.voiceid#StreamingStatus", + "traits": { + "smithy.api#documentation": "The current status of audio streaming for this session. This field is useful to infer next steps when\n the Authentication or Fraud Detection results are empty or the decision is NOT_ENOUGH_SPEECH
.\n In this situation, if the StreamingStatus
is ONGOING/PENDING_CONFIGURATION
, it can\n mean that the client should call the API again later, once Voice ID has enough audio to produce a result.\n If the decision remains NOT_ENOUGH_SPEECH
even after StreamingStatus
is ENDED
,\n it means that the previously streamed session did not have enough speech to perform evaluation, and a new\n streaming session is needed to try again.
Details resulting from the authentication process, such as authentication decision and\n authentication score.
" + } + }, + "FraudDetectionResult": { + "target": "com.amazonaws.voiceid#FraudDetectionResult", + "traits": { + "smithy.api#documentation": "Details resulting from the fraud detection process, such as fraud detection decision and risk score.
" + } + } + } + }, + "com.amazonaws.voiceid#ExistingEnrollmentAction": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SKIP", + "name": "SKIP" + }, + { + "value": "OVERWRITE", + "name": "OVERWRITE" + } + ] + } + }, + "com.amazonaws.voiceid#FailureDetails": { + "type": "structure", + "members": { + "StatusCode": { + "target": "com.amazonaws.voiceid#Integer", + "traits": { + "smithy.api#documentation": "An HTTP status code representing the nature of the error.
" + } + }, + "Message": { + "target": "com.amazonaws.voiceid#String", + "traits": { + "smithy.api#documentation": "A description of the error that caused the batch job failure.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains error details for a failed batch job.
" + } + }, + "com.amazonaws.voiceid#FraudDetectionAction": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "IGNORE", + "name": "IGNORE" + }, + { + "value": "FAIL", + "name": "FAIL" + } + ] + } + }, + "com.amazonaws.voiceid#FraudDetectionConfiguration": { + "type": "structure", + "members": { + "RiskThreshold": { + "target": "com.amazonaws.voiceid#Score", + "traits": { + "smithy.api#documentation": "Threshold value for determining whether the speaker is a fraudster. If the detected risk score \n calculated by Voice ID is higher than the threshold, the speaker is considered a fraudster.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration used for performing fraud detection over a speaker during a session.
" + } + }, + "com.amazonaws.voiceid#FraudDetectionDecision": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "HIGH_RISK", + "name": "HIGH_RISK" + }, + { + "value": "LOW_RISK", + "name": "LOW_RISK" + }, + { + "value": "NOT_ENOUGH_SPEECH", + "name": "NOT_ENOUGH_SPEECH" + } + ] + } + }, + "com.amazonaws.voiceid#FraudDetectionReason": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "KNOWN_FRAUDSTER", + "name": "KNOWN_FRAUDSTER" + } + ] + } + }, + "com.amazonaws.voiceid#FraudDetectionReasons": { + "type": "list", + "member": { + "target": "com.amazonaws.voiceid#FraudDetectionReason" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 3 + } + } + }, + "com.amazonaws.voiceid#FraudDetectionResult": { + "type": "structure", + "members": { + "FraudDetectionResultId": { + "target": "com.amazonaws.voiceid#UniqueIdLarge", + "traits": { + "smithy.api#documentation": "The unique identifier for this fraud detection result. Given there can be multiple fraud detections \n for a given session, this field helps in identifying if the returned result is from previous streaming \n activity or a new result. Note that in the absence of any new streaming activity or risk threshold \n changes, Voice ID always returns cached Fraud Detection result for this API.
" + } + }, + "AudioAggregationStartedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp indicating when audio aggregation started for this fraud detection result.
" + } + }, + "AudioAggregationEndedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp indicating when audio aggregation ended for this fraud detection result.
" + } + }, + "Configuration": { + "target": "com.amazonaws.voiceid#FraudDetectionConfiguration", + "traits": { + "smithy.api#documentation": "The FraudDetectionConfiguration
used to generate this fraud detection result.
The fraud detection decision produced by Voice ID, processed against the current session state and\n streamed audio of the speaker.
" + } + }, + "Reasons": { + "target": "com.amazonaws.voiceid#FraudDetectionReasons", + "traits": { + "smithy.api#documentation": "The reason speaker was flagged by the fraud detection system. This is only be populated if fraud\n detection Decision is HIGH_RISK
, and only has one possible value:\n KNOWN_FRAUDSTER
.
Details about each risk analyzed for this speaker.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The fraud detection result produced by Voice ID, processed against the current session state and streamed\n audio of the speaker.
" + } + }, + "com.amazonaws.voiceid#FraudRiskDetails": { + "type": "structure", + "members": { + "KnownFraudsterRisk": { + "target": "com.amazonaws.voiceid#KnownFraudsterRisk", + "traits": { + "smithy.api#documentation": "The details resulting from 'Known Fraudster Risk' analysis of the speaker.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Details regarding various fraud risk analyses performed against the current session state and streamed\n audio of the speaker.
" + } + }, + "com.amazonaws.voiceid#Fraudster": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier for the domain containing the fraudster.
" + } + }, + "GeneratedFraudsterId": { + "target": "com.amazonaws.voiceid#GeneratedFraudsterId", + "traits": { + "smithy.api#documentation": "The service-generated identifier for the fraudster.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "The timestamp when Voice ID identified the fraudster.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains all the information about a fraudster.
" + } + }, + "com.amazonaws.voiceid#FraudsterId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 25, + "max": 25 + }, + "smithy.api#pattern": "^id#[a-zA-Z0-9]{22}$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.voiceid#FraudsterRegistrationJob": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.voiceid#JobName", + "traits": { + "smithy.api#documentation": "The client-provied name for the fraudster registration job.
" + } + }, + "JobId": { + "target": "com.amazonaws.voiceid#JobId", + "traits": { + "smithy.api#documentation": "The service-generated identifier for the fraudster registration job.
" + } + }, + "JobStatus": { + "target": "com.amazonaws.voiceid#FraudsterRegistrationJobStatus", + "traits": { + "smithy.api#documentation": "The current status of the fraudster registration job.
" + } + }, + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain containing the fraudster registration job.
" + } + }, + "DataAccessRoleArn": { + "target": "com.amazonaws.voiceid#IamRoleArn", + "traits": { + "smithy.api#documentation": "The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets\n to read the input manifest file and write the job output file.
" + } + }, + "RegistrationConfig": { + "target": "com.amazonaws.voiceid#RegistrationConfig", + "traits": { + "smithy.api#documentation": "The registration config containing details such as the action to take when a duplicate fraudster is \n detected, and the similarity threshold to use for detecting a duplicate fraudster.
" + } + }, + "InputDataConfig": { + "target": "com.amazonaws.voiceid#InputDataConfig", + "traits": { + "smithy.api#documentation": "The input data config containing an S3 URI for the input manifest file that contains the list\n of fraudster registration job requests.
" + } + }, + "OutputDataConfig": { + "target": "com.amazonaws.voiceid#OutputDataConfig", + "traits": { + "smithy.api#documentation": "The output data config containing the S3 location where you want Voice ID to write your job output \n file; you must also include a KMS Key ID in order to encrypt the file.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing the creation time of the fraudster registration job.
" + } + }, + "EndedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing when the fraudster registration job ended.
" + } + }, + "FailureDetails": { + "target": "com.amazonaws.voiceid#FailureDetails", + "traits": { + "smithy.api#documentation": "Contains details that are populated when an entire batch job fails. In cases of individual registration\n job failures, the batch job as a whole doesn't fail; it is completed with a JobStatus
of\n COMPLETED_WITH_ERRORS
. You can use the job output file to identify the individual \n registration requests that failed.
Shows the completed percentage of registration requests listed in the input file.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains all the information about a fraudster registration job.
" + } + }, + "com.amazonaws.voiceid#FraudsterRegistrationJobStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SUBMITTED", + "name": "SUBMITTED" + }, + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + }, + { + "value": "COMPLETED_WITH_ERRORS", + "name": "COMPLETED_WITH_ERRORS" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.voiceid#FraudsterRegistrationJobSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.voiceid#FraudsterRegistrationJobSummary" + } + }, + "com.amazonaws.voiceid#FraudsterRegistrationJobSummary": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.voiceid#JobName", + "traits": { + "smithy.api#documentation": "The client-provied name for the fraudster registration job.
" + } + }, + "JobId": { + "target": "com.amazonaws.voiceid#JobId", + "traits": { + "smithy.api#documentation": "The service-generated identifier for the fraudster registration job.
" + } + }, + "JobStatus": { + "target": "com.amazonaws.voiceid#FraudsterRegistrationJobStatus", + "traits": { + "smithy.api#documentation": "The current status of the fraudster registration job.
" + } + }, + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain containing the fraudster registration job.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing when the fraudster registration job is created.
" + } + }, + "EndedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing when the fraudster registration job ended.
" + } + }, + "FailureDetails": { + "target": "com.amazonaws.voiceid#FailureDetails", + "traits": { + "smithy.api#documentation": "Contains details that are populated when an entire batch job fails. In cases of individual registration\n job failures, the batch job as a whole doesn't fail; it is completed with a JobStatus
of\n COMPLETED_WITH_ERRORS
. You can use the job output file to identify the individual \n registration requests that failed.
Shows the completed percentage of registration requests listed in the input file.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains a summary of information about a fraudster registration job.
" + } + }, + "com.amazonaws.voiceid#GeneratedFraudsterId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 25, + "max": 25 + }, + "smithy.api#pattern": "^id#[a-zA-Z0-9]{22}$" + } + }, + "com.amazonaws.voiceid#GeneratedSpeakerId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 25, + "max": 25 + }, + "smithy.api#pattern": "^id#[a-zA-Z0-9]{22}$" + } + }, + "com.amazonaws.voiceid#IamRoleArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 20, + "max": 2048 + }, + "smithy.api#pattern": "^arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+$" + } + }, + "com.amazonaws.voiceid#InputDataConfig": { + "type": "structure", + "members": { + "S3Uri": { + "target": "com.amazonaws.voiceid#S3Uri", + "traits": { + "smithy.api#documentation": "The S3 location for the input manifest file that contains the list of individual enrollment or registration\n job requests.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration containing input file information for a batch job.
" + } + }, + "com.amazonaws.voiceid#Integer": { + "type": "integer", + "traits": { + "smithy.api#box": {} + } + }, + "com.amazonaws.voiceid#InternalServerException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.voiceid#String" + } + }, + "traits": { + "smithy.api#documentation": "The request failed due to an unknown error on the server side.
", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.voiceid#JobId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 22, + "max": 22 + }, + "smithy.api#pattern": "^[a-zA-Z0-9]{22}$" + } + }, + "com.amazonaws.voiceid#JobName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.voiceid#JobProgress": { + "type": "structure", + "members": { + "PercentComplete": { + "target": "com.amazonaws.voiceid#Score", + "traits": { + "smithy.api#documentation": "Shows the completed percentage of enrollment or registration requests listed in the input file.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Indicates the completion progress for a batch job.
" + } + }, + "com.amazonaws.voiceid#KmsKeyId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, + "com.amazonaws.voiceid#KnownFraudsterRisk": { + "type": "structure", + "members": { + "RiskScore": { + "target": "com.amazonaws.voiceid#Score", + "traits": { + "smithy.api#documentation": "The score indicating the likelihood the speaker is a known fraudster.
", + "smithy.api#required": {} + } + }, + "GeneratedFraudsterId": { + "target": "com.amazonaws.voiceid#GeneratedFraudsterId", + "traits": { + "smithy.api#documentation": "The identifier of the fraudster that is the closest match to the speaker. If there are no fraudsters\n registered in a given domain, or if there are no fraudsters with a non-zero RiskScore, this value is\n null
.
Contains details produced as a result of performing known fraudster risk analysis on a speaker.
" + } + }, + "com.amazonaws.voiceid#ListDomains": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#ListDomainsRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#ListDomainsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists all the domains in the Amazon Web Services account.\n
", + "smithy.api#http": { + "method": "GET", + "uri": "/domains", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.voiceid#ListDomainsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.voiceid#MaxResultsForListDomainFe", + "traits": { + "smithy.api#documentation": "The maximum number of results that are returned per call. You can use NextToken
to obtain\n further pages of results. The default is 100; the maximum allowed page size is also 100.\n
If NextToken
is returned, there are more results available. The value of NextToken
\n is a unique pagination token for each page. Make the call again using the returned token to retrieve the\n next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.\n
A list containing details about each domain in the Amazon Web Services account.
" + } + }, + "NextToken": { + "target": "com.amazonaws.voiceid#String", + "traits": { + "smithy.api#documentation": "If NextToken
is returned, there are more results available. The value of NextToken
\n is a unique pagination token for each page. Make the call again using the returned token to retrieve the\n next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.\n
Lists all the fraudster registration jobs in the domain with the given JobStatus
.\n If JobStatus
is not provided, this lists all fraudster registration jobs in the given\n domain.\n
The identifier of the domain containing the fraudster registration Jobs.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "JobStatus": { + "target": "com.amazonaws.voiceid#FraudsterRegistrationJobStatus", + "traits": { + "smithy.api#documentation": "Provides the status of your fraudster registration job.
", + "smithy.api#httpQuery": "jobStatus" + } + }, + "MaxResults": { + "target": "com.amazonaws.voiceid#MaxResultsForList", + "traits": { + "smithy.api#documentation": "The maximum number of results that are returned per call. You can use NextToken
to obtain\n further pages of results. The default is 100; the maximum allowed page size is also 100.\n
If NextToken
is returned, there are more results available. The value of NextToken
\n is a unique pagination token for each page. Make the call again using the returned token to retrieve the\n next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.\n
A list containing details about each specified fraudster registration job.
" + } + }, + "NextToken": { + "target": "com.amazonaws.voiceid#String", + "traits": { + "smithy.api#documentation": "If NextToken
is returned, there are more results available. The value of NextToken
\n is a unique pagination token for each page. Make the call again using the returned token to retrieve the\n next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.\n
Lists all the speaker enrollment jobs in the domain with the specified JobStatus
. If\n JobStatus
is not provided, this lists all jobs with all possible speaker enrollment job\n statuses.
The identifier of the domain containing the speaker enrollment jobs.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "JobStatus": { + "target": "com.amazonaws.voiceid#SpeakerEnrollmentJobStatus", + "traits": { + "smithy.api#documentation": "Provides the status of your speaker enrollment Job.
", + "smithy.api#httpQuery": "jobStatus" + } + }, + "MaxResults": { + "target": "com.amazonaws.voiceid#MaxResultsForList", + "traits": { + "smithy.api#documentation": "The maximum number of results that are returned per call. You can use NextToken
to obtain\n further pages of results. The default is 100; the maximum allowed page size is also 100.\n
If NextToken
is returned, there are more results available. The value of NextToken
\n is a unique pagination token for each page. Make the call again using the returned token to retrieve the\n next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.\n
A list containing details about each specified speaker enrollment job.
" + } + }, + "NextToken": { + "target": "com.amazonaws.voiceid#String", + "traits": { + "smithy.api#documentation": "If NextToken
is returned, there are more results available. The value of NextToken
\n is a unique pagination token for each page. Make the call again using the returned token to retrieve the\n next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.\n
Lists all speakers in a specified domain.
", + "smithy.api#http": { + "method": "GET", + "uri": "/domains/{DomainId}/speakers", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.voiceid#ListSpeakersRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.voiceid#MaxResultsForList", + "traits": { + "smithy.api#documentation": "The maximum number of results that are returned per call. You can use NextToken
to obtain\n further pages of results. The default is 100; the maximum allowed page size is also 100.\n
If NextToken
is returned, there are more results available. The value of NextToken
\n is a unique pagination token for each page. Make the call again using the returned token to retrieve the\n next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.\n
A list containing details about each speaker in the Amazon Web Services account.\n
" + } + }, + "NextToken": { + "target": "com.amazonaws.voiceid#String", + "traits": { + "smithy.api#documentation": "If NextToken
is returned, there are more results available. The value of NextToken
\n is a unique pagination token for each page. Make the call again using the returned token to retrieve the\n next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.\n
Lists all tags associated with a specified Voice ID resource.
", + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{ResourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.voiceid#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Voice ID resource for which you want to list the tags.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "Tags": { + "target": "com.amazonaws.voiceid#TagList", + "traits": { + "smithy.api#documentation": "The list of tags associated with the specified resource.
" + } + } + } + }, + "com.amazonaws.voiceid#MaxResultsForList": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.voiceid#MaxResultsForListDomainFe": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.voiceid#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 8192 + }, + "smithy.api#pattern": "^\\p{ASCII}{0,8192}$" + } + }, + "com.amazonaws.voiceid#OptOutSpeaker": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#OptOutSpeakerRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#OptOutSpeakerResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Opts out a speaker from Voice ID system. A speaker can be opted out regardless of whether or not they\n already exist in the system. If they don't yet exist, a new speaker is created in an opted out state.\n If they already exist, their existing status is overridden and they are opted out. Enrollment and\n evaluation authentication requests are rejected for opted out speakers, and opted out speakers have\n no voice embeddings stored in the system.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/domains/{DomainId}/speakers/{SpeakerId}/optout", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#OptOutSpeakerRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain containing the speaker.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "SpeakerId": { + "target": "com.amazonaws.voiceid#SpeakerId", + "traits": { + "smithy.api#documentation": "The identifier of the speaker you want opted-out.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#OptOutSpeakerResponse": { + "type": "structure", + "members": { + "Speaker": { + "target": "com.amazonaws.voiceid#Speaker", + "traits": { + "smithy.api#documentation": "Details about the opted-out speaker.
" + } + } + } + }, + "com.amazonaws.voiceid#OutputDataConfig": { + "type": "structure", + "members": { + "S3Uri": { + "target": "com.amazonaws.voiceid#S3Uri", + "traits": { + "smithy.api#documentation": "The S3 path of the folder to which Voice ID writes the job output file, which has a \n *.out
extension. For example, if the input file name is input-file.json
and \n the output folder path is s3://output-bucket/output-folder
, the full output file path is \n s3://output-bucket/output-folder/job-Id/input-file.json.out
.
the identifier of the KMS key you want Voice ID to use to encrypt the output file of the fraudster\n registration job.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration containing output file information for a batch job.
" + } + }, + "com.amazonaws.voiceid#RegistrationConfig": { + "type": "structure", + "members": { + "DuplicateRegistrationAction": { + "target": "com.amazonaws.voiceid#DuplicateRegistrationAction", + "traits": { + "smithy.api#documentation": "The action to take when a fraudster is identified as a duplicate. The default action is \n SKIP
, which skips registering the duplicate fraudster. Setting the value to\n REGISTER_AS_NEW
always registers a new fraudster into the specified domain.
The minimum similarity score between the new and old fraudsters in order to consider the new \n fraudster a duplicate.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration definining the action to take when a duplicate fraudster is detected, and the \n similarity threshold to use for detecting a duplicate fraudster during a batch fraudster registration job.
" + } + }, + "com.amazonaws.voiceid#ResourceNotFoundException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.voiceid#String" + }, + "ResourceType": { + "target": "com.amazonaws.voiceid#ResourceType", + "traits": { + "smithy.api#documentation": "The type of resource which cannot not be found. Possible types are BATCH_JOB
, COMPLIANCE_CONSENT
,\n DOMAIN
, FRAUDSTER
, SESSION
and SPEAKER
.
The specified resource cannot be found. Check the ResourceType
and error message for\n more details.
The identifier of the KMS Key you want Voice ID to use to encrypt your data.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The configuration containing information about the customer-managed KMS Key used for encrypting\n customer data.
" + } + }, + "com.amazonaws.voiceid#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.voiceid#String" + } + }, + "traits": { + "smithy.api#documentation": "The request exceeded the service quota. Refer to Voice ID Service \n Quotas and try your request again.
", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.voiceid#SessionId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 25, + "max": 25 + }, + "smithy.api#pattern": "^id#[a-zA-Z0-9]{22}$" + } + }, + "com.amazonaws.voiceid#SessionName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 36 + }, + "smithy.api#pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$" + } + }, + "com.amazonaws.voiceid#SessionNameOrId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 36 + }, + "smithy.api#pattern": "^(id#[a-zA-Z0-9]{22}|[a-zA-Z0-9][a-zA-Z0-9_-]*)$" + } + }, + "com.amazonaws.voiceid#Speaker": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain that contains the speaker.
" + } + }, + "CustomerSpeakerId": { + "target": "com.amazonaws.voiceid#CustomerSpeakerId", + "traits": { + "smithy.api#documentation": "The client-provided identifier for the speaker.
" + } + }, + "GeneratedSpeakerId": { + "target": "com.amazonaws.voiceid#GeneratedSpeakerId", + "traits": { + "smithy.api#documentation": "The service-generated identifier for the speaker.
" + } + }, + "Status": { + "target": "com.amazonaws.voiceid#SpeakerStatus", + "traits": { + "smithy.api#documentation": "The current status of the speaker.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing when the speaker is created.
" + } + }, + "UpdatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing the speaker's last update.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains all the information about a speaker.
" + } + }, + "com.amazonaws.voiceid#SpeakerEnrollmentJob": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.voiceid#JobName", + "traits": { + "smithy.api#documentation": "The client-provided name for the speaker enrollment job.
" + } + }, + "JobId": { + "target": "com.amazonaws.voiceid#JobId", + "traits": { + "smithy.api#documentation": "The service-generated identifier for the speaker enrollment job.
" + } + }, + "JobStatus": { + "target": "com.amazonaws.voiceid#SpeakerEnrollmentJobStatus", + "traits": { + "smithy.api#documentation": "The current status of the speaker enrollment job.
" + } + }, + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain that contains the speaker enrollment job.
" + } + }, + "DataAccessRoleArn": { + "target": "com.amazonaws.voiceid#IamRoleArn", + "traits": { + "smithy.api#documentation": "The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets\n to read the input manifest file and write the job output file.
" + } + }, + "EnrollmentConfig": { + "target": "com.amazonaws.voiceid#EnrollmentConfig", + "traits": { + "smithy.api#documentation": "The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the\n FraudDetectionConfig
to use.
The input data config containing an S3 URI for the input manifest file that contains the list\n of speaker enrollment job requests.
" + } + }, + "OutputDataConfig": { + "target": "com.amazonaws.voiceid#OutputDataConfig", + "traits": { + "smithy.api#documentation": "The output data config containing the S3 location where Voice ID writes the job output file; you must \n also include a KMS Key ID to encrypt the file.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing the creation of the speaker enrollment job.
" + } + }, + "EndedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing when the speaker enrollment job ended.
" + } + }, + "FailureDetails": { + "target": "com.amazonaws.voiceid#FailureDetails", + "traits": { + "smithy.api#documentation": "Contains details that are populated when an entire batch job fails. In cases of individual registration\n job failures, the batch job as a whole doesn't fail; it is completed with a JobStatus
of\n COMPLETED_WITH_ERRORS
. You can use the job output file to identify the individual \n registration requests that failed.
Provides details on job progress. This field shows the completed percentage of registration \n requests listed in the input file.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains all the information about a speaker enrollment job.
" + } + }, + "com.amazonaws.voiceid#SpeakerEnrollmentJobStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SUBMITTED", + "name": "SUBMITTED" + }, + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + }, + { + "value": "COMPLETED_WITH_ERRORS", + "name": "COMPLETED_WITH_ERRORS" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.voiceid#SpeakerEnrollmentJobSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.voiceid#SpeakerEnrollmentJobSummary" + } + }, + "com.amazonaws.voiceid#SpeakerEnrollmentJobSummary": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.voiceid#JobName", + "traits": { + "smithy.api#documentation": "The client-provided name for the speaker enrollment job.
" + } + }, + "JobId": { + "target": "com.amazonaws.voiceid#JobId", + "traits": { + "smithy.api#documentation": "The service-generated identifier for the speaker enrollment job.
" + } + }, + "JobStatus": { + "target": "com.amazonaws.voiceid#SpeakerEnrollmentJobStatus", + "traits": { + "smithy.api#documentation": "The current status of the speaker enrollment job.
" + } + }, + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain that contains the speaker enrollment job.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing the creation time of the speaker enrollment job.
" + } + }, + "EndedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing when the speaker enrollment job ended.
" + } + }, + "FailureDetails": { + "target": "com.amazonaws.voiceid#FailureDetails", + "traits": { + "smithy.api#documentation": "Contains details that are populated when an entire batch job fails. In cases of individual registration\n job failures, the batch job as a whole doesn't fail; it is completed with a JobStatus
of\n COMPLETED_WITH_ERRORS
. You can use the job output file to identify the individual \n registration requests that failed.
Provides details regarding job progress. This field shows the completed percentage of enrollment \n requests listed in the input file.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains a summary of information about a speaker enrollment job.
" + } + }, + "com.amazonaws.voiceid#SpeakerId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^(id#[a-zA-Z0-9]{22}|[a-zA-Z0-9][a-zA-Z0-9_-]*)$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.voiceid#SpeakerStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ENROLLED", + "name": "ENROLLED" + }, + { + "value": "EXPIRED", + "name": "EXPIRED" + }, + { + "value": "OPTED_OUT", + "name": "OPTED_OUT" + }, + { + "value": "PENDING", + "name": "PENDING" + } + ] + } + }, + "com.amazonaws.voiceid#SpeakerSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.voiceid#SpeakerSummary" + } + }, + "com.amazonaws.voiceid#SpeakerSummary": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain that contains the speaker.
" + } + }, + "CustomerSpeakerId": { + "target": "com.amazonaws.voiceid#CustomerSpeakerId", + "traits": { + "smithy.api#documentation": "The client-provided identifier for the speaker.
" + } + }, + "GeneratedSpeakerId": { + "target": "com.amazonaws.voiceid#GeneratedSpeakerId", + "traits": { + "smithy.api#documentation": "The service-generated identifier for the speaker.
" + } + }, + "Status": { + "target": "com.amazonaws.voiceid#SpeakerStatus", + "traits": { + "smithy.api#documentation": "The current status of the speaker.
" + } + }, + "CreatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing the speaker's creation time.
" + } + }, + "UpdatedAt": { + "target": "com.amazonaws.voiceid#Timestamp", + "traits": { + "smithy.api#documentation": "A timestamp showing the speaker's last update.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Contains a summary of information about a speaker.
" + } + }, + "com.amazonaws.voiceid#StartFraudsterRegistrationJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#StartFraudsterRegistrationJobRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#StartFraudsterRegistrationJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Starts a new batch fraudster registration job using provided details.
", + "smithy.api#http": { + "method": "POST", + "uri": "/domains/{DomainId}/fraudster-registration-jobs", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.voiceid#StartFraudsterRegistrationJobRequest": { + "type": "structure", + "members": { + "ClientToken": { + "target": "com.amazonaws.voiceid#ClientTokenString", + "traits": { + "smithy.api#documentation": "The idempotency token for starting a new fraudster registration job. If not provided, Amazon Web Services \n SDK populates this field.
", + "smithy.api#idempotencyToken": {} + } + }, + "JobName": { + "target": "com.amazonaws.voiceid#JobName", + "traits": { + "smithy.api#documentation": "The name of the new fraudster registration job.
" + } + }, + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain containing the fraudster registration job and in which the fraudsters are\n registered.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "DataAccessRoleArn": { + "target": "com.amazonaws.voiceid#IamRoleArn", + "traits": { + "smithy.api#documentation": "The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets\n to read the input manifest file and write the Job output file. Refer to the\n Create and\n edit a fraudster watchlist documentation for the permissions needed in this role.
", + "smithy.api#required": {} + } + }, + "RegistrationConfig": { + "target": "com.amazonaws.voiceid#RegistrationConfig", + "traits": { + "smithy.api#documentation": "The registration config containing details such as the action to take when a duplicate fraudster is\n detected, and the similarity threshold to use for detecting a duplicate fraudster.
" + } + }, + "InputDataConfig": { + "target": "com.amazonaws.voiceid#InputDataConfig", + "traits": { + "smithy.api#documentation": "The input data config containing an S3 URI for the input manifest file that contains the list\n of fraudster registration requests.
", + "smithy.api#required": {} + } + }, + "OutputDataConfig": { + "target": "com.amazonaws.voiceid#OutputDataConfig", + "traits": { + "smithy.api#documentation": "The output data config containing the S3 location where Voice ID writes the job output file; you must\n also include a KMS Key ID to encrypt the file.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#StartFraudsterRegistrationJobResponse": { + "type": "structure", + "members": { + "Job": { + "target": "com.amazonaws.voiceid#FraudsterRegistrationJob", + "traits": { + "smithy.api#documentation": "Details about the started fraudster registration job.
" + } + } + } + }, + "com.amazonaws.voiceid#StartSpeakerEnrollmentJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#StartSpeakerEnrollmentJobRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#StartSpeakerEnrollmentJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Starts a new batch speaker enrollment job using specified details.
", + "smithy.api#http": { + "method": "POST", + "uri": "/domains/{DomainId}/speaker-enrollment-jobs", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.voiceid#StartSpeakerEnrollmentJobRequest": { + "type": "structure", + "members": { + "ClientToken": { + "target": "com.amazonaws.voiceid#ClientTokenString", + "traits": { + "smithy.api#documentation": "The idempotency token for starting a new speaker enrollment Job. If not provided, Amazon Web Services \n SDK populates this field.
", + "smithy.api#idempotencyToken": {} + } + }, + "JobName": { + "target": "com.amazonaws.voiceid#JobName", + "traits": { + "smithy.api#documentation": "A name for your speaker enrollment job.
" + } + }, + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain that contains the speaker enrollment job and in which the speakers are\n enrolled.\n
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "DataAccessRoleArn": { + "target": "com.amazonaws.voiceid#IamRoleArn", + "traits": { + "smithy.api#documentation": "The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets\n to read the input manifest file and write the job output file. Refer to Batch enrollment using audio data from prior\n calls documentation for the permissions needed in this role.
", + "smithy.api#required": {} + } + }, + "EnrollmentConfig": { + "target": "com.amazonaws.voiceid#EnrollmentConfig", + "traits": { + "smithy.api#documentation": "The enrollment config that contains details such as the action to take when a speaker is already\n enrolled in the Voice ID system or when a speaker is identified as a fraudster.
" + } + }, + "InputDataConfig": { + "target": "com.amazonaws.voiceid#InputDataConfig", + "traits": { + "smithy.api#documentation": "The input data config containing the S3 location for the input manifest file that contains the list of\n speaker enrollment requests.
", + "smithy.api#required": {} + } + }, + "OutputDataConfig": { + "target": "com.amazonaws.voiceid#OutputDataConfig", + "traits": { + "smithy.api#documentation": "The output data config containing the S3 location where Voice ID writes the job output file; you must\n also include a KMS Key ID to encrypt the file.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#StartSpeakerEnrollmentJobResponse": { + "type": "structure", + "members": { + "Job": { + "target": "com.amazonaws.voiceid#SpeakerEnrollmentJob", + "traits": { + "smithy.api#documentation": "Details about the started speaker enrollment job.
" + } + } + } + }, + "com.amazonaws.voiceid#StreamingStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PENDING_CONFIGURATION", + "name": "PENDING_CONFIGURATION" + }, + { + "value": "ONGOING", + "name": "ONGOING" + }, + { + "value": "ENDED", + "name": "ENDED" + } + ] + } + }, + "com.amazonaws.voiceid#String": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.voiceid#Tag": { + "type": "structure", + "members": { + "Key": { + "target": "com.amazonaws.voiceid#TagKey", + "traits": { + "smithy.api#documentation": "The first part of a key:value pair that forms a tag associated with a given resource. For example,\n in the tag ‘Department’:’Sales’, the key is 'Department'.\n
", + "smithy.api#required": {} + } + }, + "Value": { + "target": "com.amazonaws.voiceid#TagValue", + "traits": { + "smithy.api#documentation": "The second part of a key:value pair that forms a tag associated with a given resource. For example,\n in the tag ‘Department’:’Sales’, the value is 'Sales'.\n
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "A tag that can be assigned to a Voice ID resource.
" + } + }, + "com.amazonaws.voiceid#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.voiceid#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.voiceid#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.voiceid#TagList": { + "type": "list", + "member": { + "target": "com.amazonaws.voiceid#Tag" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 200 + } + } + }, + "com.amazonaws.voiceid#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Tags an Amazon Connect Voice ID resource with the provided list of tags.
", + "smithy.api#http": { + "method": "POST", + "uri": "/tags/{ResourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#TagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.voiceid#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Voice ID resource you want to tag.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.voiceid#TagList", + "traits": { + "smithy.api#documentation": "The list of tags to assign to the specified resource.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.voiceid#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.voiceid#ThrottlingException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.voiceid#String" + } + }, + "traits": { + "smithy.api#documentation": "The request was denied due to request throttling. Please slow down your request rate. Refer to\n \n Amazon Connect Voice ID Service API throttling quotas\n and try your request again.
", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.voiceid#Timestamp": { + "type": "timestamp" + }, + "com.amazonaws.voiceid#UniqueIdLarge": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 22, + "max": 22 + }, + "smithy.api#pattern": "^[a-zA-Z0-9]{22}$" + } + }, + "com.amazonaws.voiceid#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Removes specified tags from a specified Amazon Connect Voice ID resource.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{ResourceArn}", + "code": 204 + } + } + }, + "com.amazonaws.voiceid#UntagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.voiceid#AmazonResourceName", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Voice ID resource you want to remove tags from.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "TagKeys": { + "target": "com.amazonaws.voiceid#TagKeyList", + "traits": { + "smithy.api#documentation": "The list of tag keys you want to remove from the specified resource.
", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#UntagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.voiceid#UpdateDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.voiceid#UpdateDomainRequest" + }, + "output": { + "target": "com.amazonaws.voiceid#UpdateDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.voiceid#AccessDeniedException" + }, + { + "target": "com.amazonaws.voiceid#ConflictException" + }, + { + "target": "com.amazonaws.voiceid#InternalServerException" + }, + { + "target": "com.amazonaws.voiceid#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.voiceid#ThrottlingException" + }, + { + "target": "com.amazonaws.voiceid#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the specified domain. This API has clobber behavior, and clears and replaces all attributes.\n If an optional field, such as 'Description' is not provided, it is removed from the domain.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/domains/{DomainId}", + "code": 200 + } + } + }, + "com.amazonaws.voiceid#UpdateDomainRequest": { + "type": "structure", + "members": { + "DomainId": { + "target": "com.amazonaws.voiceid#DomainId", + "traits": { + "smithy.api#documentation": "The identifier of the domain to be updated.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.voiceid#DomainName", + "traits": { + "smithy.api#documentation": "The name of the domain.
", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.voiceid#Description", + "traits": { + "smithy.api#documentation": "A brief description about this domain.
" + } + }, + "ServerSideEncryptionConfiguration": { + "target": "com.amazonaws.voiceid#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The configuration, containing the KMS Key Identifier, to be used by Voice ID for the server-side\n encryption of your data. Note that all the existing data in the domain are still encrypted using the\n existing key, only the data added to domain after updating the key is encrypted using the new key.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.voiceid#UpdateDomainResponse": { + "type": "structure", + "members": { + "Domain": { + "target": "com.amazonaws.voiceid#Domain", + "traits": { + "smithy.api#documentation": "Details about the updated domain
" + } + } + } + }, + "com.amazonaws.voiceid#ValidationException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.voiceid#String" + } + }, + "traits": { + "smithy.api#documentation": "The request failed one or more validations; check the error message for more details.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.voiceid#VoiceID": { + "type": "service", + "version": "2021-09-27", + "operations": [ + { + "target": "com.amazonaws.voiceid#CreateDomain" + }, + { + "target": "com.amazonaws.voiceid#DeleteDomain" + }, + { + "target": "com.amazonaws.voiceid#DeleteFraudster" + }, + { + "target": "com.amazonaws.voiceid#DeleteSpeaker" + }, + { + "target": "com.amazonaws.voiceid#DescribeDomain" + }, + { + "target": "com.amazonaws.voiceid#DescribeFraudster" + }, + { + "target": "com.amazonaws.voiceid#DescribeFraudsterRegistrationJob" + }, + { + "target": "com.amazonaws.voiceid#DescribeSpeaker" + }, + { + "target": "com.amazonaws.voiceid#DescribeSpeakerEnrollmentJob" + }, + { + "target": "com.amazonaws.voiceid#EvaluateSession" + }, + { + "target": "com.amazonaws.voiceid#ListDomains" + }, + { + "target": "com.amazonaws.voiceid#ListFraudsterRegistrationJobs" + }, + { + "target": "com.amazonaws.voiceid#ListSpeakerEnrollmentJobs" + }, + { + "target": "com.amazonaws.voiceid#ListSpeakers" + }, + { + "target": "com.amazonaws.voiceid#ListTagsForResource" + }, + { + "target": "com.amazonaws.voiceid#OptOutSpeaker" + }, + { + "target": "com.amazonaws.voiceid#StartFraudsterRegistrationJob" + }, + { + "target": "com.amazonaws.voiceid#StartSpeakerEnrollmentJob" + }, + { + "target": "com.amazonaws.voiceid#TagResource" + }, + { + "target": "com.amazonaws.voiceid#UntagResource" + }, + { + "target": "com.amazonaws.voiceid#UpdateDomain" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Voice ID", + "arnNamespace": "voiceid", + "cloudFormationName": "VoiceID", + "cloudTrailEventSource": "voiceid.amazonaws.com", + "endpointPrefix": "voiceid" + }, + "aws.auth#sigv4": { + "name": "voiceid" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon Connect Voice ID provides real-time caller authentication and fraud screening. This guide\n describes the APIs used for this service.\n
", + "smithy.api#title": "Amazon Voice ID" + } + } + } +} diff --git a/codegen/sdk-codegen/aws-models/wisdom.2020-10-19.json b/codegen/sdk-codegen/aws-models/wisdom.2020-10-19.json new file mode 100644 index 000000000000..a25062332aa9 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/wisdom.2020-10-19.json @@ -0,0 +1,3976 @@ +{ + "smithy": "1.0", + "shapes": { + "com.amazonaws.wisdom#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "You do not have sufficient access to perform this action.
", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.wisdom#AppIntegrationsConfiguration": { + "type": "structure", + "members": { + "appIntegrationArn": { + "target": "com.amazonaws.wisdom#GenericArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the AppIntegrations DataIntegration to use for ingesting content.
", + "smithy.api#required": {} + } + }, + "objectFields": { + "target": "com.amazonaws.wisdom#ObjectFieldsList", + "traits": { + "smithy.api#documentation": "The fields from the source that are made available to your agents in Wisdom.
\n For Salesforce, you must include at least Id
,\n ArticleNumber
, VersionNumber
, Title
,\n PublishStatus
, and IsDeleted
.
For ServiceNow, you must include at least number
,\n short_description
, sys_mod_count
, workflow_state
,\n and active
.
Make sure to include additional field(s); these are indexed and used to source\n recommendations.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration information for Amazon AppIntegrations to automatically ingest content.
" + } + }, + "com.amazonaws.wisdom#Arn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$" + } + }, + "com.amazonaws.wisdom#Assistant": { + "type": "resource", + "identifiers": { + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn" + } + }, + "create": { + "target": "com.amazonaws.wisdom#CreateAssistant" + }, + "read": { + "target": "com.amazonaws.wisdom#GetAssistant" + }, + "delete": { + "target": "com.amazonaws.wisdom#DeleteAssistant" + }, + "list": { + "target": "com.amazonaws.wisdom#ListAssistants" + }, + "operations": [ + { + "target": "com.amazonaws.wisdom#GetRecommendations" + }, + { + "target": "com.amazonaws.wisdom#NotifyRecommendationsReceived" + }, + { + "target": "com.amazonaws.wisdom#QueryAssistant" + }, + { + "target": "com.amazonaws.wisdom#SearchSessions" + } + ], + "resources": [ + { + "target": "com.amazonaws.wisdom#AssistantAssociation" + }, + { + "target": "com.amazonaws.wisdom#Session" + } + ], + "traits": { + "aws.api#arn": { + "template": "assistant/{assistantId}", + "absolute": false, + "noAccount": false, + "noRegion": false + }, + "aws.cloudformation#cfnResource": {}, + "aws.iam#disableConditionKeyInference": {} + } + }, + "com.amazonaws.wisdom#AssistantAssociation": { + "type": "resource", + "identifiers": { + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn" + }, + "assistantAssociationId": { + "target": "com.amazonaws.wisdom#UuidOrArn" + } + }, + "create": { + "target": "com.amazonaws.wisdom#CreateAssistantAssociation" + }, + "read": { + "target": "com.amazonaws.wisdom#GetAssistantAssociation" + }, + "delete": { + "target": "com.amazonaws.wisdom#DeleteAssistantAssociation" + }, + "list": { + "target": "com.amazonaws.wisdom#ListAssistantAssociations" + }, + "traits": { + "aws.api#arn": { + "template": "association/{assistantId}/{assistantAssociationId}", + "absolute": false, + "noAccount": false, + "noRegion": false + }, + "aws.cloudformation#cfnResource": {}, + "aws.iam#disableConditionKeyInference": {} + } + }, + "com.amazonaws.wisdom#AssistantAssociationData": { + "type": "structure", + "members": { + "assistantAssociationId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the assistant association.
", + "smithy.api#required": {} + } + }, + "assistantAssociationArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the assistant association.
", + "smithy.api#required": {} + } + }, + "assistantId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant.
", + "smithy.api#required": {} + } + }, + "assistantArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Wisdom assistant
", + "smithy.api#required": {} + } + }, + "associationType": { + "target": "com.amazonaws.wisdom#AssociationType", + "traits": { + "smithy.api#documentation": "The type of association.
", + "smithy.api#required": {} + } + }, + "associationData": { + "target": "com.amazonaws.wisdom#AssistantAssociationOutputData", + "traits": { + "smithy.api#documentation": "A union type that currently has a single argument, the knowledge base ID.
", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about the assistant association.
", + "smithy.api#references": [ + { + "resource": "com.amazonaws.wisdom#AssistantAssociation" + } + ] + } + }, + "com.amazonaws.wisdom#AssistantAssociationInputData": { + "type": "union", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The data that is input into Wisdom as a result of the assistant association.
" + } + }, + "com.amazonaws.wisdom#AssistantAssociationOutputData": { + "type": "union", + "members": { + "knowledgeBaseAssociation": { + "target": "com.amazonaws.wisdom#KnowledgeBaseAssociationData", + "traits": { + "smithy.api#documentation": "The knowledge base where output data is sent.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The data that is output as a result of the assistant association.
" + } + }, + "com.amazonaws.wisdom#AssistantAssociationSummary": { + "type": "structure", + "members": { + "assistantAssociationId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the assistant association.
", + "smithy.api#required": {} + } + }, + "assistantAssociationArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the assistant association.
", + "smithy.api#required": {} + } + }, + "assistantId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant.
", + "smithy.api#required": {} + } + }, + "assistantArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Wisdom assistant
", + "smithy.api#required": {} + } + }, + "associationType": { + "target": "com.amazonaws.wisdom#AssociationType", + "traits": { + "smithy.api#documentation": "The type of association.
", + "smithy.api#required": {} + } + }, + "associationData": { + "target": "com.amazonaws.wisdom#AssistantAssociationOutputData", + "traits": { + "smithy.api#documentation": "The association data.
", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Summary information about the assistant association.
", + "smithy.api#references": [ + { + "resource": "com.amazonaws.wisdom#AssistantAssociation" + } + ] + } + }, + "com.amazonaws.wisdom#AssistantAssociationSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#AssistantAssociationSummary" + } + }, + "com.amazonaws.wisdom#AssistantData": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant.
", + "smithy.api#required": {} + } + }, + "assistantArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Wisdom assistant
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name.
", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.wisdom#AssistantType", + "traits": { + "smithy.api#documentation": "The type of assistant.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.wisdom#AssistantStatus", + "traits": { + "smithy.api#documentation": "The status of the assistant.
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.wisdom#Description", + "traits": { + "smithy.api#documentation": "The description.
" + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + }, + "serverSideEncryptionConfiguration": { + "target": "com.amazonaws.wisdom#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The KMS key used for encryption.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The assistant data.
" + } + }, + "com.amazonaws.wisdom#AssistantList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#AssistantSummary" + } + }, + "com.amazonaws.wisdom#AssistantStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATE_IN_PROGRESS", + "name": "CREATE_IN_PROGRESS" + }, + { + "value": "CREATE_FAILED", + "name": "CREATE_FAILED" + }, + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "DELETE_IN_PROGRESS", + "name": "DELETE_IN_PROGRESS" + }, + { + "value": "DELETE_FAILED", + "name": "DELETE_FAILED" + }, + { + "value": "DELETED", + "name": "DELETED" + } + ] + } + }, + "com.amazonaws.wisdom#AssistantSummary": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant.
", + "smithy.api#required": {} + } + }, + "assistantArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Wisdom assistant
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the assistant.
", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.wisdom#AssistantType", + "traits": { + "smithy.api#documentation": "The type of the assistant.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.wisdom#AssistantStatus", + "traits": { + "smithy.api#documentation": "The status of the assistant.
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.wisdom#Description", + "traits": { + "smithy.api#documentation": "The description of the assistant.
" + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + }, + "serverSideEncryptionConfiguration": { + "target": "com.amazonaws.wisdom#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The KMS key used for encryption.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Summary information about the assistant.
" + } + }, + "com.amazonaws.wisdom#AssistantType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AGENT", + "name": "AGENT" + } + ] + } + }, + "com.amazonaws.wisdom#AssociationType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "KNOWLEDGE_BASE", + "name": "KNOWLEDGE_BASE" + } + ] + } + }, + "com.amazonaws.wisdom#ClientToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4096 + } + } + }, + "com.amazonaws.wisdom#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The request could not be processed because of conflict in the current state of the\n resource. For example, if you're using a Create
API (such as\n CreateAssistant
) that accepts name, a conflicting resource (usually with the\n same name) is being created or mutated.
The Amazon Resource Name (ARN) of the content.
", + "smithy.api#required": {} + } + }, + "contentId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the content.
", + "smithy.api#required": {} + } + }, + "knowledgeBaseArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the knowledge base.
", + "smithy.api#required": {} + } + }, + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the content.
", + "smithy.api#required": {} + } + }, + "revisionId": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "The identifier of the content revision.
", + "smithy.api#required": {} + } + }, + "title": { + "target": "com.amazonaws.wisdom#ContentTitle", + "traits": { + "smithy.api#documentation": "The title of the content.
", + "smithy.api#required": {} + } + }, + "contentType": { + "target": "com.amazonaws.wisdom#ContentType", + "traits": { + "smithy.api#documentation": "The media type of the content.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.wisdom#ContentStatus", + "traits": { + "smithy.api#documentation": "The status of the content.
", + "smithy.api#required": {} + } + }, + "metadata": { + "target": "com.amazonaws.wisdom#ContentMetadata", + "traits": { + "smithy.api#documentation": "A key/value map to store attributes without affecting tagging or recommendations. \nFor example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.
", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + }, + "linkOutUri": { + "target": "com.amazonaws.wisdom#Uri", + "traits": { + "smithy.api#documentation": "The URI of the content.
" + } + }, + "url": { + "target": "com.amazonaws.wisdom#Url", + "traits": { + "smithy.api#documentation": "The URL of the content.
", + "smithy.api#required": {}, + "smithy.api#sensitive": {} + } + }, + "urlExpiry": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The expiration time of the URL as an epoch timestamp.
", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "epoch-seconds" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about the content.
", + "smithy.api#references": [ + { + "resource": "com.amazonaws.wisdom#Content" + }, + { + "resource": "com.amazonaws.wisdom#KnowledgeBase" + } + ] + } + }, + "com.amazonaws.wisdom#ContentMetadata": { + "type": "map", + "key": { + "target": "com.amazonaws.wisdom#NonEmptyString" + }, + "value": { + "target": "com.amazonaws.wisdom#NonEmptyString" + } + }, + "com.amazonaws.wisdom#ContentReference": { + "type": "structure", + "members": { + "knowledgeBaseArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the knowledge base.
" + } + }, + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base.
" + } + }, + "contentArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the content.
" + } + }, + "contentId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the content.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Reference information about the content.
" + } + }, + "com.amazonaws.wisdom#ContentStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATE_IN_PROGRESS", + "name": "CREATE_IN_PROGRESS" + }, + { + "value": "CREATE_FAILED", + "name": "CREATE_FAILED" + }, + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "DELETE_IN_PROGRESS", + "name": "DELETE_IN_PROGRESS" + }, + { + "value": "DELETE_FAILED", + "name": "DELETE_FAILED" + }, + { + "value": "DELETED", + "name": "DELETED" + }, + { + "value": "UPDATE_FAILED", + "name": "UPDATE_FAILED" + } + ] + } + }, + "com.amazonaws.wisdom#ContentSummary": { + "type": "structure", + "members": { + "contentArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the content.
", + "smithy.api#required": {} + } + }, + "contentId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the content.
", + "smithy.api#required": {} + } + }, + "knowledgeBaseArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the knowledge base.
", + "smithy.api#required": {} + } + }, + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the content.
", + "smithy.api#required": {} + } + }, + "revisionId": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "The identifier of the revision of the content.
", + "smithy.api#required": {} + } + }, + "title": { + "target": "com.amazonaws.wisdom#ContentTitle", + "traits": { + "smithy.api#documentation": "The title of the content.
", + "smithy.api#required": {} + } + }, + "contentType": { + "target": "com.amazonaws.wisdom#ContentType", + "traits": { + "smithy.api#documentation": "The media type of the content.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.wisdom#ContentStatus", + "traits": { + "smithy.api#documentation": "The status of the content.
", + "smithy.api#required": {} + } + }, + "metadata": { + "target": "com.amazonaws.wisdom#ContentMetadata", + "traits": { + "smithy.api#documentation": "A key/value map to store attributes without affecting tagging or recommendations. \nFor example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.
", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Summary information about the content.
", + "smithy.api#references": [ + { + "resource": "com.amazonaws.wisdom#Content" + }, + { + "resource": "com.amazonaws.wisdom#KnowledgeBase" + } + ] + } + }, + "com.amazonaws.wisdom#ContentSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#ContentSummary" + } + }, + "com.amazonaws.wisdom#ContentTitle": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.wisdom#ContentType": { + "type": "string", + "traits": { + "smithy.api#pattern": "^(text/(plain|html))|(application/x\\.wisdom-json;source=(salesforce|servicenow))$" + } + }, + "com.amazonaws.wisdom#CreateAssistant": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#CreateAssistantRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#CreateAssistantResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ConflictException" + }, + { + "target": "com.amazonaws.wisdom#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates an Amazon Connect Wisdom assistant.
", + "smithy.api#http": { + "method": "POST", + "uri": "/assistants", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.wisdom#CreateAssistantAssociation": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#CreateAssistantAssociationRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#CreateAssistantAssociationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ConflictException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates an association between an Amazon Connect Wisdom assistant and another resource. Currently, the\n only supported association is with a knowledge base. An assistant can have only a single\n association.
", + "smithy.api#http": { + "method": "POST", + "uri": "/assistants/{assistantId}/associations", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.wisdom#CreateAssistantAssociationRequest": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "associationType": { + "target": "com.amazonaws.wisdom#AssociationType", + "traits": { + "smithy.api#documentation": "The type of association.
", + "smithy.api#required": {} + } + }, + "association": { + "target": "com.amazonaws.wisdom#AssistantAssociationInputData", + "traits": { + "smithy.api#documentation": "The identifier of the associated resource.
", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.wisdom#ClientToken", + "traits": { + "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", + "smithy.api#idempotencyToken": {} + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.wisdom#CreateAssistantAssociationResponse": { + "type": "structure", + "members": { + "assistantAssociation": { + "target": "com.amazonaws.wisdom#AssistantAssociationData", + "traits": { + "smithy.api#documentation": "The assistant association.
" + } + } + } + }, + "com.amazonaws.wisdom#CreateAssistantRequest": { + "type": "structure", + "members": { + "clientToken": { + "target": "com.amazonaws.wisdom#ClientToken", + "traits": { + "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", + "smithy.api#idempotencyToken": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the assistant.
", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.wisdom#AssistantType", + "traits": { + "smithy.api#documentation": "The type of assistant.
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.wisdom#Description", + "traits": { + "smithy.api#documentation": "The description of the assistant.
" + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + }, + "serverSideEncryptionConfiguration": { + "target": "com.amazonaws.wisdom#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The KMS key used for encryption.
" + } + } + } + }, + "com.amazonaws.wisdom#CreateAssistantResponse": { + "type": "structure", + "members": { + "assistant": { + "target": "com.amazonaws.wisdom#AssistantData", + "traits": { + "smithy.api#documentation": "Information about the assistant.
" + } + } + } + }, + "com.amazonaws.wisdom#CreateContent": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#CreateContentRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#CreateContentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ConflictException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates Wisdom content. Before to calling this API, use StartContentUpload to\n upload an asset.
", + "smithy.api#http": { + "method": "POST", + "uri": "/knowledgeBases/{knowledgeBaseId}/contents", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.wisdom#CreateContentRequest": { + "type": "structure", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the content. Each piece of content in a knowledge base must have a unique\n name. You can retrieve a piece of content using only its knowledge base and its name with the\n SearchContent API.
", + "smithy.api#required": {} + } + }, + "title": { + "target": "com.amazonaws.wisdom#ContentTitle", + "traits": { + "smithy.api#documentation": "The title of the content. If not set, the title is equal to the name.
" + } + }, + "overrideLinkOutUri": { + "target": "com.amazonaws.wisdom#Uri", + "traits": { + "smithy.api#documentation": "The URI you want to use for the article. If the knowledge base has a templateUri, setting\n this argument overrides it for this piece of content.
" + } + }, + "metadata": { + "target": "com.amazonaws.wisdom#ContentMetadata", + "traits": { + "smithy.api#documentation": "A key/value map to store attributes without affecting tagging or recommendations. \nFor example, when synchronizing data between an external system and Wisdom, you can store an external version identifier as metadata to utilize for determining drift.
" + } + }, + "uploadId": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "A pointer to the uploaded asset. This value is returned by StartContentUpload.
", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", + "smithy.api#idempotencyToken": {} + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.wisdom#CreateContentResponse": { + "type": "structure", + "members": { + "content": { + "target": "com.amazonaws.wisdom#ContentData", + "traits": { + "smithy.api#documentation": "The content.
" + } + } + } + }, + "com.amazonaws.wisdom#CreateKnowledgeBase": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#CreateKnowledgeBaseRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#CreateKnowledgeBaseResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ConflictException" + }, + { + "target": "com.amazonaws.wisdom#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a knowledge base.
\nWhen using this API, you cannot reuse Amazon AppIntegrations\n DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do,\n you'll get an InvalidRequestException
error.
For example, you're programmatically managing your external knowledge base, and you want\n to add or remove one of the fields that is being ingested from Salesforce. Do the\n following:
\nCall DeleteKnowledgeBase.
\nCall DeleteDataIntegration.
\nCall CreateDataIntegration to recreate the DataIntegration or a create different\n one.
\nCall CreateKnowledgeBase.
\nA unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", + "smithy.api#idempotencyToken": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the knowledge base.
", + "smithy.api#required": {} + } + }, + "knowledgeBaseType": { + "target": "com.amazonaws.wisdom#KnowledgeBaseType", + "traits": { + "smithy.api#documentation": "The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content.\n EXTERNAL knowledge bases support integrations with third-party systems whose content is\n synchronized automatically.
", + "smithy.api#required": {} + } + }, + "sourceConfiguration": { + "target": "com.amazonaws.wisdom#SourceConfiguration", + "traits": { + "smithy.api#documentation": "The source of the knowledge base content. Only set this argument for EXTERNAL knowledge\n bases.
" + } + }, + "renderingConfiguration": { + "target": "com.amazonaws.wisdom#RenderingConfiguration", + "traits": { + "smithy.api#documentation": "Information about how to render the content.
" + } + }, + "serverSideEncryptionConfiguration": { + "target": "com.amazonaws.wisdom#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The KMS key used for encryption.
" + } + }, + "description": { + "target": "com.amazonaws.wisdom#Description", + "traits": { + "smithy.api#documentation": "The description.
" + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.wisdom#CreateKnowledgeBaseResponse": { + "type": "structure", + "members": { + "knowledgeBase": { + "target": "com.amazonaws.wisdom#KnowledgeBaseData", + "traits": { + "smithy.api#documentation": "The knowledge base.
" + } + } + } + }, + "com.amazonaws.wisdom#CreateSession": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#CreateSessionRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#CreateSessionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#ConflictException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a session. A session is a contextual container used for generating\n recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is\n enabled.
", + "smithy.api#http": { + "method": "POST", + "uri": "/assistants/{assistantId}/sessions", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.wisdom#CreateSessionRequest": { + "type": "structure", + "members": { + "clientToken": { + "target": "com.amazonaws.wisdom#ClientToken", + "traits": { + "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", + "smithy.api#idempotencyToken": {} + } + }, + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the session.
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.wisdom#Description", + "traits": { + "smithy.api#documentation": "The description.
" + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.wisdom#CreateSessionResponse": { + "type": "structure", + "members": { + "session": { + "target": "com.amazonaws.wisdom#SessionData", + "traits": { + "smithy.api#documentation": "The session.
" + } + } + } + }, + "com.amazonaws.wisdom#DeleteAssistant": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#DeleteAssistantRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#DeleteAssistantResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes an assistant.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/assistants/{assistantId}", + "code": 204 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.wisdom#DeleteAssistantAssociation": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#DeleteAssistantAssociationRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#DeleteAssistantAssociationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes an assistant association.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/assistants/{assistantId}/associations/{assistantAssociationId}", + "code": 204 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.wisdom#DeleteAssistantAssociationRequest": { + "type": "structure", + "members": { + "assistantAssociationId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#DeleteAssistantAssociationResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.wisdom#DeleteAssistantRequest": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#DeleteAssistantResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.wisdom#DeleteContent": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#DeleteContentRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#DeleteContentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the content.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}", + "code": 204 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.wisdom#DeleteContentRequest": { + "type": "structure", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "contentId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#DeleteContentResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.wisdom#DeleteKnowledgeBase": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#DeleteKnowledgeBaseRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#DeleteKnowledgeBaseResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ConflictException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the knowledge base.
\nWhen you use this API to delete an external knowledge base such as Salesforce or\n ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration.\n This is because you can't reuse the DataIntegration after it's been associated with an\n external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API\n Reference.
\nThe knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#DeleteKnowledgeBaseResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.wisdom#Description": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9\\s_.,-]+" + } + }, + "com.amazonaws.wisdom#Document": { + "type": "structure", + "members": { + "contentReference": { + "target": "com.amazonaws.wisdom#ContentReference", + "traits": { + "smithy.api#documentation": "A reference to the content resource.
", + "smithy.api#required": {} + } + }, + "title": { + "target": "com.amazonaws.wisdom#DocumentText", + "traits": { + "smithy.api#documentation": "The title of the document.
" + } + }, + "excerpt": { + "target": "com.amazonaws.wisdom#DocumentText", + "traits": { + "smithy.api#documentation": "The excerpt from the document.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The document.
" + } + }, + "com.amazonaws.wisdom#DocumentText": { + "type": "structure", + "members": { + "text": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Text in the document.
", + "smithy.api#sensitive": {} + } + }, + "highlights": { + "target": "com.amazonaws.wisdom#Highlights", + "traits": { + "smithy.api#documentation": "Highlights in the document text.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The text of the document.
" + } + }, + "com.amazonaws.wisdom#Filter": { + "type": "structure", + "members": { + "field": { + "target": "com.amazonaws.wisdom#FilterField", + "traits": { + "smithy.api#documentation": "The field on which to filter.
", + "smithy.api#required": {} + } + }, + "operator": { + "target": "com.amazonaws.wisdom#FilterOperator", + "traits": { + "smithy.api#documentation": "The operator to use for comparing the field’s value with the provided value.
", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "The desired field value on which to filter.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "A search filter.
" + } + }, + "com.amazonaws.wisdom#FilterField": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NAME", + "name": "NAME" + } + ] + } + }, + "com.amazonaws.wisdom#FilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#Filter" + } + }, + "com.amazonaws.wisdom#FilterOperator": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EQUALS", + "name": "EQUALS" + } + ] + } + }, + "com.amazonaws.wisdom#GenericArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^arn:[a-z-]+?:[a-z-]+?:[a-z0-9-]*?:([0-9]{12})?:[a-zA-Z0-9-:/]+$" + } + }, + "com.amazonaws.wisdom#GetAssistant": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#GetAssistantRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#GetAssistantResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves information about an assistant.
", + "smithy.api#http": { + "method": "GET", + "uri": "/assistants/{assistantId}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#GetAssistantAssociation": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#GetAssistantAssociationRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#GetAssistantAssociationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves information about an assistant association.
", + "smithy.api#http": { + "method": "GET", + "uri": "/assistants/{assistantId}/associations/{assistantAssociationId}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#GetAssistantAssociationRequest": { + "type": "structure", + "members": { + "assistantAssociationId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the assistant association. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#GetAssistantAssociationResponse": { + "type": "structure", + "members": { + "assistantAssociation": { + "target": "com.amazonaws.wisdom#AssistantAssociationData", + "traits": { + "smithy.api#documentation": "The assistant association.
" + } + } + } + }, + "com.amazonaws.wisdom#GetAssistantRequest": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#GetAssistantResponse": { + "type": "structure", + "members": { + "assistant": { + "target": "com.amazonaws.wisdom#AssistantData", + "traits": { + "smithy.api#documentation": "Information about the assistant.
" + } + } + } + }, + "com.amazonaws.wisdom#GetContent": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#GetContentRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#GetContentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves content, including a pre-signed URL to download the content.
", + "smithy.api#http": { + "method": "GET", + "uri": "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#GetContentRequest": { + "type": "structure", + "members": { + "contentId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#GetContentResponse": { + "type": "structure", + "members": { + "content": { + "target": "com.amazonaws.wisdom#ContentData", + "traits": { + "smithy.api#documentation": "The content.
" + } + } + } + }, + "com.amazonaws.wisdom#GetContentSummary": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#GetContentSummaryRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#GetContentSummaryResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves summary information about the content.
", + "smithy.api#http": { + "method": "GET", + "uri": "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#GetContentSummaryRequest": { + "type": "structure", + "members": { + "contentId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#GetContentSummaryResponse": { + "type": "structure", + "members": { + "contentSummary": { + "target": "com.amazonaws.wisdom#ContentSummary", + "traits": { + "smithy.api#documentation": "The content summary.
" + } + } + } + }, + "com.amazonaws.wisdom#GetKnowledgeBase": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#GetKnowledgeBaseRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#GetKnowledgeBaseResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves information about the knowledge base.
", + "smithy.api#http": { + "method": "GET", + "uri": "/knowledgeBases/{knowledgeBaseId}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#GetKnowledgeBaseRequest": { + "type": "structure", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#GetKnowledgeBaseResponse": { + "type": "structure", + "members": { + "knowledgeBase": { + "target": "com.amazonaws.wisdom#KnowledgeBaseData", + "traits": { + "smithy.api#documentation": "The knowledge base.
" + } + } + } + }, + "com.amazonaws.wisdom#GetRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#GetRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#GetRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves recommendations for the specified session. To avoid retrieving the same\n recommendations in subsequent calls, use NotifyRecommendationsReceived. This API supports long-polling behavior with the\n waitTimeSeconds
parameter. Short poll is the default behavior and only returns\n recommendations already available. To perform a manual query against an assistant, use QueryAssistant.
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "sessionId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.wisdom#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "waitTimeSeconds": { + "target": "com.amazonaws.wisdom#WaitTimeSeconds", + "traits": { + "smithy.api#documentation": "The duration (in seconds) for which the call waits for a recommendation to be made\n available before returning. If a recommendation is available, the call returns sooner than\n WaitTimeSeconds
. If no messages are available and the wait time expires, the\n call returns successfully with an empty list.
The recommendations.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#GetSession": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#GetSessionRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#GetSessionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves information for a specified session.
", + "smithy.api#http": { + "method": "GET", + "uri": "/assistants/{assistantId}/sessions/{sessionId}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#GetSessionRequest": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "sessionId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#GetSessionResponse": { + "type": "structure", + "members": { + "session": { + "target": "com.amazonaws.wisdom#SessionData", + "traits": { + "smithy.api#documentation": "The session.
" + } + } + } + }, + "com.amazonaws.wisdom#Headers": { + "type": "map", + "key": { + "target": "com.amazonaws.wisdom#NonEmptyString" + }, + "value": { + "target": "com.amazonaws.wisdom#NonEmptyString" + } + }, + "com.amazonaws.wisdom#Highlight": { + "type": "structure", + "members": { + "beginOffsetInclusive": { + "target": "com.amazonaws.wisdom#HighlightOffset", + "traits": { + "smithy.api#documentation": "The offset for the start of the highlight.
" + } + }, + "endOffsetExclusive": { + "target": "com.amazonaws.wisdom#HighlightOffset", + "traits": { + "smithy.api#documentation": "The offset for the end of the highlight.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Offset specification to describe highlighting of document excerpts for rendering search\n results and recommendations.
" + } + }, + "com.amazonaws.wisdom#HighlightOffset": { + "type": "integer" + }, + "com.amazonaws.wisdom#Highlights": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#Highlight" + } + }, + "com.amazonaws.wisdom#KnowledgeBase": { + "type": "resource", + "identifiers": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn" + } + }, + "create": { + "target": "com.amazonaws.wisdom#CreateKnowledgeBase" + }, + "read": { + "target": "com.amazonaws.wisdom#GetKnowledgeBase" + }, + "delete": { + "target": "com.amazonaws.wisdom#DeleteKnowledgeBase" + }, + "list": { + "target": "com.amazonaws.wisdom#ListKnowledgeBases" + }, + "operations": [ + { + "target": "com.amazonaws.wisdom#RemoveKnowledgeBaseTemplateUri" + }, + { + "target": "com.amazonaws.wisdom#SearchContent" + }, + { + "target": "com.amazonaws.wisdom#StartContentUpload" + }, + { + "target": "com.amazonaws.wisdom#UpdateKnowledgeBaseTemplateUri" + } + ], + "resources": [ + { + "target": "com.amazonaws.wisdom#Content" + } + ], + "traits": { + "aws.api#arn": { + "template": "knowledge-base/{knowledgeBaseId}", + "absolute": false, + "noAccount": false, + "noRegion": false + }, + "aws.cloudformation#cfnResource": {}, + "aws.iam#disableConditionKeyInference": {} + } + }, + "com.amazonaws.wisdom#KnowledgeBaseAssociationData": { + "type": "structure", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base.
" + } + }, + "knowledgeBaseArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the knowledge base.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Association information about the knowledge base.
" + } + }, + "com.amazonaws.wisdom#KnowledgeBaseData": { + "type": "structure", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base.
", + "smithy.api#required": {} + } + }, + "knowledgeBaseArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the knowledge base.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the knowledge base.
", + "smithy.api#required": {} + } + }, + "knowledgeBaseType": { + "target": "com.amazonaws.wisdom#KnowledgeBaseType", + "traits": { + "smithy.api#documentation": "The type of knowledge base.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.wisdom#KnowledgeBaseStatus", + "traits": { + "smithy.api#documentation": "The status of the knowledge base.
", + "smithy.api#required": {} + } + }, + "lastContentModificationTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "An epoch timestamp indicating the most recent content modification inside the knowledge\n base. If no content exists in a knowledge base, this value is unset.
", + "smithy.api#timestampFormat": "epoch-seconds" + } + }, + "sourceConfiguration": { + "target": "com.amazonaws.wisdom#SourceConfiguration", + "traits": { + "smithy.api#documentation": "Source configuration information about the knowledge base.
" + } + }, + "renderingConfiguration": { + "target": "com.amazonaws.wisdom#RenderingConfiguration", + "traits": { + "smithy.api#documentation": "Information about how to render the content.
" + } + }, + "serverSideEncryptionConfiguration": { + "target": "com.amazonaws.wisdom#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The KMS key used for encryption.
" + } + }, + "description": { + "target": "com.amazonaws.wisdom#Description", + "traits": { + "smithy.api#documentation": "The description.
" + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about the knowledge base.
", + "smithy.api#references": [ + { + "resource": "com.amazonaws.wisdom#KnowledgeBase" + } + ] + } + }, + "com.amazonaws.wisdom#KnowledgeBaseList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#KnowledgeBaseSummary" + } + }, + "com.amazonaws.wisdom#KnowledgeBaseStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATE_IN_PROGRESS", + "name": "CREATE_IN_PROGRESS" + }, + { + "value": "CREATE_FAILED", + "name": "CREATE_FAILED" + }, + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "DELETE_IN_PROGRESS", + "name": "DELETE_IN_PROGRESS" + }, + { + "value": "DELETE_FAILED", + "name": "DELETE_FAILED" + }, + { + "value": "DELETED", + "name": "DELETED" + } + ] + } + }, + "com.amazonaws.wisdom#KnowledgeBaseSummary": { + "type": "structure", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base.
", + "smithy.api#required": {} + } + }, + "knowledgeBaseArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the knowledge base.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the knowledge base.
", + "smithy.api#required": {} + } + }, + "knowledgeBaseType": { + "target": "com.amazonaws.wisdom#KnowledgeBaseType", + "traits": { + "smithy.api#documentation": "The type of knowledge base.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.wisdom#KnowledgeBaseStatus", + "traits": { + "smithy.api#documentation": "The status of the knowledge base summary.
", + "smithy.api#required": {} + } + }, + "sourceConfiguration": { + "target": "com.amazonaws.wisdom#SourceConfiguration", + "traits": { + "smithy.api#documentation": "[KEVIN]
" + } + }, + "renderingConfiguration": { + "target": "com.amazonaws.wisdom#RenderingConfiguration", + "traits": { + "smithy.api#documentation": "Information about how to render the content.
" + } + }, + "serverSideEncryptionConfiguration": { + "target": "com.amazonaws.wisdom#ServerSideEncryptionConfiguration", + "traits": { + "smithy.api#documentation": "The KMS key used for encryption.
" + } + }, + "description": { + "target": "com.amazonaws.wisdom#Description", + "traits": { + "smithy.api#documentation": "The description of the knowledge base.
" + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Summary information about the knowledge base.
", + "smithy.api#references": [ + { + "resource": "com.amazonaws.wisdom#KnowledgeBase" + } + ] + } + }, + "com.amazonaws.wisdom#KnowledgeBaseType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EXTERNAL", + "name": "EXTERNAL" + }, + { + "value": "CUSTOM", + "name": "CUSTOM" + } + ] + } + }, + "com.amazonaws.wisdom#ListAssistantAssociations": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#ListAssistantAssociationsRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#ListAssistantAssociationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists information about assistant associations.
", + "smithy.api#http": { + "method": "GET", + "uri": "/assistants/{assistantId}/associations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "assistantAssociationSummaries", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#ListAssistantAssociationsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.wisdom#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#ListAssistantAssociationsResponse": { + "type": "structure", + "members": { + "assistantAssociationSummaries": { + "target": "com.amazonaws.wisdom#AssistantAssociationSummaryList", + "traits": { + "smithy.api#documentation": "Summary information about assistant associations.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + } + }, + "com.amazonaws.wisdom#ListAssistants": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#ListAssistantsRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#ListAssistantsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists information about assistants.
", + "smithy.api#http": { + "method": "GET", + "uri": "/assistants", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "assistantSummaries", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#ListAssistantsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.wisdom#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.wisdom#ListAssistantsResponse": { + "type": "structure", + "members": { + "assistantSummaries": { + "target": "com.amazonaws.wisdom#AssistantList", + "traits": { + "smithy.api#documentation": "Information about the assistants.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + } + }, + "com.amazonaws.wisdom#ListContents": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#ListContentsRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#ListContentsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists the content.
", + "smithy.api#http": { + "method": "GET", + "uri": "/knowledgeBases/{knowledgeBaseId}/contents", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "contentSummaries", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#ListContentsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.wisdom#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#ListContentsResponse": { + "type": "structure", + "members": { + "contentSummaries": { + "target": "com.amazonaws.wisdom#ContentSummaryList", + "traits": { + "smithy.api#documentation": "Information about the content.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + } + }, + "com.amazonaws.wisdom#ListKnowledgeBases": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#ListKnowledgeBasesRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#ListKnowledgeBasesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Lists the knowledge bases.
", + "smithy.api#http": { + "method": "GET", + "uri": "/knowledgeBases", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "knowledgeBaseSummaries", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#ListKnowledgeBasesRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.wisdom#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.wisdom#ListKnowledgeBasesResponse": { + "type": "structure", + "members": { + "knowledgeBaseSummaries": { + "target": "com.amazonaws.wisdom#KnowledgeBaseList", + "traits": { + "smithy.api#documentation": "Information about the knowledge bases.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + } + }, + "com.amazonaws.wisdom#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Lists the tags for the specified resource.
", + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{resourceArn}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + } + }, + "com.amazonaws.wisdom#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.wisdom#Name": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9\\s_.,-]+" + } + }, + "com.amazonaws.wisdom#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, + "com.amazonaws.wisdom#NonEmptyString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4096 + } + } + }, + "com.amazonaws.wisdom#NotifyRecommendationsReceived": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#NotifyRecommendationsReceivedRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#NotifyRecommendationsReceivedResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Removes the specified recommendations from the specified assistant's queue of newly\n available recommendations. You can use this API in conjunction with GetRecommendations and a waitTimeSeconds
input for long-polling\n behavior and avoiding duplicate recommendations.
The identifier of the recommendation that is in error.
" + } + }, + "message": { + "target": "com.amazonaws.wisdom#NotifyRecommendationsReceivedErrorMessage", + "traits": { + "smithy.api#documentation": "A recommendation is causing an error.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An error occurred when creating a recommendation.
" + } + }, + "com.amazonaws.wisdom#NotifyRecommendationsReceivedErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#NotifyRecommendationsReceivedError" + } + }, + "com.amazonaws.wisdom#NotifyRecommendationsReceivedErrorMessage": { + "type": "string" + }, + "com.amazonaws.wisdom#NotifyRecommendationsReceivedRequest": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "sessionId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "recommendationIds": { + "target": "com.amazonaws.wisdom#RecommendationIdList", + "traits": { + "smithy.api#documentation": "The identifiers of the recommendations.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#NotifyRecommendationsReceivedResponse": { + "type": "structure", + "members": { + "recommendationIds": { + "target": "com.amazonaws.wisdom#RecommendationIdList", + "traits": { + "smithy.api#documentation": "The identifiers of the recommendations.
" + } + }, + "errors": { + "target": "com.amazonaws.wisdom#NotifyRecommendationsReceivedErrorList", + "traits": { + "smithy.api#documentation": "The identifiers of recommendations that are causing errors.
" + } + } + } + }, + "com.amazonaws.wisdom#ObjectFieldsList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.wisdom#PreconditionFailedException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The provided revisionId
does not match, indicating the content has been\n modified since it was last read.
Performs a manual search against the specified assistant. To retrieve recommendations for\n an assistant, use GetRecommendations.\n
", + "smithy.api#http": { + "method": "POST", + "uri": "/assistants/{assistantId}/query", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "results", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#QueryAssistantRequest": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "queryText": { + "target": "com.amazonaws.wisdom#QueryText", + "traits": { + "smithy.api#documentation": "The text to search for.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
" + } + }, + "maxResults": { + "target": "com.amazonaws.wisdom#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
" + } + } + } + }, + "com.amazonaws.wisdom#QueryAssistantResponse": { + "type": "structure", + "members": { + "results": { + "target": "com.amazonaws.wisdom#QueryResultsList", + "traits": { + "smithy.api#documentation": "The results of the query.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + } + }, + "com.amazonaws.wisdom#QueryResultsList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#ResultData" + } + }, + "com.amazonaws.wisdom#QueryText": { + "type": "string", + "traits": { + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.wisdom#RecommendationData": { + "type": "structure", + "members": { + "recommendationId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The identifier of the recommendation.
", + "smithy.api#required": {} + } + }, + "document": { + "target": "com.amazonaws.wisdom#Document", + "traits": { + "smithy.api#documentation": "The recommended document.
", + "smithy.api#required": {} + } + }, + "relevanceScore": { + "target": "com.amazonaws.wisdom#RelevanceScore", + "traits": { + "smithy.api#documentation": "The relevance score of the recommendation.
" + } + }, + "relevanceLevel": { + "target": "com.amazonaws.wisdom#RelevanceLevel", + "traits": { + "smithy.api#documentation": "The relevance level of the recommendation.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about the recommendation.
" + } + }, + "com.amazonaws.wisdom#RecommendationIdList": { + "type": "list", + "member": { + "target": "smithy.api#String" + } + }, + "com.amazonaws.wisdom#RecommendationList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#RecommendationData" + } + }, + "com.amazonaws.wisdom#RelevanceLevel": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "MEDIUM", + "name": "MEDIUM" + }, + { + "value": "LOW", + "name": "LOW" + } + ] + } + }, + "com.amazonaws.wisdom#RelevanceScore": { + "type": "double", + "traits": { + "smithy.api#range": { + "min": 0.0 + } + } + }, + "com.amazonaws.wisdom#RemoveKnowledgeBaseTemplateUri": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#RemoveKnowledgeBaseTemplateUriRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#RemoveKnowledgeBaseTemplateUriResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Removes a URI template from a knowledge base.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/knowledgeBases/{knowledgeBaseId}/templateUri", + "code": 204 + } + } + }, + "com.amazonaws.wisdom#RemoveKnowledgeBaseTemplateUriRequest": { + "type": "structure", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#RemoveKnowledgeBaseTemplateUriResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.wisdom#RenderingConfiguration": { + "type": "structure", + "members": { + "templateUri": { + "target": "com.amazonaws.wisdom#Uri", + "traits": { + "smithy.api#documentation": "A URI template containing exactly one variable in ${variableName}
format.\n This can only be set for EXTERNAL
knowledge bases. For Salesforce and ServiceNow,\n the variable must be one of the following:
Salesforce: Id
, ArticleNumber
, VersionNumber
,\n Title
, PublishStatus
, or IsDeleted
\n
ServiceNow: number
, short_description
,\n sys_mod_count
, workflow_state
, or active
\n
The variable is replaced with the actual value for a piece of content when calling GetContent.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about how to render the content.
" + } + }, + "com.amazonaws.wisdom#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + }, + "resourceName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The specified resource name.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The specified resource does not exist.
", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.wisdom#ResultData": { + "type": "structure", + "members": { + "resultId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the result data.
", + "smithy.api#required": {} + } + }, + "document": { + "target": "com.amazonaws.wisdom#Document", + "traits": { + "smithy.api#documentation": "The document.
", + "smithy.api#required": {} + } + }, + "relevanceScore": { + "target": "com.amazonaws.wisdom#RelevanceScore", + "traits": { + "smithy.api#documentation": "The relevance score of the results.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about the result.
" + } + }, + "com.amazonaws.wisdom#SearchContent": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#SearchContentRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#SearchContentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Searches for content in a specified knowledge base. Can be used to get a specific content\n resource by its name.
", + "smithy.api#http": { + "method": "POST", + "uri": "/knowledgeBases/{knowledgeBaseId}/search", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "contentSummaries", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#SearchContentRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.wisdom#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "searchExpression": { + "target": "com.amazonaws.wisdom#SearchExpression", + "traits": { + "smithy.api#documentation": "The search expression to filter results.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#SearchContentResponse": { + "type": "structure", + "members": { + "contentSummaries": { + "target": "com.amazonaws.wisdom#ContentSummaryList", + "traits": { + "smithy.api#documentation": "Summary information about the content.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + } + }, + "com.amazonaws.wisdom#SearchExpression": { + "type": "structure", + "members": { + "filters": { + "target": "com.amazonaws.wisdom#FilterList", + "traits": { + "smithy.api#documentation": "The search expression filters.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The search expression.
" + } + }, + "com.amazonaws.wisdom#SearchSessions": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#SearchSessionsRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#SearchSessionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Searches for sessions.
", + "smithy.api#http": { + "method": "POST", + "uri": "/assistants/{assistantId}/searchSessions", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "sessionSummaries", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.wisdom#SearchSessionsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.
", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.wisdom#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return per page.
", + "smithy.api#httpQuery": "maxResults" + } + }, + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "searchExpression": { + "target": "com.amazonaws.wisdom#SearchExpression", + "traits": { + "smithy.api#documentation": "The search expression to filter results.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#SearchSessionsResponse": { + "type": "structure", + "members": { + "sessionSummaries": { + "target": "com.amazonaws.wisdom#SessionSummaries", + "traits": { + "smithy.api#documentation": "Summary information about the sessions.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.wisdom#NextToken", + "traits": { + "smithy.api#documentation": "If there are additional results, this is the token for the next set of results.
" + } + } + } + }, + "com.amazonaws.wisdom#ServerSideEncryptionConfiguration": { + "type": "structure", + "members": { + "kmsKeyId": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "The KMS key. For information about valid ID values, see Key identifiers (KeyId) in the\n AWS Key Management Service Developer Guide.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The KMS key used for encryption.
" + } + }, + "com.amazonaws.wisdom#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "You've exceeded your service quota. To perform the requested action, remove some of the\n relevant resources, or use service quotas to request a service quota increase.
", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.wisdom#Session": { + "type": "resource", + "identifiers": { + "assistantId": { + "target": "com.amazonaws.wisdom#UuidOrArn" + }, + "sessionId": { + "target": "com.amazonaws.wisdom#UuidOrArn" + } + }, + "create": { + "target": "com.amazonaws.wisdom#CreateSession" + }, + "read": { + "target": "com.amazonaws.wisdom#GetSession" + }, + "traits": { + "aws.api#arn": { + "template": "session/{assistantId}/{sessionId}", + "absolute": false, + "noAccount": false, + "noRegion": false + }, + "aws.iam#disableConditionKeyInference": {} + } + }, + "com.amazonaws.wisdom#SessionData": { + "type": "structure", + "members": { + "sessionArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the session.
", + "smithy.api#required": {} + } + }, + "sessionId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the session.
", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.wisdom#Name", + "traits": { + "smithy.api#documentation": "The name of the session.
", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.wisdom#Description", + "traits": { + "smithy.api#documentation": "The description of the session.
" + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information about the session.
" + } + }, + "com.amazonaws.wisdom#SessionSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#SessionSummary" + } + }, + "com.amazonaws.wisdom#SessionSummary": { + "type": "structure", + "members": { + "sessionId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the session.
", + "smithy.api#required": {} + } + }, + "sessionArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the session.
", + "smithy.api#required": {} + } + }, + "assistantId": { + "target": "com.amazonaws.wisdom#Uuid", + "traits": { + "smithy.api#documentation": "The identifier of the Wisdom assistant.
", + "smithy.api#required": {} + } + }, + "assistantArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Wisdom assistant
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Summary information about the session.
" + } + }, + "com.amazonaws.wisdom#SourceConfiguration": { + "type": "union", + "members": { + "appIntegrations": { + "target": "com.amazonaws.wisdom#AppIntegrationsConfiguration", + "traits": { + "smithy.api#documentation": "Configuration information for Amazon AppIntegrations to automatically ingest content.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Configuration information about the external data source.
" + } + }, + "com.amazonaws.wisdom#StartContentUpload": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#StartContentUploadRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#StartContentUploadResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Get a URL to upload content to a knowledge base. To upload content, first make a PUT\n request to the returned URL with your file, making sure to include the required headers. Then\n use CreateContent to finalize the content creation process or UpdateContent to modify an existing resource. You can only upload content to a\n knowledge base of type CUSTOM.
", + "smithy.api#http": { + "method": "POST", + "uri": "/knowledgeBases/{knowledgeBaseId}/upload", + "code": 200 + } + } + }, + "com.amazonaws.wisdom#StartContentUploadRequest": { + "type": "structure", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "contentType": { + "target": "com.amazonaws.wisdom#ContentType", + "traits": { + "smithy.api#documentation": "The type of content to upload.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#StartContentUploadResponse": { + "type": "structure", + "members": { + "uploadId": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "The identifier of the upload.
", + "smithy.api#required": {} + } + }, + "url": { + "target": "com.amazonaws.wisdom#Url", + "traits": { + "smithy.api#documentation": "The URL of the upload.
", + "smithy.api#required": {}, + "smithy.api#sensitive": {} + } + }, + "urlExpiry": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The expiration time of the URL as an epoch timestamp.
", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "epoch-seconds" + } + }, + "headersToInclude": { + "target": "com.amazonaws.wisdom#Headers", + "traits": { + "smithy.api#documentation": "The headers to include in the upload.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" + } + }, + "com.amazonaws.wisdom#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.wisdom#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.wisdom#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#TooManyTagsException" + } + ], + "traits": { + "smithy.api#documentation": "Adds the specified tags to the specified resource.
", + "smithy.api#http": { + "method": "POST", + "uri": "/tags/{resourceArn}", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.wisdom#TagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.wisdom#Tags", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.wisdom#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.wisdom#Tags": { + "type": "map", + "key": { + "target": "com.amazonaws.wisdom#TagKey" + }, + "value": { + "target": "com.amazonaws.wisdom#TagValue" + } + }, + "com.amazonaws.wisdom#TooManyTagsException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + }, + "resourceName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The specified resource name.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Amazon Connect Wisdom throws this exception if you have too many tags in your tag set.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.wisdom#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "Removes the specified tags from the specified resource.
", + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{resourceArn}", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.wisdom#UntagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.wisdom#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.wisdom#TagKeyList", + "traits": { + "smithy.api#documentation": "The tag keys.
", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#UntagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.wisdom#UpdateContent": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#UpdateContentRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#UpdateContentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#PreconditionFailedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates information about the content.
", + "smithy.api#http": { + "method": "POST", + "uri": "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}", + "code": 200 + } + } + }, + "com.amazonaws.wisdom#UpdateContentRequest": { + "type": "structure", + "members": { + "knowledgeBaseId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The the identifier of the knowledge base. Can be either the ID or the ARN
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "contentId": { + "target": "com.amazonaws.wisdom#UuidOrArn", + "traits": { + "smithy.api#documentation": "The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "revisionId": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "The revisionId
of the content resource to update, taken from an earlier call\n to GetContent
, GetContentSummary
, SearchContent
, or\n ListContents
. If included, this argument acts as an optimistic lock to ensure\n content was not modified since it was last read. If it has been modified, this API throws a\n PreconditionFailedException
.
The title of the content.
" + } + }, + "overrideLinkOutUri": { + "target": "com.amazonaws.wisdom#Uri", + "traits": { + "smithy.api#documentation": "The URI for the article. If the knowledge base has a templateUri, setting this argument\n overrides it for this piece of content. To remove an existing overrideLinkOurUri
,\n exclude this argument and set removeOverrideLinkOutUri
to true.
Unset the existing overrideLinkOutUri
if it exists.
A key/value map to store attributes without affecting tagging or recommendations. For\n example, when synchronizing data between an external system and Wisdom, you can store an\n external version identifier as metadata to utilize for determining drift.
" + } + }, + "uploadId": { + "target": "com.amazonaws.wisdom#NonEmptyString", + "traits": { + "smithy.api#documentation": "A pointer to the uploaded asset. This value is returned by StartContentUpload.\n
" + } + } + } + }, + "com.amazonaws.wisdom#UpdateContentResponse": { + "type": "structure", + "members": { + "content": { + "target": "com.amazonaws.wisdom#ContentData", + "traits": { + "smithy.api#documentation": "The content.
" + } + } + } + }, + "com.amazonaws.wisdom#UpdateKnowledgeBaseTemplateUri": { + "type": "operation", + "input": { + "target": "com.amazonaws.wisdom#UpdateKnowledgeBaseTemplateUriRequest" + }, + "output": { + "target": "com.amazonaws.wisdom#UpdateKnowledgeBaseTemplateUriResponse" + }, + "errors": [ + { + "target": "com.amazonaws.wisdom#AccessDeniedException" + }, + { + "target": "com.amazonaws.wisdom#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.wisdom#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Updates the template URI of a knowledge base. This is only supported for knowledge bases\n of type EXTERNAL. Include a single variable in ${variable}
format; this\n interpolated by Wisdom using ingested content. For example, if you ingest a Salesforce\n article, it has an Id
value, and you can set the template URI to\n https://myInstanceName.lightning.force.com/lightning/r/Knowledge__kav/*${Id}*/view
.\n
The the identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "templateUri": { + "target": "com.amazonaws.wisdom#Uri", + "traits": { + "smithy.api#documentation": "The template URI to update.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.wisdom#UpdateKnowledgeBaseTemplateUriResponse": { + "type": "structure", + "members": { + "knowledgeBase": { + "target": "com.amazonaws.wisdom#KnowledgeBaseData", + "traits": { + "smithy.api#documentation": "The knowledge base to update.
" + } + } + } + }, + "com.amazonaws.wisdom#Uri": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4096 + } + } + }, + "com.amazonaws.wisdom#Url": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4096 + } + } + }, + "com.amazonaws.wisdom#Uuid": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" + } + }, + "com.amazonaws.wisdom#UuidOrArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$" + } + }, + "com.amazonaws.wisdom#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The input fails to satisfy the constraints specified by an AWS service.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.wisdom#WaitTimeSeconds": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 20 + } + } + }, + "com.amazonaws.wisdom#WisdomService": { + "type": "service", + "version": "2020-10-19", + "operations": [ + { + "target": "com.amazonaws.wisdom#ListTagsForResource" + }, + { + "target": "com.amazonaws.wisdom#TagResource" + }, + { + "target": "com.amazonaws.wisdom#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.wisdom#Assistant" + }, + { + "target": "com.amazonaws.wisdom#KnowledgeBase" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Wisdom", + "arnNamespace": "wisdom", + "cloudFormationName": "Wisdom", + "cloudTrailEventSource": "wisdom.amazonaws.com", + "endpointPrefix": "wisdom" + }, + "aws.auth#sigv4": { + "name": "wisdom" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "All Amazon Connect Wisdom functionality is accessible using the API. For example, you can create an\n assistant and a knowledge base.
\n\nSome more advanced features are only accessible using the Wisdom API. For example, you\n can manually manage content by uploading custom files and control their lifecycle.
", + "smithy.api#title": "Amazon Connect Wisdom Service" + } + } + } +} diff --git a/codegen/sdk-codegen/aws-models/workmail.2017-10-01.json b/codegen/sdk-codegen/aws-models/workmail.2017-10-01.json index 7ad60a21190f..342463944b4e 100644 --- a/codegen/sdk-codegen/aws-models/workmail.2017-10-01.json +++ b/codegen/sdk-codegen/aws-models/workmail.2017-10-01.json @@ -110,7 +110,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[a-zA-Z]+" + "smithy.api#pattern": "^[a-zA-Z]+$" } }, "com.amazonaws.workmail#AccessControlRuleDescription": { @@ -120,7 +120,7 @@ "min": 0, "max": 255 }, - "smithy.api#pattern": "[\\u0020-\\u00FF]+" + "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" } }, "com.amazonaws.workmail#AccessControlRuleEffect": { @@ -145,7 +145,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[a-zA-Z0-9_-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.workmail#AccessControlRuleNameList": { @@ -1167,6 +1167,62 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#DeleteMobileDeviceAccessOverride": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessOverrideRequest" + }, + "output": { + "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessOverrideResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes the mobile device access override for the given WorkMail organization, user, and device.
" + } + }, + "com.amazonaws.workmail#DeleteMobileDeviceAccessOverrideRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The Amazon WorkMail organization for which the access override will be deleted.
", + "smithy.api#required": {} + } + }, + "UserId": { + "target": "com.amazonaws.workmail#EntityIdentifier", + "traits": { + "smithy.api#documentation": "The WorkMail user for which you want to delete the override. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012
or S-1-1-12-1234567890-123456789-123456789-1234
\n
Email address: user@domain.tld
\n
User name: user
\n
The mobile device for which you delete the override. DeviceId
is case insensitive.
Gets the mobile device access override for the given WorkMail organization, user, and device.
" + } + }, + "com.amazonaws.workmail#GetMobileDeviceAccessOverrideRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The Amazon WorkMail organization to which you want to apply the override.
", + "smithy.api#required": {} + } + }, + "UserId": { + "target": "com.amazonaws.workmail#EntityIdentifier", + "traits": { + "smithy.api#documentation": "Identifies the WorkMail user for the override. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012
or S-1-1-12-1234567890-123456789-123456789-1234
\n
Email address: user@domain.tld
\n
User name: user
\n
The mobile device to which the override applies. DeviceId
is case insensitive.
The WorkMail user to which the access override applies.
" + } + }, + "DeviceId": { + "target": "com.amazonaws.workmail#DeviceId", + "traits": { + "smithy.api#documentation": "The device to which the access override applies.
" + } + }, + "Effect": { + "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", + "traits": { + "smithy.api#documentation": "The effect of the override, ALLOW
or DENY
.
A description of the override.
" + } + }, + "DateCreated": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "The date the override was first created.
" + } + }, + "DateModified": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "The date the description was last modified.
" + } + } + } + }, "com.amazonaws.workmail#Group": { "type": "structure", "members": { @@ -2773,7 +2945,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[\\u0020-\\u00FF]+" + "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" } }, "com.amazonaws.workmail#Groups": { @@ -2789,7 +2961,7 @@ "min": 1, "max": 32 }, - "smithy.api#pattern": "[\\S\\s]*" + "smithy.api#pattern": "^[\\S\\s]*$" } }, "com.amazonaws.workmail#IdempotencyClientToken": { @@ -2799,7 +2971,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[\\x21-\\x7e]+" + "smithy.api#pattern": "^[\\x21-\\x7e]+$" } }, "com.amazonaws.workmail#InvalidConfigurationException": { @@ -2883,7 +3055,7 @@ "min": 20, "max": 2048 }, - "smithy.api#pattern": "arn:aws:kms:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}" + "smithy.api#pattern": "^arn:aws:kms:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$" } }, "com.amazonaws.workmail#LimitExceededException": { @@ -3330,6 +3502,90 @@ } } }, + "com.amazonaws.workmail#ListMobileDeviceAccessOverrides": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#ListMobileDeviceAccessOverridesRequest" + }, + "output": { + "target": "com.amazonaws.workmail#ListMobileDeviceAccessOverridesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.workmail#ListMobileDeviceAccessOverridesRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "The Amazon WorkMail organization under which to list mobile device access overrides.
", + "smithy.api#required": {} + } + }, + "UserId": { + "target": "com.amazonaws.workmail#EntityIdentifier", + "traits": { + "smithy.api#documentation": "The WorkMail user under which you list the mobile device access overrides. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012
or S-1-1-12-1234567890-123456789-123456789-1234
\n
Email address: user@domain.tld
\n
User name: user
\n
The mobile device to which the access override applies.
" + } + }, + "NextToken": { + "target": "com.amazonaws.workmail#NextToken", + "traits": { + "smithy.api#documentation": "The token to use to retrieve the next page of results. The first call does not require a token.
" + } + }, + "MaxResults": { + "target": "com.amazonaws.workmail#MaxResults", + "traits": { + "smithy.api#documentation": "The maximum number of results to return in a single call.
" + } + } + } + }, + "com.amazonaws.workmail#ListMobileDeviceAccessOverridesResponse": { + "type": "structure", + "members": { + "Overrides": { + "target": "com.amazonaws.workmail#MobileDeviceAccessOverridesList", + "traits": { + "smithy.api#documentation": "The list of mobile device access overrides that exist for the specified Amazon WorkMail organization and user.
" + } + }, + "NextToken": { + "target": "com.amazonaws.workmail#NextToken", + "traits": { + "smithy.api#documentation": "The token to use to retrieve the next page of results. The value is “null” when there are no more results to return.
" + } + } + } + }, "com.amazonaws.workmail#ListMobileDeviceAccessRules": { "type": "operation", "input": { @@ -3727,7 +3983,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "[\\S\\s]*" + "smithy.api#pattern": "^[\\S\\s]*$" } }, "com.amazonaws.workmail#MailboxExportJob": { @@ -3799,7 +4055,7 @@ "min": 1, "max": 63 }, - "smithy.api#pattern": "[A-Za-z0-9-]+" + "smithy.api#pattern": "^[A-Za-z0-9-]+$" } }, "com.amazonaws.workmail#MailboxExportJobState": { @@ -3949,6 +4205,56 @@ } } }, + "com.amazonaws.workmail#MobileDeviceAccessOverride": { + "type": "structure", + "members": { + "UserId": { + "target": "com.amazonaws.workmail#WorkMailIdentifier", + "traits": { + "smithy.api#documentation": "The WorkMail user to which the access override applies.
" + } + }, + "DeviceId": { + "target": "com.amazonaws.workmail#DeviceId", + "traits": { + "smithy.api#documentation": "The device to which the override applies.
" + } + }, + "Effect": { + "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", + "traits": { + "smithy.api#documentation": "The effect of the override, ALLOW
or DENY
.
A description of the override.
" + } + }, + "DateCreated": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "The date the override was first created.
" + } + }, + "DateModified": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "The date the override was last modified.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The override object.
" + } + }, + "com.amazonaws.workmail#MobileDeviceAccessOverridesList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#MobileDeviceAccessOverride" + } + }, "com.amazonaws.workmail#MobileDeviceAccessRule": { "type": "structure", "members": { @@ -4048,7 +4354,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[\\S\\s]+" + "smithy.api#pattern": "^[\\S\\s]+$" } }, "com.amazonaws.workmail#MobileDeviceAccessRuleEffect": { @@ -4073,7 +4379,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[a-zA-Z0-9_-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.workmail#MobileDeviceAccessRuleName": { @@ -4083,7 +4389,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[\\S\\s]+" + "smithy.api#pattern": "^[\\S\\s]+$" } }, "com.amazonaws.workmail#MobileDeviceAccessRulesList": { @@ -4117,7 +4423,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "[\\S\\s]*|[a-zA-Z0-9/+=]{1,1024}" + "smithy.api#pattern": "^[\\S\\s]*|[a-zA-Z0-9/+=]{1,1024}$" } }, "com.amazonaws.workmail#OrganizationId": { @@ -4137,7 +4443,7 @@ "min": 1, "max": 62 }, - "smithy.api#pattern": "^(?!d-)([\\da-zA-Z]+)([-][\\da-zA-Z]+)*" + "smithy.api#pattern": "^(?!d-)([\\da-zA-Z]+)([-][\\da-zA-Z]+)*$" } }, "com.amazonaws.workmail#OrganizationNotFoundException": { @@ -4215,7 +4521,7 @@ "min": 0, "max": 256 }, - "smithy.api#pattern": "[\\u0020-\\u00FF]+", + "smithy.api#pattern": "^[\\u0020-\\u00FF]+$", "smithy.api#sensitive": {} } }, @@ -4295,7 +4601,7 @@ "min": 0, "max": 256 }, - "smithy.api#pattern": "[\\w\\d\\s\\S\\-!?=,.;:'_]+", + "smithy.api#pattern": "^[\\w\\d\\s\\S\\-!?=,.;:'_]+$", "smithy.api#sensitive": {} } }, @@ -4468,6 +4774,78 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#PutMobileDeviceAccessOverride": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#PutMobileDeviceAccessOverrideRequest" + }, + "output": { + "target": "com.amazonaws.workmail#PutMobileDeviceAccessOverrideResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#EntityStateException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
" + } + }, + "com.amazonaws.workmail#PutMobileDeviceAccessOverrideRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "Identifies the Amazon WorkMail organization for which you create the override.
", + "smithy.api#required": {} + } + }, + "UserId": { + "target": "com.amazonaws.workmail#EntityIdentifier", + "traits": { + "smithy.api#documentation": "The WorkMail user for which you create the override. Accepts the following types of user identities:
\nUser ID: 12345678-1234-1234-1234-123456789012
or S-1-1-12-1234567890-123456789-123456789-1234
\n
Email address: user@domain.tld
\n
User name: user
\n
The mobile device for which you create the override. DeviceId
is case insensitive.
The effect of the override, ALLOW
or DENY
.
A description of the override.
" + } + } + } + }, + "com.amazonaws.workmail#PutMobileDeviceAccessOverrideResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#PutRetentionPolicy": { "type": "operation", "input": { @@ -4772,7 +5150,7 @@ "min": 1, "max": 20 }, - "smithy.api#pattern": "[\\w\\-.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z0-9-]{2,})?" + "smithy.api#pattern": "^[\\w\\-.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z0-9-]{2,})?$" } }, "com.amazonaws.workmail#ResourceNotFoundException": { @@ -4854,7 +5232,7 @@ "min": 1, "max": 63 }, - "smithy.api#pattern": "[A-Za-z0-9.-]+" + "smithy.api#pattern": "^[A-Za-z0-9.-]+$" } }, "com.amazonaws.workmail#S3ObjectKey": { @@ -4864,7 +5242,7 @@ "min": 1, "max": 1023 }, - "smithy.api#pattern": "[A-Za-z0-9!_.*'()/-]+" + "smithy.api#pattern": "^[A-Za-z0-9!_.*'()/-]+$" } }, "com.amazonaws.workmail#ShortString": { @@ -4874,7 +5252,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[a-zA-Z0-9_-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" } }, "com.amazonaws.workmail#StartMailboxExportJob": { @@ -5576,7 +5954,7 @@ "min": 1, "max": 64 }, - "smithy.api#pattern": "[\\w\\-.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z0-9-]{2,})?" + "smithy.api#pattern": "^[\\w\\-.]+(@[a-zA-Z0-9.\\-]+\\.[a-zA-Z0-9-]{2,})?$" } }, "com.amazonaws.workmail#UserRole": { @@ -5656,6 +6034,9 @@ { "target": "com.amazonaws.workmail#DeleteMailboxPermissions" }, + { + "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessOverride" + }, { "target": "com.amazonaws.workmail#DeleteMobileDeviceAccessRule" }, @@ -5707,6 +6088,9 @@ { "target": "com.amazonaws.workmail#GetMobileDeviceAccessEffect" }, + { + "target": "com.amazonaws.workmail#GetMobileDeviceAccessOverride" + }, { "target": "com.amazonaws.workmail#ListAccessControlRules" }, @@ -5725,6 +6109,9 @@ { "target": "com.amazonaws.workmail#ListMailboxPermissions" }, + { + "target": "com.amazonaws.workmail#ListMobileDeviceAccessOverrides" + }, { "target": "com.amazonaws.workmail#ListMobileDeviceAccessRules" }, @@ -5749,6 +6136,9 @@ { "target": "com.amazonaws.workmail#PutMailboxPermissions" }, + { + "target": "com.amazonaws.workmail#PutMobileDeviceAccessOverride" + }, { "target": "com.amazonaws.workmail#PutRetentionPolicy" }, diff --git a/codegen/sdk-codegen/aws-models/workspaces.2015-04-08.json b/codegen/sdk-codegen/aws-models/workspaces.2015-04-08.json index b5070c77e81d..f9291c75deca 100644 --- a/codegen/sdk-codegen/aws-models/workspaces.2015-04-08.json +++ b/codegen/sdk-codegen/aws-models/workspaces.2015-04-08.json @@ -493,7 +493,7 @@ "OwnerAccountId": { "target": "com.amazonaws.workspaces#AwsAccount", "traits": { - "smithy.api#documentation": "The identifier of the AWS account that owns the connection alias.
" + "smithy.api#documentation": "The identifier of the Amazon Web Services account that owns the connection alias.
" } }, "Associations": { @@ -519,7 +519,7 @@ "AssociatedAccountId": { "target": "com.amazonaws.workspaces#AwsAccount", "traits": { - "smithy.api#documentation": "The identifier of the AWS account that associated the connection alias with a directory.
" + "smithy.api#documentation": "The identifier of the Amazon Web Services account that associated the connection alias with a directory.
" } }, "ResourceId": { @@ -591,14 +591,14 @@ "SharedAccountId": { "target": "com.amazonaws.workspaces#AwsAccount", "traits": { - "smithy.api#documentation": "The identifier of the AWS account that the connection alias is shared with.
", + "smithy.api#documentation": "The identifier of the Amazon Web Services account that the connection alias is shared with.
", "smithy.api#required": {} } }, "AllowAssociation": { "target": "com.amazonaws.workspaces#BooleanObject", "traits": { - "smithy.api#documentation": "Indicates whether the specified AWS account is allowed to associate the connection alias with a directory.
", + "smithy.api#documentation": "Indicates whether the specified Amazon Web Services account is allowed to associate the connection alias with a directory.
", "smithy.api#required": {} } } @@ -709,7 +709,7 @@ } ], "traits": { - "smithy.api#documentation": "Copies the specified image from the specified Region to the current Region. \n For more information about copying images, see \n \n Copy a Custom WorkSpaces Image.
\n \nIn the China (Ningxia) Region, you can copy images only within the same Region.
\n \nIn the AWS GovCloud (US-West) Region, to copy images to and from other AWS Regions, \n contact AWS Support.
\nBefore copying a shared image, be sure to verify that it has been shared from the\n correct AWS account. To determine if an image has been shared and to see the AWS \n account ID that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.
\nCopies the specified image from the specified Region to the current Region. \n For more information about copying images, see \n \n Copy a Custom WorkSpaces Image.
\n \nIn the China (Ningxia) Region, you can copy images only within the same Region.
\n \nIn Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.
\n \nBefore copying a shared image, be sure to verify that it has been shared from the\n correct Amazon Web Services account. To determine if an image has been shared and to see the \n ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.
\nA connection string in the form of a fully qualified domain name (FQDN), such as www.example.com
.
After you create a connection string, it is always associated to your AWS account. You cannot recreate the same \n connection string with a different account, even if you delete all instances of it from the original account. The \n connection string is globally reserved for your account.
\nA connection string in the form of a fully qualified domain name (FQDN), such as www.example.com
.
After you create a connection string, it is always associated to your Amazon Web Services account. You cannot recreate the same \n connection string with a different account, even if you delete all instances of it from the original account. The \n connection string is globally reserved for your account.
\nCreates a new updated WorkSpace image based on the specified source image. The \n new updated WorkSpace image has the latest drivers and other updates required by \n the Amazon WorkSpaces components.
\n \nTo determine which WorkSpace images need to be updated with the latest Amazon \n WorkSpaces requirements, use \n \n DescribeWorkspaceImages.
\n \nOnly Windows 10 WorkSpace images can be programmatically updated at this time.
\nMicrosoft Windows updates and other application updates are not included \n in the update process.
\nThe source WorkSpace image is not deleted. You can delete the source image after you've \n verified your new updated image and created a new bundle.
\nThe name of the new updated WorkSpace image.
", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.workspaces#WorkspaceImageDescription", + "traits": { + "smithy.api#documentation": "A description of whether updates for the WorkSpace image are available.
", + "smithy.api#required": {} + } + }, + "SourceImageId": { + "target": "com.amazonaws.workspaces#WorkspaceImageId", + "traits": { + "smithy.api#documentation": "The identifier of the source WorkSpace image.
", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.workspaces#TagList", + "traits": { + "smithy.api#documentation": "The tags that you want to add to the new updated WorkSpace image.
\n \nTo add tags at the same time when you're creating the updated image, you must create \n an IAM policy that grants your IAM user permissions to use workspaces:CreateTags
.
The identifier of the new updated WorkSpace image.
" + } + } + } + }, "com.amazonaws.workspaces#CreateWorkspaceBundle": { "type": "operation", "input": { @@ -1083,7 +1161,7 @@ "com.amazonaws.workspaces#DedicatedTenancyManagementCidrRange": { "type": "string", "traits": { - "smithy.api#pattern": "(^([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.0\\.0)(\\/(16$))$" + "smithy.api#pattern": "^(^([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.0\\.0)(\\/(16$))$" } }, "com.amazonaws.workspaces#DedicatedTenancyModificationStateEnum": { @@ -1417,7 +1495,7 @@ } ], "traits": { - "smithy.api#documentation": "Deregisters the specified directory. This operation is asynchronous \n and returns before the WorkSpace directory is deregistered. If any WorkSpaces are\n registered to this directory, you must remove them before you can deregister the directory.
\n \nSimple AD and AD Connector are made available to you free of charge to use with WorkSpaces. \n If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 \n consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, \n and you will be charged for this directory as per the \n AWS Directory Services pricing terms.
\n \nTo delete empty directories, see \n \n Delete the Directory for Your WorkSpaces. If you delete your \n Simple AD or AD Connector directory, you can always create a new one when you want to start using \n WorkSpaces again.
\nDeregisters the specified directory. This operation is asynchronous \n and returns before the WorkSpace directory is deregistered. If any WorkSpaces are\n registered to this directory, you must remove them before you can deregister the directory.
\n \nSimple AD and AD Connector are made available to you free of charge to use with WorkSpaces. \n If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 \n consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, \n and you will be charged for this directory as per the \n Directory Service pricing terms.
\n \nTo delete empty directories, see \n \n Delete the Directory for Your WorkSpaces. If you delete your \n Simple AD or AD Connector directory, you can always create a new one when you want to start using \n WorkSpaces again.
\nDescribes the permissions that the owner of a connection alias has granted to another AWS account for \n the specified connection alias. For more information, see \n Cross-Region Redirection for Amazon WorkSpaces.
" + "smithy.api#documentation": "Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for \n the specified connection alias. For more information, see \n Cross-Region Redirection for Amazon WorkSpaces.
" } }, "com.amazonaws.workspaces#DescribeConnectionAliasPermissionsRequest": { @@ -1841,7 +1919,7 @@ "Owner": { "target": "com.amazonaws.workspaces#BundleOwner", "traits": { - "smithy.api#documentation": "The owner of the bundles. You cannot combine this parameter with any other filter.
\nTo describe the bundles provided by AWS, specify AMAZON
. To describe the\n bundles that belong to your account, don't specify a value.
The owner of the bundles. You cannot combine this parameter with any other filter.
\nTo describe the bundles provided by Amazon Web Services, specify AMAZON
. \n To describe the bundles that belong to your account, don't specify a value.
Describes the permissions that the owner of an image has granted to other \n AWS accounts for an image.
" + "smithy.api#documentation": "Describes the permissions that the owner of an image has granted to other \n Amazon Web Services accounts for an image.
" } }, "com.amazonaws.workspaces#DescribeWorkspaceImagePermissionsRequest": { @@ -1990,7 +2068,7 @@ "ImagePermissions": { "target": "com.amazonaws.workspaces#ImagePermissions", "traits": { - "smithy.api#documentation": "The identifiers of the AWS accounts that the image has been shared with.
" + "smithy.api#documentation": "The identifiers of the Amazon Web Services accounts that the image has been shared with.
" } }, "NextToken": { @@ -2311,7 +2389,7 @@ } ], "traits": { - "smithy.api#documentation": "Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region \n redirection between two directories in different AWS Regions. For more information, see \n \n Cross-Region Redirection for Amazon WorkSpaces.
\n \nBefore performing this operation, call \n DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED
.
Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region \n redirection between two directories in different Regions. For more information, see \n \n Cross-Region Redirection for Amazon WorkSpaces.
\n \nBefore performing this operation, call \n DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED
.
The identifier of the AWS account that an image has been shared with.
" + "smithy.api#documentation": "The identifier of the Amazon Web Services account that an image has been shared with.
" } } }, "traits": { - "smithy.api#documentation": "Describes the AWS accounts that have been granted permission to use a shared image. For more \n information about sharing images, see \n \n Share or Unshare a Custom WorkSpaces Image.
" + "smithy.api#documentation": "Describes the Amazon Web Services accounts that have been granted permission to use a shared image. \n For more information about sharing images, see \n \n Share or Unshare a Custom WorkSpaces Image.
" } }, "com.amazonaws.workspaces#ImagePermissions": { @@ -2549,7 +2627,7 @@ } ], "traits": { - "smithy.api#documentation": "Imports the specified Windows 10 Bring Your Own License (BYOL) image into Amazon\n WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your AWS\n account, and you must own the image. For more information about creating BYOL images, see\n \n Bring Your Own Windows Desktop Licenses.
" + "smithy.api#documentation": "Imports the specified Windows 10 Bring Your Own License (BYOL) image into Amazon\n WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your \n Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see\n \n Bring Your Own Windows Desktop Licenses.
" } }, "com.amazonaws.workspaces#ImportWorkspaceImageRequest": { @@ -2644,7 +2722,7 @@ "com.amazonaws.workspaces#IpGroupId": { "type": "string", "traits": { - "smithy.api#pattern": "wsipg-[0-9a-z]{8,63}$" + "smithy.api#pattern": "^wsipg-[0-9a-z]{8,63}$" } }, "com.amazonaws.workspaces#IpGroupIdList": { @@ -2721,7 +2799,7 @@ } ], "traits": { - "smithy.api#documentation": "Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use\n for the network management interface when you enable Bring Your Own License (BYOL).
\n \nThis operation can be run only by AWS accounts that are enabled for BYOL. If your account \n isn't enabled for BYOL, you'll receive an AccessDeniedException
error.
The management network interface is connected to a secure Amazon WorkSpaces management\n network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces\n clients, and to allow Amazon WorkSpaces to manage the WorkSpace.
" + "smithy.api#documentation": "Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use\n for the network management interface when you enable Bring Your Own License (BYOL).
\n \nThis operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account \n isn't enabled for BYOL, you'll receive an AccessDeniedException
error.
The management network interface is connected to a secure Amazon WorkSpaces management\n network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces\n clients, and to allow Amazon WorkSpaces to manage the WorkSpace.
" } }, "com.amazonaws.workspaces#ListAvailableManagementCidrRangesRequest": { @@ -3536,7 +3614,7 @@ "Tenancy": { "target": "com.amazonaws.workspaces#Tenancy", "traits": { - "smithy.api#documentation": "Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own\n License (BYOL) images, this value must be set to DEDICATED
and your AWS account must be \n enabled for BYOL. If your account has not been enabled for BYOL, you will receive an \n InvalidParameterValuesException error. For more information about BYOL images, see\n Bring Your Own Windows Desktop Images.
Indicates whether your WorkSpace directory is dedicated or shared. To use Bring Your Own\n License (BYOL) images, this value must be set to DEDICATED
and your Amazon Web Services account must be \n enabled for BYOL. If your account has not been enabled for BYOL, you will receive an \n InvalidParameterValuesException error. For more information about BYOL images, see\n Bring Your Own Windows Desktop Images.
Terminates the specified WorkSpaces.
\n \nTerminating a WorkSpace is a permanent action and cannot be undone. The user's data is\n destroyed. If you need to archive any user data, contact AWS Support before\n terminating the WorkSpace.
\nYou can terminate a WorkSpace that is in any state except SUSPENDED
.
This operation is asynchronous and returns before the WorkSpaces have been completely\n terminated. After a WorkSpace is terminated, the TERMINATED
state is returned \n only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely \n returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using \n \n DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has \n been successfully terminated.
Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. \n If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 \n consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, \n and you will be charged for this directory as per the \n AWS Directory Services pricing terms.
\n \nTo delete empty directories, see \n \n Delete the Directory for Your WorkSpaces. If you delete your \n Simple AD or AD Connector directory, you can always create a new one when you want to start using \n WorkSpaces again.
\nTerminates the specified WorkSpaces.
\n \nTerminating a WorkSpace is a permanent action and cannot be undone. The user's data is\n destroyed. If you need to archive any user data, contact Amazon Web Services Support before\n terminating the WorkSpace.
\nYou can terminate a WorkSpace that is in any state except SUSPENDED
.
This operation is asynchronous and returns before the WorkSpaces have been completely\n terminated. After a WorkSpace is terminated, the TERMINATED
state is returned \n only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely \n returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using \n \n DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has \n been successfully terminated.
Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. \n If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 \n consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, \n and you will be charged for this directory as per the \n Directory Service pricing terms.
\n \nTo delete empty directories, see \n \n Delete the Directory for Your WorkSpaces. If you delete your \n Simple AD or AD Connector directory, you can always create a new one when you want to start using \n WorkSpaces again.
\nIndicates whether to share or unshare the connection alias with the specified AWS account.
", + "smithy.api#documentation": "Indicates whether to share or unshare the connection alias with the specified Amazon Web Services account.
", "smithy.api#required": {} } } @@ -4234,6 +4312,36 @@ "type": "structure", "members": {} }, + "com.amazonaws.workspaces#UpdateDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_./() -]+$" + } + }, + "com.amazonaws.workspaces#UpdateResult": { + "type": "structure", + "members": { + "UpdateAvailable": { + "target": "com.amazonaws.workspaces#BooleanObject", + "traits": { + "smithy.api#documentation": "Indicates whether updated drivers or other components are available for the specified WorkSpace image.
" + } + }, + "Description": { + "target": "com.amazonaws.workspaces#UpdateDescription", + "traits": { + "smithy.api#documentation": "A description of whether updates for the WorkSpace image are pending or available.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Describes whether a WorkSpace image needs to be updated with the latest \n drivers and other components required by Amazon WorkSpaces.
\n \nOnly Windows 10 WorkSpace images can be programmatically updated at this time.
\nShares or unshares an image with one account in the same AWS Region by specifying whether that account has \n permission to copy the image. If the copy image permission is granted, the image is shared with that account. \n If the copy image permission is revoked, the image is unshared with the account.
\n \nAfter an image has been shared, the recipient account can copy the image to other AWS Regions as needed.
\n \nIn the China (Ningxia) Region, you can copy images only within the same Region.
\n \nIn the AWS GovCloud (US-West) Region, to copy images to and from other AWS Regions, \n contact AWS Support.
\nFor more information about sharing images, see \n \n Share or Unshare a Custom WorkSpaces Image.
\n \nTo delete an image that has been shared, you must unshare the image before you delete it.
\nSharing Bring Your Own License (BYOL) images across AWS accounts isn't supported at \n this time in the AWS GovCloud (US-West) Region. To share BYOL images across accounts in \n the AWS GovCloud (US-West) Region, contact AWS Support.
\nShares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has \n permission to copy the image. If the copy image permission is granted, the image is shared with that account. \n If the copy image permission is revoked, the image is unshared with the account.
\n \nAfter an image has been shared, the recipient account can copy the image to other Regions as needed.
\n \nIn the China (Ningxia) Region, you can copy images only within the same Region.
\n \nIn Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.
\n \nFor more information about sharing images, see \n \n Share or Unshare a Custom WorkSpaces Image.
\n \nTo delete an image that has been shared, you must unshare the image before you delete it.
\nSharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at \n this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in \n Amazon Web Services GovCloud (US), contact Amazon Web Services Support.
\nThe identifier of the AWS account to share or unshare the image with.
\n \nBefore sharing the image, confirm that you are sharing to the correct AWS account ID.
\nThe identifier of the Amazon Web Services account to share or unshare the image with.
\n \nBefore sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.
\nThe identifier of the AWS Directory Service directory for the WorkSpace.
" + "smithy.api#documentation": "The identifier of the Directory Service directory for the WorkSpace.
" } }, "UserName": { @@ -4490,7 +4598,7 @@ "VolumeEncryptionKey": { "target": "com.amazonaws.workspaces#VolumeEncryptionKey", "traits": { - "smithy.api#documentation": "The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. \n Amazon WorkSpaces does not support asymmetric CMKs.
" + "smithy.api#documentation": "The symmetric KMS key used to encrypt data stored on your WorkSpace. \n Amazon WorkSpaces does not support asymmetric KMS keys.
" } }, "UserVolumeEncryptionEnabled": { @@ -4528,13 +4636,13 @@ "DeviceTypeWindows": { "target": "com.amazonaws.workspaces#AccessPropertyValue", "traits": { - "smithy.api#documentation": "Indicates whether users can use Windows clients to access their WorkSpaces. To restrict\n WorkSpaces access to trusted devices (also known as managed devices) with valid\n certificates, specify a value of TRUST
. For more information, see Restrict\n WorkSpaces Access to Trusted Devices.
Indicates whether users can use Windows clients to access their WorkSpaces.
" } }, "DeviceTypeOsx": { "target": "com.amazonaws.workspaces#AccessPropertyValue", "traits": { - "smithy.api#documentation": "Indicates whether users can use macOS clients to access their WorkSpaces. To restrict\n WorkSpaces access to trusted devices (also known as managed devices) with valid\n certificates, specify a value of TRUST
. For more information, see Restrict\n WorkSpaces Access to Trusted Devices.
Indicates whether users can use macOS clients to access their WorkSpaces.
" } }, "DeviceTypeWeb": { @@ -4552,7 +4660,7 @@ "DeviceTypeAndroid": { "target": "com.amazonaws.workspaces#AccessPropertyValue", "traits": { - "smithy.api#documentation": "Indicates whether users can use Android devices to access their WorkSpaces.
" + "smithy.api#documentation": "Indicates whether users can use Android and Android-compatible Chrome OS devices \n to access their WorkSpaces.
" } }, "DeviceTypeChromeOs": { @@ -4596,7 +4704,7 @@ "Owner": { "target": "com.amazonaws.workspaces#BundleOwner", "traits": { - "smithy.api#documentation": "The owner of the bundle. This is the account identifier of the owner, or\n AMAZON
if the bundle is provided by AWS.
The owner of the bundle. This is the account identifier of the owner, or\n AMAZON
if the bundle is provided by Amazon Web Services.
The date when the image was created. If the image has been shared, the AWS account \n that the image has been shared with sees the original creation date of the image.
" + "smithy.api#documentation": "The date when the image was created. If the image has been shared, the Amazon Web Services account \n that the image has been shared with sees the original creation date of the image.
" } }, "OwnerAccountId": { "target": "com.amazonaws.workspaces#AwsAccount", "traits": { - "smithy.api#documentation": "The identifier of the AWS account that owns the image.
" + "smithy.api#documentation": "The identifier of the Amazon Web Services account that owns the image.
" + } + }, + "Updates": { + "target": "com.amazonaws.workspaces#UpdateResult", + "traits": { + "smithy.api#documentation": "The updates (if any) that are available for the specified image.
" } } }, @@ -4999,7 +5113,7 @@ "com.amazonaws.workspaces#WorkspaceImageId": { "type": "string", "traits": { - "smithy.api#pattern": "wsi-[0-9a-z]{9,63}$" + "smithy.api#pattern": "^wsi-[0-9a-z]{9,63}$" } }, "com.amazonaws.workspaces#WorkspaceImageIdList": { @@ -5137,14 +5251,14 @@ "DirectoryId": { "target": "com.amazonaws.workspaces#DirectoryId", "traits": { - "smithy.api#documentation": "The identifier of the AWS Directory Service directory for the WorkSpace. You can use\n DescribeWorkspaceDirectories to list the available directories.
", + "smithy.api#documentation": "The identifier of the Directory Service directory for the WorkSpace. You can use\n DescribeWorkspaceDirectories to list the available directories.
", "smithy.api#required": {} } }, "UserName": { "target": "com.amazonaws.workspaces#UserName", "traits": { - "smithy.api#documentation": "The user name of the user for the WorkSpace. This user name must exist in the AWS\n Directory Service directory for the WorkSpace.
", + "smithy.api#documentation": "The user name of the user for the WorkSpace. This user name must exist in the Directory Service\n directory for the WorkSpace.
", "smithy.api#required": {} } }, @@ -5158,7 +5272,7 @@ "VolumeEncryptionKey": { "target": "com.amazonaws.workspaces#VolumeEncryptionKey", "traits": { - "smithy.api#documentation": "The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. \n Amazon WorkSpaces does not support asymmetric CMKs.
" + "smithy.api#documentation": "The symmetric KMS key used to encrypt data stored on your WorkSpace. \n Amazon WorkSpaces does not support asymmetric KMS keys.
" } }, "UserVolumeEncryptionEnabled": { @@ -5352,6 +5466,9 @@ { "target": "com.amazonaws.workspaces#CreateTags" }, + { + "target": "com.amazonaws.workspaces#CreateUpdatedWorkspaceImage" + }, { "target": "com.amazonaws.workspaces#CreateWorkspaceBundle" }, From 2e94989da49495197835d1bc440b01256e23c9a3 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Fri, 1 Oct 2021 18:28:35 +0000 Subject: [PATCH 3/3] feat(clients): update clients as of 2021/10/01 --- clients/client-account/.gitignore | 9 + clients/client-account/.npmignore | 4 + clients/client-account/LICENSE | 201 + clients/client-account/README.md | 203 + clients/client-account/jest.config.js | 4 + clients/client-account/package.json | 91 + clients/client-account/src/Account.ts | 125 + clients/client-account/src/AccountClient.ts | 254 + .../commands/DeleteAlternateContactCommand.ts | 97 + .../commands/GetAlternateContactCommand.ts | 97 + .../commands/PutAlternateContactCommand.ts | 97 + clients/client-account/src/endpoints.ts | 67 + clients/client-account/src/index.ts | 6 + clients/client-account/src/models/index.ts | 1 + clients/client-account/src/models/models_0.ts | 304 ++ .../src/protocols/Aws_restJson1.ts | 528 ++ .../src/runtimeConfig.browser.ts | 41 + .../src/runtimeConfig.native.ts | 17 + .../src/runtimeConfig.shared.ts | 17 + clients/client-account/src/runtimeConfig.ts | 46 + clients/client-account/tsconfig.es.json | 10 + clients/client-account/tsconfig.json | 33 + clients/client-account/tsconfig.types.json | 9 + clients/client-amp/README.md | 14 +- clients/client-amp/package.json | 1 + clients/client-amp/src/Amp.ts | 333 ++ clients/client-amp/src/AmpClient.ts | 54 + .../CreateAlertManagerDefinitionCommand.ts | 100 + .../CreateRuleGroupsNamespaceCommand.ts | 98 + .../DeleteAlertManagerDefinitionCommand.ts | 98 + .../DeleteRuleGroupsNamespaceCommand.ts | 98 + .../DescribeAlertManagerDefinitionCommand.ts | 103 + .../DescribeRuleGroupsNamespaceCommand.ts | 100 + .../ListRuleGroupsNamespacesCommand.ts | 95 + .../PutAlertManagerDefinitionCommand.ts | 98 + .../commands/PutRuleGroupsNamespaceCommand.ts | 95 + clients/client-amp/src/index.ts | 12 + clients/client-amp/src/models/models_0.ts | 878 +++- .../ListRuleGroupsNamespacesPaginator.ts | 59 + .../client-amp/src/protocols/Aws_restJson1.ts | 1632 ++++++- .../src/waiters/waitForWorkspaceActive.ts | 63 + .../src/waiters/waitForWorkspaceDeleted.ts | 50 + clients/client-appintegrations/README.md | 21 +- .../src/AppIntegrations.ts | 267 +- .../src/AppIntegrationsClient.ts | 40 +- .../commands/CreateDataIntegrationCommand.ts | 100 + .../commands/CreateEventIntegrationCommand.ts | 4 +- .../commands/DeleteDataIntegrationCommand.ts | 102 + .../src/commands/GetDataIntegrationCommand.ts | 100 + .../commands/GetEventIntegrationCommand.ts | 2 +- .../ListDataIntegrationAssociationsCommand.ts | 108 + .../commands/ListDataIntegrationsCommand.ts | 100 + .../commands/UpdateDataIntegrationCommand.ts | 100 + clients/client-appintegrations/src/index.ts | 6 + .../src/models/models_0.ts | 474 +- .../src/protocols/Aws_restJson1.ts | 1009 +++- clients/client-apprunner/README.md | 16 +- clients/client-apprunner/src/AppRunner.ts | 58 +- .../client-apprunner/src/AppRunnerClient.ts | 16 +- .../commands/AssociateCustomDomainCommand.ts | 2 +- .../CreateAutoScalingConfigurationCommand.ts | 4 +- .../src/commands/CreateConnectionCommand.ts | 2 +- .../src/commands/CreateServiceCommand.ts | 2 +- .../DeleteAutoScalingConfigurationCommand.ts | 2 +- .../src/commands/DeleteConnectionCommand.ts | 2 +- .../src/commands/DeleteServiceCommand.ts | 2 +- ...DescribeAutoScalingConfigurationCommand.ts | 2 +- .../commands/DescribeCustomDomainsCommand.ts | 2 +- .../src/commands/DescribeServiceCommand.ts | 2 +- .../DisassociateCustomDomainCommand.ts | 2 +- .../ListAutoScalingConfigurationsCommand.ts | 2 +- .../src/commands/ListConnectionsCommand.ts | 2 +- .../src/commands/ListOperationsCommand.ts | 2 +- .../src/commands/ListServicesCommand.ts | 2 +- .../commands/ListTagsForResourceCommand.ts | 2 +- .../src/commands/PauseServiceCommand.ts | 2 +- .../src/commands/ResumeServiceCommand.ts | 2 +- .../src/commands/StartDeploymentCommand.ts | 2 +- .../src/commands/UpdateServiceCommand.ts | 2 +- .../client-apprunner/src/models/models_0.ts | 74 +- clients/client-cloudcontrol/.gitignore | 9 + clients/client-cloudcontrol/.npmignore | 4 + clients/client-cloudcontrol/LICENSE | 201 + clients/client-cloudcontrol/README.md | 209 + clients/client-cloudcontrol/jest.config.js | 4 + clients/client-cloudcontrol/package.json | 94 + .../client-cloudcontrol/src/CloudControl.ts | 336 ++ .../src/CloudControlClient.ts | 275 ++ .../commands/CancelResourceRequestCommand.ts | 98 + .../src/commands/CreateResourceCommand.ts | 99 + .../src/commands/DeleteResourceCommand.ts | 99 + .../src/commands/GetResourceCommand.ts | 98 + .../GetResourceRequestStatusCommand.ts | 97 + .../commands/ListResourceRequestsCommand.ts | 100 + .../src/commands/ListResourcesCommand.ts | 98 + .../src/commands/UpdateResourceCommand.ts | 107 + clients/client-cloudcontrol/src/endpoints.ts | 91 + clients/client-cloudcontrol/src/index.ts | 15 + .../client-cloudcontrol/src/models/index.ts | 1 + .../src/models/models_0.ts | 1102 +++++ .../src/pagination/Interfaces.ts | 8 + .../ListResourceRequestsPaginator.ts | 59 + .../src/pagination/ListResourcesPaginator.ts | 59 + .../src/protocols/Aws_json1_0.ts | 2133 ++++++++ .../src/runtimeConfig.browser.ts | 41 + .../src/runtimeConfig.native.ts | 17 + .../src/runtimeConfig.shared.ts | 17 + .../client-cloudcontrol/src/runtimeConfig.ts | 46 + .../waiters/waitForResourceRequestSuccess.ts | 69 + clients/client-cloudcontrol/tsconfig.es.json | 10 + clients/client-cloudcontrol/tsconfig.json | 33 + .../client-cloudcontrol/tsconfig.types.json | 9 + clients/client-connect/src/Connect.ts | 17 +- .../CreateIntegrationAssociationCommand.ts | 2 +- .../src/commands/CreateUseCaseCommand.ts | 2 +- .../DeleteIntegrationAssociationCommand.ts | 2 +- .../src/commands/DeleteUseCaseCommand.ts | 2 +- .../ListIntegrationAssociationsCommand.ts | 2 +- .../src/commands/ListUseCasesCommand.ts | 2 +- .../StartOutboundVoiceContactCommand.ts | 5 + clients/client-connect/src/models/models_0.ts | 100 +- .../src/protocols/Aws_restJson1.ts | 25 + .../client-dataexchange/src/DataExchange.ts | 185 + .../src/DataExchangeClient.ts | 15 + .../src/commands/CreateEventActionCommand.ts | 95 + .../src/commands/DeleteEventActionCommand.ts | 95 + .../src/commands/GetEventActionCommand.ts | 95 + .../src/commands/ListEventActionsCommand.ts | 95 + .../src/commands/UpdateEventActionCommand.ts | 95 + clients/client-dataexchange/src/index.ts | 6 + .../src/models/models_0.ts | 424 +- .../pagination/ListEventActionsPaginator.ts | 59 + .../src/protocols/Aws_restJson1.ts | 825 +++- .../src/models/models_0.ts | 82 +- .../src/protocols/Aws_query.ts | 24 + clients/client-identitystore/src/endpoints.ts | 9 +- .../client-imagebuilder/src/Imagebuilder.ts | 4 +- .../ListComponentBuildVersionsCommand.ts | 2 +- .../src/commands/ListComponentsCommand.ts | 2 +- .../src/models/models_0.ts | 70 +- clients/client-lambda/src/Lambda.ts | 63 +- .../src/commands/AddPermissionCommand.ts | 3 +- .../CreateEventSourceMappingCommand.ts | 26 +- .../src/commands/CreateFunctionCommand.ts | 10 +- .../DeleteEventSourceMappingCommand.ts | 5 +- .../commands/GetEventSourceMappingCommand.ts | 3 +- .../src/commands/ListLayerVersionsCommand.ts | 3 +- .../src/commands/ListLayersCommand.ts | 9 +- .../UpdateEventSourceMappingCommand.ts | 4 +- clients/client-lambda/src/models/models_0.ts | 111 +- .../src/protocols/Aws_restJson1.ts | 114 + clients/client-macie2/src/models/models_0.ts | 56 +- .../src/protocols/Aws_restJson1.ts | 4 + clients/client-network-firewall/README.md | 3 +- .../src/NetworkFirewall.ts | 6 +- .../src/NetworkFirewallClient.ts | 3 +- .../src/commands/DeleteFirewallCommand.ts | 3 +- .../src/models/models_0.ts | 241 +- .../src/protocols/Aws_json1_0.ts | 87 + .../src/commands/GetEmailTemplateCommand.ts | 3 +- .../src/commands/GetEndpointCommand.ts | 3 +- .../client-pinpoint/src/models/models_0.ts | 87 +- .../client-pinpoint/src/models/models_1.ts | 38 + .../src/protocols/Aws_restJson1.ts | 36 + clients/client-quicksight/src/endpoints.ts | 3 +- clients/client-sesv2/README.md | 17 +- clients/client-sesv2/src/SESv2.ts | 61 +- clients/client-sesv2/src/SESv2Client.ts | 18 +- .../commands/CreateDedicatedIpPoolCommand.ts | 2 +- .../commands/CreateEmailIdentityCommand.ts | 2 +- .../commands/CreateEmailTemplateCommand.ts | 4 +- ...eCustomVerificationEmailTemplateCommand.ts | 2 +- .../src/commands/GetAccountCommand.ts | 2 +- .../src/commands/GetDedicatedIpsCommand.ts | 2 +- ...etDeliverabilityDashboardOptionsCommand.ts | 2 +- ...CustomVerificationEmailTemplatesCommand.ts | 2 +- .../commands/ListDedicatedIpPoolsCommand.ts | 2 +- .../commands/ListEmailIdentitiesCommand.ts | 2 +- .../src/commands/ListEmailTemplatesCommand.ts | 2 +- ...onfigurationSetReputationOptionsCommand.ts | 2 +- ...utConfigurationSetSendingOptionsCommand.ts | 2 +- .../commands/PutDedicatedIpInPoolCommand.ts | 2 +- ...PutDeliverabilityDashboardOptionCommand.ts | 2 +- ...ailIdentityDkimSigningAttributesCommand.ts | 3 + .../SendCustomVerificationEmailCommand.ts | 2 +- .../src/commands/SendEmailCommand.ts | 2 +- .../commands/UpdateEmailTemplateCommand.ts | 4 +- clients/client-sesv2/src/models/models_0.ts | 320 +- .../src/protocols/Aws_restJson1.ts | 8 + clients/client-ssm/src/models/models_0.ts | 8 +- clients/client-ssm/src/models/models_1.ts | 19 +- .../client-ssm/src/protocols/Aws_json1_1.ts | 1 + .../client-synthetics/src/models/models_0.ts | 111 + .../src/protocols/Aws_restJson1.ts | 50 + .../client-transfer/src/models/models_0.ts | 71 +- clients/client-voice-id/.gitignore | 9 + clients/client-voice-id/.npmignore | 4 + clients/client-voice-id/LICENSE | 201 + clients/client-voice-id/README.md | 205 + clients/client-voice-id/jest.config.js | 4 + clients/client-voice-id/package.json | 93 + clients/client-voice-id/src/VoiceID.ts | 769 +++ clients/client-voice-id/src/VoiceIDClient.ts | 322 ++ .../src/commands/CreateDomainCommand.ts | 97 + .../src/commands/DeleteDomainCommand.ts | 95 + .../src/commands/DeleteFraudsterCommand.ts | 95 + .../src/commands/DeleteSpeakerCommand.ts | 95 + .../src/commands/DescribeDomainCommand.ts | 95 + .../src/commands/DescribeFraudsterCommand.ts | 95 + ...DescribeFraudsterRegistrationJobCommand.ts | 103 + .../src/commands/DescribeSpeakerCommand.ts | 95 + .../DescribeSpeakerEnrollmentJobCommand.ts | 100 + .../src/commands/EvaluateSessionCommand.ts | 96 + .../src/commands/ListDomainsCommand.ts | 96 + .../ListFraudsterRegistrationJobsCommand.ts | 103 + .../ListSpeakerEnrollmentJobsCommand.ts | 100 + .../src/commands/ListSpeakersCommand.ts | 95 + .../commands/ListTagsForResourceCommand.ts | 95 + .../src/commands/OptOutSpeakerCommand.ts | 99 + .../StartFraudsterRegistrationJobCommand.ts | 100 + .../StartSpeakerEnrollmentJobCommand.ts | 98 + .../src/commands/TagResourceCommand.ts | 95 + .../src/commands/UntagResourceCommand.ts | 95 + .../src/commands/UpdateDomainCommand.ts | 96 + clients/client-voice-id/src/endpoints.ts | 57 + clients/client-voice-id/src/index.ts | 29 + clients/client-voice-id/src/models/index.ts | 1 + .../client-voice-id/src/models/models_0.ts | 2153 +++++++++ .../src/pagination/Interfaces.ts | 8 + .../src/pagination/ListDomainsPaginator.ts | 55 + .../ListFraudsterRegistrationJobsPaginator.ts | 59 + .../ListSpeakerEnrollmentJobsPaginator.ts | 59 + .../src/pagination/ListSpeakersPaginator.ts | 59 + .../src/protocols/Aws_json1_0.ts | 3488 +++++++++++++ .../src/runtimeConfig.browser.ts | 41 + .../src/runtimeConfig.native.ts | 17 + .../src/runtimeConfig.shared.ts | 17 + clients/client-voice-id/src/runtimeConfig.ts | 46 + clients/client-voice-id/tsconfig.es.json | 10 + clients/client-voice-id/tsconfig.json | 33 + clients/client-voice-id/tsconfig.types.json | 9 + clients/client-wisdom/.gitignore | 9 + clients/client-wisdom/.npmignore | 4 + clients/client-wisdom/LICENSE | 201 + clients/client-wisdom/README.md | 207 + clients/client-wisdom/jest.config.js | 4 + clients/client-wisdom/package.json | 93 + clients/client-wisdom/src/Wisdom.ts | 1175 +++++ clients/client-wisdom/src/WisdomClient.ts | 363 ++ .../CreateAssistantAssociationCommand.ts | 100 + .../src/commands/CreateAssistantCommand.ts | 95 + .../src/commands/CreateContentCommand.ts | 96 + .../commands/CreateKnowledgeBaseCommand.ts | 119 + .../src/commands/CreateSessionCommand.ts | 97 + .../DeleteAssistantAssociationCommand.ts | 98 + .../src/commands/DeleteAssistantCommand.ts | 95 + .../src/commands/DeleteContentCommand.ts | 95 + .../commands/DeleteKnowledgeBaseCommand.ts | 102 + .../GetAssistantAssociationCommand.ts | 95 + .../src/commands/GetAssistantCommand.ts | 95 + .../src/commands/GetContentCommand.ts | 95 + .../src/commands/GetContentSummaryCommand.ts | 95 + .../src/commands/GetKnowledgeBaseCommand.ts | 95 + .../src/commands/GetRecommendationsCommand.ts | 98 + .../src/commands/GetSessionCommand.ts | 95 + .../ListAssistantAssociationsCommand.ts | 98 + .../src/commands/ListAssistantsCommand.ts | 95 + .../src/commands/ListContentsCommand.ts | 95 + .../src/commands/ListKnowledgeBasesCommand.ts | 95 + .../commands/ListTagsForResourceCommand.ts | 95 + .../NotifyRecommendationsReceivedCommand.ts | 102 + .../src/commands/QueryAssistantCommand.ts | 97 + .../RemoveKnowledgeBaseTemplateUriCommand.ts | 103 + .../src/commands/SearchContentCommand.ts | 96 + .../src/commands/SearchSessionsCommand.ts | 95 + .../src/commands/StartContentUploadCommand.ts | 98 + .../src/commands/TagResourceCommand.ts | 95 + .../src/commands/UntagResourceCommand.ts | 95 + .../src/commands/UpdateContentCommand.ts | 95 + .../UpdateKnowledgeBaseTemplateUriCommand.ts | 108 + clients/client-wisdom/src/endpoints.ts | 57 + clients/client-wisdom/src/index.ts | 42 + clients/client-wisdom/src/models/index.ts | 1 + clients/client-wisdom/src/models/models_0.ts | 2662 ++++++++++ .../src/pagination/Interfaces.ts | 8 + .../ListAssistantAssociationsPaginator.ts | 59 + .../src/pagination/ListAssistantsPaginator.ts | 59 + .../src/pagination/ListContentsPaginator.ts | 59 + .../pagination/ListKnowledgeBasesPaginator.ts | 59 + .../src/pagination/QueryAssistantPaginator.ts | 59 + .../src/pagination/SearchContentPaginator.ts | 59 + .../src/pagination/SearchSessionsPaginator.ts | 59 + .../src/protocols/Aws_restJson1.ts | 4293 +++++++++++++++++ .../src/runtimeConfig.browser.ts | 41 + .../client-wisdom/src/runtimeConfig.native.ts | 17 + .../client-wisdom/src/runtimeConfig.shared.ts | 17 + clients/client-wisdom/src/runtimeConfig.ts | 46 + clients/client-wisdom/tsconfig.es.json | 10 + clients/client-wisdom/tsconfig.json | 33 + clients/client-wisdom/tsconfig.types.json | 9 + clients/client-workmail/src/WorkMail.ts | 148 + clients/client-workmail/src/WorkMailClient.ts | 24 + ...DeleteMobileDeviceAccessOverrideCommand.ts | 103 + .../GetMobileDeviceAccessOverrideCommand.ts | 100 + .../ListMobileDeviceAccessOverridesCommand.ts | 103 + .../PutMobileDeviceAccessOverrideCommand.ts | 100 + clients/client-workmail/src/index.ts | 5 + .../client-workmail/src/models/models_0.ts | 344 +- ...istMobileDeviceAccessOverridesPaginator.ts | 59 + .../src/protocols/Aws_json1_1.ts | 538 +++ clients/client-workspaces/src/WorkSpaces.ts | 106 +- .../client-workspaces/src/WorkSpacesClient.ts | 6 + .../src/commands/CopyWorkspaceImageCommand.ts | 11 +- .../CreateUpdatedWorkspaceImageCommand.ts | 121 + .../DeregisterWorkspaceDirectoryCommand.ts | 2 +- ...scribeConnectionAliasPermissionsCommand.ts | 2 +- ...escribeWorkspaceImagePermissionsCommand.ts | 2 +- .../DisassociateConnectionAliasCommand.ts | 2 +- .../commands/ImportWorkspaceImageCommand.ts | 4 +- ...istAvailableManagementCidrRangesCommand.ts | 2 +- .../commands/TerminateWorkspacesCommand.ts | 4 +- .../UpdateWorkspaceImagePermissionCommand.ts | 17 +- clients/client-workspaces/src/index.ts | 1 + .../client-workspaces/src/models/models_0.ts | 151 +- .../src/protocols/Aws_json1_1.ts | 154 + 325 files changed, 41935 insertions(+), 1203 deletions(-) create mode 100644 clients/client-account/.gitignore create mode 100644 clients/client-account/.npmignore create mode 100644 clients/client-account/LICENSE create mode 100644 clients/client-account/README.md create mode 100644 clients/client-account/jest.config.js create mode 100644 clients/client-account/package.json create mode 100644 clients/client-account/src/Account.ts create mode 100644 clients/client-account/src/AccountClient.ts create mode 100644 clients/client-account/src/commands/DeleteAlternateContactCommand.ts create mode 100644 clients/client-account/src/commands/GetAlternateContactCommand.ts create mode 100644 clients/client-account/src/commands/PutAlternateContactCommand.ts create mode 100644 clients/client-account/src/endpoints.ts create mode 100644 clients/client-account/src/index.ts create mode 100644 clients/client-account/src/models/index.ts create mode 100644 clients/client-account/src/models/models_0.ts create mode 100644 clients/client-account/src/protocols/Aws_restJson1.ts create mode 100644 clients/client-account/src/runtimeConfig.browser.ts create mode 100644 clients/client-account/src/runtimeConfig.native.ts create mode 100644 clients/client-account/src/runtimeConfig.shared.ts create mode 100644 clients/client-account/src/runtimeConfig.ts create mode 100644 clients/client-account/tsconfig.es.json create mode 100644 clients/client-account/tsconfig.json create mode 100644 clients/client-account/tsconfig.types.json create mode 100644 clients/client-amp/src/commands/CreateAlertManagerDefinitionCommand.ts create mode 100644 clients/client-amp/src/commands/CreateRuleGroupsNamespaceCommand.ts create mode 100644 clients/client-amp/src/commands/DeleteAlertManagerDefinitionCommand.ts create mode 100644 clients/client-amp/src/commands/DeleteRuleGroupsNamespaceCommand.ts create mode 100644 clients/client-amp/src/commands/DescribeAlertManagerDefinitionCommand.ts create mode 100644 clients/client-amp/src/commands/DescribeRuleGroupsNamespaceCommand.ts create mode 100644 clients/client-amp/src/commands/ListRuleGroupsNamespacesCommand.ts create mode 100644 clients/client-amp/src/commands/PutAlertManagerDefinitionCommand.ts create mode 100644 clients/client-amp/src/commands/PutRuleGroupsNamespaceCommand.ts create mode 100644 clients/client-amp/src/pagination/ListRuleGroupsNamespacesPaginator.ts create mode 100644 clients/client-amp/src/waiters/waitForWorkspaceActive.ts create mode 100644 clients/client-amp/src/waiters/waitForWorkspaceDeleted.ts create mode 100644 clients/client-appintegrations/src/commands/CreateDataIntegrationCommand.ts create mode 100644 clients/client-appintegrations/src/commands/DeleteDataIntegrationCommand.ts create mode 100644 clients/client-appintegrations/src/commands/GetDataIntegrationCommand.ts create mode 100644 clients/client-appintegrations/src/commands/ListDataIntegrationAssociationsCommand.ts create mode 100644 clients/client-appintegrations/src/commands/ListDataIntegrationsCommand.ts create mode 100644 clients/client-appintegrations/src/commands/UpdateDataIntegrationCommand.ts create mode 100644 clients/client-cloudcontrol/.gitignore create mode 100644 clients/client-cloudcontrol/.npmignore create mode 100644 clients/client-cloudcontrol/LICENSE create mode 100644 clients/client-cloudcontrol/README.md create mode 100644 clients/client-cloudcontrol/jest.config.js create mode 100644 clients/client-cloudcontrol/package.json create mode 100644 clients/client-cloudcontrol/src/CloudControl.ts create mode 100644 clients/client-cloudcontrol/src/CloudControlClient.ts create mode 100644 clients/client-cloudcontrol/src/commands/CancelResourceRequestCommand.ts create mode 100644 clients/client-cloudcontrol/src/commands/CreateResourceCommand.ts create mode 100644 clients/client-cloudcontrol/src/commands/DeleteResourceCommand.ts create mode 100644 clients/client-cloudcontrol/src/commands/GetResourceCommand.ts create mode 100644 clients/client-cloudcontrol/src/commands/GetResourceRequestStatusCommand.ts create mode 100644 clients/client-cloudcontrol/src/commands/ListResourceRequestsCommand.ts create mode 100644 clients/client-cloudcontrol/src/commands/ListResourcesCommand.ts create mode 100644 clients/client-cloudcontrol/src/commands/UpdateResourceCommand.ts create mode 100644 clients/client-cloudcontrol/src/endpoints.ts create mode 100644 clients/client-cloudcontrol/src/index.ts create mode 100644 clients/client-cloudcontrol/src/models/index.ts create mode 100644 clients/client-cloudcontrol/src/models/models_0.ts create mode 100644 clients/client-cloudcontrol/src/pagination/Interfaces.ts create mode 100644 clients/client-cloudcontrol/src/pagination/ListResourceRequestsPaginator.ts create mode 100644 clients/client-cloudcontrol/src/pagination/ListResourcesPaginator.ts create mode 100644 clients/client-cloudcontrol/src/protocols/Aws_json1_0.ts create mode 100644 clients/client-cloudcontrol/src/runtimeConfig.browser.ts create mode 100644 clients/client-cloudcontrol/src/runtimeConfig.native.ts create mode 100644 clients/client-cloudcontrol/src/runtimeConfig.shared.ts create mode 100644 clients/client-cloudcontrol/src/runtimeConfig.ts create mode 100644 clients/client-cloudcontrol/src/waiters/waitForResourceRequestSuccess.ts create mode 100644 clients/client-cloudcontrol/tsconfig.es.json create mode 100644 clients/client-cloudcontrol/tsconfig.json create mode 100644 clients/client-cloudcontrol/tsconfig.types.json create mode 100644 clients/client-dataexchange/src/commands/CreateEventActionCommand.ts create mode 100644 clients/client-dataexchange/src/commands/DeleteEventActionCommand.ts create mode 100644 clients/client-dataexchange/src/commands/GetEventActionCommand.ts create mode 100644 clients/client-dataexchange/src/commands/ListEventActionsCommand.ts create mode 100644 clients/client-dataexchange/src/commands/UpdateEventActionCommand.ts create mode 100644 clients/client-dataexchange/src/pagination/ListEventActionsPaginator.ts create mode 100644 clients/client-voice-id/.gitignore create mode 100644 clients/client-voice-id/.npmignore create mode 100644 clients/client-voice-id/LICENSE create mode 100644 clients/client-voice-id/README.md create mode 100644 clients/client-voice-id/jest.config.js create mode 100644 clients/client-voice-id/package.json create mode 100644 clients/client-voice-id/src/VoiceID.ts create mode 100644 clients/client-voice-id/src/VoiceIDClient.ts create mode 100644 clients/client-voice-id/src/commands/CreateDomainCommand.ts create mode 100644 clients/client-voice-id/src/commands/DeleteDomainCommand.ts create mode 100644 clients/client-voice-id/src/commands/DeleteFraudsterCommand.ts create mode 100644 clients/client-voice-id/src/commands/DeleteSpeakerCommand.ts create mode 100644 clients/client-voice-id/src/commands/DescribeDomainCommand.ts create mode 100644 clients/client-voice-id/src/commands/DescribeFraudsterCommand.ts create mode 100644 clients/client-voice-id/src/commands/DescribeFraudsterRegistrationJobCommand.ts create mode 100644 clients/client-voice-id/src/commands/DescribeSpeakerCommand.ts create mode 100644 clients/client-voice-id/src/commands/DescribeSpeakerEnrollmentJobCommand.ts create mode 100644 clients/client-voice-id/src/commands/EvaluateSessionCommand.ts create mode 100644 clients/client-voice-id/src/commands/ListDomainsCommand.ts create mode 100644 clients/client-voice-id/src/commands/ListFraudsterRegistrationJobsCommand.ts create mode 100644 clients/client-voice-id/src/commands/ListSpeakerEnrollmentJobsCommand.ts create mode 100644 clients/client-voice-id/src/commands/ListSpeakersCommand.ts create mode 100644 clients/client-voice-id/src/commands/ListTagsForResourceCommand.ts create mode 100644 clients/client-voice-id/src/commands/OptOutSpeakerCommand.ts create mode 100644 clients/client-voice-id/src/commands/StartFraudsterRegistrationJobCommand.ts create mode 100644 clients/client-voice-id/src/commands/StartSpeakerEnrollmentJobCommand.ts create mode 100644 clients/client-voice-id/src/commands/TagResourceCommand.ts create mode 100644 clients/client-voice-id/src/commands/UntagResourceCommand.ts create mode 100644 clients/client-voice-id/src/commands/UpdateDomainCommand.ts create mode 100644 clients/client-voice-id/src/endpoints.ts create mode 100644 clients/client-voice-id/src/index.ts create mode 100644 clients/client-voice-id/src/models/index.ts create mode 100644 clients/client-voice-id/src/models/models_0.ts create mode 100644 clients/client-voice-id/src/pagination/Interfaces.ts create mode 100644 clients/client-voice-id/src/pagination/ListDomainsPaginator.ts create mode 100644 clients/client-voice-id/src/pagination/ListFraudsterRegistrationJobsPaginator.ts create mode 100644 clients/client-voice-id/src/pagination/ListSpeakerEnrollmentJobsPaginator.ts create mode 100644 clients/client-voice-id/src/pagination/ListSpeakersPaginator.ts create mode 100644 clients/client-voice-id/src/protocols/Aws_json1_0.ts create mode 100644 clients/client-voice-id/src/runtimeConfig.browser.ts create mode 100644 clients/client-voice-id/src/runtimeConfig.native.ts create mode 100644 clients/client-voice-id/src/runtimeConfig.shared.ts create mode 100644 clients/client-voice-id/src/runtimeConfig.ts create mode 100644 clients/client-voice-id/tsconfig.es.json create mode 100644 clients/client-voice-id/tsconfig.json create mode 100644 clients/client-voice-id/tsconfig.types.json create mode 100644 clients/client-wisdom/.gitignore create mode 100644 clients/client-wisdom/.npmignore create mode 100644 clients/client-wisdom/LICENSE create mode 100644 clients/client-wisdom/README.md create mode 100644 clients/client-wisdom/jest.config.js create mode 100644 clients/client-wisdom/package.json create mode 100644 clients/client-wisdom/src/Wisdom.ts create mode 100644 clients/client-wisdom/src/WisdomClient.ts create mode 100644 clients/client-wisdom/src/commands/CreateAssistantAssociationCommand.ts create mode 100644 clients/client-wisdom/src/commands/CreateAssistantCommand.ts create mode 100644 clients/client-wisdom/src/commands/CreateContentCommand.ts create mode 100644 clients/client-wisdom/src/commands/CreateKnowledgeBaseCommand.ts create mode 100644 clients/client-wisdom/src/commands/CreateSessionCommand.ts create mode 100644 clients/client-wisdom/src/commands/DeleteAssistantAssociationCommand.ts create mode 100644 clients/client-wisdom/src/commands/DeleteAssistantCommand.ts create mode 100644 clients/client-wisdom/src/commands/DeleteContentCommand.ts create mode 100644 clients/client-wisdom/src/commands/DeleteKnowledgeBaseCommand.ts create mode 100644 clients/client-wisdom/src/commands/GetAssistantAssociationCommand.ts create mode 100644 clients/client-wisdom/src/commands/GetAssistantCommand.ts create mode 100644 clients/client-wisdom/src/commands/GetContentCommand.ts create mode 100644 clients/client-wisdom/src/commands/GetContentSummaryCommand.ts create mode 100644 clients/client-wisdom/src/commands/GetKnowledgeBaseCommand.ts create mode 100644 clients/client-wisdom/src/commands/GetRecommendationsCommand.ts create mode 100644 clients/client-wisdom/src/commands/GetSessionCommand.ts create mode 100644 clients/client-wisdom/src/commands/ListAssistantAssociationsCommand.ts create mode 100644 clients/client-wisdom/src/commands/ListAssistantsCommand.ts create mode 100644 clients/client-wisdom/src/commands/ListContentsCommand.ts create mode 100644 clients/client-wisdom/src/commands/ListKnowledgeBasesCommand.ts create mode 100644 clients/client-wisdom/src/commands/ListTagsForResourceCommand.ts create mode 100644 clients/client-wisdom/src/commands/NotifyRecommendationsReceivedCommand.ts create mode 100644 clients/client-wisdom/src/commands/QueryAssistantCommand.ts create mode 100644 clients/client-wisdom/src/commands/RemoveKnowledgeBaseTemplateUriCommand.ts create mode 100644 clients/client-wisdom/src/commands/SearchContentCommand.ts create mode 100644 clients/client-wisdom/src/commands/SearchSessionsCommand.ts create mode 100644 clients/client-wisdom/src/commands/StartContentUploadCommand.ts create mode 100644 clients/client-wisdom/src/commands/TagResourceCommand.ts create mode 100644 clients/client-wisdom/src/commands/UntagResourceCommand.ts create mode 100644 clients/client-wisdom/src/commands/UpdateContentCommand.ts create mode 100644 clients/client-wisdom/src/commands/UpdateKnowledgeBaseTemplateUriCommand.ts create mode 100644 clients/client-wisdom/src/endpoints.ts create mode 100644 clients/client-wisdom/src/index.ts create mode 100644 clients/client-wisdom/src/models/index.ts create mode 100644 clients/client-wisdom/src/models/models_0.ts create mode 100644 clients/client-wisdom/src/pagination/Interfaces.ts create mode 100644 clients/client-wisdom/src/pagination/ListAssistantAssociationsPaginator.ts create mode 100644 clients/client-wisdom/src/pagination/ListAssistantsPaginator.ts create mode 100644 clients/client-wisdom/src/pagination/ListContentsPaginator.ts create mode 100644 clients/client-wisdom/src/pagination/ListKnowledgeBasesPaginator.ts create mode 100644 clients/client-wisdom/src/pagination/QueryAssistantPaginator.ts create mode 100644 clients/client-wisdom/src/pagination/SearchContentPaginator.ts create mode 100644 clients/client-wisdom/src/pagination/SearchSessionsPaginator.ts create mode 100644 clients/client-wisdom/src/protocols/Aws_restJson1.ts create mode 100644 clients/client-wisdom/src/runtimeConfig.browser.ts create mode 100644 clients/client-wisdom/src/runtimeConfig.native.ts create mode 100644 clients/client-wisdom/src/runtimeConfig.shared.ts create mode 100644 clients/client-wisdom/src/runtimeConfig.ts create mode 100644 clients/client-wisdom/tsconfig.es.json create mode 100644 clients/client-wisdom/tsconfig.json create mode 100644 clients/client-wisdom/tsconfig.types.json create mode 100644 clients/client-workmail/src/commands/DeleteMobileDeviceAccessOverrideCommand.ts create mode 100644 clients/client-workmail/src/commands/GetMobileDeviceAccessOverrideCommand.ts create mode 100644 clients/client-workmail/src/commands/ListMobileDeviceAccessOverridesCommand.ts create mode 100644 clients/client-workmail/src/commands/PutMobileDeviceAccessOverrideCommand.ts create mode 100644 clients/client-workmail/src/pagination/ListMobileDeviceAccessOverridesPaginator.ts create mode 100644 clients/client-workspaces/src/commands/CreateUpdatedWorkspaceImageCommand.ts diff --git a/clients/client-account/.gitignore b/clients/client-account/.gitignore new file mode 100644 index 000000000000..54f14c9aef25 --- /dev/null +++ b/clients/client-account/.gitignore @@ -0,0 +1,9 @@ +/node_modules/ +/build/ +/coverage/ +/docs/ +/dist-* +*.tsbuildinfo +*.tgz +*.log +package-lock.json diff --git a/clients/client-account/.npmignore b/clients/client-account/.npmignore new file mode 100644 index 000000000000..b7ff81137c4a --- /dev/null +++ b/clients/client-account/.npmignore @@ -0,0 +1,4 @@ +/coverage/ +/docs/ +tsconfig.test.json +*.tsbuildinfo diff --git a/clients/client-account/LICENSE b/clients/client-account/LICENSE new file mode 100644 index 000000000000..f9e0c8672bca --- /dev/null +++ b/clients/client-account/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/clients/client-account/README.md b/clients/client-account/README.md new file mode 100644 index 000000000000..a3258d79578c --- /dev/null +++ b/clients/client-account/README.md @@ -0,0 +1,203 @@ +# @aws-sdk/client-account + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-account/latest.svg)](https://www.npmjs.com/package/@aws-sdk/client-account) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-account.svg)](https://www.npmjs.com/package/@aws-sdk/client-account) + +## Description + +AWS SDK for JavaScript Account Client for Node.js, Browser and React Native. + +Operations for Amazon Web Services Account Management
+ +## Installing + +To install the this package, simply type add or install @aws-sdk/client-account +using your favorite package manager: + +- `npm install @aws-sdk/client-account` +- `yarn add @aws-sdk/client-account` +- `pnpm add @aws-sdk/client-account` + +## Getting Started + +### Import + +The AWS SDK is modulized by clients and commands. +To send a request, you only need to import the `AccountClient` and +the commands you need, for example `DeleteAlternateContactCommand`: + +```js +// ES5 example +const { AccountClient, DeleteAlternateContactCommand } = require("@aws-sdk/client-account"); +``` + +```ts +// ES6+ example +import { AccountClient, DeleteAlternateContactCommand } from "@aws-sdk/client-account"; +``` + +### Usage + +To send a request, you: + +- Initiate client with configuration (e.g. credentials, region). +- Initiate command with input parameters. +- Call `send` operation on client with command object as input. +- If you are using a custom http handler, you may call `destroy()` to close open connections. + +```js +// a client can be shared by different commands. +const client = new AccountClient({ region: "REGION" }); + +const params = { + /** input parameters */ +}; +const command = new DeleteAlternateContactCommand(params); +``` + +#### Async/await + +We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) +operator to wait for the promise returned by send operation as follows: + +```js +// async/await. +try { + const data = await client.send(command); + // process data. +} catch (error) { + // error handling. +} finally { + // finally. +} +``` + +Async-await is clean, concise, intuitive, easy to debug and has better error handling +as compared to using Promise chains or callbacks. + +#### Promises + +You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining) +to execute send operation. + +```js +client.send(command).then( + (data) => { + // process data. + }, + (error) => { + // error handling. + } +); +``` + +Promises can also be called using `.catch()` and `.finally()` as follows: + +```js +client + .send(command) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }) + .finally(() => { + // finally. + }); +``` + +#### Callbacks + +We do not recommend using callbacks because of [callback hell](http://callbackhell.com/), +but they are supported by the send operation. + +```js +// callbacks. +client.send(command, (err, data) => { + // proccess err and data. +}); +``` + +#### v2 compatible style + +The client can also send requests using v2 compatible style. +However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post +on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) + +```ts +import * as AWS from "@aws-sdk/client-account"; +const client = new AWS.Account({ region: "REGION" }); + +// async/await. +try { + const data = await client.deleteAlternateContact(params); + // process data. +} catch (error) { + // error handling. +} + +// Promises. +client + .deleteAlternateContact(params) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }); + +// callbacks. +client.deleteAlternateContact(params, (err, data) => { + // proccess err and data. +}); +``` + +### Troubleshooting + +When the service returns an exception, the error will include the exception information, +as well as response metadata (e.g. request id). + +```js +try { + const data = await client.send(command); + // process data. +} catch (error) { + const { requestId, cfId, extendedRequestId } = error.$metadata; + console.log({ requestId, cfId, extendedRequestId }); + /** + * The keys within exceptions are also parsed. + * You can access them by specifying exception names: + * if (error.name === 'SomeServiceException') { + * const value = error.specialKeyInException; + * } + */ +} +``` + +## Getting Help + +Please use these community resources for getting help. +We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them. + +- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html) + or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html). +- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/) + on AWS Developer Blog. +- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`. +- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3). +- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). + +To test your universal JavaScript code in Node.js, browser and react-native environments, +visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). + +## Contributing + +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-account` package is updated. +To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). + +## License + +This SDK is distributed under the +[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), +see LICENSE for more information. diff --git a/clients/client-account/jest.config.js b/clients/client-account/jest.config.js new file mode 100644 index 000000000000..02eed352c6a8 --- /dev/null +++ b/clients/client-account/jest.config.js @@ -0,0 +1,4 @@ +module.exports = { + preset: "ts-jest", + testMatch: ["**/*.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"], +}; diff --git a/clients/client-account/package.json b/clients/client-account/package.json new file mode 100644 index 000000000000..376b6b532ce5 --- /dev/null +++ b/clients/client-account/package.json @@ -0,0 +1,91 @@ +{ + "name": "@aws-sdk/client-account", + "description": "AWS SDK for JavaScript Account Client for Node.js, Browser and React Native", + "version": "3.0.0", + "scripts": { + "build": "yarn build:cjs && yarn build:es && yarn build:types", + "build:cjs": "tsc -p tsconfig.json", + "build:docs": "yarn clean:docs && typedoc ./", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "clean": "yarn clean:dist && yarn clean:docs", + "clean:dist": "rimraf ./dist-*", + "clean:docs": "rimraf ./docs", + "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", + "test": "jest --coverage --passWithNoTests" + }, + "main": "./dist-cjs/index.js", + "types": "./dist-types/index.d.ts", + "module": "./dist-es/index.js", + "sideEffects": false, + "dependencies": { + "@aws-crypto/sha256-browser": "^1.1.0", + "@aws-crypto/sha256-js": "^1.1.0", + "@aws-sdk/client-sts": "3.34.0", + "@aws-sdk/config-resolver": "3.34.0", + "@aws-sdk/credential-provider-node": "3.34.0", + "@aws-sdk/fetch-http-handler": "3.34.0", + "@aws-sdk/hash-node": "3.34.0", + "@aws-sdk/invalid-dependency": "3.34.0", + "@aws-sdk/middleware-content-length": "3.34.0", + "@aws-sdk/middleware-host-header": "3.34.0", + "@aws-sdk/middleware-logger": "3.34.0", + "@aws-sdk/middleware-retry": "3.34.0", + "@aws-sdk/middleware-serde": "3.34.0", + "@aws-sdk/middleware-signing": "3.34.0", + "@aws-sdk/middleware-stack": "3.34.0", + "@aws-sdk/middleware-user-agent": "3.34.0", + "@aws-sdk/node-config-provider": "3.34.0", + "@aws-sdk/node-http-handler": "3.34.0", + "@aws-sdk/protocol-http": "3.34.0", + "@aws-sdk/smithy-client": "3.34.0", + "@aws-sdk/types": "3.34.0", + "@aws-sdk/url-parser": "3.34.0", + "@aws-sdk/util-base64-browser": "3.34.0", + "@aws-sdk/util-base64-node": "3.34.0", + "@aws-sdk/util-body-length-browser": "3.34.0", + "@aws-sdk/util-body-length-node": "3.34.0", + "@aws-sdk/util-user-agent-browser": "3.34.0", + "@aws-sdk/util-user-agent-node": "3.34.0", + "@aws-sdk/util-utf8-browser": "3.34.0", + "@aws-sdk/util-utf8-node": "3.34.0", + "tslib": "^2.3.0" + }, + "devDependencies": { + "@aws-sdk/client-documentation-generator": "3.34.0", + "@types/node": "^12.7.5", + "downlevel-dts": "0.7.0", + "jest": "^26.1.0", + "rimraf": "^3.0.0", + "ts-jest": "^26.4.1", + "typedoc": "^0.19.2", + "typescript": "~4.3.5" + }, + "engines": { + "node": ">=10.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-account", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "clients/client-account" + } +} diff --git a/clients/client-account/src/Account.ts b/clients/client-account/src/Account.ts new file mode 100644 index 000000000000..5b73594db092 --- /dev/null +++ b/clients/client-account/src/Account.ts @@ -0,0 +1,125 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; + +import { AccountClient } from "./AccountClient"; +import { + DeleteAlternateContactCommand, + DeleteAlternateContactCommandInput, + DeleteAlternateContactCommandOutput, +} from "./commands/DeleteAlternateContactCommand"; +import { + GetAlternateContactCommand, + GetAlternateContactCommandInput, + GetAlternateContactCommandOutput, +} from "./commands/GetAlternateContactCommand"; +import { + PutAlternateContactCommand, + PutAlternateContactCommandInput, + PutAlternateContactCommandOutput, +} from "./commands/PutAlternateContactCommand"; + +/** + *Operations for Amazon Web Services Account Management
+ */ +export class Account extends AccountClient { + /** + *Deletes the specified alternate contact from an Amazon Web Services account.
+ *For complete details about how to use the alternate contact operations, see Access or + * updating the alternate contacts.
+ */ + public deleteAlternateContact( + args: DeleteAlternateContactCommandInput, + options?: __HttpHandlerOptions + ): PromiseRetrieves the specified alternate contact attached to an Amazon Web Services account.
+ *For complete details about how to use the alternate contact operations, see Access or + * updating the alternate contacts.
+ */ + public getAlternateContact( + args: GetAlternateContactCommandInput, + options?: __HttpHandlerOptions + ): PromiseModifies the specified alternate contact attached to an Amazon Web Services account.
+ *For complete details about how to use the alternate contact operations, see Access or + * updating the alternate contacts.
+ */ + public putAlternateContact( + args: PutAlternateContactCommandInput, + options?: __HttpHandlerOptions + ): PromiseOperations for Amazon Web Services Account Management
+ */ +export class AccountClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + AccountClientResolvedConfig +> { + /** + * The resolved configuration of AccountClient class. This is resolved and normalized from the {@link AccountClientConfig | constructor configuration interface}. + */ + readonly config: AccountClientResolvedConfig; + + constructor(configuration: AccountClientConfig) { + const _config_0 = __getRuntimeConfig(configuration); + const _config_1 = resolveRegionConfig(_config_0); + const _config_2 = resolveEndpointsConfig(_config_1); + const _config_3 = resolveRetryConfig(_config_2); + const _config_4 = resolveHostHeaderConfig(_config_3); + const _config_5 = resolveAwsAuthConfig(_config_4); + const _config_6 = resolveUserAgentConfig(_config_5); + super(_config_6); + this.config = _config_6; + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + this.middlewareStack.use(getAwsAuthPlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + } + + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void { + super.destroy(); + } +} diff --git a/clients/client-account/src/commands/DeleteAlternateContactCommand.ts b/clients/client-account/src/commands/DeleteAlternateContactCommand.ts new file mode 100644 index 000000000000..cb82f6c300b4 --- /dev/null +++ b/clients/client-account/src/commands/DeleteAlternateContactCommand.ts @@ -0,0 +1,97 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { AccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccountClient"; +import { DeleteAlternateContactRequest } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteAlternateContactCommand, + serializeAws_restJson1DeleteAlternateContactCommand, +} from "../protocols/Aws_restJson1"; + +export interface DeleteAlternateContactCommandInput extends DeleteAlternateContactRequest {} +export interface DeleteAlternateContactCommandOutput extends __MetadataBearer {} + +/** + *Deletes the specified alternate contact from an Amazon Web Services account.
+ *For complete details about how to use the alternate contact operations, see Access or + * updating the alternate contacts.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { AccountClient, DeleteAlternateContactCommand } from "@aws-sdk/client-account"; // ES Modules import + * // const { AccountClient, DeleteAlternateContactCommand } = require("@aws-sdk/client-account"); // CommonJS import + * const client = new AccountClient(config); + * const command = new DeleteAlternateContactCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteAlternateContactCommandInput} for command's `input` shape. + * @see {@link DeleteAlternateContactCommandOutput} for command's `response` shape. + * @see {@link AccountClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeleteAlternateContactCommand extends $Command< + DeleteAlternateContactCommandInput, + DeleteAlternateContactCommandOutput, + AccountClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteAlternateContactCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStackRetrieves the specified alternate contact attached to an Amazon Web Services account.
+ *For complete details about how to use the alternate contact operations, see Access or + * updating the alternate contacts.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { AccountClient, GetAlternateContactCommand } from "@aws-sdk/client-account"; // ES Modules import + * // const { AccountClient, GetAlternateContactCommand } = require("@aws-sdk/client-account"); // CommonJS import + * const client = new AccountClient(config); + * const command = new GetAlternateContactCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetAlternateContactCommandInput} for command's `input` shape. + * @see {@link GetAlternateContactCommandOutput} for command's `response` shape. + * @see {@link AccountClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetAlternateContactCommand extends $Command< + GetAlternateContactCommandInput, + GetAlternateContactCommandOutput, + AccountClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetAlternateContactCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStackModifies the specified alternate contact attached to an Amazon Web Services account.
+ *For complete details about how to use the alternate contact operations, see Access or + * updating the alternate contacts.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { AccountClient, PutAlternateContactCommand } from "@aws-sdk/client-account"; // ES Modules import + * // const { AccountClient, PutAlternateContactCommand } = require("@aws-sdk/client-account"); // CommonJS import + * const client = new AccountClient(config); + * const command = new PutAlternateContactCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link PutAlternateContactCommandInput} for command's `input` shape. + * @see {@link PutAlternateContactCommandOutput} for command's `response` shape. + * @see {@link AccountClientResolvedConfig | config} for command's `input` shape. + * + */ +export class PutAlternateContactCommand extends $Command< + PutAlternateContactCommandInput, + PutAlternateContactCommandOutput, + AccountClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: PutAlternateContactCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStackThe operation failed because the calling identity doesn't have the minimum required + * permissions.
+ */ +export interface AccessDeniedException extends __SmithyException, $MetadataBearer { + name: "AccessDeniedException"; + $fault: "client"; + message: string | undefined; +} + +export namespace AccessDeniedException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AccessDeniedException): any => ({ + ...obj, + }); +} + +export enum AlternateContactType { + BILLING = "BILLING", + OPERATIONS = "OPERATIONS", + SECURITY = "SECURITY", +} + +export interface DeleteAlternateContactRequest { + /** + *Specifies which of the alternate contacts to delete.
+ */ + AlternateContactType: AlternateContactType | string | undefined; + + /** + *Specifies the 12 digit account ID number of the Amazon Web Services account that + * you want to access or modify with this operation.
+ *If you do not specify this parameter, it defaults to the Amazon Web Services account of the + * identity used to call the operation.
+ *To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and + * the specified account ID must be a member account in the same organization. The + * organization must have all features + * enabled, and the organization must have trusted access enabled for the + * Account Management service, and optionally a delegated admin account + * assigned.
+ *The management account can't specify its own AccountId
; it must call
+ * the operation in standalone context by not including the AccountId
+ * parameter.
To call this operation on an account that is not a member of an organization, then + * don't specify this parameter, and call the operation using an identity belonging to + * the account whose contacts you wish to retrieve or modify.
+ */ + AccountId?: string; +} + +export namespace DeleteAlternateContactRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteAlternateContactRequest): any => ({ + ...obj, + }); +} + +/** + *The operation failed because of an error internal to Amazon Web Services. Try your operation again + * later.
+ */ +export interface InternalServerException extends __SmithyException, $MetadataBearer { + name: "InternalServerException"; + $fault: "server"; + $retryable: {}; + message: string | undefined; +} + +export namespace InternalServerException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InternalServerException): any => ({ + ...obj, + }); +} + +/** + *The operation failed because it specified a resource that can't be found.
+ */ +export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { + name: "ResourceNotFoundException"; + $fault: "client"; + message: string | undefined; +} + +export namespace ResourceNotFoundException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({ + ...obj, + }); +} + +/** + *The operation failed because it was called too frequently and exceeded a throttle + * limit.
+ */ +export interface TooManyRequestsException extends __SmithyException, $MetadataBearer { + name: "TooManyRequestsException"; + $fault: "client"; + $retryable: { + throttling: true; + }; + message: string | undefined; +} + +export namespace TooManyRequestsException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: TooManyRequestsException): any => ({ + ...obj, + }); +} + +/** + *The operation failed because one of the input parameters was invalid.
+ */ +export interface ValidationException extends __SmithyException, $MetadataBearer { + name: "ValidationException"; + $fault: "client"; + message: string | undefined; +} + +export namespace ValidationException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ValidationException): any => ({ + ...obj, + }); +} + +export interface GetAlternateContactRequest { + /** + *Specifies which alternate contact you want to retrieve.
+ */ + AlternateContactType: AlternateContactType | string | undefined; + + /** + *Specifies the 12 digit account ID number of the Amazon Web Services account that + * you want to access or modify with this operation.
+ *If you do not specify this parameter, it defaults to the Amazon Web Services account of the + * identity used to call the operation.
+ *To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and + * the specified account ID must be a member account in the same organization. The + * organization must have all features + * enabled, and the organization must have trusted access enabled for the + * Account Management service, and optionally a delegated admin account + * assigned.
+ *The management account can't specify its own AccountId
; it must call
+ * the operation in standalone context by not including the AccountId
+ * parameter.
To call this operation on an account that is not a member of an organization, then + * don't specify this parameter, and call the operation using an identity belonging to + * the account whose contacts you wish to retrieve or modify.
+ */ + AccountId?: string; +} + +export namespace GetAlternateContactRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetAlternateContactRequest): any => ({ + ...obj, + }); +} + +/** + *A structure that contains the details of an alternate contact associated with an Amazon Web Services + * account
+ */ +export interface AlternateContact { + /** + *The name associated with this alternate contact.
+ */ + Name?: string; + + /** + *The title associated with this alternate contact.
+ */ + Title?: string; + + /** + *The email address associated with this alternate contact.
+ */ + EmailAddress?: string; + + /** + *The phone number associated with this alternate contact.
+ */ + PhoneNumber?: string; + + /** + *The type of alternate contact.
+ */ + AlternateContactType?: AlternateContactType | string; +} + +export namespace AlternateContact { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AlternateContact): any => ({ + ...obj, + ...(obj.Name && { Name: SENSITIVE_STRING }), + ...(obj.Title && { Title: SENSITIVE_STRING }), + ...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }), + ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }), + }); +} + +export interface GetAlternateContactResponse { + /** + *A structure that contains the details for the specified alternate contact.
+ */ + AlternateContact?: AlternateContact; +} + +export namespace GetAlternateContactResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetAlternateContactResponse): any => ({ + ...obj, + ...(obj.AlternateContact && { AlternateContact: AlternateContact.filterSensitiveLog(obj.AlternateContact) }), + }); +} + +export interface PutAlternateContactRequest { + /** + *Specifies a name for the alternate contact.
+ */ + Name: string | undefined; + + /** + *Specifies a title for the alternate contact.
+ */ + Title: string | undefined; + + /** + *Specifies an email address for the alternate contact.
+ */ + EmailAddress: string | undefined; + + /** + *Specifies a phone number for the alternate contact.
+ */ + PhoneNumber: string | undefined; + + /** + *Specifies which alternate contact you want to create or update.
+ */ + AlternateContactType: AlternateContactType | string | undefined; + + /** + *Specifies the 12 digit account ID number of the Amazon Web Services account that + * you want to access or modify with this operation.
+ *If you do not specify this parameter, it defaults to the Amazon Web Services account of the + * identity used to call the operation.
+ *To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and + * the specified account ID must be a member account in the same organization. The + * organization must have all features + * enabled, and the organization must have trusted access enabled for the + * Account Management service, and optionally a delegated admin account + * assigned.
+ *The management account can't specify its own AccountId
; it must call
+ * the operation in standalone context by not including the AccountId
+ * parameter.
To call this operation on an account that is not a member of an organization, then + * don't specify this parameter, and call the operation using an identity belonging to + * the account whose contacts you wish to retrieve or modify.
+ */ + AccountId?: string; +} + +export namespace PutAlternateContactRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PutAlternateContactRequest): any => ({ + ...obj, + ...(obj.Name && { Name: SENSITIVE_STRING }), + ...(obj.Title && { Title: SENSITIVE_STRING }), + ...(obj.EmailAddress && { EmailAddress: SENSITIVE_STRING }), + ...(obj.PhoneNumber && { PhoneNumber: SENSITIVE_STRING }), + }); +} diff --git a/clients/client-account/src/protocols/Aws_restJson1.ts b/clients/client-account/src/protocols/Aws_restJson1.ts new file mode 100644 index 000000000000..4f430a218266 --- /dev/null +++ b/clients/client-account/src/protocols/Aws_restJson1.ts @@ -0,0 +1,528 @@ +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { + expectNonNull as __expectNonNull, + expectObject as __expectObject, + expectString as __expectString, +} from "@aws-sdk/smithy-client"; +import { + Endpoint as __Endpoint, + MetadataBearer as __MetadataBearer, + ResponseMetadata as __ResponseMetadata, + SerdeContext as __SerdeContext, + SmithyException as __SmithyException, +} from "@aws-sdk/types"; + +import { + DeleteAlternateContactCommandInput, + DeleteAlternateContactCommandOutput, +} from "../commands/DeleteAlternateContactCommand"; +import { + GetAlternateContactCommandInput, + GetAlternateContactCommandOutput, +} from "../commands/GetAlternateContactCommand"; +import { + PutAlternateContactCommandInput, + PutAlternateContactCommandOutput, +} from "../commands/PutAlternateContactCommand"; +import { + AccessDeniedException, + AlternateContact, + InternalServerException, + ResourceNotFoundException, + TooManyRequestsException, + ValidationException, +} from "../models/models_0"; + +export const serializeAws_restJson1DeleteAlternateContactCommand = async ( + input: DeleteAlternateContactCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deleteAlternateContact"; + let body: any; + body = JSON.stringify({ + ...(input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId }), + ...(input.AlternateContactType !== undefined && + input.AlternateContactType !== null && { AlternateContactType: input.AlternateContactType }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1GetAlternateContactCommand = async ( + input: GetAlternateContactCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/getAlternateContact"; + let body: any; + body = JSON.stringify({ + ...(input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId }), + ...(input.AlternateContactType !== undefined && + input.AlternateContactType !== null && { AlternateContactType: input.AlternateContactType }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1PutAlternateContactCommand = async ( + input: PutAlternateContactCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/putAlternateContact"; + let body: any; + body = JSON.stringify({ + ...(input.AccountId !== undefined && input.AccountId !== null && { AccountId: input.AccountId }), + ...(input.AlternateContactType !== undefined && + input.AlternateContactType !== null && { AlternateContactType: input.AlternateContactType }), + ...(input.EmailAddress !== undefined && input.EmailAddress !== null && { EmailAddress: input.EmailAddress }), + ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), + ...(input.PhoneNumber !== undefined && input.PhoneNumber !== null && { PhoneNumber: input.PhoneNumber }), + ...(input.Title !== undefined && input.Title !== null && { Title: input.Title }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const deserializeAws_restJson1DeleteAlternateContactCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): PromiseThe Amazon AppIntegrations service enables you to configure and reuse connections to external applications.
-For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations in the Amazon Connect Administrator Guide.
+The Amazon AppIntegrations service enables you to configure and reuse connections to external +applications.
+For information about how you can use external applications with Amazon Connect, see Set up pre-built +integrations and Deliver information to agents using Amazon Connect Wisdom +in the Amazon Connect Administrator Guide.
## Installing @@ -25,16 +28,16 @@ using your favorite package manager: The AWS SDK is modulized by clients and commands. To send a request, you only need to import the `AppIntegrationsClient` and -the commands you need, for example `CreateEventIntegrationCommand`: +the commands you need, for example `CreateDataIntegrationCommand`: ```js // ES5 example -const { AppIntegrationsClient, CreateEventIntegrationCommand } = require("@aws-sdk/client-appintegrations"); +const { AppIntegrationsClient, CreateDataIntegrationCommand } = require("@aws-sdk/client-appintegrations"); ``` ```ts // ES6+ example -import { AppIntegrationsClient, CreateEventIntegrationCommand } from "@aws-sdk/client-appintegrations"; +import { AppIntegrationsClient, CreateDataIntegrationCommand } from "@aws-sdk/client-appintegrations"; ``` ### Usage @@ -53,7 +56,7 @@ const client = new AppIntegrationsClient({ region: "REGION" }); const params = { /** input parameters */ }; -const command = new CreateEventIntegrationCommand(params); +const command = new CreateDataIntegrationCommand(params); ``` #### Async/await @@ -132,7 +135,7 @@ const client = new AWS.AppIntegrations({ region: "REGION" }); // async/await. try { - const data = await client.createEventIntegration(params); + const data = await client.createDataIntegration(params); // process data. } catch (error) { // error handling. @@ -140,7 +143,7 @@ try { // Promises. client - .createEventIntegration(params) + .createDataIntegration(params) .then((data) => { // process data. }) @@ -149,7 +152,7 @@ client }); // callbacks. -client.createEventIntegration(params, (err, data) => { +client.createDataIntegration(params, (err, data) => { // proccess err and data. }); ``` diff --git a/clients/client-appintegrations/src/AppIntegrations.ts b/clients/client-appintegrations/src/AppIntegrations.ts index d41ef33a06a6..d30c13518903 100644 --- a/clients/client-appintegrations/src/AppIntegrations.ts +++ b/clients/client-appintegrations/src/AppIntegrations.ts @@ -1,21 +1,46 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; import { AppIntegrationsClient } from "./AppIntegrationsClient"; +import { + CreateDataIntegrationCommand, + CreateDataIntegrationCommandInput, + CreateDataIntegrationCommandOutput, +} from "./commands/CreateDataIntegrationCommand"; import { CreateEventIntegrationCommand, CreateEventIntegrationCommandInput, CreateEventIntegrationCommandOutput, } from "./commands/CreateEventIntegrationCommand"; +import { + DeleteDataIntegrationCommand, + DeleteDataIntegrationCommandInput, + DeleteDataIntegrationCommandOutput, +} from "./commands/DeleteDataIntegrationCommand"; import { DeleteEventIntegrationCommand, DeleteEventIntegrationCommandInput, DeleteEventIntegrationCommandOutput, } from "./commands/DeleteEventIntegrationCommand"; +import { + GetDataIntegrationCommand, + GetDataIntegrationCommandInput, + GetDataIntegrationCommandOutput, +} from "./commands/GetDataIntegrationCommand"; import { GetEventIntegrationCommand, GetEventIntegrationCommandInput, GetEventIntegrationCommandOutput, } from "./commands/GetEventIntegrationCommand"; +import { + ListDataIntegrationAssociationsCommand, + ListDataIntegrationAssociationsCommandInput, + ListDataIntegrationAssociationsCommandOutput, +} from "./commands/ListDataIntegrationAssociationsCommand"; +import { + ListDataIntegrationsCommand, + ListDataIntegrationsCommandInput, + ListDataIntegrationsCommandOutput, +} from "./commands/ListDataIntegrationsCommand"; import { ListEventIntegrationAssociationsCommand, ListEventIntegrationAssociationsCommandInput, @@ -37,6 +62,11 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; +import { + UpdateDataIntegrationCommand, + UpdateDataIntegrationCommandInput, + UpdateDataIntegrationCommandOutput, +} from "./commands/UpdateDataIntegrationCommand"; import { UpdateEventIntegrationCommand, UpdateEventIntegrationCommandInput, @@ -44,15 +74,55 @@ import { } from "./commands/UpdateEventIntegrationCommand"; /** - *The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.
- *For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations in the Amazon Connect Administrator Guide.
+ *The Amazon AppIntegrations service enables you to configure and reuse connections to external + * applications.
+ *For information about how you can use external applications with Amazon Connect, see Set up pre-built + * integrations and Deliver information to agents using Amazon Connect Wisdom + * in the Amazon Connect Administrator Guide.
*/ export class AppIntegrations extends AppIntegrationsClient { + /** + *Creates and persists a DataIntegration resource.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated.
+ * Use a different DataIntegration, or recreate the DataIntegration using the
+ * CreateDataIntegration
API.
Creates an EventIntegration, given a specified name, description, and a reference to an * Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No - * objects are created in the your account, only metadata that is persisted on the EventIntegration - * control plane.
+ * objects are created in the your account, only metadata that is persisted on the + * EventIntegration control plane. */ public createEventIntegration( args: CreateEventIntegrationCommandInput, @@ -83,6 +153,45 @@ export class AppIntegrations extends AppIntegrationsClient { } } + /** + *Deletes the DataIntegration. Only DataIntegrations that don't have any + * DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the + * underlying Amazon AppFlow flow and service linked role.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *Deletes the specified existing event integration. If the event integration is associated * with clients, the request is rejected.
@@ -117,7 +226,44 @@ export class AppIntegrations extends AppIntegrationsClient { } /** - *Return information about the event integration.
+ *Returns information about the DataIntegration.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *Returns information about the event integration.
*/ public getEventIntegration( args: GetEventIntegrationCommandInput, @@ -148,6 +294,80 @@ export class AppIntegrations extends AppIntegrationsClient { } } + /** + *Returns a paginated list of DataIntegration associations in the account.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *Returns a paginated list of DataIntegrations in the account.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *Returns a paginated list of event integration associations in the account.
*/ @@ -302,6 +522,43 @@ export class AppIntegrations extends AppIntegrationsClient { } } + /** + *Updates the description of a DataIntegration.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *Updates the description of an event integration.
*/ diff --git a/clients/client-appintegrations/src/AppIntegrationsClient.ts b/clients/client-appintegrations/src/AppIntegrationsClient.ts index d796b591cc7c..9025dc001588 100644 --- a/clients/client-appintegrations/src/AppIntegrationsClient.ts +++ b/clients/client-appintegrations/src/AppIntegrationsClient.ts @@ -55,18 +55,35 @@ import { UserAgent as __UserAgent, } from "@aws-sdk/types"; +import { + CreateDataIntegrationCommandInput, + CreateDataIntegrationCommandOutput, +} from "./commands/CreateDataIntegrationCommand"; import { CreateEventIntegrationCommandInput, CreateEventIntegrationCommandOutput, } from "./commands/CreateEventIntegrationCommand"; +import { + DeleteDataIntegrationCommandInput, + DeleteDataIntegrationCommandOutput, +} from "./commands/DeleteDataIntegrationCommand"; import { DeleteEventIntegrationCommandInput, DeleteEventIntegrationCommandOutput, } from "./commands/DeleteEventIntegrationCommand"; +import { GetDataIntegrationCommandInput, GetDataIntegrationCommandOutput } from "./commands/GetDataIntegrationCommand"; import { GetEventIntegrationCommandInput, GetEventIntegrationCommandOutput, } from "./commands/GetEventIntegrationCommand"; +import { + ListDataIntegrationAssociationsCommandInput, + ListDataIntegrationAssociationsCommandOutput, +} from "./commands/ListDataIntegrationAssociationsCommand"; +import { + ListDataIntegrationsCommandInput, + ListDataIntegrationsCommandOutput, +} from "./commands/ListDataIntegrationsCommand"; import { ListEventIntegrationAssociationsCommandInput, ListEventIntegrationAssociationsCommandOutput, @@ -81,6 +98,10 @@ import { } from "./commands/ListTagsForResourceCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; +import { + UpdateDataIntegrationCommandInput, + UpdateDataIntegrationCommandOutput, +} from "./commands/UpdateDataIntegrationCommand"; import { UpdateEventIntegrationCommandInput, UpdateEventIntegrationCommandOutput, @@ -88,25 +109,37 @@ import { import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; export type ServiceInputTypes = + | CreateDataIntegrationCommandInput | CreateEventIntegrationCommandInput + | DeleteDataIntegrationCommandInput | DeleteEventIntegrationCommandInput + | GetDataIntegrationCommandInput | GetEventIntegrationCommandInput + | ListDataIntegrationAssociationsCommandInput + | ListDataIntegrationsCommandInput | ListEventIntegrationAssociationsCommandInput | ListEventIntegrationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput + | UpdateDataIntegrationCommandInput | UpdateEventIntegrationCommandInput; export type ServiceOutputTypes = + | CreateDataIntegrationCommandOutput | CreateEventIntegrationCommandOutput + | DeleteDataIntegrationCommandOutput | DeleteEventIntegrationCommandOutput + | GetDataIntegrationCommandOutput | GetEventIntegrationCommandOutput + | ListDataIntegrationAssociationsCommandOutput + | ListDataIntegrationsCommandOutput | ListEventIntegrationAssociationsCommandOutput | ListEventIntegrationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput + | UpdateDataIntegrationCommandOutput | UpdateEventIntegrationCommandOutput; export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { @@ -248,8 +281,11 @@ type AppIntegrationsClientResolvedConfigType = __SmithyResolvedConfiguration<__H export interface AppIntegrationsClientResolvedConfig extends AppIntegrationsClientResolvedConfigType {} /** - *The Amazon AppIntegrations service enables you to configure and reuse connections to external applications.
- *For information about how you can use external applications with Amazon Connect, see Set up pre-built integrations in the Amazon Connect Administrator Guide.
+ *The Amazon AppIntegrations service enables you to configure and reuse connections to external + * applications.
+ *For information about how you can use external applications with Amazon Connect, see Set up pre-built + * integrations and Deliver information to agents using Amazon Connect Wisdom + * in the Amazon Connect Administrator Guide.
*/ export class AppIntegrationsClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-appintegrations/src/commands/CreateDataIntegrationCommand.ts b/clients/client-appintegrations/src/commands/CreateDataIntegrationCommand.ts new file mode 100644 index 000000000000..6a40b67c03fa --- /dev/null +++ b/clients/client-appintegrations/src/commands/CreateDataIntegrationCommand.ts @@ -0,0 +1,100 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { AppIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppIntegrationsClient"; +import { CreateDataIntegrationRequest, CreateDataIntegrationResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateDataIntegrationCommand, + serializeAws_restJson1CreateDataIntegrationCommand, +} from "../protocols/Aws_restJson1"; + +export interface CreateDataIntegrationCommandInput extends CreateDataIntegrationRequest {} +export interface CreateDataIntegrationCommandOutput extends CreateDataIntegrationResponse, __MetadataBearer {} + +/** + *Creates and persists a DataIntegration resource.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated.
+ * Use a different DataIntegration, or recreate the DataIntegration using the
+ * CreateDataIntegration
API.
Creates an EventIntegration, given a specified name, description, and a reference to an * Amazon EventBridge bus in your account and a partner event source that pushes events to that bus. No - * objects are created in the your account, only metadata that is persisted on the EventIntegration - * control plane.
+ * objects are created in the your account, only metadata that is persisted on the + * EventIntegration control plane. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-appintegrations/src/commands/DeleteDataIntegrationCommand.ts b/clients/client-appintegrations/src/commands/DeleteDataIntegrationCommand.ts new file mode 100644 index 000000000000..d069a67d66cc --- /dev/null +++ b/clients/client-appintegrations/src/commands/DeleteDataIntegrationCommand.ts @@ -0,0 +1,102 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { AppIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppIntegrationsClient"; +import { DeleteDataIntegrationRequest, DeleteDataIntegrationResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteDataIntegrationCommand, + serializeAws_restJson1DeleteDataIntegrationCommand, +} from "../protocols/Aws_restJson1"; + +export interface DeleteDataIntegrationCommandInput extends DeleteDataIntegrationRequest {} +export interface DeleteDataIntegrationCommandOutput extends DeleteDataIntegrationResponse, __MetadataBearer {} + +/** + *Deletes the DataIntegration. Only DataIntegrations that don't have any + * DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the + * underlying Amazon AppFlow flow and service linked role.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *Returns information about the DataIntegration.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *Return information about the event integration.
+ *Returns information about the event integration.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-appintegrations/src/commands/ListDataIntegrationAssociationsCommand.ts b/clients/client-appintegrations/src/commands/ListDataIntegrationAssociationsCommand.ts new file mode 100644 index 000000000000..fb643e9ab494 --- /dev/null +++ b/clients/client-appintegrations/src/commands/ListDataIntegrationAssociationsCommand.ts @@ -0,0 +1,108 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { AppIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppIntegrationsClient"; +import { ListDataIntegrationAssociationsRequest, ListDataIntegrationAssociationsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListDataIntegrationAssociationsCommand, + serializeAws_restJson1ListDataIntegrationAssociationsCommand, +} from "../protocols/Aws_restJson1"; + +export interface ListDataIntegrationAssociationsCommandInput extends ListDataIntegrationAssociationsRequest {} +export interface ListDataIntegrationAssociationsCommandOutput + extends ListDataIntegrationAssociationsResponse, + __MetadataBearer {} + +/** + *Returns a paginated list of DataIntegration associations in the account.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *Returns a paginated list of DataIntegrations in the account.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *Updates the description of a DataIntegration.
+ *You cannot create a DataIntegration association for a DataIntegration that has been previously associated. + * Use a different DataIntegration, or recreate the DataIntegration using the + * CreateDataIntegration API.
+ *The event filter.
+ *The name of the data and how often it should be pulled from the source.
*/ -export interface EventFilter { +export interface ScheduleConfiguration { /** - *The source of the events.
+ *The start date for objects to import in the first flow run.
*/ - Source: string | undefined; + FirstExecutionFrom?: string; + + /** + *The name of the object to pull from the data source.
+ */ + Object?: string; + + /** + *How often the data should be pulled from data source.
+ */ + ScheduleExpression?: string; } -export namespace EventFilter { +export namespace ScheduleConfiguration { /** * @internal */ - export const filterSensitiveLog = (obj: EventFilter): any => ({ + export const filterSensitiveLog = (obj: ScheduleConfiguration): any => ({ ...obj, }); } -export interface CreateEventIntegrationRequest { +export interface CreateDataIntegrationRequest { /** - *The name of the event integration.
+ *The name of the DataIntegration.
*/ Name: string | undefined; /** - *The description of the event integration.
+ *A description of the DataIntegration.
*/ Description?: string; /** - *The event filter.
+ *The KMS key for the DataIntegration.
*/ - EventFilter: EventFilter | undefined; + KmsKey?: string; /** - *The EventBridge bus.
+ *The URI of the data source.
*/ - EventBridgeBus: string | undefined; + SourceURI?: string; /** - *A unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request.
+ *The name of the data and how often it should be pulled from the source.
*/ - ClientToken?: string; + ScheduleConfig?: ScheduleConfiguration; /** *One or more tags.
*/ Tags?: { [key: string]: string }; + + /** + *A unique, case-sensitive identifier that you provide to ensure the idempotency of the + * request.
+ */ + ClientToken?: string; } -export namespace CreateEventIntegrationRequest { +export namespace CreateDataIntegrationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: CreateEventIntegrationRequest): any => ({ + export const filterSensitiveLog = (obj: CreateDataIntegrationRequest): any => ({ ...obj, }); } -export interface CreateEventIntegrationResponse { +export interface CreateDataIntegrationResponse { /** - *The Amazon Resource Name (ARN) of the event integration.
+ *The Amazon Resource Name (ARN)
*/ - EventIntegrationArn?: string; + Arn?: string; + + /** + *A unique identifier.
+ */ + Id?: string; + + /** + *The name of the DataIntegration.
+ */ + Name?: string; + + /** + *A description of the DataIntegration.
+ */ + Description?: string; + + /** + *The KMS key for the DataIntegration.
+ */ + KmsKey?: string; + + /** + *The URI of the data source.
+ */ + SourceURI?: string; + + /** + *The name of the data and how often it should be pulled from the source.
+ */ + ScheduleConfiguration?: ScheduleConfiguration; + + /** + *One or more tags.
+ */ + Tags?: { [key: string]: string }; + + /** + *A unique, case-sensitive identifier that you provide to ensure the idempotency of the + * request.
+ */ + ClientToken?: string; } -export namespace CreateEventIntegrationResponse { +export namespace CreateDataIntegrationResponse { /** * @internal */ - export const filterSensitiveLog = (obj: CreateEventIntegrationResponse): any => ({ + export const filterSensitiveLog = (obj: CreateDataIntegrationResponse): any => ({ ...obj, }); } @@ -132,7 +188,7 @@ export namespace InternalServiceError { } /** - *The request is not valid.
+ *The request is not valid.
*/ export interface InvalidRequestException extends __SmithyException, $MetadataBearer { name: "InvalidRequestException"; @@ -185,29 +241,106 @@ export namespace ThrottlingException { }); } -export interface DeleteEventIntegrationRequest { +/** + *The event filter.
+ */ +export interface EventFilter { + /** + *The source of the events.
+ */ + Source: string | undefined; +} + +export namespace EventFilter { + /** + * @internal + */ + export const filterSensitiveLog = (obj: EventFilter): any => ({ + ...obj, + }); +} + +export interface CreateEventIntegrationRequest { /** *The name of the event integration.
*/ Name: string | undefined; + + /** + *The description of the event integration.
+ */ + Description?: string; + + /** + *The event filter.
+ */ + EventFilter: EventFilter | undefined; + + /** + *The EventBridge bus.
+ */ + EventBridgeBus: string | undefined; + + /** + *A unique, case-sensitive identifier that you provide to ensure the idempotency of the + * request.
+ */ + ClientToken?: string; + + /** + *One or more tags.
+ */ + Tags?: { [key: string]: string }; } -export namespace DeleteEventIntegrationRequest { +export namespace CreateEventIntegrationRequest { /** * @internal */ - export const filterSensitiveLog = (obj: DeleteEventIntegrationRequest): any => ({ + export const filterSensitiveLog = (obj: CreateEventIntegrationRequest): any => ({ ...obj, }); } -export interface DeleteEventIntegrationResponse {} +export interface CreateEventIntegrationResponse { + /** + *The Amazon Resource Name (ARN) of the event integration.
+ */ + EventIntegrationArn?: string; +} -export namespace DeleteEventIntegrationResponse { +export namespace CreateEventIntegrationResponse { /** * @internal */ - export const filterSensitiveLog = (obj: DeleteEventIntegrationResponse): any => ({ + export const filterSensitiveLog = (obj: CreateEventIntegrationResponse): any => ({ + ...obj, + }); +} + +export interface DeleteDataIntegrationRequest { + /** + *A unique identifier for the DataIntegration.
+ */ + DataIntegrationIdentifier: string | undefined; +} + +export namespace DeleteDataIntegrationRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteDataIntegrationRequest): any => ({ + ...obj, + }); +} + +export interface DeleteDataIntegrationResponse {} + +export namespace DeleteDataIntegrationResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteDataIntegrationResponse): any => ({ ...obj, }); } @@ -230,6 +363,100 @@ export namespace ResourceNotFoundException { }); } +export interface DeleteEventIntegrationRequest { + /** + *The name of the event integration.
+ */ + Name: string | undefined; +} + +export namespace DeleteEventIntegrationRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteEventIntegrationRequest): any => ({ + ...obj, + }); +} + +export interface DeleteEventIntegrationResponse {} + +export namespace DeleteEventIntegrationResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteEventIntegrationResponse): any => ({ + ...obj, + }); +} + +export interface GetDataIntegrationRequest { + /** + *A unique identifier.
+ */ + Identifier: string | undefined; +} + +export namespace GetDataIntegrationRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetDataIntegrationRequest): any => ({ + ...obj, + }); +} + +export interface GetDataIntegrationResponse { + /** + *The Amazon Resource Name (ARN) for the DataIntegration.
+ */ + Arn?: string; + + /** + *A unique identifier.
+ */ + Id?: string; + + /** + *The name of the DataIntegration.
+ */ + Name?: string; + + /** + *The KMS key for the DataIntegration.
+ */ + Description?: string; + + /** + *The KMS key for the DataIntegration.
+ */ + KmsKey?: string; + + /** + *The URI of the data source.
+ */ + SourceURI?: string; + + /** + *The name of the data and how often it should be pulled from the source.
+ */ + ScheduleConfiguration?: ScheduleConfiguration; + + /** + *One or more tags.
+ */ + Tags?: { [key: string]: string }; +} + +export namespace GetDataIntegrationResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetDataIntegrationResponse): any => ({ + ...obj, + }); +} + export interface GetEventIntegrationRequest { /** *The name of the event integration.
@@ -287,6 +514,156 @@ export namespace GetEventIntegrationResponse { }); } +export interface ListDataIntegrationAssociationsRequest { + /** + *A unique identifier for the DataIntegration.
+ */ + DataIntegrationIdentifier: string | undefined; + + /** + *The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.
+ */ + NextToken?: string; + + /** + *The maximum number of results to return per page.
+ */ + MaxResults?: number; +} + +export namespace ListDataIntegrationAssociationsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListDataIntegrationAssociationsRequest): any => ({ + ...obj, + }); +} + +/** + *Summary information about the DataIntegration association.
+ */ +export interface DataIntegrationAssociationSummary { + /** + *The Amazon Resource Name (ARN) of the DataIntegration association.
+ */ + DataIntegrationAssociationArn?: string; + + /** + *The Amazon Resource Name (ARN)of the DataIntegration.
+ */ + DataIntegrationArn?: string; + + /** + *The identifier for teh client that is associated with the DataIntegration + * association.
+ */ + ClientId?: string; +} + +export namespace DataIntegrationAssociationSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DataIntegrationAssociationSummary): any => ({ + ...obj, + }); +} + +export interface ListDataIntegrationAssociationsResponse { + /** + *The Amazon Resource Name (ARN) and unique ID of the DataIntegration association.
+ */ + DataIntegrationAssociations?: DataIntegrationAssociationSummary[]; + + /** + *If there are additional results, this is the token for the next set of results.
+ */ + NextToken?: string; +} + +export namespace ListDataIntegrationAssociationsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListDataIntegrationAssociationsResponse): any => ({ + ...obj, + }); +} + +export interface ListDataIntegrationsRequest { + /** + *The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.
+ */ + NextToken?: string; + + /** + *The maximum number of results to return per page.
+ */ + MaxResults?: number; +} + +export namespace ListDataIntegrationsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListDataIntegrationsRequest): any => ({ + ...obj, + }); +} + +/** + *Summary information about the DataIntegration.
+ */ +export interface DataIntegrationSummary { + /** + *The Amazon Resource Name (ARN) of the DataIntegration.
+ */ + Arn?: string; + + /** + *The name of the DataIntegration.
+ */ + Name?: string; + + /** + *The URI of the data source.
+ */ + SourceURI?: string; +} + +export namespace DataIntegrationSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DataIntegrationSummary): any => ({ + ...obj, + }); +} + +export interface ListDataIntegrationsResponse { + /** + *The DataIntegrations associated with this account.
+ */ + DataIntegrations?: DataIntegrationSummary[]; + + /** + *If there are additional results, this is the token for the next set of results.
+ */ + NextToken?: string; +} + +export namespace ListDataIntegrationsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListDataIntegrationsResponse): any => ({ + ...obj, + }); +} + export interface ListEventIntegrationAssociationsRequest { /** *The name of the event integration.
@@ -562,6 +939,43 @@ export namespace UntagResourceResponse { }); } +export interface UpdateDataIntegrationRequest { + /** + *A unique identifier for the DataIntegration.
+ */ + Identifier: string | undefined; + + /** + *The name of the DataIntegration.
+ */ + Name?: string; + + /** + *A description of the DataIntegration.
+ */ + Description?: string; +} + +export namespace UpdateDataIntegrationRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateDataIntegrationRequest): any => ({ + ...obj, + }); +} + +export interface UpdateDataIntegrationResponse {} + +export namespace UpdateDataIntegrationResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateDataIntegrationResponse): any => ({ + ...obj, + }); +} + export interface UpdateEventIntegrationRequest { /** *The name of the event integration.
diff --git a/clients/client-appintegrations/src/protocols/Aws_restJson1.ts b/clients/client-appintegrations/src/protocols/Aws_restJson1.ts index b2143f6980d3..bde59ebb7cc0 100644 --- a/clients/client-appintegrations/src/protocols/Aws_restJson1.ts +++ b/clients/client-appintegrations/src/protocols/Aws_restJson1.ts @@ -14,18 +14,35 @@ import { } from "@aws-sdk/types"; import { v4 as generateIdempotencyToken } from "uuid"; +import { + CreateDataIntegrationCommandInput, + CreateDataIntegrationCommandOutput, +} from "../commands/CreateDataIntegrationCommand"; import { CreateEventIntegrationCommandInput, CreateEventIntegrationCommandOutput, } from "../commands/CreateEventIntegrationCommand"; +import { + DeleteDataIntegrationCommandInput, + DeleteDataIntegrationCommandOutput, +} from "../commands/DeleteDataIntegrationCommand"; import { DeleteEventIntegrationCommandInput, DeleteEventIntegrationCommandOutput, } from "../commands/DeleteEventIntegrationCommand"; +import { GetDataIntegrationCommandInput, GetDataIntegrationCommandOutput } from "../commands/GetDataIntegrationCommand"; import { GetEventIntegrationCommandInput, GetEventIntegrationCommandOutput, } from "../commands/GetEventIntegrationCommand"; +import { + ListDataIntegrationAssociationsCommandInput, + ListDataIntegrationAssociationsCommandOutput, +} from "../commands/ListDataIntegrationAssociationsCommand"; +import { + ListDataIntegrationsCommandInput, + ListDataIntegrationsCommandOutput, +} from "../commands/ListDataIntegrationsCommand"; import { ListEventIntegrationAssociationsCommandInput, ListEventIntegrationAssociationsCommandOutput, @@ -40,12 +57,18 @@ import { } from "../commands/ListTagsForResourceCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; +import { + UpdateDataIntegrationCommandInput, + UpdateDataIntegrationCommandOutput, +} from "../commands/UpdateDataIntegrationCommand"; import { UpdateEventIntegrationCommandInput, UpdateEventIntegrationCommandOutput, } from "../commands/UpdateEventIntegrationCommand"; import { AccessDeniedException, + DataIntegrationAssociationSummary, + DataIntegrationSummary, DuplicateResourceException, EventFilter, EventIntegration, @@ -54,9 +77,43 @@ import { InvalidRequestException, ResourceNotFoundException, ResourceQuotaExceededException, + ScheduleConfiguration, ThrottlingException, } from "../models/models_0"; +export const serializeAws_restJson1CreateDataIntegrationCommand = async ( + input: CreateDataIntegrationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataIntegrations"; + let body: any; + body = JSON.stringify({ + ClientToken: input.ClientToken ?? generateIdempotencyToken(), + ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }), + ...(input.KmsKey !== undefined && input.KmsKey !== null && { KmsKey: input.KmsKey }), + ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), + ...(input.ScheduleConfig !== undefined && + input.ScheduleConfig !== null && { + ScheduleConfig: serializeAws_restJson1ScheduleConfiguration(input.ScheduleConfig, context), + }), + ...(input.SourceURI !== undefined && input.SourceURI !== null && { SourceURI: input.SourceURI }), + ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1CreateEventIntegrationCommand = async ( input: CreateEventIntegrationCommandInput, context: __SerdeContext @@ -88,6 +145,36 @@ export const serializeAws_restJson1CreateEventIntegrationCommand = async ( }); }; +export const serializeAws_restJson1DeleteDataIntegrationCommand = async ( + input: DeleteDataIntegrationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + let resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/dataIntegrations/{DataIntegrationIdentifier}"; + if (input.DataIntegrationIdentifier !== undefined) { + const labelValue: string = input.DataIntegrationIdentifier; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DataIntegrationIdentifier."); + } + resolvedPath = resolvedPath.replace("{DataIntegrationIdentifier}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DataIntegrationIdentifier."); + } + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1DeleteEventIntegrationCommand = async ( input: DeleteEventIntegrationCommandInput, context: __SerdeContext @@ -117,6 +204,35 @@ export const serializeAws_restJson1DeleteEventIntegrationCommand = async ( }); }; +export const serializeAws_restJson1GetDataIntegrationCommand = async ( + input: GetDataIntegrationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + let resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataIntegrations/{Identifier}"; + if (input.Identifier !== undefined) { + const labelValue: string = input.Identifier; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Identifier."); + } + resolvedPath = resolvedPath.replace("{Identifier}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Identifier."); + } + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1GetEventIntegrationCommand = async ( input: GetEventIntegrationCommandInput, context: __SerdeContext @@ -146,6 +262,65 @@ export const serializeAws_restJson1GetEventIntegrationCommand = async ( }); }; +export const serializeAws_restJson1ListDataIntegrationAssociationsCommand = async ( + input: ListDataIntegrationAssociationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + let resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/dataIntegrations/{DataIntegrationIdentifier}/associations"; + if (input.DataIntegrationIdentifier !== undefined) { + const labelValue: string = input.DataIntegrationIdentifier; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: DataIntegrationIdentifier."); + } + resolvedPath = resolvedPath.replace("{DataIntegrationIdentifier}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: DataIntegrationIdentifier."); + } + const query: any = { + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + }; + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListDataIntegrationsCommand = async ( + input: ListDataIntegrationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataIntegrations"; + const query: any = { + ...(input.NextToken !== undefined && { nextToken: input.NextToken }), + ...(input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() }), + }; + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + export const serializeAws_restJson1ListEventIntegrationAssociationsCommand = async ( input: ListEventIntegrationAssociationsCommandInput, context: __SerdeContext @@ -298,6 +473,41 @@ export const serializeAws_restJson1UntagResourceCommand = async ( }); }; +export const serializeAws_restJson1UpdateDataIntegrationCommand = async ( + input: UpdateDataIntegrationCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + let resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataIntegrations/{Identifier}"; + if (input.Identifier !== undefined) { + const labelValue: string = input.Identifier; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Identifier."); + } + resolvedPath = resolvedPath.replace("{Identifier}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Identifier."); + } + let body: any; + body = JSON.stringify({ + ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }), + ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PATCH", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1UpdateEventIntegrationCommand = async ( input: UpdateEventIntegrationCommandInput, context: __SerdeContext @@ -317,43 +527,566 @@ export const serializeAws_restJson1UpdateEventIntegrationCommand = async ( } else { throw new Error("No value provided for input HTTP label: Name."); } - let body: any; - body = JSON.stringify({ - ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }), - }); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PATCH", - headers, - path: resolvedPath, - body, - }); + let body: any; + body = JSON.stringify({ + ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PATCH", + headers, + path: resolvedPath, + body, + }); +}; + +export const deserializeAws_restJson1CreateDataIntegrationCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): PromiseAWS App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code -to a running service in the AWS cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to -provision and configure AWS resources.
+App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code +to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to +provision and configure Amazon Web Services resources.
App Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations, high performance, scalability, and security.
-For more information about App Runner, see the AWS App Runner Developer Guide. -For release information, see the AWS App Runner Release Notes.
+For more information about App Runner, see the App Runner Developer Guide. +For release information, see the App Runner Release Notes.
To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for @@ -23,8 +23,8 @@ Amazon Web Services.
Endpoints
-For a list of Region-specific endpoints that App Runner supports, see AWS App Runner -endpoints and quotas in the AWS General Reference.
+For a list of Region-specific endpoints that App Runner supports, see App Runner +endpoints and quotas in the Amazon Web Services General Reference.
## Installing diff --git a/clients/client-apprunner/src/AppRunner.ts b/clients/client-apprunner/src/AppRunner.ts index 85db65e64478..89ba88e1d32d 100644 --- a/clients/client-apprunner/src/AppRunner.ts +++ b/clients/client-apprunner/src/AppRunner.ts @@ -109,17 +109,17 @@ import { } from "./commands/UpdateServiceCommand"; /** - *AWS App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code - * to a running service in the AWS cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to - * provision and configure AWS resources.
+ *App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code + * to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to + * provision and configure Amazon Web Services resources.
*App Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations, * high performance, scalability, and security.
- *For more information about App Runner, see the AWS App Runner Developer Guide. - * For release information, see the AWS App Runner Release Notes.
+ *For more information about App Runner, see the App Runner Developer Guide. + * For release information, see the App Runner Release Notes.
*
* To install the Software Development Kits (SDKs), Integrated
* Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for
@@ -127,12 +127,12 @@ import {
*
* Endpoints
* For a list of Region-specific endpoints that App Runner supports, see AWS App Runner
- * endpoints and quotas in the AWS General Reference. For a list of Region-specific endpoints that App Runner supports, see App Runner
+ * endpoints and quotas in the Amazon Web Services General Reference. Associate your own domain name with the AWS App Runner subdomain URL of your App Runner service. Associate your own domain name with the App Runner subdomain URL of your App Runner service. After you call Create an AWS App Runner automatic scaling configuration resource. App Runner requires this resource
+ * Create an App Runner automatic scaling configuration resource. App Runner requires this resource
* when you create App Runner services that require non-default auto scaling settings. You can share an
* auto scaling configuration across multiple services. Create multiple revisions of a configuration by using the same Configure a higher Configure a higher Configure a lower Create an AWS App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from
+ * Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from
* certain third-party providers. You can share a connection across multiple services. A connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you
* can use the connection. Create an AWS App Runner service. After the service is created, the action also automatically starts a deployment. Create an App Runner service. After the service is created, the action also automatically starts a deployment. This is an asynchronous operation. On a successful call, you can use the returned Delete an AWS App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a
+ * Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a
* configuration that's used by one or more App Runner services. Delete an AWS App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the
+ * Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the
* Delete an AWS App Runner service. Delete an App Runner service. This is an asynchronous operation. On a successful call, you can use the returned Return a full description of an AWS App Runner automatic scaling configuration resource. Return a full description of an App Runner automatic scaling configuration resource. Return a description of custom domain names that are associated with an AWS App Runner service. Return a description of custom domain names that are associated with an App Runner service. Return a full description of an AWS App Runner service. Return a full description of an App Runner service. Disassociate a custom domain name from an AWS App Runner service. Disassociate a custom domain name from an App Runner service. Certificates tracking domain validity are associated with a custom domain and are stored in AWS
* Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for
* 30 days after a domain is disassociated from your service. Returns a list of AWS App Runner automatic scaling configurations in your AWS account. You can query the revisions for a specific configuration name or
+ * Returns a list of App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or
* the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name. Returns a list of AWS App Runner connections that are associated with your AWS account. Returns a list of App Runner connections that are associated with your Amazon Web Services account. Return a list of operations that occurred on an AWS App Runner service. Return a list of operations that occurred on an App Runner service. The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the
* last started operation. Returns a list of running AWS App Runner services in your AWS account. Returns a list of running App Runner services in your Amazon Web Services account. List tags that are associated with for an AWS App Runner resource. The response contains a list of tag key-value pairs. List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs. Pause an active AWS App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is
+ * Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is
* removed). This is an asynchronous operation. On a successful call, you can use the returned Resume an active AWS App Runner service. App Runner provisions compute capacity for the service. Resume an active App Runner service. App Runner provisions compute capacity for the service. This is an asynchronous operation. On a successful call, you can use the returned Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an AWS App Runner
+ * Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner
* service. For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker
* image. In both cases, App Runner then deploys the new image to your service and starts a new container instance. Update an AWS App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto
+ * Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto
* scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service.
* These can be set only when you create the service. To update the tags applied to your service, use the separate actions TagResource and UntagResource. AWS App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code
- * to a running service in the AWS cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to
- * provision and configure AWS resources. App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code
+ * to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to
+ * provision and configure Amazon Web Services resources. App Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations,
* high performance, scalability, and security. For more information about App Runner, see the AWS App Runner Developer Guide.
- * For release information, see the AWS App Runner Release Notes. For more information about App Runner, see the App Runner Developer Guide.
+ * For release information, see the App Runner Release Notes.
* To install the Software Development Kits (SDKs), Integrated
* Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for
@@ -302,8 +302,8 @@ export interface AppRunnerClientResolvedConfig extends AppRunnerClientResolvedCo
*
* Endpoints
* For a list of Region-specific endpoints that App Runner supports, see AWS App Runner
- * endpoints and quotas in the AWS General Reference. For a list of Region-specific endpoints that App Runner supports, see App Runner
+ * endpoints and quotas in the Amazon Web Services General Reference. Associate your own domain name with the AWS App Runner subdomain URL of your App Runner service. Associate your own domain name with the App Runner subdomain URL of your App Runner service. After you call Create an AWS App Runner automatic scaling configuration resource. App Runner requires this resource
+ * Create an App Runner automatic scaling configuration resource. App Runner requires this resource
* when you create App Runner services that require non-default auto scaling settings. You can share an
* auto scaling configuration across multiple services. Create multiple revisions of a configuration by using the same Configure a higher Configure a higher Configure a lower Create an AWS App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from
+ * Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from
* certain third-party providers. You can share a connection across multiple services. A connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you
* can use the connection. Create an AWS App Runner service. After the service is created, the action also automatically starts a deployment. Create an App Runner service. After the service is created, the action also automatically starts a deployment. This is an asynchronous operation. On a successful call, you can use the returned Delete an AWS App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a
+ * Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the latest active revision. You can't delete a
* configuration that's used by one or more App Runner services. Delete an AWS App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the
+ * Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the
* Delete an AWS App Runner service. Delete an App Runner service. This is an asynchronous operation. On a successful call, you can use the returned Return a full description of an AWS App Runner automatic scaling configuration resource. Return a full description of an App Runner automatic scaling configuration resource. Return a description of custom domain names that are associated with an AWS App Runner service. Return a description of custom domain names that are associated with an App Runner service. Return a full description of an AWS App Runner service. Return a full description of an App Runner service. Disassociate a custom domain name from an AWS App Runner service. Disassociate a custom domain name from an App Runner service. Certificates tracking domain validity are associated with a custom domain and are stored in AWS
* Certificate Manager (ACM). These certificates aren't deleted as part of this action. App Runner delays certificate deletion for
* 30 days after a domain is disassociated from your service. Returns a list of AWS App Runner automatic scaling configurations in your AWS account. You can query the revisions for a specific configuration name or
+ * Returns a list of App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or
* the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name. Returns a list of AWS App Runner connections that are associated with your AWS account. Returns a list of App Runner connections that are associated with your Amazon Web Services account. Return a list of operations that occurred on an AWS App Runner service. Return a list of operations that occurred on an App Runner service. The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the
* last started operation. Returns a list of running AWS App Runner services in your AWS account. Returns a list of running App Runner services in your Amazon Web Services account. List tags that are associated with for an AWS App Runner resource. The response contains a list of tag key-value pairs. List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs. Pause an active AWS App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is
+ * Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is
* removed). This is an asynchronous operation. On a successful call, you can use the returned Resume an active AWS App Runner service. App Runner provisions compute capacity for the service. Resume an active App Runner service. App Runner provisions compute capacity for the service. This is an asynchronous operation. On a successful call, you can use the returned Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an AWS App Runner
+ * Initiate a manual deployment of the latest commit in a source code repository or the latest image in a source image repository to an App Runner
* service. For a source code repository, App Runner retrieves the commit and builds a Docker image. For a source image repository, App Runner retrieves the latest Docker
* image. In both cases, App Runner then deploys the new image to your service and starts a new container instance. Update an AWS App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto
+ * Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto
* scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service.
* These can be set only when you create the service. To update the tags applied to your service, use the separate actions TagResource and UntagResource. Describes a custom domain that's associated with an AWS App Runner service. Describes a custom domain that's associated with an App Runner service. Describes a tag that is applied to an AWS App Runner resource. A tag is a metadata item consisting of a key-value pair. Describes a tag that is applied to an App Runner resource. A tag is a metadata item consisting of a key-value pair. A name for the auto scaling configuration. When you use it for the first time in an AWS Region, App Runner creates revision number A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number Describes an AWS App Runner automatic scaling configuration resource. Multiple revisions of a configuration have the same
+ * Describes an App Runner automatic scaling configuration resource. Multiple revisions of a configuration have the same
* A higher A higher A lower App Runner can't create this resource. You've reached your account quota for this resource type. For App Runner per-resource quotas, see AWS App Runner endpoints and quotas in the
- * AWS General Reference. For App Runner per-resource quotas, see App Runner endpoints and quotas in the
+ * Amazon Web Services General Reference. A name for the new connection. It must be unique across all App Runner connections for the AWS account in the AWS Region. A name for the new connection. It must be unique across all App Runner connections for the Amazon Web Services account in the Amazon Web Services Region. Describes an AWS App Runner connection resource. Describes an App Runner connection resource. Describes a custom encryption key that AWS App Runner uses to encrypt copies of the source repository and service logs. Describes a custom encryption key that App Runner uses to encrypt copies of the source repository and service logs. Describes the settings for the health check that AWS App Runner performs to monitor the health of a service. Describes the settings for the health check that App Runner performs to monitor the health of a service. The number of consecutive checks that must succeed before App Runner decides that the service is healthy. Default: Default: The number of consecutive checks that must fail before App Runner decides that the service is unhealthy. Default: Default: Describes the runtime configuration of an AWS App Runner service instance (scaling unit). Describes the runtime configuration of an App Runner service instance (scaling unit). The Amazon Resource Name (ARN) of an IAM role that provides permissions to your App Runner service. These are permissions that your code needs when it calls
- * any AWS APIs. Describes the basic configuration needed for building and running an AWS App Runner service. This type doesn't support the full set of possible
+ * Describes the basic configuration needed for building and running an App Runner service. This type doesn't support the full set of possible
* configuration options. Fur full configuration capabilities, use a Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository. Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository. Identifies a version of code that AWS App Runner refers to within a source code repository. Identifies a version of code that App Runner refers to within a source code repository. Describes the configuration that AWS App Runner uses to run an App Runner service using an image pulled from a source image repository. Describes the configuration that App Runner uses to run an App Runner service using an image pulled from a source image repository. Describes the source deployed to an AWS App Runner service. It can be a code or an image repository. Describes the source deployed to an App Runner service. It can be a code or an image repository. If Default: If Default: App Runner sets to A name for the new service. It must be unique across all the running App Runner services in your AWS account in the AWS Region. A name for the new service. It must be unique across all the running App Runner services in your Amazon Web Services account in the Amazon Web Services Region. An optional custom encryption key that App Runner uses to encrypt the copy of your source repository that it maintains and your service logs. By default,
- * App Runner uses an AWS managed CMK.AssociateCustomDomain
and receive a successful response, use the information in the CustomDomain record
* that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or
* more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks
@@ -168,13 +168,13 @@ export class AppRunner extends AppRunnerClient {
}
/**
- * AutoScalingConfigurationName
and different
* AutoScalingConfigurationRevision
values. When you create a service, you can set it to use the latest active revision of an auto scaling
* configuration or a specific revision.MinSize
to increase the spread of your App Runner service over more Availability Zones in the AWS Region. The tradeoff is
+ * MinSize
to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is
* a higher minimal cost.MaxSize
to control your cost. The tradeoff is lower responsiveness during peak demand.OperationId
and the ListOperations call to track the operation's progress.DeleteConnection
action fails.OperationId
and the ListOperations
* call to track the operation's progress.OperationId
and the ListOperations
* call to track the operation's progress.OperationId
and the ListOperations
* call to track the operation's progress.AssociateCustomDomain
and receive a successful response, use the information in the CustomDomain record
* that's returned to add CNAME records to your Domain Name System (DNS). For each mapped domain name, add a mapping to the target App Runner subdomain and one or
* more certificate validation records. App Runner then performs DNS validation to verify that you own or control the domain name that you associated. App Runner tracks
diff --git a/clients/client-apprunner/src/commands/CreateAutoScalingConfigurationCommand.ts b/clients/client-apprunner/src/commands/CreateAutoScalingConfigurationCommand.ts
index 61836158f451..57e365b75489 100644
--- a/clients/client-apprunner/src/commands/CreateAutoScalingConfigurationCommand.ts
+++ b/clients/client-apprunner/src/commands/CreateAutoScalingConfigurationCommand.ts
@@ -24,13 +24,13 @@ export interface CreateAutoScalingConfigurationCommandOutput
__MetadataBearer {}
/**
- * AutoScalingConfigurationName
and different
* AutoScalingConfigurationRevision
values. When you create a service, you can set it to use the latest active revision of an auto scaling
* configuration or a specific revision.MinSize
to increase the spread of your App Runner service over more Availability Zones in the AWS Region. The tradeoff is
+ * MinSize
to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is
* a higher minimal cost.MaxSize
to control your cost. The tradeoff is lower responsiveness during peak demand.OperationId
and the ListOperations call to track the operation's progress.DeleteConnection
action fails.OperationId
and the ListOperations
* call to track the operation's progress.OperationId
and the ListOperations
* call to track the operation's progress.OperationId
and the ListOperations
* call to track the operation's progress.1
of this
+ * 1
of this
* name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.AutoScalingConfigurationName
and different AutoScalingConfigurationRevision
values.MinSize
increases the spread of your App Runner service over more Availability Zones in the AWS Region. The tradeoff is a higher
+ * MinSize
increases the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher
* minimal cost.MaxSize
controls your cost. The tradeoff is lower responsiveness during peak demand.3
+ * 1
* 3
+ * 5
* apprunner.yaml
file in the source code repository.true
, continuous integration from the source repository is enabled for the App Runner service. Each repository change (source code commit or
- * new image version) starts a deployment.true
- * true
, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source
+ * code commit or new image version) starts a deployment.false
for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true
in all other cases (which currently include a source code
+ * repository or a source image using a same-account ECR repository).
The settings for the health check that AWS App Runner performs to monitor the health of your service.
+ *The settings for the health check that App Runner performs to monitor the health of your service.
*/ HealthCheckConfiguration?: HealthCheckConfiguration; @@ -946,7 +946,7 @@ export namespace CreateServiceRequest { } /** - *Provides summary information about an AWS App Runner automatic scaling configuration resource.
+ *Provides summary information about an App Runner automatic scaling configuration resource.
*This type contains limited information about an auto scaling configuration. It includes only identification information, without configuration * details. It's returned by the ListAutoScalingConfigurations action. Complete configuration information is returned by the CreateAutoScalingConfiguration, DescribeAutoScalingConfiguration, and DeleteAutoScalingConfiguration * actions using the AutoScalingConfiguration type.
@@ -988,7 +988,7 @@ export enum ServiceStatus { } /** - *Describes an AWS App Runner service. It can describe a service in any state, including deleted services.
+ *Describes an App Runner service. It can describe a service in any state, including deleted services.
*This type contains the full information about a service, including configuration details. It's returned by the CreateService, DescribeService, and DeleteService actions. A subset of this * information is returned by the ListServices action using the ServiceSummary type.
*/ @@ -999,7 +999,7 @@ export interface Service { ServiceName: string | undefined; /** - *An ID that App Runner generated for this service. It's unique within the AWS Region.
+ *An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
*/ ServiceId: string | undefined; @@ -1058,7 +1058,7 @@ export interface Service { /** *The encryption key that App Runner uses to encrypt the service logs and the copy of the source repository that App Runner maintains for the service. It can be - * either a customer-provided encryption key or an AWS managed CMK.
+ * either a customer-provided encryption key or an Amazon Web Services managed CMK. */ EncryptionConfiguration?: EncryptionConfiguration; @@ -1144,7 +1144,7 @@ export namespace DeleteAutoScalingConfigurationResponse { } /** - *A resource doesn't exist for the specified Amazon Resource Name (ARN) in your AWS account.
+ *A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services account.
*/ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { name: "ResourceNotFoundException"; @@ -1500,7 +1500,7 @@ export namespace ListConnectionsRequest { } /** - *Provides summary information about an AWS App Runner connection resource.
+ *Provides summary information about an App Runner connection resource.
*/ export interface ConnectionSummary { /** @@ -1608,7 +1608,7 @@ export enum OperationType { } /** - *Provides summary information for an operation that occurred on an AWS App Runner service.
+ *Provides summary information for an operation that occurred on an App Runner service.
*/ export interface OperationSummary { /** @@ -1703,7 +1703,7 @@ export namespace ListServicesRequest { } /** - *Provides summary information for an AWS App Runner service.
+ *Provides summary information for an App Runner service.
*This type contains limited information about a service. It doesn't include configuration details. It's returned by the ListServices action. Complete service information is returned by the CreateService, DescribeService, and DeleteService actions using the Service type.
*/ export interface ServiceSummary { @@ -1713,7 +1713,7 @@ export interface ServiceSummary { ServiceName?: string; /** - *An ID that App Runner generated for this service. It's unique within the AWS Region.
+ *An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
*/ ServiceId?: string; @@ -2023,7 +2023,7 @@ export interface UpdateServiceRequest { AutoScalingConfigurationArn?: string; /** - *The settings for the health check that AWS App Runner performs to monitor the health of your service.
+ *The settings for the health check that App Runner performs to monitor the health of your service.
*/ HealthCheckConfiguration?: HealthCheckConfiguration; } diff --git a/clients/client-cloudcontrol/.gitignore b/clients/client-cloudcontrol/.gitignore new file mode 100644 index 000000000000..54f14c9aef25 --- /dev/null +++ b/clients/client-cloudcontrol/.gitignore @@ -0,0 +1,9 @@ +/node_modules/ +/build/ +/coverage/ +/docs/ +/dist-* +*.tsbuildinfo +*.tgz +*.log +package-lock.json diff --git a/clients/client-cloudcontrol/.npmignore b/clients/client-cloudcontrol/.npmignore new file mode 100644 index 000000000000..b7ff81137c4a --- /dev/null +++ b/clients/client-cloudcontrol/.npmignore @@ -0,0 +1,4 @@ +/coverage/ +/docs/ +tsconfig.test.json +*.tsbuildinfo diff --git a/clients/client-cloudcontrol/LICENSE b/clients/client-cloudcontrol/LICENSE new file mode 100644 index 000000000000..f9e0c8672bca --- /dev/null +++ b/clients/client-cloudcontrol/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/clients/client-cloudcontrol/README.md b/clients/client-cloudcontrol/README.md new file mode 100644 index 000000000000..cb3125672560 --- /dev/null +++ b/clients/client-cloudcontrol/README.md @@ -0,0 +1,209 @@ +# @aws-sdk/client-cloudcontrol + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-cloudcontrol/latest.svg)](https://www.npmjs.com/package/@aws-sdk/client-cloudcontrol) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-cloudcontrol.svg)](https://www.npmjs.com/package/@aws-sdk/client-cloudcontrol) + +## Description + +AWS SDK for JavaScript CloudControl Client for Node.js, Browser and React Native. + +Use Amazon Web Services Cloud Control API to create, read, update, delete, and list (CRUD-L) your cloud resources that +belong to a wide range of services--both Amazon Web Services and third-party. With the Cloud Control API +standardized set of application programming interfaces (APIs), you can perform CRUD-L operations +on any supported resources in your Amazon Web Services account. Using Cloud Control API, you won't have to generate code +or scripts specific to each individual service responsible for those resources.
+For more information about Amazon Web Services Cloud Control API, see the Amazon Web Services Cloud Control API User +Guide.
+ +## Installing + +To install the this package, simply type add or install @aws-sdk/client-cloudcontrol +using your favorite package manager: + +- `npm install @aws-sdk/client-cloudcontrol` +- `yarn add @aws-sdk/client-cloudcontrol` +- `pnpm add @aws-sdk/client-cloudcontrol` + +## Getting Started + +### Import + +The AWS SDK is modulized by clients and commands. +To send a request, you only need to import the `CloudControlClient` and +the commands you need, for example `CancelResourceRequestCommand`: + +```js +// ES5 example +const { CloudControlClient, CancelResourceRequestCommand } = require("@aws-sdk/client-cloudcontrol"); +``` + +```ts +// ES6+ example +import { CloudControlClient, CancelResourceRequestCommand } from "@aws-sdk/client-cloudcontrol"; +``` + +### Usage + +To send a request, you: + +- Initiate client with configuration (e.g. credentials, region). +- Initiate command with input parameters. +- Call `send` operation on client with command object as input. +- If you are using a custom http handler, you may call `destroy()` to close open connections. + +```js +// a client can be shared by different commands. +const client = new CloudControlClient({ region: "REGION" }); + +const params = { + /** input parameters */ +}; +const command = new CancelResourceRequestCommand(params); +``` + +#### Async/await + +We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) +operator to wait for the promise returned by send operation as follows: + +```js +// async/await. +try { + const data = await client.send(command); + // process data. +} catch (error) { + // error handling. +} finally { + // finally. +} +``` + +Async-await is clean, concise, intuitive, easy to debug and has better error handling +as compared to using Promise chains or callbacks. + +#### Promises + +You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining) +to execute send operation. + +```js +client.send(command).then( + (data) => { + // process data. + }, + (error) => { + // error handling. + } +); +``` + +Promises can also be called using `.catch()` and `.finally()` as follows: + +```js +client + .send(command) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }) + .finally(() => { + // finally. + }); +``` + +#### Callbacks + +We do not recommend using callbacks because of [callback hell](http://callbackhell.com/), +but they are supported by the send operation. + +```js +// callbacks. +client.send(command, (err, data) => { + // proccess err and data. +}); +``` + +#### v2 compatible style + +The client can also send requests using v2 compatible style. +However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post +on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) + +```ts +import * as AWS from "@aws-sdk/client-cloudcontrol"; +const client = new AWS.CloudControl({ region: "REGION" }); + +// async/await. +try { + const data = await client.cancelResourceRequest(params); + // process data. +} catch (error) { + // error handling. +} + +// Promises. +client + .cancelResourceRequest(params) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }); + +// callbacks. +client.cancelResourceRequest(params, (err, data) => { + // proccess err and data. +}); +``` + +### Troubleshooting + +When the service returns an exception, the error will include the exception information, +as well as response metadata (e.g. request id). + +```js +try { + const data = await client.send(command); + // process data. +} catch (error) { + const { requestId, cfId, extendedRequestId } = error.$metadata; + console.log({ requestId, cfId, extendedRequestId }); + /** + * The keys within exceptions are also parsed. + * You can access them by specifying exception names: + * if (error.name === 'SomeServiceException') { + * const value = error.specialKeyInException; + * } + */ +} +``` + +## Getting Help + +Please use these community resources for getting help. +We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them. + +- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html) + or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html). +- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/) + on AWS Developer Blog. +- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`. +- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3). +- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). + +To test your universal JavaScript code in Node.js, browser and react-native environments, +visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). + +## Contributing + +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-cloudcontrol` package is updated. +To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). + +## License + +This SDK is distributed under the +[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), +see LICENSE for more information. diff --git a/clients/client-cloudcontrol/jest.config.js b/clients/client-cloudcontrol/jest.config.js new file mode 100644 index 000000000000..02eed352c6a8 --- /dev/null +++ b/clients/client-cloudcontrol/jest.config.js @@ -0,0 +1,4 @@ +module.exports = { + preset: "ts-jest", + testMatch: ["**/*.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"], +}; diff --git a/clients/client-cloudcontrol/package.json b/clients/client-cloudcontrol/package.json new file mode 100644 index 000000000000..3fe8d5e6e232 --- /dev/null +++ b/clients/client-cloudcontrol/package.json @@ -0,0 +1,94 @@ +{ + "name": "@aws-sdk/client-cloudcontrol", + "description": "AWS SDK for JavaScript Cloudcontrol Client for Node.js, Browser and React Native", + "version": "3.0.0", + "scripts": { + "build": "yarn build:cjs && yarn build:es && yarn build:types", + "build:cjs": "tsc -p tsconfig.json", + "build:docs": "yarn clean:docs && typedoc ./", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "clean": "yarn clean:dist && yarn clean:docs", + "clean:dist": "rimraf ./dist-*", + "clean:docs": "rimraf ./docs", + "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", + "test": "jest --coverage --passWithNoTests" + }, + "main": "./dist-cjs/index.js", + "types": "./dist-types/index.d.ts", + "module": "./dist-es/index.js", + "sideEffects": false, + "dependencies": { + "@aws-crypto/sha256-browser": "^1.1.0", + "@aws-crypto/sha256-js": "^1.1.0", + "@aws-sdk/client-sts": "3.34.0", + "@aws-sdk/config-resolver": "3.34.0", + "@aws-sdk/credential-provider-node": "3.34.0", + "@aws-sdk/fetch-http-handler": "3.34.0", + "@aws-sdk/hash-node": "3.34.0", + "@aws-sdk/invalid-dependency": "3.34.0", + "@aws-sdk/middleware-content-length": "3.34.0", + "@aws-sdk/middleware-host-header": "3.34.0", + "@aws-sdk/middleware-logger": "3.34.0", + "@aws-sdk/middleware-retry": "3.34.0", + "@aws-sdk/middleware-serde": "3.34.0", + "@aws-sdk/middleware-signing": "3.34.0", + "@aws-sdk/middleware-stack": "3.34.0", + "@aws-sdk/middleware-user-agent": "3.34.0", + "@aws-sdk/node-config-provider": "3.34.0", + "@aws-sdk/node-http-handler": "3.34.0", + "@aws-sdk/protocol-http": "3.34.0", + "@aws-sdk/smithy-client": "3.34.0", + "@aws-sdk/types": "3.34.0", + "@aws-sdk/url-parser": "3.34.0", + "@aws-sdk/util-base64-browser": "3.34.0", + "@aws-sdk/util-base64-node": "3.34.0", + "@aws-sdk/util-body-length-browser": "3.34.0", + "@aws-sdk/util-body-length-node": "3.34.0", + "@aws-sdk/util-user-agent-browser": "3.34.0", + "@aws-sdk/util-user-agent-node": "3.34.0", + "@aws-sdk/util-utf8-browser": "3.34.0", + "@aws-sdk/util-utf8-node": "3.34.0", + "@aws-sdk/util-waiter": "3.34.0", + "tslib": "^2.3.0", + "uuid": "^8.3.2" + }, + "devDependencies": { + "@aws-sdk/client-documentation-generator": "3.34.0", + "@types/node": "^12.7.5", + "@types/uuid": "^8.3.0", + "downlevel-dts": "0.7.0", + "jest": "^26.1.0", + "rimraf": "^3.0.0", + "ts-jest": "^26.4.1", + "typedoc": "^0.19.2", + "typescript": "~4.3.5" + }, + "engines": { + "node": ">=10.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudcontrol", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "clients/client-cloudcontrol" + } +} diff --git a/clients/client-cloudcontrol/src/CloudControl.ts b/clients/client-cloudcontrol/src/CloudControl.ts new file mode 100644 index 000000000000..270e56f8b0ac --- /dev/null +++ b/clients/client-cloudcontrol/src/CloudControl.ts @@ -0,0 +1,336 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; + +import { CloudControlClient } from "./CloudControlClient"; +import { + CancelResourceRequestCommand, + CancelResourceRequestCommandInput, + CancelResourceRequestCommandOutput, +} from "./commands/CancelResourceRequestCommand"; +import { + CreateResourceCommand, + CreateResourceCommandInput, + CreateResourceCommandOutput, +} from "./commands/CreateResourceCommand"; +import { + DeleteResourceCommand, + DeleteResourceCommandInput, + DeleteResourceCommandOutput, +} from "./commands/DeleteResourceCommand"; +import { GetResourceCommand, GetResourceCommandInput, GetResourceCommandOutput } from "./commands/GetResourceCommand"; +import { + GetResourceRequestStatusCommand, + GetResourceRequestStatusCommandInput, + GetResourceRequestStatusCommandOutput, +} from "./commands/GetResourceRequestStatusCommand"; +import { + ListResourceRequestsCommand, + ListResourceRequestsCommandInput, + ListResourceRequestsCommandOutput, +} from "./commands/ListResourceRequestsCommand"; +import { + ListResourcesCommand, + ListResourcesCommandInput, + ListResourcesCommandOutput, +} from "./commands/ListResourcesCommand"; +import { + UpdateResourceCommand, + UpdateResourceCommandInput, + UpdateResourceCommandOutput, +} from "./commands/UpdateResourceCommand"; + +/** + *Use Amazon Web Services Cloud Control API to create, read, update, delete, and list (CRUD-L) your cloud resources that + * belong to a wide range of services--both Amazon Web Services and third-party. With the Cloud Control API + * standardized set of application programming interfaces (APIs), you can perform CRUD-L operations + * on any supported resources in your Amazon Web Services account. Using Cloud Control API, you won't have to generate code + * or scripts specific to each individual service responsible for those resources.
+ *For more information about Amazon Web Services Cloud Control API, see the Amazon Web Services Cloud Control API User + * Guide.
+ */ +export class CloudControl extends CloudControlClient { + /** + *Cancels the specified resource operation request. For more information, see Canceling resource operation requests in the + * Amazon Web Services Cloud Control API User Guide.
+ *Only resource operations requests with a status of PENDING
or
+ * IN_PROGRESS
can be cancelled.
Creates the specified resource. For more information, see Creating a + * resource in the Amazon Web Services Cloud Control API User Guide.
+ *After you have initiated a resource creation request, you can monitor the progress of your
+ * request by calling GetResourceRequestStatus using the RequestToken
of the
+ * ProgressEvent
type returned by CreateResource
.
Deletes the specified resource. For details, see Deleting a + * resource in the Amazon Web Services Cloud Control API User Guide.
+ *After you have initiated a resource deletion request, you can monitor the progress of your
+ * request by calling GetResourceRequestStatus using the RequestToken
of the
+ * ProgressEvent
returned by DeleteResource
.
Returns information about the current state of the specified resource. For details, see + * Reading a resource's current state.
+ *You can use this action to return information about an existing resource in your account + * and Amazon Web Services Region, whether or not those resources were provisioned using Cloud Control API.
+ */ + public getResource(args: GetResourceCommandInput, options?: __HttpHandlerOptions): PromiseReturns the current status of a resource operation request. For more information, see + * Tracking the progress of resource operation requests in the + * Amazon Web Services Cloud Control API User Guide.
+ */ + public getResourceRequestStatus( + args: GetResourceRequestStatusCommandInput, + options?: __HttpHandlerOptions + ): PromiseReturns existing resource operation requests. This includes requests of all status types. + * For more information, see Listing active resource operation requests in the + * Amazon Web Services Cloud Control API User Guide.
+ *Resource operation requests expire after seven days.
+ *Returns information about the specified resources. For more information, see Discovering + * resources in the Amazon Web Services Cloud Control API User Guide.
+ *You can use this action to return information about existing resources in your account and + * Amazon Web Services Region, whether or not those resources were provisioned using Cloud Control API.
+ */ + public listResources( + args: ListResourcesCommandInput, + options?: __HttpHandlerOptions + ): PromiseUpdates the specified property values in the resource.
+ *You specify your resource property updates as a list of patch operations contained in a + * JSON patch document that adheres to the + * RFC 6902 - JavaScript Object + * Notation (JSON) Patch + * standard.
+ *For details on how Cloud Control API performs resource update operations, see Updating a resource in the Amazon Web Services Cloud Control API User Guide.
+ *After you have initiated a resource update request, you can monitor the progress of your
+ * request by calling GetResourceRequestStatus using the RequestToken
of the
+ * ProgressEvent
returned by UpdateResource
.
For more information about the properties of a specific resource, refer to the related + * topic for the resource in the Resource and property types reference in the Amazon Web Services + * CloudFormation Users Guide.
+ */ + public updateResource( + args: UpdateResourceCommandInput, + options?: __HttpHandlerOptions + ): PromiseUse Amazon Web Services Cloud Control API to create, read, update, delete, and list (CRUD-L) your cloud resources that + * belong to a wide range of services--both Amazon Web Services and third-party. With the Cloud Control API + * standardized set of application programming interfaces (APIs), you can perform CRUD-L operations + * on any supported resources in your Amazon Web Services account. Using Cloud Control API, you won't have to generate code + * or scripts specific to each individual service responsible for those resources.
+ *For more information about Amazon Web Services Cloud Control API, see the Amazon Web Services Cloud Control API User + * Guide.
+ */ +export class CloudControlClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + CloudControlClientResolvedConfig +> { + /** + * The resolved configuration of CloudControlClient class. This is resolved and normalized from the {@link CloudControlClientConfig | constructor configuration interface}. + */ + readonly config: CloudControlClientResolvedConfig; + + constructor(configuration: CloudControlClientConfig) { + const _config_0 = __getRuntimeConfig(configuration); + const _config_1 = resolveRegionConfig(_config_0); + const _config_2 = resolveEndpointsConfig(_config_1); + const _config_3 = resolveRetryConfig(_config_2); + const _config_4 = resolveHostHeaderConfig(_config_3); + const _config_5 = resolveAwsAuthConfig(_config_4); + const _config_6 = resolveUserAgentConfig(_config_5); + super(_config_6); + this.config = _config_6; + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + this.middlewareStack.use(getAwsAuthPlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + } + + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void { + super.destroy(); + } +} diff --git a/clients/client-cloudcontrol/src/commands/CancelResourceRequestCommand.ts b/clients/client-cloudcontrol/src/commands/CancelResourceRequestCommand.ts new file mode 100644 index 000000000000..a056b578cc63 --- /dev/null +++ b/clients/client-cloudcontrol/src/commands/CancelResourceRequestCommand.ts @@ -0,0 +1,98 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient"; +import { CancelResourceRequestInput, CancelResourceRequestOutput } from "../models/models_0"; +import { + deserializeAws_json1_0CancelResourceRequestCommand, + serializeAws_json1_0CancelResourceRequestCommand, +} from "../protocols/Aws_json1_0"; + +export interface CancelResourceRequestCommandInput extends CancelResourceRequestInput {} +export interface CancelResourceRequestCommandOutput extends CancelResourceRequestOutput, __MetadataBearer {} + +/** + *Cancels the specified resource operation request. For more information, see Canceling resource operation requests in the + * Amazon Web Services Cloud Control API User Guide.
+ *Only resource operations requests with a status of PENDING
or
+ * IN_PROGRESS
can be cancelled.
Creates the specified resource. For more information, see Creating a + * resource in the Amazon Web Services Cloud Control API User Guide.
+ *After you have initiated a resource creation request, you can monitor the progress of your
+ * request by calling GetResourceRequestStatus using the RequestToken
of the
+ * ProgressEvent
type returned by CreateResource
.
Deletes the specified resource. For details, see Deleting a + * resource in the Amazon Web Services Cloud Control API User Guide.
+ *After you have initiated a resource deletion request, you can monitor the progress of your
+ * request by calling GetResourceRequestStatus using the RequestToken
of the
+ * ProgressEvent
returned by DeleteResource
.
Returns information about the current state of the specified resource. For details, see + * Reading a resource's current state.
+ *You can use this action to return information about an existing resource in your account + * and Amazon Web Services Region, whether or not those resources were provisioned using Cloud Control API.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { CloudControlClient, GetResourceCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import + * // const { CloudControlClient, GetResourceCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import + * const client = new CloudControlClient(config); + * const command = new GetResourceCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetResourceCommandInput} for command's `input` shape. + * @see {@link GetResourceCommandOutput} for command's `response` shape. + * @see {@link CloudControlClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetResourceCommand extends $Command< + GetResourceCommandInput, + GetResourceCommandOutput, + CloudControlClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStackReturns the current status of a resource operation request. For more information, see + * Tracking the progress of resource operation requests in the + * Amazon Web Services Cloud Control API User Guide.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { CloudControlClient, GetResourceRequestStatusCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import + * // const { CloudControlClient, GetResourceRequestStatusCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import + * const client = new CloudControlClient(config); + * const command = new GetResourceRequestStatusCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetResourceRequestStatusCommandInput} for command's `input` shape. + * @see {@link GetResourceRequestStatusCommandOutput} for command's `response` shape. + * @see {@link CloudControlClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetResourceRequestStatusCommand extends $Command< + GetResourceRequestStatusCommandInput, + GetResourceRequestStatusCommandOutput, + CloudControlClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetResourceRequestStatusCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStackReturns existing resource operation requests. This includes requests of all status types. + * For more information, see Listing active resource operation requests in the + * Amazon Web Services Cloud Control API User Guide.
+ *Resource operation requests expire after seven days.
+ *Returns information about the specified resources. For more information, see Discovering + * resources in the Amazon Web Services Cloud Control API User Guide.
+ *You can use this action to return information about existing resources in your account and + * Amazon Web Services Region, whether or not those resources were provisioned using Cloud Control API.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { CloudControlClient, ListResourcesCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import + * // const { CloudControlClient, ListResourcesCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import + * const client = new CloudControlClient(config); + * const command = new ListResourcesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListResourcesCommandInput} for command's `input` shape. + * @see {@link ListResourcesCommandOutput} for command's `response` shape. + * @see {@link CloudControlClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ListResourcesCommand extends $Command< + ListResourcesCommandInput, + ListResourcesCommandOutput, + CloudControlClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListResourcesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStackUpdates the specified property values in the resource.
+ *You specify your resource property updates as a list of patch operations contained in a + * JSON patch document that adheres to the + * RFC 6902 - JavaScript Object + * Notation (JSON) Patch + * standard.
+ *For details on how Cloud Control API performs resource update operations, see Updating a resource in the Amazon Web Services Cloud Control API User Guide.
+ *After you have initiated a resource update request, you can monitor the progress of your
+ * request by calling GetResourceRequestStatus using the RequestToken
of the
+ * ProgressEvent
returned by UpdateResource
.
For more information about the properties of a specific resource, refer to the related + * topic for the resource in the Resource and property types reference in the Amazon Web Services + * CloudFormation Users Guide.
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { CloudControlClient, UpdateResourceCommand } from "@aws-sdk/client-cloudcontrol"; // ES Modules import + * // const { CloudControlClient, UpdateResourceCommand } = require("@aws-sdk/client-cloudcontrol"); // CommonJS import + * const client = new CloudControlClient(config); + * const command = new UpdateResourceCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UpdateResourceCommandInput} for command's `input` shape. + * @see {@link UpdateResourceCommandOutput} for command's `response` shape. + * @see {@link CloudControlClientResolvedConfig | config} for command's `input` shape. + * + */ +export class UpdateResourceCommand extends $Command< + UpdateResourceCommandInput, + UpdateResourceCommandOutput, + CloudControlClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStackThe resource with the name requested already exists.
+ */ +export interface AlreadyExistsException extends __SmithyException, $MetadataBearer { + name: "AlreadyExistsException"; + $fault: "client"; + Message?: string; +} + +export namespace AlreadyExistsException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AlreadyExistsException): any => ({ + ...obj, + }); +} + +export interface CancelResourceRequestInput { + /** + *The RequestToken
of the ProgressEvent
object returned by the
+ * resource operation request.
Represents the current status of a resource operation request. For more information, see + * Managing resource operation requests in the + * Amazon Web Services Cloud Control API User Guide.
+ */ +export interface ProgressEvent { + /** + *The name of the resource type used in the operation.
+ */ + TypeName?: string; + + /** + *The primary identifier for the resource.
+ *In some cases, the resource identifier may be available before the resource operation
+ * has reached a status of SUCCESS
.
The unique token representing this resource operation request.
+ *Use the RequestToken
with GetResourceRequestStatus to return the current status of a resource operation
+ * request.
The resource operation type.
+ */ + Operation?: Operation | string; + + /** + *The current status of the resource operation request.
+ *+ *