diff --git a/CHANGELOG.md b/CHANGELOG.md index 84a4efab860..96890cb9692 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +Release v1.44.198 (2023-02-09) +=== + +### Service Client Updates +* `service/chime-sdk-meetings`: Updates service documentation +* `service/emr-containers`: Updates service API and documentation +* `service/evidently`: Updates service API and documentation +* `service/lightsail`: Updates service documentation + * Documentation updates for Lightsail +* `service/migration-hub-refactor-spaces`: Updates service API and documentation +* `service/models.lex.v2`: Updates service API and documentation +* `service/runtime.lex.v2`: Updates service API and documentation +* `service/workdocs`: Updates service documentation + * Doc only update for the WorkDocs APIs. +* `service/workspaces`: Updates service documentation + * Removed Windows Server 2016 BYOL and made changes based on IAM campaign. + Release v1.44.197 (2023-02-08) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index b5d9f7d52e1..bdf7ae528a1 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -12657,6 +12657,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-south-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-2", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 4aa4aed00c4..d700e620596 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.197" +const SDKVersion = "1.44.198" diff --git a/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json b/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json index 8af92475193..94c3c5ffd42 100644 --- a/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json +++ b/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json @@ -13,8 +13,8 @@ "GetMeeting": "

Gets the Amazon Chime SDK meeting details for the specified meeting ID. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", "ListAttendees": "

Lists the attendees for the specified Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", "ListTagsForResource": "

Returns a list of the tags available for the specified resource.

", - "StartMeetingTranscription": "

Starts transcription for the specified meetingId.

", - "StopMeetingTranscription": "

Stops transcription for the specified meetingId.

", + "StartMeetingTranscription": "

Starts transcription for the specified meetingId. For more information, refer to Using Amazon Chime SDK live transcription in the Amazon Chime SDK Developer Guide.

Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon Transcribe is subject to the AWS Service Terms, including the terms specific to the AWS Machine Learning and Artificial Intelligence Services.

", + "StopMeetingTranscription": "

Stops transcription for the specified meetingId. For more information, refer to Using Amazon Chime SDK live transcription in the Amazon Chime SDK Developer Guide.

Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use of Amazon Transcribe is subject to the AWS Service Terms, including the terms specific to the AWS Machine Learning and Artificial Intelligence Services.

", "TagResource": "

The resource that supports tags.

", "UntagResource": "

Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:

Minimum permissions

In addition to the tag:UntagResources permission required by this operation, you must also have the remove tags permission defined by the service that created the resource. For example, to remove the tags from an Amazon EC2 instance using the UntagResources operation, you must have both of the following permissions:

tag:UntagResource

ChimeSDKMeetings:DeleteTags

", "UpdateAttendeeCapabilities": "

The capabilties that you want to update.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

" @@ -81,7 +81,7 @@ "AudioFeatures": { "base": "

An optional category of meeting features that contains audio-specific configurations, such as operating parameters for Amazon Voice Focus.

", "refs": { - "MeetingFeaturesConfiguration$Audio": "

The configuration settings for the audio features available to a meeting.

" + "MeetingFeaturesConfiguration$Audio": "

The configuration settings for the audio features available to a meeting.

" } }, "BadRequestException": { @@ -210,18 +210,18 @@ "ExternalMeetingId": { "base": null, "refs": { - "CreateMeetingRequest$ExternalMeetingId": "

The external meeting ID.

", - "CreateMeetingWithAttendeesRequest$ExternalMeetingId": "

The external meeting ID.

", - "Meeting$ExternalMeetingId": "

The external meeting ID.

" + "CreateMeetingRequest$ExternalMeetingId": "

The external meeting ID.

Pattern: [-_&@+=,(){}\\[\\]\\/«».:|'\"#a-zA-Z0-9À-ÿ\\s]*

Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case insensitive.

", + "CreateMeetingWithAttendeesRequest$ExternalMeetingId": "

The external meeting ID.

Pattern: [-_&@+=,(){}\\[\\]\\/«».:|'\"#a-zA-Z0-9À-ÿ\\s]*

Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case insensitive.

", + "Meeting$ExternalMeetingId": "

The external meeting ID.

Pattern: [-_&@+=,(){}\\[\\]\\/«».:|'\"#a-zA-Z0-9À-ÿ\\s]*

Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case insensitive.

" } }, "ExternalUserId": { "base": null, "refs": { - "Attendee$ExternalUserId": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

", - "CreateAttendeeError$ExternalUserId": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

", - "CreateAttendeeRequest$ExternalUserId": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

", - "CreateAttendeeRequestItem$ExternalUserId": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

", + "Attendee$ExternalUserId": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

Pattern: [-_&@+=,(){}\\[\\]\\/«».:|'\"#a-zA-Z0-9À-ÿ\\s]*

Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case insensitive.

", + "CreateAttendeeError$ExternalUserId": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

Pattern: [-_&@+=,(){}\\[\\]\\/«».:|'\"#a-zA-Z0-9À-ÿ\\s]*

Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case insensitive.

", + "CreateAttendeeRequest$ExternalUserId": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

Pattern: [-_&@+=,(){}\\[\\]\\/«».:|'\"#a-zA-Z0-9À-ÿ\\s]*

Values that begin with aws: are reserved. You can't configure a value that uses this prefix.

", + "CreateAttendeeRequestItem$ExternalUserId": "

The Amazon Chime SDK external user ID. An idempotency token. Links the attendee to an identity managed by a builder application.

Pattern: [-_&@+=,(){}\\[\\]\\/«».:|'\"#a-zA-Z0-9À-ÿ\\s]*

Values that begin with aws: are reserved. You can't configure a value that uses this prefix. Case insensitive.

", "CreateMeetingRequest$MeetingHostId": "

Reserved.

", "CreateMeetingWithAttendeesRequest$MeetingHostId": "

Reserved.

", "Meeting$MeetingHostId": "

Reserved.

" @@ -342,11 +342,11 @@ } }, "MeetingFeaturesConfiguration": { - "base": "

The configuration settings of the features available to a meeting.>

", + "base": "

The configuration settings of the features available to a meeting.

", "refs": { "CreateMeetingRequest$MeetingFeatures": "

Lists the audio and video features enabled for a meeting, such as echo reduction.

", "CreateMeetingWithAttendeesRequest$MeetingFeatures": "

Lists the audio and video features enabled for a meeting, such as echo reduction.

", - "Meeting$MeetingFeatures": "

The features available to a meeting, such as Amazon Voice Focus.

" + "Meeting$MeetingFeatures": "

The features available to a meeting, such as echo reduction.

" } }, "NotFoundException": { @@ -484,7 +484,7 @@ "TagList": { "base": null, "refs": { - "CreateMeetingRequest$Tags": "

Applies one or more tags to an Amazon Chime SDK meeting. Note the following:

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Minimum permissions

In addition to the tag:TagResources permission required by this operation, you must also have the tagging permission defined by the service that created the resource. For example, to tag a ChimeSDKMeetings instance using the TagResources operation, you must have both of the following permissions:

tag:TagResources

ChimeSDKMeetings:CreateTags

Some services might have specific requirements for tagging some resources. For example, to tag an Amazon S3 bucket, you must also have the s3:GetBucketTagging permission. If the expected minimum permissions don't work, check the documentation for that service's tagging APIs for more information.

", + "CreateMeetingRequest$Tags": "

Applies one or more tags to an Amazon Chime SDK meeting. Note the following:

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Minimum permissions

In addition to the tag:TagResources permission required by this operation, you must also have the tagging permission defined by the service that created the resource. For example, to tag a ChimeSDKMeetings instance using the TagResources operation, you must have both of the following permissions:

tag:TagResources

ChimeSDKMeetings:CreateTags

Some services might have specific requirements for tagging some resources. For example, to tag an Amazon S3 bucket, you must also have the s3:GetBucketTagging permission. If the expected minimum permissions don't work, check the documentation for that service's tagging APIs for more information.

", "CreateMeetingWithAttendeesRequest$Tags": "

The tags in the request.

", "ListTagsForResourceResponse$Tags": "

The tags requested for the specified resource.

", "TagResourceRequest$Tags": "

Lists the requested tags.

" diff --git a/models/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json b/models/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json new file mode 100644 index 00000000000..76b5f77525b --- /dev/null +++ b/models/apis/chime-sdk-meetings/2021-07-15/endpoint-rule-set-1.json @@ -0,0 +1,324 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://meetings-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://meetings-chime-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://meetings-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://meetings-chime.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/chime-sdk-meetings/2021-07-15/endpoint-tests-1.json b/models/apis/chime-sdk-meetings/2021-07-15/endpoint-tests-1.json new file mode 100644 index 00000000000..5a5cc8c7d7e --- /dev/null +++ b/models/apis/chime-sdk-meetings/2021-07-15/endpoint-tests-1.json @@ -0,0 +1,329 @@ +{ + "testCases": [ + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.us-gov-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://meetings-chime.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/emr-containers/2020-10-01/api-2.json b/models/apis/emr-containers/2020-10-01/api-2.json index cc21a0e83c0..a58279585f5 100644 --- a/models/apis/emr-containers/2020-10-01/api-2.json +++ b/models/apis/emr-containers/2020-10-01/api-2.json @@ -764,7 +764,9 @@ "finishedAt":{"shape":"Date"}, "stateDetails":{"shape":"String256"}, "failureReason":{"shape":"FailureReason"}, - "tags":{"shape":"TagMap"} + "tags":{"shape":"TagMap"}, + "retryPolicyConfiguration":{"shape":"RetryPolicyConfiguration"}, + "retryPolicyExecution":{"shape":"RetryPolicyExecution"} } }, "JobRunState":{ @@ -1132,6 +1134,20 @@ "error":{"httpStatusCode":400}, "exception":true }, + "RetryPolicyConfiguration":{ + "type":"structure", + "required":["maxAttempts"], + "members":{ + "maxAttempts":{"shape":"JavaInteger"} + } + }, + "RetryPolicyExecution":{ + "type":"structure", + "required":["currentAttemptCount"], + "members":{ + "currentAttemptCount":{"shape":"JavaInteger"} + } + }, "RsiArn":{ "type":"string", "max":500, @@ -1205,7 +1221,8 @@ "configurationOverrides":{"shape":"ConfigurationOverrides"}, "tags":{"shape":"TagMap"}, "jobTemplateId":{"shape":"ResourceIdString"}, - "jobTemplateParameters":{"shape":"TemplateParameterInputMap"} + "jobTemplateParameters":{"shape":"TemplateParameterInputMap"}, + "retryPolicyConfiguration":{"shape":"RetryPolicyConfiguration"} } }, "StartJobRunResponse":{ diff --git a/models/apis/emr-containers/2020-10-01/docs-2.json b/models/apis/emr-containers/2020-10-01/docs-2.json index 092de8f507e..d65801d4704 100644 --- a/models/apis/emr-containers/2020-10-01/docs-2.json +++ b/models/apis/emr-containers/2020-10-01/docs-2.json @@ -1,25 +1,25 @@ { "version": "2.0", - "service": "

Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications. For more information about Amazon EMR on EKS concepts and tasks, see What is Amazon EMR on EKS.

Amazon EMR containers is the API name for Amazon EMR on EKS. The emr-containers prefix is used in the following scenarios:

", + "service": "

Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications. For more information about Amazon EMR on EKS concepts and tasks, see What is shared id=\"EMR-EKS\"/>.

Amazon EMR containers is the API name for Amazon EMR on EKS. The emr-containers prefix is used in the following scenarios:

", "operations": { "CancelJobRun": "

Cancels a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.

", "CreateJobTemplate": "

Creates a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

", - "CreateManagedEndpoint": "

Creates a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.

", + "CreateManagedEndpoint": "

Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.

", "CreateVirtualCluster": "

Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.

", "DeleteJobTemplate": "

Deletes a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

", - "DeleteManagedEndpoint": "

Deletes a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.

", + "DeleteManagedEndpoint": "

Deletes a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.

", "DeleteVirtualCluster": "

Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.

", "DescribeJobRun": "

Displays detailed information about a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.

", "DescribeJobTemplate": "

Displays detailed information about a specified job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

", - "DescribeManagedEndpoint": "

Displays detailed information about a managed endpoint. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.

", + "DescribeManagedEndpoint": "

Displays detailed information about a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.

", "DescribeVirtualCluster": "

Displays detailed information about a specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.

", "ListJobRuns": "

Lists job runs based on a set of parameters. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.

", "ListJobTemplates": "

Lists job templates based on a set of parameters. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

", - "ListManagedEndpoints": "

Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your virtual cluster.

", + "ListManagedEndpoints": "

Lists managed endpoints based on a set of parameters. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.

", "ListTagsForResource": "

Lists the tags assigned to the resources.

", "ListVirtualClusters": "

Lists information about the specified virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.

", "StartJobRun": "

Starts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.

", - "TagResource": "

Assigns tags to resources. A tag is a label that you assign to an AWS resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your AWS resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it. For example, you can define a set of tags for your Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We recommend that you devise a consistent set of tag keys for each resource type. You can then search and filter the resources based on the tags that you add.

", + "TagResource": "

Assigns tags to resources. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize your Amazon Web Services resources by attributes such as purpose, owner, or environment. When you have many resources of the same type, you can quickly identify a specific resource based on the tags you've assigned to it. For example, you can define a set of tags for your Amazon EMR on EKS clusters to help you track each cluster's owner and stack level. We recommend that you devise a consistent set of tag keys for each resource type. You can then search and filter the resources based on the tags that you add.

", "UntagResource": "

Removes tags from resources.

" }, "shapes": { @@ -114,8 +114,8 @@ "ContainerProviderType": { "base": null, "refs": { - "ContainerProvider$type": "

The type of the container provider. EKS is the only supported type as of now.

", - "ListVirtualClustersRequest$containerProviderType": "

The container provider type of the virtual cluster. EKS is the only supported type as of now.

" + "ContainerProvider$type": "

The type of the container provider. Amazon EKS is the only supported type as of now.

", + "ListVirtualClustersRequest$containerProviderType": "

The container provider type of the virtual cluster. Amazon EKS is the only supported type as of now.

" } }, "CreateJobTemplateRequest": { @@ -238,9 +238,9 @@ } }, "EksInfo": { - "base": "

The information about the EKS cluster.

", + "base": "

The information about the Amazon EKS cluster.

", "refs": { - "ContainerInfo$eksInfo": "

The information about the EKS cluster.

" + "ContainerInfo$eksInfo": "

The information about the Amazon EKS cluster.

" } }, "Endpoint": { @@ -336,7 +336,9 @@ "ListJobRunsRequest$maxResults": "

The maximum number of job runs that can be listed.

", "ListJobTemplatesRequest$maxResults": "

The maximum number of job templates that can be listed.

", "ListManagedEndpointsRequest$maxResults": "

The maximum number of managed endpoints that can be listed.

", - "ListVirtualClustersRequest$maxResults": "

The maximum number of virtual clusters that can be listed.

" + "ListVirtualClustersRequest$maxResults": "

The maximum number of virtual clusters that can be listed.

", + "RetryPolicyConfiguration$maxAttempts": "

The maximum number of attempts on the job's driver.

", + "RetryPolicyExecution$currentAttemptCount": "

The current number of attempts made on the driver of the job.

" } }, "JobArn": { @@ -417,7 +419,7 @@ "KubernetesNamespace": { "base": null, "refs": { - "EksInfo$namespace": "

The namespaces of the EKS cluster.

" + "EksInfo$namespace": "

The namespaces of the Amazon EKS cluster.

" } }, "ListJobRunsRequest": { @@ -616,6 +618,19 @@ "refs": { } }, + "RetryPolicyConfiguration": { + "base": "

The configuration of the retry policy that the job runs on.

", + "refs": { + "JobRun$retryPolicyConfiguration": "

The configuration of the retry policy that the job runs on.

", + "StartJobRunRequest$retryPolicyConfiguration": "

The retry policy configuration for the job run.

" + } + }, + "RetryPolicyExecution": { + "base": "

The current status of the retry policy executed on the job.

", + "refs": { + "JobRun$retryPolicyExecution": "

The current status of the retry policy executed on the job.

" + } + }, "RsiArn": { "base": null, "refs": { @@ -774,7 +789,7 @@ "TemplateParameterDataType": { "base": null, "refs": { - "TemplateParameterConfiguration$type": "

The type of the job template parameter. Allowed values are: ‘String’, ‘Number’.

" + "TemplateParameterConfiguration$type": "

The type of the job template parameter. Allowed values are: ‘STRING’, ‘NUMBER’.

" } }, "TemplateParameterInputMap": { @@ -814,7 +829,7 @@ } }, "VirtualCluster": { - "base": "

This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run jobs and host endpoints. Multiple virtual clusters can be backed by the same physical cluster. However, each virtual cluster maps to one namespace on an EKS cluster. Virtual clusters do not create any active resources that contribute to your bill or that require lifecycle management outside the service.

", + "base": "

This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run jobs and host endpoints. Multiple virtual clusters can be backed by the same physical cluster. However, each virtual cluster maps to one namespace on an Amazon EKS cluster. Virtual clusters do not create any active resources that contribute to your bill or that require lifecycle management outside the service.

", "refs": { "DescribeVirtualClusterResponse$virtualCluster": "

This output displays information about the specified virtual cluster.

", "VirtualClusters$member": null diff --git a/models/apis/emr-containers/2020-10-01/endpoint-rule-set-1.json b/models/apis/emr-containers/2020-10-01/endpoint-rule-set-1.json index c5600be2399..1b4beacf4af 100644 --- a/models/apis/emr-containers/2020-10-01/endpoint-rule-set-1.json +++ b/models/apis/emr-containers/2020-10-01/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -174,12 +165,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -284,12 +281,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -302,12 +305,18 @@ }, { "conditions": [], - "endpoint": { - "url": "https://emr-containers.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://emr-containers.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } diff --git a/models/apis/emr-containers/2020-10-01/endpoint-tests-1.json b/models/apis/emr-containers/2020-10-01/endpoint-tests-1.json index bed95009165..b8be89802cc 100644 --- a/models/apis/emr-containers/2020-10-01/endpoint-tests-1.json +++ b/models/apis/emr-containers/2020-10-01/endpoint-tests-1.json @@ -1,510 +1,16 @@ { "testCases": [ { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.ap-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.ap-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.ap-south-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.ap-south-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.ca-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.us-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.us-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.us-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.us-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.ap-northeast-2.api.aws" + "url": "https://emr-containers.ap-northeast-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "Region": "ap-northeast-1", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -515,477 +21,451 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-northeast-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://emr-containers-fips.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.ap-northeast-1.api.aws" + "url": "https://emr-containers.ap-south-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "ap-south-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.ap-northeast-1.amazonaws.com" + "url": "https://emr-containers.ap-southeast-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "ap-southeast-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.sa-east-1.api.aws" + "url": "https://emr-containers.ap-southeast-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "ap-southeast-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.sa-east-1.amazonaws.com" + "url": "https://emr-containers.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "ca-central-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.sa-east-1.api.aws" + "url": "https://emr-containers-fips.ca-central-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": true + "Region": "ca-central-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.sa-east-1.amazonaws.com" + "url": "https://emr-containers.eu-central-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "sa-east-1", - "UseDualStack": false + "Region": "eu-central-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.ap-east-1.api.aws" + "url": "https://emr-containers.eu-north-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "eu-north-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.ap-east-1.amazonaws.com" + "url": "https://emr-containers.eu-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "eu-west-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.ap-east-1.api.aws" + "url": "https://emr-containers.eu-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": true + "Region": "eu-west-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.ap-east-1.amazonaws.com" + "url": "https://emr-containers.eu-west-3.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-east-1", - "UseDualStack": false + "Region": "eu-west-3", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://emr-containers.sa-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "sa-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.cn-north-1.amazonaws.com.cn" + "url": "https://emr-containers.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://emr-containers-fips.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": true + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.cn-north-1.amazonaws.com.cn" + "url": "https://emr-containers.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "cn-north-1", - "UseDualStack": false + "Region": "us-east-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.ap-southeast-1.api.aws" + "url": "https://emr-containers-fips.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "us-east-2", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.ap-southeast-1.amazonaws.com" + "url": "https://emr-containers.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "us-west-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.ap-southeast-1.api.aws" + "url": "https://emr-containers-fips.us-west-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "us-west-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.ap-southeast-1.amazonaws.com" + "url": "https://emr-containers.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "us-west-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.ap-southeast-2.api.aws" + "url": "https://emr-containers-fips.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "us-west-2", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.ap-southeast-2.amazonaws.com" + "url": "https://emr-containers-fips.us-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://emr-containers.ap-southeast-2.api.aws" + "url": "https://emr-containers.us-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.ap-southeast-2.amazonaws.com" + "url": "https://emr-containers.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.us-east-1.api.aws" + "url": "https://emr-containers.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "cn-northwest-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.us-east-1.amazonaws.com" + "url": "https://emr-containers-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.us-east-1.api.aws" + "url": "https://emr-containers-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://emr-containers.us-east-1.amazonaws.com" + "url": "https://emr-containers.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.us-east-2.api.aws" + "url": "https://emr-containers-fips.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.us-east-2.amazonaws.com" + "url": "https://emr-containers-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://emr-containers.us-east-2.api.aws" + "url": "https://emr-containers.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.us-east-2.amazonaws.com" + "url": "https://emr-containers.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.cn-northwest-1.api.amazonwebservices.com.cn" + "url": "https://emr-containers-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers-fips.cn-northwest-1.amazonaws.com.cn" + "url": "https://emr-containers.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.cn-northwest-1.api.amazonwebservices.com.cn" + "url": "https://emr-containers-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": true + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://emr-containers.cn-northwest-1.amazonaws.com.cn" + "url": "https://emr-containers.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseFIPS": false, - "Region": "cn-northwest-1", - "UseDualStack": false + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -996,9 +476,9 @@ } }, "params": { - "UseFIPS": false, "Region": "us-east-1", "UseDualStack": false, + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -1008,9 +488,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "Region": "us-east-1", "UseDualStack": false, + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -1020,9 +500,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "Region": "us-east-1", "UseDualStack": true, + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/evidently/2021-02-01/api-2.json b/models/apis/evidently/2021-02-01/api-2.json index 38b7fdcbb08..b195df03d27 100644 --- a/models/apis/evidently/2021-02-01/api-2.json +++ b/models/apis/evidently/2021-02-01/api-2.json @@ -997,7 +997,7 @@ "type":"map", "key":{"shape":"EntityId"}, "value":{"shape":"VariationName"}, - "max":20, + "max":2500, "min":0 }, "ErrorCodeEnum":{ diff --git a/models/apis/evidently/2021-02-01/docs-2.json b/models/apis/evidently/2021-02-01/docs-2.json index 197517a317d..845566f41f6 100644 --- a/models/apis/evidently/2021-02-01/docs-2.json +++ b/models/apis/evidently/2021-02-01/docs-2.json @@ -7,13 +7,13 @@ "CreateFeature": "

Creates an Evidently feature that you want to launch or test. You can define up to five variations of a feature, and use these variations in your launches and experiments. A feature must be created in a project. For information about creating a project, see CreateProject.

Don't use this operation to update an existing feature. Instead, use UpdateFeature.

", "CreateLaunch": "

Creates a launch of a given feature. Before you create a launch, you must create the feature to use for the launch.

You can use a launch to safely validate new features by serving them to a specified percentage of your users while you roll out the feature. You can monitor the performance of the new feature to help you decide when to ramp up traffic to more users. This helps you reduce risk and identify unintended consequences before you fully launch the feature.

Don't use this operation to update an existing launch. Instead, use UpdateLaunch.

", "CreateProject": "

Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments. Use projects to group similar features together.

To update an existing project, use UpdateProject.

", - "CreateSegment": "

Use this operation to define a segment of your audience. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.

Using a segment in an experiment limits that experiment to evaluate only the users who match the segment criteria. Using one or more segments in a launch allows you to define different traffic splits for the different audience segments.

 <p>For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html"> Segment rule pattern syntax</a>.</p> <p>The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>, which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a> operation, when Evidently assigns a feature variation to a user.</p> 
", + "CreateSegment": "

Use this operation to define a segment of your audience. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.

Using a segment in an experiment limits that experiment to evaluate only the users who match the segment criteria. Using one or more segments in a launch allows you to define different traffic splits for the different audience segments.

For more information about segment pattern syntax, see Segment rule pattern syntax.

The pattern that you define for a segment is matched against the value of evaluationContext, which is passed into Evidently in the EvaluateFeature operation, when Evidently assigns a feature variation to a user.

", "DeleteExperiment": "

Deletes an Evidently experiment. The feature used for the experiment is not deleted.

To stop an experiment without deleting it, use StopExperiment.

", "DeleteFeature": "

Deletes an Evidently feature.

", "DeleteLaunch": "

Deletes an Evidently launch. The feature used for the launch is not deleted.

To stop a launch without deleting it, use StopLaunch.

", "DeleteProject": "

Deletes an Evidently project. Before you can delete a project, you must delete all the features that the project contains. To delete a feature, use DeleteFeature.

", "DeleteSegment": "

Deletes a segment. You can't delete a segment that is being used in a launch or experiment, even if that launch or experiment is not currently running.

", - "EvaluateFeature": "

This operation assigns a feature variation to one given user session. You pass in an entityID that represents the user. Evidently then checks the evaluation rules and assigns the variation.

The first rules that are evaluated are the override rules. If the user's entityID matches an override rule, the user is served the variation specified by that rule.

 <p>If there is a current launch with this feature that uses segment overrides, and if the user session's <code>evaluationContext</code> matches a segment rule defined in a segment override, the configuration in the segment overrides is used. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a> and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use segments to focus your audience</a>.</p> <p>If there is a launch with no segment overrides, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.</p> <p>If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment.</p> <p>If the experiment uses a segment, then only user sessions with <code>evaluationContext</code> values that match the segment rule are used in the experiment.</p> <p>If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment. </p> <p>If the user is not assigned to a launch or experiment, they are served the default variation.</p> 
", + "EvaluateFeature": "

This operation assigns a feature variation to one given user session. You pass in an entityID that represents the user. Evidently then checks the evaluation rules and assigns the variation.

The first rules that are evaluated are the override rules. If the user's entityID matches an override rule, the user is served the variation specified by that rule.

If there is a current launch with this feature that uses segment overrides, and if the user session's evaluationContext matches a segment rule defined in a segment override, the configuration in the segment overrides is used. For more information about segments, see CreateSegment and Use segments to focus your audience.

If there is a launch with no segment overrides, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.

If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment.

If the experiment uses a segment, then only user sessions with evaluationContext values that match the segment rule are used in the experiment.

If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment.

If the user is not assigned to a launch or experiment, they are served the default variation.

", "GetExperiment": "

Returns the details about one experiment. You must already know the experiment name. To retrieve a list of experiments in your account, use ListExperiments.

", "GetExperimentResults": "

Retrieves the results of a running or completed experiment. No results are available until there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment. To increase the statistical power, Evidently performs an additional offline p-value analysis at the end of the experiment. Offline p-value analysis can detect statistical significance in some cases where the anytime p-values used during the experiment do not find statistical significance.

Experiment results are available up to 63 days after the start of the experiment. They are not available after that because of CloudWatch data retention policies.

", "GetFeature": "

Returns the details about one feature. You must already know the feature name. To retrieve a list of features in your account, use ListFeatures.

", @@ -625,7 +625,7 @@ "base": null, "refs": { "ScheduledSplit$groupWeights": "

The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step.

The values is expressed in thousandths of a percent, so assigning a weight of 50000 assigns 50% of traffic to that variation.

If the sum of the weights for all the variations in a segment override does not add up to 100,000, then the remaining traffic that matches this segment is not assigned by this segment override, and instead moves on to the next segment override or the default traffic split.

", - "ScheduledSplitConfig$groupWeights": "

The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step.

 <p>The values is expressed in thousandths of a percent, so assigning a weight of 50000 assigns 50% of traffic to that variation.</p> <p>If the sum of the weights for all the variations in a segment override does not add up to 100,000, then the remaining traffic that matches this segment is not assigned by this segment override, and instead moves on to the next segment override or the default traffic split.</p> 
", + "ScheduledSplitConfig$groupWeights": "

The traffic allocation percentages among the feature variations during one step of a launch. This is a set of key-value pairs. The keys are variation names. The values represent the percentage of traffic to allocate to that variation during this step.

The values is expressed in thousandths of a percent, so assigning a weight of 50000 assigns 50% of traffic to that variation.

If the sum of the weights for all the variations in a segment override does not add up to 100,000, then the remaining traffic that matches this segment is not assigned by this segment override, and instead moves on to the next segment override or the default traffic split.

", "SegmentOverride$weights": "

The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.

" } }, @@ -652,7 +652,7 @@ "JsonValue": { "base": null, "refs": { - "EvaluateFeatureRequest$evaluationContext": "

A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.

 <p>If you include this parameter, the value must be a JSON object. A JSON array is not supported.</p> 
", + "EvaluateFeatureRequest$evaluationContext": "

A JSON object of attributes that you can optionally pass in as part of the evaluation event sent to Evidently from the user session. Evidently can use this value to match user sessions with defined audience segments. For more information, see Use segments to focus your audience.

If you include this parameter, the value must be a JSON object. A JSON array is not supported.

", "EvaluateFeatureResponse$details": "

If this user was assigned to a launch or experiment, this field lists the launch or experiment name.

", "EvaluationRequest$evaluationContext": "

A JSON block of attributes that you can optionally pass in. This JSON block is included in the evaluation events sent to Evidently from the user session.

", "EvaluationResult$details": "

If this user was assigned to a launch or experiment, this field lists the launch or experiment name.

", @@ -1404,11 +1404,11 @@ "TagMap": { "base": null, "refs": { - "CreateExperimentRequest$tags": "

Assigns one or more tags (key-value pairs) to the experiment.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

 <p>You can associate as many as 50 tags with an experiment.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p> 
", - "CreateFeatureRequest$tags": "

Assigns one or more tags (key-value pairs) to the feature.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

 <p>You can associate as many as 50 tags with a feature.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p> 
", - "CreateLaunchRequest$tags": "

Assigns one or more tags (key-value pairs) to the launch.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

 <p>You can associate as many as 50 tags with a launch.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p> 
", - "CreateProjectRequest$tags": "

Assigns one or more tags (key-value pairs) to the project.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

 <p>You can associate as many as 50 tags with a project.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p> 
", - "CreateSegmentRequest$tags": "

Assigns one or more tags (key-value pairs) to the segment.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

 <p>You can associate as many as 50 tags with a segment.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p> 
", + "CreateExperimentRequest$tags": "

Assigns one or more tags (key-value pairs) to the experiment.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

You can associate as many as 50 tags with an experiment.

For more information, see Tagging Amazon Web Services resources.

", + "CreateFeatureRequest$tags": "

Assigns one or more tags (key-value pairs) to the feature.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

You can associate as many as 50 tags with a feature.

For more information, see Tagging Amazon Web Services resources.

", + "CreateLaunchRequest$tags": "

Assigns one or more tags (key-value pairs) to the launch.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

You can associate as many as 50 tags with a launch.

For more information, see Tagging Amazon Web Services resources.

", + "CreateProjectRequest$tags": "

Assigns one or more tags (key-value pairs) to the project.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

You can associate as many as 50 tags with a project.

For more information, see Tagging Amazon Web Services resources.

", + "CreateSegmentRequest$tags": "

Assigns one or more tags (key-value pairs) to the segment.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

You can associate as many as 50 tags with a segment.

For more information, see Tagging Amazon Web Services resources.

", "Experiment$tags": "

The list of tag keys and values associated with this experiment.

", "Feature$tags": "

The list of tag keys and values associated with this feature.

", "FeatureSummary$tags": "

The list of tag keys and values associated with this feature.

", diff --git a/models/apis/evidently/2021-02-01/endpoint-rule-set-1.json b/models/apis/evidently/2021-02-01/endpoint-rule-set-1.json new file mode 100644 index 00000000000..00da24e4a8e --- /dev/null +++ b/models/apis/evidently/2021-02-01/endpoint-rule-set-1.json @@ -0,0 +1,324 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://evidently-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://evidently-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://evidently.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://evidently.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/evidently/2021-02-01/endpoint-tests-1.json b/models/apis/evidently/2021-02-01/endpoint-tests-1.json new file mode 100644 index 00000000000..a892aff3701 --- /dev/null +++ b/models/apis/evidently/2021-02-01/endpoint-tests-1.json @@ -0,0 +1,355 @@ +{ + "testCases": [ + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://evidently-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://evidently.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://evidently-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://evidently.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://evidently-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://evidently.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://evidently.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false, + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/lightsail/2016-11-28/docs-2.json b/models/apis/lightsail/2016-11-28/docs-2.json index 97b1fc614b8..0cd8fc0503e 100644 --- a/models/apis/lightsail/2016-11-28/docs-2.json +++ b/models/apis/lightsail/2016-11-28/docs-2.json @@ -390,7 +390,7 @@ } }, "AvailabilityZone": { - "base": "

Describes an Availability Zone.

", + "base": "

Describes an Availability Zone. This is returned only as part of a GetRegions request.

", "refs": { "AvailabilityZoneList$member": null } @@ -885,7 +885,7 @@ } }, "ContainerServiceRegistryLogin": { - "base": "

Describes the login information for the container image registry of an Amazon Lightsail account.

", + "base": "

Describes the sign-in credentials for the container image registry of an Amazon Lightsail account.

", "refs": { "CreateContainerServiceRegistryLoginResult$registryLogin": "

An object that describes the log in information for the container service registry of your Lightsail account.

" } @@ -2652,7 +2652,7 @@ "ContainerService$createdAt": "

The timestamp when the container service was created.

", "ContainerServiceDeployment$createdAt": "

The timestamp when the deployment was created.

", "ContainerServiceLogEvent$createdAt": "

The timestamp when the container service log event was created.

", - "ContainerServiceRegistryLogin$expiresAt": "

The timestamp of when the container image registry username and password expire.

The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin action.

", + "ContainerServiceRegistryLogin$expiresAt": "

The timestamp of when the container image registry sign-in credentials expire.

The log in credentials expire 12 hours after they are created, at which point you will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin action.

", "CreateRelationalDatabaseFromSnapshotRequest$restoreTime": "

The date and time to restore your database from.

Constraints:

", "Disk$createdAt": "

The date when the disk was created.

", "DiskSnapshot$createdAt": "

The date when the disk snapshot was created.

", @@ -3147,7 +3147,7 @@ "UnpeerVpcResult$operation": "

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

", "UpdateDistributionBundleResult$operation": "

An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

", "UpdateDistributionResult$operation": "

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

", - "UpdateInstanceMetadataOptionsResult$operation": null + "UpdateInstanceMetadataOptionsResult$operation": "

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

" } }, "OperationFailureException": { @@ -3390,7 +3390,7 @@ "R53HostedZoneDeletionState": { "base": "

Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.

", "refs": { - "RegisteredDomainDelegationInfo$r53HostedZoneDeletionState": null + "RegisteredDomainDelegationInfo$r53HostedZoneDeletionState": "

Describes the deletion state of an Amazon Route 53 hosted zone for a domain that is being automatically delegated to an Amazon Lightsail DNS zone.

" } }, "R53HostedZoneDeletionStateCode": { @@ -4265,7 +4265,7 @@ "DiskInfo$isSystemDisk": "

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

", "DiskSnapshot$isFromAutoSnapshot": "

A Boolean value indicating whether the snapshot was created from an automatic snapshot.

", "DistributionBundle$isActive": "

Indicates whether the bundle is active, and can be specified for a new or existing distribution.

", - "DomainEntry$isAlias": "

When true, specifies whether the domain entry is an alias used by the Lightsail load balancer. You can include an alias (A type) record in your request, which points to a load balancer DNS name and routes traffic to your load balancer.

", + "DomainEntry$isAlias": "

When true, specifies whether the domain entry is an alias used by the Lightsail load balancer, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another Amazon Web Services resource. You can include an alias (A type) record in your request, which points to the DNS name of a load balancer, container service, CDN distribution, or other Amazon Web Services resource and routes traffic to that resource.

", "GetBlueprintsRequest$includeInactive": "

A Boolean value that indicates whether to include inactive (unavailable) blueprints in the response of your request.

", "GetBucketBundlesRequest$includeInactive": "

A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.

", "GetBucketsRequest$includeConnectedResources": "

A Boolean value that indicates whether to include Lightsail instances that were given access to the bucket using the SetResourceAccessForBucket action.

", diff --git a/models/apis/lightsail/2016-11-28/endpoint-rule-set-1.json b/models/apis/lightsail/2016-11-28/endpoint-rule-set-1.json index 6ae97603fb4..ee08de54218 100644 --- a/models/apis/lightsail/2016-11-28/endpoint-rule-set-1.json +++ b/models/apis/lightsail/2016-11-28/endpoint-rule-set-1.json @@ -165,12 +165,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://lightsail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://lightsail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -275,12 +281,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://lightsail.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://lightsail.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -293,12 +305,18 @@ }, { "conditions": [], - "endpoint": { - "url": "https://lightsail.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://lightsail.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } diff --git a/models/apis/lightsail/2016-11-28/endpoint-tests-1.json b/models/apis/lightsail/2016-11-28/endpoint-tests-1.json index 8993fabe5ee..26e14e9d4ed 100644 --- a/models/apis/lightsail/2016-11-28/endpoint-tests-1.json +++ b/models/apis/lightsail/2016-11-28/endpoint-tests-1.json @@ -1,42 +1,29 @@ { "testCases": [ { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.ap-south-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.ap-south-1.amazonaws.com" + "url": "https://lightsail.ap-northeast-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-south-1", - "UseDualStack": false + "Region": "ap-northeast-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail.ap-south-1.api.aws" + "url": "https://lightsail.ap-northeast-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-south-1", - "UseDualStack": true + "Region": "ap-northeast-2", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -47,48 +34,35 @@ } }, "params": { - "UseFIPS": false, "Region": "ap-south-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.ca-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.ca-central-1.amazonaws.com" + "url": "https://lightsail.ap-southeast-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "Region": "ap-southeast-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail.ca-central-1.api.aws" + "url": "https://lightsail.ap-southeast-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "Region": "ap-southeast-2", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -99,48 +73,9 @@ } }, "params": { - "UseFIPS": false, "Region": "ca-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail.eu-central-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false } }, { @@ -151,100 +86,9 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-central-1", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail.us-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail.us-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-north-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail.eu-north-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-north-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false } }, { @@ -255,152 +99,9 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-north-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-3", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail.eu-west-3.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail.eu-west-3.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-3", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail.eu-west-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail.eu-west-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.eu-west-1.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail.eu-west-1.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "UseDualStack": false, + "UseFIPS": false } }, { @@ -411,321 +112,269 @@ } }, "params": { - "UseFIPS": false, "Region": "eu-west-1", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail-fips.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://lightsail.ap-northeast-2.api.aws" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://lightsail.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.ap-northeast-1.api.aws" + "url": "https://lightsail.eu-west-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "eu-west-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.ap-northeast-1.amazonaws.com" + "url": "https://lightsail.eu-west-3.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "eu-west-3", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail.ap-northeast-1.api.aws" + "url": "https://lightsail.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail.ap-northeast-1.amazonaws.com" + "url": "https://lightsail.us-east-2.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "Region": "us-east-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.ap-southeast-1.api.aws" + "url": "https://lightsail.us-west-2.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "us-west-2", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.ap-southeast-1.amazonaws.com" + "url": "https://lightsail-fips.us-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail.ap-southeast-1.api.aws" + "url": "https://lightsail-fips.us-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "Region": "us-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://lightsail.ap-southeast-1.amazonaws.com" + "url": "https://lightsail.us-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "Region": "us-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.ap-southeast-2.api.aws" + "url": "https://lightsail-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.ap-southeast-2.amazonaws.com" + "url": "https://lightsail-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://lightsail.ap-southeast-2.api.aws" + "url": "https://lightsail.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "Region": "cn-north-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail.ap-southeast-2.amazonaws.com" + "url": "https://lightsail.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "Region": "cn-north-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.us-east-1.api.aws" + "url": "https://lightsail-fips.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.us-east-1.amazonaws.com" + "url": "https://lightsail-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://lightsail.us-east-1.api.aws" + "url": "https://lightsail.us-gov-east-1.api.aws" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "Region": "us-gov-east-1", + "UseDualStack": true, + "UseFIPS": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail.us-east-1.amazonaws.com" + "url": "https://lightsail.us-gov-east-1.amazonaws.com" } }, "params": { - "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "Region": "us-gov-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.us-east-2.api.aws" + "url": "https://lightsail-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail-fips.us-east-2.amazonaws.com" + "url": "https://lightsail.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseFIPS": true, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-iso-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail.us-east-2.api.aws" + "url": "https://lightsail-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": true + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": true } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://lightsail.us-east-2.amazonaws.com" + "url": "https://lightsail.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseFIPS": false, - "Region": "us-east-2", - "UseDualStack": false + "Region": "us-isob-east-1", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -736,9 +385,9 @@ } }, "params": { - "UseFIPS": false, "Region": "us-east-1", "UseDualStack": false, + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -748,9 +397,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "Region": "us-east-1", "UseDualStack": false, + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -760,9 +409,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "Region": "us-east-1", "UseDualStack": true, + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/migration-hub-refactor-spaces/2021-10-26/api-2.json b/models/apis/migration-hub-refactor-spaces/2021-10-26/api-2.json index db0af97f8c4..2929e69f621 100644 --- a/models/apis/migration-hub-refactor-spaces/2021-10-26/api-2.json +++ b/models/apis/migration-hub-refactor-spaces/2021-10-26/api-2.json @@ -1462,7 +1462,10 @@ }, "NetworkFabricType":{ "type":"string", - "enum":["TRANSIT_GATEWAY"] + "enum":[ + "TRANSIT_GATEWAY", + "NONE" + ] }, "NextToken":{ "type":"string", diff --git a/models/apis/migration-hub-refactor-spaces/2021-10-26/docs-2.json b/models/apis/migration-hub-refactor-spaces/2021-10-26/docs-2.json index f33361a80dc..1fb52ac481a 100644 --- a/models/apis/migration-hub-refactor-spaces/2021-10-26/docs-2.json +++ b/models/apis/migration-hub-refactor-spaces/2021-10-26/docs-2.json @@ -3,7 +3,7 @@ "service": "

Amazon Web Services Migration Hub Refactor Spaces

This API reference provides descriptions, syntax, and other details about each of the actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see Amazon Web Services SDKs.

To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations and their OUs, use Resource Access Manager's CreateResourceShare API. See CreateResourceShare in the Amazon Web Services RAM API Reference.

", "operations": { "CreateApplication": "

Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account.

", - "CreateEnvironment": "

Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all Refactor Spaces applications, services, and routes created within the environment. They are referred to as the environment owner. The environment owner has cross-account visibility and control of Refactor Spaces resources that are added to the environment by other accounts that the environment is shared with. When creating an environment, Refactor Spaces provisions a transit gateway in your account.

", + "CreateEnvironment": "

Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all Refactor Spaces applications, services, and routes created within the environment. They are referred to as the environment owner. The environment owner has cross-account visibility and control of Refactor Spaces resources that are added to the environment by other accounts that the environment is shared with.

When creating an environment with a network fabric type of TRANSIT_GATEWAY, Refactor Spaces provisions a transit gateway in your account.

", "CreateRoute": "

Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner of the service resource is always the environment owner, regardless of which account creates the route. Routes target a service in the application. If an application does not have any routes, then the first route must be created as a DEFAULT RouteType.

When created, the default route defaults to an active state so state is not a required input. However, like all other state values the state of the default route can be updated after creation, but only when all other routes are also inactive. Conversely, no route can be active without the default route also being active.

When you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic to the target service as follows:

A one-time health check is performed on the service when either the route is updated from inactive to active, or when it is created with an active state. If the health check fails, the route transitions the route state to FAILED, an error code of SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE is provided, and no traffic is sent to the service.

For Lambda functions, the Lambda function state is checked. If the function is not active, the function configuration is updated so that Lambda resources are provisioned. If the Lambda state is Failed, then the route creation fails. For more information, see the GetFunctionConfiguration's State response parameter in the Lambda Developer Guide.

For Lambda endpoints, a check is performed to determine that a Lambda function with the specified ARN exists. If it does not exist, the health check fails. For public URLs, a connection is opened to the public endpoint. If the URL is not reachable, the health check fails.

Refactor Spaces automatically resolves the public Domain Name System (DNS) names that are set in CreateServiceRequest$UrlEndpoint when you create a service. The DNS names resolve when the DNS time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60 seconds. This periodic DNS resolution ensures that the route configuration remains up-to-date.

For private URLS, a target group is created on the Elastic Load Balancing and the target group health check is run. The HealthCheckProtocol, HealthCheckPort, and HealthCheckPath are the same protocol, port, and path specified in the URL or health URL, if used. All other settings use the default values, as described in Health checks for your target groups. The health check is considered successful if at least one target within the target group transitions to a healthy state.

Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed certificates are supported. Private Certificate Authorities (CAs) are permitted only if the CA's domain is also publicly resolvable.

", "CreateService": "

Creates an Amazon Web Services Migration Hub Refactor Spaces service. The account owner of the service is always the environment owner, regardless of which account in the environment creates the service. Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda function endpoint.

If an Amazon Web Services resource is launched in a service VPC, and you want it to be accessible to all of an environment’s services with VPCs and routes, apply the RefactorSpacesSecurityGroup to the resource. Alternatively, to add more cross-account constraints, apply your own security group.

", "DeleteApplication": "

Deletes an Amazon Web Services Migration Hub Refactor Spaces application. Before you can delete an application, you must first delete any services or routes within the application.

", diff --git a/models/apis/migration-hub-refactor-spaces/2021-10-26/endpoint-rule-set-1.json b/models/apis/migration-hub-refactor-spaces/2021-10-26/endpoint-rule-set-1.json index 170abd6b8cc..9bc8ad7e513 100644 --- a/models/apis/migration-hub-refactor-spaces/2021-10-26/endpoint-rule-set-1.json +++ b/models/apis/migration-hub-refactor-spaces/2021-10-26/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/migration-hub-refactor-spaces/2021-10-26/endpoint-tests-1.json b/models/apis/migration-hub-refactor-spaces/2021-10-26/endpoint-tests-1.json index ff1bae97f53..c06ee18499a 100644 --- a/models/apis/migration-hub-refactor-spaces/2021-10-26/endpoint-tests-1.json +++ b/models/apis/migration-hub-refactor-spaces/2021-10-26/endpoint-tests-1.json @@ -8,9 +8,9 @@ } }, "params": { - "UseFIPS": false, "Region": "us-east-1", "UseDualStack": false, + "UseFIPS": false, "Endpoint": "https://example.com" } }, @@ -20,9 +20,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseFIPS": true, "Region": "us-east-1", "UseDualStack": false, + "UseFIPS": true, "Endpoint": "https://example.com" } }, @@ -32,9 +32,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseFIPS": false, "Region": "us-east-1", "UseDualStack": true, + "UseFIPS": false, "Endpoint": "https://example.com" } } diff --git a/models/apis/models.lex.v2/2020-08-07/api-2.json b/models/apis/models.lex.v2/2020-08-07/api-2.json index d3f0cdbca6c..a1ba728b641 100644 --- a/models/apis/models.lex.v2/2020-08-07/api-2.json +++ b/models/apis/models.lex.v2/2020-08-07/api-2.json @@ -1551,6 +1551,12 @@ "value":{"shape":"BotAliasLocaleSettings"}, "min":1 }, + "BotAliasName":{ + "type":"string", + "max":100, + "min":1, + "pattern":"^(\\bAmazonLexTestAlias\\b|[0-9a-zA-Z][_-]?)+$" + }, "BotAliasStatus":{ "type":"string", "enum":[ @@ -1602,19 +1608,23 @@ }, "BotFilterName":{ "type":"string", - "enum":["BotName"] + "enum":[ + "BotName", + "BotType" + ] }, "BotFilterOperator":{ "type":"string", "enum":[ "CO", - "EQ" + "EQ", + "NE" ] }, "BotFilters":{ "type":"list", "member":{"shape":"BotFilter"}, - "max":1, + "max":2, "min":1 }, "BotImportSpecification":{ @@ -1751,6 +1761,29 @@ "type":"list", "member":{"shape":"BotLocaleSummary"} }, + "BotMember":{ + "type":"structure", + "required":[ + "botMemberId", + "botMemberName", + "botMemberAliasId", + "botMemberAliasName", + "botMemberVersion" + ], + "members":{ + "botMemberId":{"shape":"Id"}, + "botMemberName":{"shape":"Name"}, + "botMemberAliasId":{"shape":"BotAliasId"}, + "botMemberAliasName":{"shape":"BotAliasName"}, + "botMemberVersion":{"shape":"BotVersion"} + } + }, + "BotMembers":{ + "type":"list", + "member":{"shape":"BotMember"}, + "max":10, + "min":0 + }, "BotRecommendationResultStatistics":{ "type":"structure", "members":{ @@ -1821,7 +1854,8 @@ "Deleting", "Failed", "Versioning", - "Importing" + "Importing", + "Updating" ] }, "BotSummary":{ @@ -1832,13 +1866,21 @@ "description":{"shape":"Description"}, "botStatus":{"shape":"BotStatus"}, "latestBotVersion":{"shape":"NumericalBotVersion"}, - "lastUpdatedDateTime":{"shape":"Timestamp"} + "lastUpdatedDateTime":{"shape":"Timestamp"}, + "botType":{"shape":"BotType"} } }, "BotSummaryList":{ "type":"list", "member":{"shape":"BotSummary"} }, + "BotType":{ + "type":"string", + "enum":[ + "Bot", + "BotNetwork" + ] + }, "BotVersion":{ "type":"string", "max":5, @@ -2248,7 +2290,9 @@ "dataPrivacy":{"shape":"DataPrivacy"}, "idleSessionTTLInSeconds":{"shape":"SessionTTL"}, "botTags":{"shape":"TagMap"}, - "testBotAliasTags":{"shape":"TagMap"} + "testBotAliasTags":{"shape":"TagMap"}, + "botType":{"shape":"BotType"}, + "botMembers":{"shape":"BotMembers"} } }, "CreateBotResponse":{ @@ -2263,7 +2307,9 @@ "botStatus":{"shape":"BotStatus"}, "creationDateTime":{"shape":"Timestamp"}, "botTags":{"shape":"TagMap"}, - "testBotAliasTags":{"shape":"TagMap"} + "testBotAliasTags":{"shape":"TagMap"}, + "botType":{"shape":"BotType"}, + "botMembers":{"shape":"BotMembers"} } }, "CreateBotVersionRequest":{ @@ -3087,7 +3133,8 @@ "botAliasStatus":{"shape":"BotAliasStatus"}, "botId":{"shape":"Id"}, "creationDateTime":{"shape":"Timestamp"}, - "lastUpdatedDateTime":{"shape":"Timestamp"} + "lastUpdatedDateTime":{"shape":"Timestamp"}, + "parentBotNetworks":{"shape":"ParentBotNetworks"} } }, "DescribeBotLocaleRequest":{ @@ -3205,7 +3252,10 @@ "idleSessionTTLInSeconds":{"shape":"SessionTTL"}, "botStatus":{"shape":"BotStatus"}, "creationDateTime":{"shape":"Timestamp"}, - "lastUpdatedDateTime":{"shape":"Timestamp"} + "lastUpdatedDateTime":{"shape":"Timestamp"}, + "botType":{"shape":"BotType"}, + "botMembers":{"shape":"BotMembers"}, + "failureReasons":{"shape":"FailureReasons"} } }, "DescribeBotVersionRequest":{ @@ -3239,7 +3289,10 @@ "idleSessionTTLInSeconds":{"shape":"SessionTTL"}, "botStatus":{"shape":"BotStatus"}, "failureReasons":{"shape":"FailureReasons"}, - "creationDateTime":{"shape":"Timestamp"} + "creationDateTime":{"shape":"Timestamp"}, + "parentBotNetworks":{"shape":"ParentBotNetworks"}, + "botType":{"shape":"BotType"}, + "botMembers":{"shape":"BotMembers"} } }, "DescribeCustomVocabularyMetadataRequest":{ @@ -4737,6 +4790,23 @@ "max":10, "min":0 }, + "ParentBotNetwork":{ + "type":"structure", + "required":[ + "botId", + "botVersion" + ], + "members":{ + "botId":{"shape":"Id"}, + "botVersion":{"shape":"BotVersion"} + } + }, + "ParentBotNetworks":{ + "type":"list", + "member":{"shape":"ParentBotNetwork"}, + "max":30, + "min":0 + }, "PathFormat":{ "type":"structure", "members":{ @@ -5900,7 +5970,9 @@ "description":{"shape":"Description"}, "roleArn":{"shape":"RoleArn"}, "dataPrivacy":{"shape":"DataPrivacy"}, - "idleSessionTTLInSeconds":{"shape":"SessionTTL"} + "idleSessionTTLInSeconds":{"shape":"SessionTTL"}, + "botType":{"shape":"BotType"}, + "botMembers":{"shape":"BotMembers"} } }, "UpdateBotResponse":{ @@ -5914,7 +5986,9 @@ "idleSessionTTLInSeconds":{"shape":"SessionTTL"}, "botStatus":{"shape":"BotStatus"}, "creationDateTime":{"shape":"Timestamp"}, - "lastUpdatedDateTime":{"shape":"Timestamp"} + "lastUpdatedDateTime":{"shape":"Timestamp"}, + "botType":{"shape":"BotType"}, + "botMembers":{"shape":"BotMembers"} } }, "UpdateCustomVocabularyItemsList":{ diff --git a/models/apis/models.lex.v2/2020-08-07/docs-2.json b/models/apis/models.lex.v2/2020-08-07/docs-2.json index 4cb020c882d..8ab633a09a5 100644 --- a/models/apis/models.lex.v2/2020-08-07/docs-2.json +++ b/models/apis/models.lex.v2/2020-08-07/docs-2.json @@ -2,9 +2,9 @@ "version": "2.0", "service": "

", "operations": { - "BatchCreateCustomVocabularyItem": "

Batch create custom vocabulary item for the specified locale in the specified bot.

", - "BatchDeleteCustomVocabularyItem": "

Batch delete custom vocabulary item for the specified locale in the specified bot.

", - "BatchUpdateCustomVocabularyItem": "

Batch update custom vocabulary item for the specified locale in the specified bot.

", + "BatchCreateCustomVocabularyItem": "

Create a batch of custom vocabulary items for a given bot locale's custom vocabulary.

", + "BatchDeleteCustomVocabularyItem": "

Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.

", + "BatchUpdateCustomVocabularyItem": "

Update a batch of custom vocabulary items for a given bot locale's custom vocabulary.

", "BuildBotLocale": "

Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.

", "CreateBot": "

Creates an Amazon Lex conversational bot.

", "CreateBotAlias": "

Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot.

For example, you can create an alias called \"PROD\" that your applications use to call the Amazon Lex bot.

", @@ -20,7 +20,7 @@ "DeleteBot": "

Deletes all versions of a bot, including the Draft version. To delete a specific version, use the DeleteBotVersion operation.

When you delete a bot, all of the resources contained in the bot are also deleted. Deleting a bot removes all locales, intents, slot, and slot types defined for the bot.

If a bot has an alias, the DeleteBot operation returns a ResourceInUseException exception. If you want to delete the bot and the alias, set the skipResourceInUseCheck parameter to true.

", "DeleteBotAlias": "

Deletes the specified bot alias.

", "DeleteBotLocale": "

Removes a locale from a bot.

When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.

", - "DeleteBotVersion": "

Deletes a specific version of a bot. To delete all version of a bot, use the DeleteBot operation.

", + "DeleteBotVersion": "

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

", "DeleteCustomVocabulary": "

Removes a custom vocabulary from the specified locale in the specified bot.

", "DeleteExport": "

Removes a previous export and the associated files stored in an S3 bucket.

", "DeleteImport": "

Removes a previous import and the associated file stored in an S3 bucket.

", @@ -29,7 +29,7 @@ "DeleteResourcePolicyStatement": "

Deletes a policy statement from a resource policy. If you delete the last statement from a policy, the policy is deleted. If you specify a statement ID that doesn't exist in the policy, or if the bot or bot alias doesn't have a policy attached, Amazon Lex returns an exception.

", "DeleteSlot": "

Deletes the specified slot from an intent.

", "DeleteSlotType": "

Deletes a slot type from a bot locale.

If a slot is using the slot type, Amazon Lex throws a ResourceInUseException exception. To avoid the exception, set the skipResourceInUseCheck parameter to true.

", - "DeleteUtterances": "

Deletes stored utterances.

Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..

Use the DeleteUtterances operation to manually delete utterances for a specific session. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances operation are deleted after 15 days.

", + "DeleteUtterances": "

Deletes stored utterances.

Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the ListAggregatedUtterances operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input..

Use the DeleteUtterances operation to manually delete utterances for a specific session. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances operation are deleted after 15 days.

", "DescribeBot": "

Provides metadata information about a bot.

", "DescribeBotAlias": "

Get information about a specific bot alias.

", "DescribeBotLocale": "

Describes the settings that a bot has for a specific locale.

", @@ -48,9 +48,9 @@ "ListBotRecommendations": "

Get a list of bot recommendations that meet the specified criteria.

", "ListBotVersions": "

Gets information about all of the versions of a bot.

The ListBotVersions operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, the ListBotVersions operation returns for summaries, one for each numbered version and one for the DRAFT version.

The ListBotVersions operation always returns at least one version, the DRAFT version.

", "ListBots": "

Gets a list of available bots.

", - "ListBuiltInIntents": "

Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.

To use a built-in intent as a the base for your own intent, include the built-in intent signature in the parentIntentSignature parameter when you call the CreateIntent operation. For more information, see CreateIntent.

", + "ListBuiltInIntents": "

Gets a list of built-in intents provided by Amazon Lex that you can use in your bot.

To use a built-in intent as a the base for your own intent, include the built-in intent signature in the parentIntentSignature parameter when you call the CreateIntent operation. For more information, see CreateIntent.

", "ListBuiltInSlotTypes": "

Gets a list of built-in slot types that meet the specified criteria.

", - "ListCustomVocabularyItems": "

List custom vocabulary items for the specified locale in the specified bot.

", + "ListCustomVocabularyItems": "

Paginated list of custom vocabulary items for a given bot locale's custom vocabulary.

", "ListExports": "

Lists the exports for a bot, bot locale, or custom vocabulary. Exports are kept in the list for 7 days.

", "ListImports": "

Lists the imports for a bot, bot locale, or custom vocabulary. Imports are kept in the list for 7 days.

", "ListIntents": "

Get a list of intents that meet the specified criteria.

", @@ -68,7 +68,7 @@ "UpdateBotAlias": "

Updates the configuration of an existing bot alias.

", "UpdateBotLocale": "

Updates the settings that a bot has for a specific locale.

", "UpdateBotRecommendation": "

Updates an existing bot recommendation request.

", - "UpdateExport": "

Updates the password used to protect an export zip archive.

The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport operation.

", + "UpdateExport": "

Updates the password used to protect an export zip archive.

The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the DescribeExport operation.

", "UpdateIntent": "

Updates the settings for an intent.

", "UpdateResourcePolicy": "

Replaces the existing resource policy for a bot or bot alias with a new one. If the policy doesn't exist, Amazon Lex returns an exception.

", "UpdateSlot": "

Updates the settings for a slot.

", @@ -292,7 +292,8 @@ "BotAliasId": { "base": null, "refs": { - "BotAliasSummary$botAliasId": "

The unique identifier assigned to the bot alias. You can use this ID to get detailed information about the alias using the DescribeBotAlias operation.

", + "BotAliasSummary$botAliasId": "

The unique identifier assigned to the bot alias. You can use this ID to get detailed information about the alias using the DescribeBotAlias operation.

", + "BotMember$botMemberAliasId": "

The alias ID of a bot that is a member of this network of bots.

", "CreateBotAliasResponse$botAliasId": "

The unique identifier of the bot alias.

", "DeleteBotAliasRequest$botAliasId": "

The unique identifier of the bot alias to delete.

", "DeleteBotAliasResponse$botAliasId": "

The unique identifier of the bot alias to delete.

", @@ -320,6 +321,12 @@ "UpdateBotAliasResponse$botAliasLocaleSettings": "

The updated Lambda functions to use in each locale for the bot alias.

" } }, + "BotAliasName": { + "base": null, + "refs": { + "BotMember$botMemberAliasName": "

The alias name of a bot that is a member of this network of bots.

" + } + }, "BotAliasStatus": { "base": null, "refs": { @@ -331,7 +338,7 @@ } }, "BotAliasSummary": { - "base": "

Summary information about bot aliases returned from the ListBotAliases operation.

", + "base": "

Summary information about bot aliases returned from the ListBotAliases operation.

", "refs": { "BotAliasSummaryList$member": null } @@ -456,7 +463,7 @@ } }, "BotLocaleSummary": { - "base": "

Summary information about bot locales returned by the ListBotLocales operation.

", + "base": "

Summary information about bot locales returned by the ListBotLocales operation.

", "refs": { "BotLocaleSummaryList$member": null } @@ -467,6 +474,23 @@ "ListBotLocalesResponse$botLocaleSummaries": "

Summary information for the locales that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more locales available, the nextToken field contains a token to get the next page of results.

" } }, + "BotMember": { + "base": "

A bot that is a member of a network of bots.

", + "refs": { + "BotMembers$member": null + } + }, + "BotMembers": { + "base": null, + "refs": { + "CreateBotRequest$botMembers": "

The list of bot members in a network to be created.

", + "CreateBotResponse$botMembers": "

The list of bots in a network that was created.

", + "DescribeBotResponse$botMembers": "

The list of bots in the network that was described.

", + "DescribeBotVersionResponse$botMembers": "

The members of bot network in the version that was described.

", + "UpdateBotRequest$botMembers": "

The list of bot members in the network associated with the update action.

", + "UpdateBotResponse$botMembers": "

The list of bot members in the network that was updated.

" + } + }, "BotRecommendationResultStatistics": { "base": "

A statistical summary of the bot recommendation results.

", "refs": { @@ -518,7 +542,7 @@ "refs": { "BotSummary$botStatus": "

The current status of the bot. When the status is Available the bot is ready for use.

", "BotVersionSummary$botStatus": "

The status of the bot. When the status is available, the version of the bot is ready for use.

", - "CreateBotResponse$botStatus": "

Shows the current status of the bot. The bot is first in the Creating status. Once the bot is read for use, it changes to the Available status. After the bot is created, you can use the Draft version of the bot.

", + "CreateBotResponse$botStatus": "

Shows the current status of the bot. The bot is first in the Creating status. Once the bot is read for use, it changes to the Available status. After the bot is created, you can use the DRAFT version of the bot.

", "CreateBotVersionResponse$botStatus": "

When you send a request to create or update a bot, Amazon Lex sets the status response element to Creating. After Amazon Lex builds the bot, it sets status to Available. If Amazon Lex can't build the bot, it sets status to Failed.

", "DeleteBotResponse$botStatus": "

The current status of the bot. The status is Deleting while the bot and its associated resources are being deleted.

", "DeleteBotVersionResponse$botStatus": "

The current status of the bot.

", @@ -528,7 +552,7 @@ } }, "BotSummary": { - "base": "

Summary information about a bot returned by the ListBots operation.

", + "base": "

Summary information about a bot returned by the ListBots operation.

", "refs": { "BotSummaryList$member": null } @@ -539,19 +563,32 @@ "ListBotsResponse$botSummaries": "

Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more bots available, the nextToken field contains a token to the next page of results.

" } }, + "BotType": { + "base": null, + "refs": { + "BotSummary$botType": "

The type of the bot.

", + "CreateBotRequest$botType": "

The type of a bot to create.

", + "CreateBotResponse$botType": "

The type of a bot that was created.

", + "DescribeBotResponse$botType": "

The type of the bot that was described.

", + "DescribeBotVersionResponse$botType": "

The type of the bot in the version that was described.

", + "UpdateBotRequest$botType": "

The type of the bot to be updated.

", + "UpdateBotResponse$botType": "

The type of the bot that was updated.

" + } + }, "BotVersion": { "base": null, "refs": { - "BatchCreateCustomVocabularyItemRequest$botVersion": "

The bot version of the bot to batch create the custom vocabulary item for.

", - "BatchCreateCustomVocabularyItemResponse$botVersion": "

The bot version of the bot to batch create the custom vocabulary item response for.

", - "BatchDeleteCustomVocabularyItemRequest$botVersion": "

The version of the bot to batch delete request for the custom vocabulary item.

", - "BatchDeleteCustomVocabularyItemResponse$botVersion": "

The version of the bot to batch delete response for the custom vocabulary item.

", - "BatchUpdateCustomVocabularyItemRequest$botVersion": "

The bot version of the bot to the batch update request for the custom vocabulary item.

", - "BatchUpdateCustomVocabularyItemResponse$botVersion": "

The bot version of the bot to the batch update response for the custom vocabulary item.

", + "BatchCreateCustomVocabularyItemRequest$botVersion": "

The identifier of the version of the bot associated with this custom vocabulary.

", + "BatchCreateCustomVocabularyItemResponse$botVersion": "

The identifier of the version of the bot associated with this custom vocabulary.

", + "BatchDeleteCustomVocabularyItemRequest$botVersion": "

The identifier of the version of the bot associated with this custom vocabulary.

", + "BatchDeleteCustomVocabularyItemResponse$botVersion": "

The identifier of the version of the bot associated with this custom vocabulary.

", + "BatchUpdateCustomVocabularyItemRequest$botVersion": "

The identifier of the version of the bot associated with this custom vocabulary.

", + "BatchUpdateCustomVocabularyItemResponse$botVersion": "

The identifier of the version of the bot associated with this custom vocabulary.

", "BotAliasHistoryEvent$botVersion": "

The version of the bot that was used in the event.

", "BotAliasSummary$botVersion": "

The version of the bot that the bot alias references.

", "BotExportSpecification$botVersion": "

The version of the bot that was exported. This will be either DRAFT or the version number.

", "BotLocaleExportSpecification$botVersion": "

The version of the bot to export.

", + "BotMember$botMemberVersion": "

The version of a bot that is a member of this network of bots.

", "BotVersionLocaleDetails$sourceBotVersion": "

The version of a bot used for a bot locale.

", "BotVersionSummary$botVersion": "

The numeric version of the bot, or DRAFT to indicate that this is the version of the bot that can be updated..

", "CustomVocabularyExportSpecification$botVersion": "

The version of the bot that contains the custom vocabulary to export.

", @@ -570,7 +607,7 @@ "ListBotLocalesRequest$botVersion": "

The version of the bot to list locales for.

", "ListBotLocalesResponse$botVersion": "

The version of the bot.

", "ListCustomVocabularyItemsRequest$botVersion": "

The bot version of the bot to the list custom vocabulary request.

", - "ListCustomVocabularyItemsResponse$botVersion": "

The bot version of the bot to the list custom vocabulary response.

", + "ListCustomVocabularyItemsResponse$botVersion": "

The identifier of the version of the bot associated with this custom vocabulary.

", "ListExportsRequest$botVersion": "

The version of the bot to list exports for.

", "ListExportsResponse$botVersion": "

The version of the bot that was exported.

", "ListIntentsRequest$botVersion": "

The version of the bot that contains the intent.

", @@ -579,6 +616,7 @@ "ListSlotTypesResponse$botVersion": "

The version of the bot that contains the slot types.

", "ListSlotsRequest$botVersion": "

The version of the bot that contains the slot.

", "ListSlotsResponse$botVersion": "

The version of the bot that contains the slots.

", + "ParentBotNetwork$botVersion": "

The version of the network of bots.

", "SearchAssociatedTranscriptsRequest$botVersion": "

The version of the bot containing the transcripts that you are searching.

", "SearchAssociatedTranscriptsResponse$botVersion": "

The version of the bot containing the transcripts that you are searching.

", "UpdateBotAliasRequest$botVersion": "

The new bot version to assign to the bot alias.

", @@ -611,7 +649,7 @@ } }, "BotVersionSummary": { - "base": "

Summary information about a bot version returned by the ListBotVersions operation.

", + "base": "

Summary information about a bot version returned by the ListBotVersions operation.

", "refs": { "BotVersionSummaryList$member": null } @@ -669,7 +707,7 @@ } }, "BuiltInIntentSummary": { - "base": "

Provides summary information about a built-in intent for the ListBuiltInIntents operation.

", + "base": "

Provides summary information about a built-in intent for the ListBuiltInIntents operation.

", "refs": { "BuiltInIntentSummaryList$member": null } @@ -706,7 +744,7 @@ } }, "BuiltInSlotTypeSummary": { - "base": "

Provides summary information about a built-in slot type for the ListBuiltInSlotTypes operation.

", + "base": "

Provides summary information about a built-in slot type for the ListBuiltInSlotTypes operation.

", "refs": { "BuiltInSlotTypeSummaryList$member": null } @@ -948,7 +986,7 @@ "CreateCustomVocabularyItemsList": { "base": null, "refs": { - "BatchCreateCustomVocabularyItemRequest$customVocabularyItemList": "

The custom vocabulary item list of the bot to batch create the custom vocabulary item for.

" + "BatchCreateCustomVocabularyItemRequest$customVocabularyItemList": "

A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.

" } }, "CreateExportRequest": { @@ -1061,9 +1099,9 @@ "CustomVocabularyItems": { "base": null, "refs": { - "BatchCreateCustomVocabularyItemResponse$resources": "

The resources of the action to batch create the custom vocabulary item response for a bot.

", - "BatchDeleteCustomVocabularyItemResponse$resources": "

The resources of the action to batch delete response for the custom vocabulary item.

", - "BatchUpdateCustomVocabularyItemResponse$resources": "

The resources of the action to batch update response for the custom vocabulary item.

", + "BatchCreateCustomVocabularyItemResponse$resources": "

A list of custom vocabulary items that were successfully created during the operation.

", + "BatchDeleteCustomVocabularyItemResponse$resources": "

A list of custom vocabulary items that were successfully deleted during the operation.

", + "BatchUpdateCustomVocabularyItemResponse$resources": "

A list of custom vocabulary items that were successfully updated during the operation.

", "ListCustomVocabularyItemsResponse$customVocabularyItems": "

The custom vocabulary items from the list custom vocabulary response.

" } }, @@ -1154,7 +1192,7 @@ "DeleteCustomVocabularyItemsList": { "base": null, "refs": { - "BatchDeleteCustomVocabularyItemRequest$customVocabularyItemList": "

The custom vocabulary list to batch delete request for the custom vocabulary item.

" + "BatchDeleteCustomVocabularyItemRequest$customVocabularyItemList": "

A list of custom vocabulary items requested to be deleted. Each entry must contain the unique custom vocabulary entry identifier.

" } }, "DeleteCustomVocabularyRequest": { @@ -1544,7 +1582,7 @@ } }, "ExportFilter": { - "base": "

Filters the response form the ListExports operation

", + "base": "

Filters the response form the ListExports operation

", "refs": { "ExportFilters$member": null } @@ -1592,8 +1630,8 @@ "ExportStatus": { "base": null, "refs": { - "CreateExportResponse$exportStatus": "

The status of the export. When the status is Completed, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.

", - "DeleteExportResponse$exportStatus": "

The current status of the deletion. When the deletion is complete, the export will no longer be returned by the ListExports operation and calls to the DescribeExport operation with the export identifier will fail.

", + "CreateExportResponse$exportStatus": "

The status of the export. When the status is Completed, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.

", + "DeleteExportResponse$exportStatus": "

The current status of the deletion. When the deletion is complete, the export will no longer be returned by the ListExports operation and calls to the DescribeExport operation with the export identifier will fail.

", "DescribeExportResponse$exportStatus": "

The status of the export. When the status is Complete the export archive file is available for download.

", "ExportSummary$exportStatus": "

The status of the export. When the status is Completed the export is ready to download.

", "UpdateExportResponse$exportStatus": "

The status of the export. When the status is Completed the export archive is available for download.

" @@ -1630,9 +1668,9 @@ "FailedCustomVocabularyItems": { "base": null, "refs": { - "BatchCreateCustomVocabularyItemResponse$errors": "

The errors of the action to batch create the custom vocabulary item response for a bot.

", - "BatchDeleteCustomVocabularyItemResponse$errors": "

The errors of the action to batch delete response for the custom vocabulary item.

", - "BatchUpdateCustomVocabularyItemResponse$errors": "

The errors of the action to batch update response for the custom vocabulary item.

" + "BatchCreateCustomVocabularyItemResponse$errors": "

A list of custom vocabulary items that failed to create during the operation. The reason for the error is contained within each error object.

", + "BatchDeleteCustomVocabularyItemResponse$errors": "

A list of custom vocabulary items that failed to delete during the operation. The reason for the error is contained within each error object.

", + "BatchUpdateCustomVocabularyItemResponse$errors": "

A list of custom vocabulary items that failed to update during the operation. The reason for the error is contained within each error object.

" } }, "FailureReason": { @@ -1646,6 +1684,7 @@ "refs": { "DescribeBotLocaleResponse$failureReasons": "

if botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot.

", "DescribeBotRecommendationResponse$failureReasons": "

If botRecommendationStatus is Failed, Amazon Lex explains why.

", + "DescribeBotResponse$failureReasons": "

If the botStatus is Failed, this contains a list of reasons that the bot couldn't be built.

", "DescribeBotVersionResponse$failureReasons": "

If the botStatus is Failed, this contains a list of reasons that the version couldn't be built.

", "DescribeExportResponse$failureReasons": "

If the exportStatus is failed, contains one or more reasons why the export could not be completed.

", "DescribeImportResponse$failureReasons": "

If the importStatus field is Failed, this provides one or more reasons for the failure.

", @@ -1746,18 +1785,19 @@ "Id": { "base": null, "refs": { - "BatchCreateCustomVocabularyItemRequest$botId": "

The unique identifier of the bot to batch create the custom vocabulary item for.

", - "BatchCreateCustomVocabularyItemResponse$botId": "

The unique identifier of the bot to batch create response for the custom vocabulary item.

", - "BatchDeleteCustomVocabularyItemRequest$botId": "

The unique identifier of the bot to batch delete request for the custom vocabulary item.

", - "BatchDeleteCustomVocabularyItemResponse$botId": "

The unique identifier of the bot to batch delete response for the custom vocabulary item.

", - "BatchUpdateCustomVocabularyItemRequest$botId": "

The unique identifier of the bot to the batch update request for the custom vocabulary item.

", - "BatchUpdateCustomVocabularyItemResponse$botId": "

The unique identifier of the bot to the batch update response for the custom vocabulary item.

", + "BatchCreateCustomVocabularyItemRequest$botId": "

The identifier of the bot associated with this custom vocabulary.

", + "BatchCreateCustomVocabularyItemResponse$botId": "

The identifier of the bot associated with this custom vocabulary.

", + "BatchDeleteCustomVocabularyItemRequest$botId": "

The identifier of the bot associated with this custom vocabulary.

", + "BatchDeleteCustomVocabularyItemResponse$botId": "

The identifier of the bot associated with this custom vocabulary.

", + "BatchUpdateCustomVocabularyItemRequest$botId": "

The identifier of the bot associated with this custom vocabulary

", + "BatchUpdateCustomVocabularyItemResponse$botId": "

The identifier of the bot associated with this custom vocabulary.

", "BotExportSpecification$botId": "

The identifier of the bot assigned by Amazon Lex.

", "BotLocaleExportSpecification$botId": "

The identifier of the bot to create the locale for.

", "BotLocaleImportSpecification$botId": "

The identifier of the bot to import the locale to.

", + "BotMember$botMemberId": "

The unique ID of a bot that is a member of this network of bots.

", "BotRecommendationSummary$botRecommendationId": "

The unique identifier of the bot recommendation to be updated.

", - "BotSummary$botId": "

The unique identifier assigned to the bot. Use this ID to get detailed information about the bot with the DescribeBot operation.

", - "BuildBotLocaleRequest$botId": "

The identifier of the bot to build. The identifier is returned in the response from the CreateBot operation.

", + "BotSummary$botId": "

The unique identifier assigned to the bot. Use this ID to get detailed information about the bot with the DescribeBot operation.

", + "BuildBotLocaleRequest$botId": "

The identifier of the bot to build. The identifier is returned in the response from the CreateBot operation.

", "BuildBotLocaleResponse$botId": "

The identifier of the specified bot.

", "CreateBotAliasRequest$botId": "

The unique identifier of the bot that the alias applies to.

", "CreateBotAliasResponse$botId": "

The unique identifier of the bot that this alias applies to.

", @@ -1778,7 +1818,7 @@ "CreateSlotTypeRequest$botId": "

The identifier of the bot associated with this slot type.

", "CreateSlotTypeResponse$slotTypeId": "

The unique identifier assigned to the slot type. Use this to identify the slot type in the UpdateSlotType and DeleteSlotType operations.

", "CreateSlotTypeResponse$botId": "

The identifier for the bot associated with the slot type.

", - "CreateUploadUrlResponse$importId": "

An identifier for a unique import job. Use it when you call the StartImport operation.

", + "CreateUploadUrlResponse$importId": "

An identifier for a unique import job. Use it when you call the StartImport operation.

", "CustomVocabularyExportSpecification$botId": "

The identifier of the bot that contains the custom vocabulary to export.

", "CustomVocabularyImportSpecification$botId": "

The identifier of the bot to import the custom vocabulary to.

", "DeleteBotAliasRequest$botId": "

The unique identifier of the bot associated with the alias to delete.

", @@ -1848,8 +1888,8 @@ "ListBotRecommendationsResponse$botId": "

The unique identifier of the bot that contains the bot recommendation list.

", "ListBotVersionsRequest$botId": "

The identifier of the bot to list versions for.

", "ListBotVersionsResponse$botId": "

The identifier of the bot to list versions for.

", - "ListCustomVocabularyItemsRequest$botId": "

The unique identifier of the bot to the list custom vocabulary request.

", - "ListCustomVocabularyItemsResponse$botId": "

The unique identifier of the bot to the list custom vocabulary response.

", + "ListCustomVocabularyItemsRequest$botId": "

The identifier of the version of the bot associated with this custom vocabulary.

", + "ListCustomVocabularyItemsResponse$botId": "

The identifier of the bot associated with this custom vocabulary.

", "ListExportsRequest$botId": "

The unique identifier that Amazon Lex assigned to the bot.

", "ListExportsResponse$botId": "

The unique identifier assigned to the bot by Amazon Lex.

", "ListImportsRequest$botId": "

The unique identifier that Amazon Lex assigned to the bot.

", @@ -1866,6 +1906,7 @@ "ListSlotsRequest$intentId": "

The unique identifier of the intent that contains the slot.

", "ListSlotsResponse$botId": "

The identifier of the bot that contains the slots.

", "ListSlotsResponse$intentId": "

The identifier of the intent that contains the slots.

", + "ParentBotNetwork$botId": "

The identifier of the network of bots assigned by Amazon Lex.

", "RecommendedIntentSummary$intentId": "

The unique identifier of a recommended intent associated with the bot recommendation.

", "SearchAssociatedTranscriptsRequest$botId": "

The unique identifier of the bot associated with the transcripts that you are searching.

", "SearchAssociatedTranscriptsRequest$botRecommendationId": "

The unique identifier of the bot recommendation associated with the transcripts to search.

", @@ -1877,7 +1918,7 @@ "StartBotRecommendationRequest$botId": "

The unique identifier of the bot containing the bot recommendation.

", "StartBotRecommendationResponse$botId": "

The unique identifier of the bot containing the bot recommendation.

", "StartBotRecommendationResponse$botRecommendationId": "

The identifier of the bot recommendation that you have created.

", - "StartImportRequest$importId": "

The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.

", + "StartImportRequest$importId": "

The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.

", "StartImportResponse$importId": "

A unique identifier for the import.

", "StopBotRecommendationRequest$botId": "

The unique identifier of the bot containing the bot recommendation to be stopped.

", "StopBotRecommendationRequest$botRecommendationId": "

The unique identifier of the bot recommendation to be stopped.

", @@ -1891,7 +1932,7 @@ "UpdateBotRecommendationRequest$botRecommendationId": "

The unique identifier of the bot recommendation to be updated.

", "UpdateBotRecommendationResponse$botId": "

The unique identifier of the bot containing the bot recommendation that has been updated.

", "UpdateBotRecommendationResponse$botRecommendationId": "

The unique identifier of the bot recommendation to be updated.

", - "UpdateBotRequest$botId": "

The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.

", + "UpdateBotRequest$botId": "

The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.

", "UpdateBotResponse$botId": "

The unique identifier of the bot that was updated.

", "UpdateExportRequest$exportId": "

The unique identifier Amazon Lex assigned to the export.

", "UpdateExportResponse$exportId": "

The unique identifier Amazon Lex assigned to the export.

", @@ -1936,7 +1977,7 @@ } }, "ImportFilter": { - "base": "

Filters the response from the ListImports operation.

", + "base": "

Filters the response from the ListImports operation.

", "refs": { "ImportFilters$member": null } @@ -1988,7 +2029,7 @@ "ImportStatus": { "base": null, "refs": { - "DeleteImportResponse$importStatus": "

The current status of the deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.

", + "DeleteImportResponse$importStatus": "

The current status of the deletion. When the deletion is complete, the import will no longer be returned by the ListImports operation and calls to the DescribeImport operation with the import identifier will fail.

", "DescribeImportResponse$importStatus": "

The status of the import process. When the status is Completed the resource is imported and ready for use.

", "ImportSummary$importStatus": "

The status of the resource. When the status is Completed the resource is ready to build.

", "StartImportResponse$importStatus": "

The current status of the import. When the status is Complete the bot, bot alias, or custom vocabulary is ready to use.

" @@ -2351,12 +2392,12 @@ "LocaleId": { "base": null, "refs": { - "BatchCreateCustomVocabularyItemRequest$localeId": "

The unique locale identifier of the bot to batch create the custom vocabulary item for.

", - "BatchCreateCustomVocabularyItemResponse$localeId": "

The unique locale identifier of the bot to batch create the custom vocabulary item response for.

", - "BatchDeleteCustomVocabularyItemRequest$localeId": "

The locale identifier of the bot to batch delete request for the custom vocabulary item.

", - "BatchDeleteCustomVocabularyItemResponse$localeId": "

The locale identifier of the bot to batch delete response for the custom vocabulary item.

", - "BatchUpdateCustomVocabularyItemRequest$localeId": "

The locale identifier of the bot to the batch update request for the custom vocabulary item.

", - "BatchUpdateCustomVocabularyItemResponse$localeId": "

The locale identifier of the bot to the batch update response for the custom vocabulary item.

", + "BatchCreateCustomVocabularyItemRequest$localeId": "

The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .

", + "BatchCreateCustomVocabularyItemResponse$localeId": "

The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .

", + "BatchDeleteCustomVocabularyItemRequest$localeId": "

The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .

", + "BatchDeleteCustomVocabularyItemResponse$localeId": "

The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

", + "BatchUpdateCustomVocabularyItemRequest$localeId": "

The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .

", + "BatchUpdateCustomVocabularyItemResponse$localeId": "

The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .

", "BotAliasLocaleSettingsMap$key": null, "BotLocaleExportSpecification$localeId": "

The identifier of the language and locale to export. The string must match one of the locales in the bot.

", "BotLocaleImportSpecification$localeId": "

The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages.

", @@ -2402,8 +2443,8 @@ "ListBuiltInIntentsResponse$localeId": "

The language and locale of the intents in the list.

", "ListBuiltInSlotTypesRequest$localeId": "

The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages.

", "ListBuiltInSlotTypesResponse$localeId": "

The language and locale of the slot types in the list.

", - "ListCustomVocabularyItemsRequest$localeId": "

The locale identifier of the bot to the list custom vocabulary request.

", - "ListCustomVocabularyItemsResponse$localeId": "

The locale identifier of the bot to the list custom vocabulary response.

", + "ListCustomVocabularyItemsRequest$localeId": "

The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

", + "ListCustomVocabularyItemsResponse$localeId": "

The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .

", "ListExportsRequest$localeId": "

Specifies the resources that should be exported. If you don't specify a resource type in the filters parameter, both bot locales and custom vocabularies are exported.

", "ListExportsResponse$localeId": "

The locale specified in the request.

", "ListImportsRequest$localeId": "

Specifies the locale that should be present in the list. If you don't specify a resource type in the filters parameter, the list contains both bot locales and custom vocabularies.

", @@ -2459,7 +2500,7 @@ "ListBotRecommendationsRequest$maxResults": "

The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

", "ListBotVersionsRequest$maxResults": "

The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

", "ListBotsRequest$maxResults": "

The maximum number of bots to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.

", - "ListCustomVocabularyItemsRequest$maxResults": "

The maximum results to the list custom vocabulary request.

", + "ListCustomVocabularyItemsRequest$maxResults": "

The maximum number of items returned by the list operation.

", "ListExportsRequest$maxResults": "

The maximum number of exports to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

", "ListImportsRequest$maxResults": "

The maximum number of imports to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

", "ListIntentsRequest$maxResults": "

The maximum number of intents to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

", @@ -2541,6 +2582,7 @@ "refs": { "BotAliasSummary$botAliasName": "

The name of the bot alias.

", "BotImportSpecification$botName": "

The name that Amazon Lex should use for the bot.

", + "BotMember$botMemberName": "

The unique name of a bot that is a member of this network of bots.

", "BotSummary$botName": "

The name of the bot.

", "BotVersionSummary$botName": "

The name of the bot associated with the version.

", "ConditionalBranch$name": "

The name of the branch.

", @@ -2648,13 +2690,13 @@ "base": null, "refs": { "BotSummary$latestBotVersion": "

The latest numerical version in use for the bot.

", - "CreateBotAliasRequest$botVersion": "

The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.

", + "CreateBotAliasRequest$botVersion": "

The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.

", "CreateBotAliasResponse$botVersion": "

The version of the bot associated with this alias.

", "CreateBotVersionResponse$botVersion": "

The version number assigned to the version.

", "DeleteBotVersionRequest$botVersion": "

The version of the bot to delete.

", "DeleteBotVersionResponse$botVersion": "

The version of the bot that is being deleted.

", "DescribeBotVersionRequest$botVersion": "

The version of the bot to return metadata for.

", - "DescribeBotVersionResponse$botVersion": "

The version of the bot to describe.

" + "DescribeBotVersionResponse$botVersion": "

The version of the bot that was described.

" } }, "ObfuscationSetting": { @@ -2714,6 +2756,19 @@ "UpdateIntentResponse$outputContexts": "

The updated list of contexts that Amazon Lex activates when the intent is fulfilled.

" } }, + "ParentBotNetwork": { + "base": "

A network of bots.

", + "refs": { + "ParentBotNetworks$member": null + } + }, + "ParentBotNetworks": { + "base": null, + "refs": { + "DescribeBotAliasResponse$parentBotNetworks": "

A list of the networks to which the bot alias you described belongs.

", + "DescribeBotVersionResponse$parentBotNetworks": "

A list of the networks to which the bot version you described belongs.

" + } + }, "PathFormat": { "base": "

The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide. Specify this object if you only want Lex to read a subset of files in your Amazon S3 bucket.

", "refs": { @@ -2724,7 +2779,7 @@ "base": null, "refs": { "CustomVocabularyItem$phrase": "

The unique phrase for the custom vocabulary item from the custom vocabulary list.

", - "CustomVocabularyItem$displayAs": "

The display as value for the custom vocabulary item from the custom vocabulary list.

", + "CustomVocabularyItem$displayAs": "

The DisplayAs value for the custom vocabulary item from the custom vocabulary list.

", "NewCustomVocabularyItem$phrase": "

The unique phrase for the new custom vocabulary item from the custom vocabulary list.

", "NewCustomVocabularyItem$displayAs": "

The display as value assigned to the new custom vocabulary item from the custom vocabulary list.

" } @@ -2912,7 +2967,7 @@ "RetryAfterSeconds": { "base": null, "refs": { - "ThrottlingException$retryAfterSeconds": null + "ThrottlingException$retryAfterSeconds": "

The number of seconds after which the user can invoke the API again.

" } }, "RevisionId": { @@ -2951,7 +3006,7 @@ "S3BucketLogDestination": { "base": "

Specifies an Amazon S3 bucket for logging audio conversations

", "refs": { - "AudioLogDestination$s3Bucket": "

The Amazon S3 bucket where the audio log files are stored. The IAM role specified in the roleArn parameter of the CreateBot operation must have permission to write to this bucket.

" + "AudioLogDestination$s3Bucket": "

The Amazon S3 bucket where the audio log files are stored. The IAM role specified in the roleArn parameter of the CreateBot operation must have permission to write to this bucket.

" } }, "S3BucketName": { @@ -3056,7 +3111,7 @@ "SessionId": { "base": null, "refs": { - "DeleteUtterancesRequest$sessionId": "

The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.

" + "DeleteUtterancesRequest$sessionId": "

The unique identifier of the session with the user. The ID is returned in the response from the RecognizeText and RecognizeUtterance operations.

" } }, "SessionTTL": { @@ -3074,9 +3129,9 @@ "SkipResourceInUseCheck": { "base": null, "refs": { - "DeleteBotAliasRequest$skipResourceInUseCheck": "

When this parameter is true, Amazon Lex doesn't check to see if any other resource is using the alias before it is deleted.

", - "DeleteBotRequest$skipResourceInUseCheck": "

When true, Amazon Lex doesn't check to see if another resource, such as an alias, is using the bot before it is deleted.

", - "DeleteBotVersionRequest$skipResourceInUseCheck": "

By default, the DeleteBotVersion operations throws a ResourceInUseException exception if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck parameter to true to skip this check and remove the version even if an alias points to it.

", + "DeleteBotAliasRequest$skipResourceInUseCheck": "

By default, Amazon Lex checks if any other resource, such as a bot network, is using the bot alias before it is deleted and throws a ResourceInUseException exception if the alias is being used by another resource. Set this parameter to true to skip this check and remove the alias even if it is being used by another resource.

", + "DeleteBotRequest$skipResourceInUseCheck": "

By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the bot is being used by another resource. Set this parameter to true to skip this check and remove the bot even if it is being used by another resource.

", + "DeleteBotVersionRequest$skipResourceInUseCheck": "

By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the version is being used by another resource. Set this parameter to true to skip this check and remove the version even if it is being used by another resource.

", "DeleteSlotTypeRequest$skipResourceInUseCheck": "

By default, the DeleteSlotType operations throws a ResourceInUseException exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck parameter to true to skip this check and remove the slot type even if a slot uses it.

" } }, @@ -3713,7 +3768,7 @@ "UpdateCustomVocabularyItemsList": { "base": null, "refs": { - "BatchUpdateCustomVocabularyItemRequest$customVocabularyItemList": "

The custom vocabulary item list of the bot to the batch update request for the custom vocabulary item.

" + "BatchUpdateCustomVocabularyItemRequest$customVocabularyItemList": "

A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.

" } }, "UpdateExportRequest": { diff --git a/models/apis/models.lex.v2/2020-08-07/endpoint-rule-set-1.json b/models/apis/models.lex.v2/2020-08-07/endpoint-rule-set-1.json index f4f8af199b4..36685dd7c5a 100644 --- a/models/apis/models.lex.v2/2020-08-07/endpoint-rule-set-1.json +++ b/models/apis/models.lex.v2/2020-08-07/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", diff --git a/models/apis/models.lex.v2/2020-08-07/endpoint-tests-1.json b/models/apis/models.lex.v2/2020-08-07/endpoint-tests-1.json index 0fae5cecd8e..3d99439ac55 100644 --- a/models/apis/models.lex.v2/2020-08-07/endpoint-tests-1.json +++ b/models/apis/models.lex.v2/2020-08-07/endpoint-tests-1.json @@ -9,8 +9,8 @@ }, "params": { "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ca-central-1" } }, { @@ -22,8 +22,8 @@ }, "params": { "UseFIPS": true, - "Region": "ca-central-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ca-central-1" } }, { @@ -35,8 +35,8 @@ }, "params": { "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ca-central-1" } }, { @@ -48,8 +48,8 @@ }, "params": { "UseFIPS": false, - "Region": "ca-central-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ca-central-1" } }, { @@ -61,8 +61,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-central-1" } }, { @@ -74,8 +74,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-central-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-central-1" } }, { @@ -87,8 +87,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-central-1" } }, { @@ -100,8 +100,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-central-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-central-1" } }, { @@ -113,8 +113,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-west-2" } }, { @@ -126,8 +126,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-west-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-west-2" } }, { @@ -139,8 +139,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-west-2" } }, { @@ -152,8 +152,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-west-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-west-2" } }, { @@ -165,8 +165,8 @@ }, "params": { "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "af-south-1" } }, { @@ -178,8 +178,8 @@ }, "params": { "UseFIPS": true, - "Region": "af-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "af-south-1" } }, { @@ -191,8 +191,8 @@ }, "params": { "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "af-south-1" } }, { @@ -204,8 +204,8 @@ }, "params": { "UseFIPS": false, - "Region": "af-south-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "af-south-1" } }, { @@ -217,8 +217,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-2" } }, { @@ -230,8 +230,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-2" } }, { @@ -243,8 +243,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-2" } }, { @@ -256,8 +256,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-2" } }, { @@ -269,8 +269,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-1" } }, { @@ -282,8 +282,8 @@ }, "params": { "UseFIPS": true, - "Region": "eu-west-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-1" } }, { @@ -295,8 +295,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "eu-west-1" } }, { @@ -308,8 +308,8 @@ }, "params": { "UseFIPS": false, - "Region": "eu-west-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "eu-west-1" } }, { @@ -321,8 +321,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-2" } }, { @@ -334,8 +334,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-2" } }, { @@ -347,8 +347,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-2" } }, { @@ -360,8 +360,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-2" } }, { @@ -373,8 +373,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-1" } }, { @@ -386,8 +386,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-northeast-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-1" } }, { @@ -399,8 +399,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-northeast-1" } }, { @@ -412,8 +412,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-northeast-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-northeast-1" } }, { @@ -425,8 +425,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-southeast-1" } }, { @@ -438,8 +438,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-southeast-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-southeast-1" } }, { @@ -451,8 +451,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-southeast-1" } }, { @@ -464,8 +464,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-southeast-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-southeast-1" } }, { @@ -477,8 +477,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-southeast-2" } }, { @@ -490,8 +490,8 @@ }, "params": { "UseFIPS": true, - "Region": "ap-southeast-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-southeast-2" } }, { @@ -503,8 +503,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": true + "UseDualStack": true, + "Region": "ap-southeast-2" } }, { @@ -516,8 +516,8 @@ }, "params": { "UseFIPS": false, - "Region": "ap-southeast-2", - "UseDualStack": false + "UseDualStack": false, + "Region": "ap-southeast-2" } }, { @@ -529,8 +529,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-east-1" } }, { @@ -542,8 +542,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-east-1" } }, { @@ -555,8 +555,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": true + "UseDualStack": true, + "Region": "us-east-1" } }, { @@ -568,8 +568,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", - "UseDualStack": false + "UseDualStack": false, + "Region": "us-east-1" } }, { @@ -581,8 +581,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -593,8 +593,8 @@ }, "params": { "UseFIPS": true, - "Region": "us-east-1", "UseDualStack": false, + "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -605,8 +605,8 @@ }, "params": { "UseFIPS": false, - "Region": "us-east-1", "UseDualStack": true, + "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/apis/runtime.lex.v2/2020-08-07/api-2.json b/models/apis/runtime.lex.v2/2020-08-07/api-2.json index 400ede39443..a4810040a7e 100644 --- a/models/apis/runtime.lex.v2/2020-08-07/api-2.json +++ b/models/apis/runtime.lex.v2/2020-08-07/api-2.json @@ -501,7 +501,8 @@ "sessionState":{"shape":"SessionState"}, "requestAttributes":{"shape":"StringMap"}, "sessionId":{"shape":"SessionId"}, - "eventId":{"shape":"EventId"} + "eventId":{"shape":"EventId"}, + "recognizedBotMember":{"shape":"RecognizedBotMember"} }, "event":true }, @@ -720,7 +721,8 @@ "sessionState":{"shape":"SessionState"}, "interpretations":{"shape":"Interpretations"}, "requestAttributes":{"shape":"StringMap"}, - "sessionId":{"shape":"SessionId"} + "sessionId":{"shape":"SessionId"}, + "recognizedBotMember":{"shape":"RecognizedBotMember"} } }, "RecognizeUtteranceRequest":{ @@ -820,10 +822,23 @@ "location":"header", "locationName":"x-amz-lex-input-transcript" }, - "audioStream":{"shape":"BlobStream"} + "audioStream":{"shape":"BlobStream"}, + "recognizedBotMember":{ + "shape":"NonEmptyString", + "location":"header", + "locationName":"x-amz-lex-recognized-bot-member" + } }, "payload":"audioStream" }, + "RecognizedBotMember":{ + "type":"structure", + "required":["botId"], + "members":{ + "botId":{"shape":"BotIdentifier"}, + "botName":{"shape":"Name"} + } + }, "ResourceNotFoundException":{ "type":"structure", "required":["message"], diff --git a/models/apis/runtime.lex.v2/2020-08-07/docs-2.json b/models/apis/runtime.lex.v2/2020-08-07/docs-2.json index 20e98beb1b7..1aa41eb902e 100644 --- a/models/apis/runtime.lex.v2/2020-08-07/docs-2.json +++ b/models/apis/runtime.lex.v2/2020-08-07/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

", + "service": "

This section contains documentation for the Amazon Lex V2 Runtime V2 API operations.

", "operations": { "DeleteSession": "

Removes session information for a specified bot, alias, and user ID.

You can use this operation to restart a conversation with a bot. When you remove a session, the entire history of the session is removed so that you can start again.

You don't need to delete a session. Sessions have a time limit and will expire. Set the session time limit when you create the bot. The default is 5 minutes, but you can specify anything between 1 minute and 24 hours.

If you specify a bot or alias ID that doesn't exist, you receive a BadRequestException.

If the locale doesn't exist in the bot, or if the locale hasn't been enables for the alias, you receive a BadRequestException.

", "GetSession": "

Returns session information for a specified bot, alias, and user.

For example, you can use this operation to retrieve session information for a user that has left a long-running session in use.

If the bot, alias, or session identifier doesn't exist, Amazon Lex V2 returns a BadRequestException. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException.

", @@ -131,6 +131,7 @@ "PutSessionRequest$botId": "

The identifier of the bot that receives the session data.

", "RecognizeTextRequest$botId": "

The identifier of the bot that processes the request.

", "RecognizeUtteranceRequest$botId": "

The identifier of the bot that should receive the request.

", + "RecognizedBotMember$botId": "

The identifier of the bot member that processes the request.

", "StartConversationRequest$botId": "

The identifier of the bot to process the request.

" } }, @@ -384,6 +385,7 @@ "Name": { "base": null, "refs": { + "RecognizedBotMember$botName": "

The name of the bot member that processes the request.

", "SlotHintsIntentMap$key": null, "SlotHintsSlotMap$key": null } @@ -404,7 +406,7 @@ "PutSessionResponse$sessionState": "

Represents the current state of the dialog between the user and the bot.

Use this to determine the progress of the conversation and what the next action may be.

", "PutSessionResponse$requestAttributes": "

Request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.

", "RecognizeUtteranceRequest$requestContentType": "

Indicates the format for audio input or that the content is text. The header must start with one of the following prefixes:

", - "RecognizeUtteranceRequest$responseContentType": "

The message that Amazon Lex V2 returns in the response can be either text or speech based on the responseContentType value.

", + "RecognizeUtteranceRequest$responseContentType": "

The message that Amazon Lex V2 returns in the response can be either text or speech based on the responseContentType value.

", "RecognizeUtteranceResponse$inputMode": "

Indicates whether the input mode to the operation was text or speech.

", "RecognizeUtteranceResponse$contentType": "

Content type as specified in the responseContentType in the request.

", "RecognizeUtteranceResponse$messages": "

A list of messages that were last sent to the user. The messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.

The messages field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.

", @@ -412,6 +414,7 @@ "RecognizeUtteranceResponse$sessionState": "

Represents the current state of the dialog between the user and the bot.

Use this to determine the progress of the conversation and what the next action might be.

The sessionState field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.

", "RecognizeUtteranceResponse$requestAttributes": "

The attributes sent in the request.

The requestAttributes field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents.

", "RecognizeUtteranceResponse$inputTranscript": "

The text used to process the request.

If the input was an audio stream, the inputTranscript field contains the text extracted from the audio stream. This is the text that is actually processed to recognize intents and slot values. You can use this information to determine if Amazon Lex V2 is correctly processing the audio that you send.

The inputTranscript field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.

", + "RecognizeUtteranceResponse$recognizedBotMember": "

The bot member that recognized the utterance.

", "SessionState$originatingRequestId": "

A unique identifier for a specific request.

", "Slots$key": null, "StringList$member": null, @@ -474,6 +477,13 @@ "refs": { } }, + "RecognizedBotMember": { + "base": "

The bot member that processes the request.

", + "refs": { + "IntentResultEvent$recognizedBotMember": "

The bot member that is processing the intent.

", + "RecognizeTextResponse$recognizedBotMember": "

The bot member that recognized the text.

" + } + }, "ResourceNotFoundException": { "base": "

", "refs": { diff --git a/models/apis/runtime.lex.v2/2020-08-07/endpoint-rule-set-1.json b/models/apis/runtime.lex.v2/2020-08-07/endpoint-rule-set-1.json new file mode 100644 index 00000000000..514bf923913 --- /dev/null +++ b/models/apis/runtime.lex.v2/2020-08-07/endpoint-rule-set-1.json @@ -0,0 +1,306 @@ +{ + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": true, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://runtime-v2-lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://runtime-v2-lex-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://runtime-v2-lex.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://runtime-v2-lex.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] +} \ No newline at end of file diff --git a/models/apis/runtime.lex.v2/2020-08-07/endpoint-tests-1.json b/models/apis/runtime.lex.v2/2020-08-07/endpoint-tests-1.json new file mode 100644 index 00000000000..eaba38fa9a1 --- /dev/null +++ b/models/apis/runtime.lex.v2/2020-08-07/endpoint-tests-1.json @@ -0,0 +1,615 @@ +{ + "testCases": [ + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ca-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ca-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "ca-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.eu-central-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.eu-central-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "eu-central-1" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.us-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "us-west-2" + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.us-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "us-west-2" + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "af-south-1" + } + }, + { + "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "af-south-1" + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.af-south-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "af-south-1" + } + }, + { + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.af-south-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "af-south-1" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.eu-west-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.eu-west-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "eu-west-2" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.eu-west-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.eu-west-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "eu-west-1" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ap-northeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "ap-northeast-2" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ap-northeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "ap-northeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ap-southeast-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "ap-southeast-1" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ap-southeast-2.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "ap-southeast-2" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.us-east-1.api.aws" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "us-east-1" + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://runtime-v2-lex.us-east-1.amazonaws.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "us-east-1" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "UseFIPS": true, + "UseDualStack": false, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "UseFIPS": false, + "UseDualStack": true, + "Region": "us-east-1", + "Endpoint": "https://example.com" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/models/apis/workdocs/2016-05-01/docs-2.json b/models/apis/workdocs/2016-05-01/docs-2.json index 817f2bb1da4..5a7d4112440 100644 --- a/models/apis/workdocs/2016-05-01/docs-2.json +++ b/models/apis/workdocs/2016-05-01/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

The WorkDocs API is designed for the following use cases:

All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed. They not only require the use of the AWS SDK, but also allow for the exclusive use of IAM users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the Amazon WorkDocs site, the IAM user gains full administrative visibility into the entire Amazon WorkDocs site (or as set in the IAM policy). This includes, but is not limited to, the ability to modify file permissions and upload any file to any user. This allows developers to perform the three use cases above, as well as give users the ability to grant access on a selective basis using the IAM model.

The pricing for Amazon WorkDocs APIs varies depending on the API call type for these actions:

For information about Amazon WorkDocs API pricing, see Amazon WorkDocs Pricing.

", + "service": "

The Amazon WorkDocs API is designed for the following use cases:

All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed. They not only require the use of the Amazon Web Services SDK, but also allow for the exclusive use of IAM users and roles to help facilitate access, trust, and permission policies. By creating a role and allowing an IAM user to access the Amazon WorkDocs site, the IAM user gains full administrative visibility into the entire Amazon WorkDocs site (or as set in the IAM policy). This includes, but is not limited to, the ability to modify file permissions and upload any file to any user. This allows developers to perform the three use cases above, as well as give users the ability to grant access on a selective basis using the IAM model.

The pricing for Amazon WorkDocs APIs varies depending on the API call type for these actions:

For information about Amazon WorkDocs API pricing, see Amazon WorkDocs Pricing.

", "operations": { "AbortDocumentVersionUpload": "

Aborts the upload of the specified document version that was previously initiated by InitiateDocumentVersionUpload. The client should make this call only when it no longer intends to upload the document version, or fails to do so.

", "ActivateUser": "

Activates the specified user. Only active users can access Amazon WorkDocs.

", @@ -15,12 +15,12 @@ "DeleteComment": "

Deletes the specified comment from the document version.

", "DeleteCustomMetadata": "

Deletes custom metadata from the specified resource.

", "DeleteDocument": "

Permanently deletes the specified document and its associated metadata.

", - "DeleteDocumentVersion": "

Deletes a version of an Amazon WorkDocs document. Use the DeletePriorVersions parameter to delete prior versions.

", + "DeleteDocumentVersion": "

Deletes a specific version of a document.

", "DeleteFolder": "

Permanently deletes the specified folder and its contents.

", "DeleteFolderContents": "

Deletes the contents of the specified folder.

", "DeleteLabels": "

Deletes the specified list of labels from a resource.

", "DeleteNotificationSubscription": "

Deletes the specified subscription from the specified organization.

", - "DeleteUser": "

Deletes the specified user from a Simple AD or Microsoft AD directory.

", + "DeleteUser": "

Deletes the specified user from a Simple AD or Microsoft AD directory.

Deleting a user immediately and permanently deletes all content in that user's folder structure. Site retention policies do NOT apply to this type of deletion.

", "DescribeActivities": "

Describes the user activities in a specified time period.

", "DescribeComments": "

List all the comments for the specified document version.

", "DescribeDocumentVersions": "

Retrieves the document versions for the specified document.

By default, only active versions are returned.

", @@ -93,52 +93,52 @@ "AuthenticationHeaderType": { "base": null, "refs": { - "AbortDocumentVersionUploadRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "ActivateUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "AddResourcePermissionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "CreateCommentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "CreateCustomMetadataRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "CreateFolderRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "CreateLabelsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "CreateUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DeactivateUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DeleteCommentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DeleteCustomMetadataRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DeleteDocumentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DeleteDocumentVersionRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DeleteFolderContentsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DeleteFolderRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DeleteLabelsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DeleteUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.

", - "DescribeActivitiesRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DescribeCommentsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DescribeDocumentVersionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DescribeFolderContentsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DescribeGroupsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "DescribeResourcePermissionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", + "AbortDocumentVersionUploadRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "ActivateUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "AddResourcePermissionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "CreateCommentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "CreateCustomMetadataRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "CreateFolderRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "CreateLabelsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "CreateUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DeactivateUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DeleteCommentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DeleteCustomMetadataRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DeleteDocumentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DeleteDocumentVersionRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DeleteFolderContentsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DeleteFolderRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DeleteLabelsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DeleteUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using Amazon Web Services credentials.

", + "DescribeActivitiesRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DescribeCommentsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DescribeDocumentVersionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DescribeFolderContentsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DescribeGroupsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "DescribeResourcePermissionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", "DescribeRootFoldersRequest$AuthenticationToken": "

Amazon WorkDocs authentication token.

", - "DescribeUsersRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", + "DescribeUsersRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", "GetCurrentUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token.

", - "GetDocumentPathRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "GetDocumentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "GetDocumentVersionRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "GetFolderPathRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "GetFolderRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "GetResourcesRequest$AuthenticationToken": "

The Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "InitiateDocumentVersionUploadRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "RemoveAllResourcePermissionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "RemoveResourcePermissionRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "RestoreDocumentVersionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "UpdateDocumentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "UpdateDocumentVersionRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "UpdateFolderRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

", - "UpdateUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

" + "GetDocumentPathRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "GetDocumentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "GetDocumentVersionRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "GetFolderPathRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "GetFolderRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "GetResourcesRequest$AuthenticationToken": "

The Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "InitiateDocumentVersionUploadRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "RemoveAllResourcePermissionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "RemoveResourcePermissionRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "RestoreDocumentVersionsRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "UpdateDocumentRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "UpdateDocumentVersionRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "UpdateFolderRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

", + "UpdateUserRequest$AuthenticationToken": "

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

" } }, "BooleanEnumType": { "base": null, "refs": { - "UpdateUserRequest$GrantPoweruserPrivileges": "

Boolean value to determine whether the user is granted Poweruser privileges.

" + "UpdateUserRequest$GrantPoweruserPrivileges": "

Boolean value to determine whether the user is granted Power user privileges.

" } }, "BooleanType": { @@ -147,13 +147,13 @@ "Activity$IsIndirectActivity": "

Indicates whether an activity is indirect or direct. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).

", "CreateCommentRequest$NotifyCollaborators": "

Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.

", "DeleteCustomMetadataRequest$DeleteAll": "

Flag to indicate removal of all custom metadata properties from the specified resource.

", - "DeleteDocumentVersionRequest$DeletePriorVersions": "

When set to TRUE, deletes the specified version and all prior versions of a document.

", + "DeleteDocumentVersionRequest$DeletePriorVersions": "

Deletes all versions of a document prior to the current version.

", "DeleteLabelsRequest$DeleteAll": "

Flag to request removal of all labels from the specified resource.

", "DescribeActivitiesRequest$IncludeIndirectActivities": "

Includes indirect activities. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).

", "GetDocumentRequest$IncludeCustomMetadata": "

Set this to TRUE to include custom metadata in the response.

", "GetDocumentVersionRequest$IncludeCustomMetadata": "

Set this to TRUE to include custom metadata in the response.

", "GetFolderRequest$IncludeCustomMetadata": "

Set to TRUE to include custom metadata in the response.

", - "NotificationOptions$SendEmail": "

Boolean value to indicate an email notification should be sent to the receipients.

" + "NotificationOptions$SendEmail": "

Boolean value to indicate an email notification should be sent to the recipients.

" } }, "Comment": { @@ -531,7 +531,7 @@ "CreateCustomMetadataRequest$VersionId": "

The ID of the version, if the custom metadata is being added to a document version.

", "DeleteCommentRequest$VersionId": "

The ID of the document version.

", "DeleteCustomMetadataRequest$VersionId": "

The ID of the version, if the custom metadata is being deleted from a document version.

", - "DeleteDocumentVersionRequest$VersionId": "

The version ID of a document.

", + "DeleteDocumentVersionRequest$VersionId": "

The ID of the version being deleted.

", "DescribeCommentsRequest$VersionId": "

The ID of the document version.

", "DocumentVersionMetadata$Id": "

The ID of the version.

", "GetDocumentVersionRequest$VersionId": "

The version ID of the document.

", @@ -617,7 +617,7 @@ } }, "FailedDependencyException": { - "base": "

The AWS Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.

", + "base": "

The Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.

", "refs": { } }, @@ -1022,7 +1022,7 @@ "DeleteCommentRequest$DocumentId": "

The ID of the document.

", "DeleteCustomMetadataRequest$ResourceId": "

The ID of the resource, either a document or folder.

", "DeleteDocumentRequest$DocumentId": "

The ID of the document.

", - "DeleteDocumentVersionRequest$DocumentId": "

The ID of a document.

", + "DeleteDocumentVersionRequest$DocumentId": "

The ID of the document associated with the version being deleted.

", "DeleteFolderContentsRequest$FolderId": "

The ID of the folder.

", "DeleteFolderRequest$FolderId": "

The ID of the folder.

", "DeleteLabelsRequest$ResourceId": "

The ID of the resource.

", diff --git a/models/apis/workdocs/2016-05-01/endpoint-rule-set-1.json b/models/apis/workdocs/2016-05-01/endpoint-rule-set-1.json index 57940dd1f2e..263bf0d6bea 100644 --- a/models/apis/workdocs/2016-05-01/endpoint-rule-set-1.json +++ b/models/apis/workdocs/2016-05-01/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -174,12 +165,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://workdocs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://workdocs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -284,12 +281,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://workdocs.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://workdocs.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -302,12 +305,18 @@ }, { "conditions": [], - "endpoint": { - "url": "https://workdocs.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://workdocs.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } diff --git a/models/apis/workdocs/2016-05-01/endpoint-tests-1.json b/models/apis/workdocs/2016-05-01/endpoint-tests-1.json index dcb425e8cad..a71de562366 100644 --- a/models/apis/workdocs/2016-05-01/endpoint-tests-1.json +++ b/models/apis/workdocs/2016-05-01/endpoint-tests-1.json @@ -1,315 +1,289 @@ { "testCases": [ { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workdocs-fips.us-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.us-west-2.amazonaws.com" + "url": "https://workdocs.ap-northeast-1.amazonaws.com" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-2" + "Region": "ap-northeast-1" } }, { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs.us-west-2.api.aws" + "url": "https://workdocs.ap-southeast-1.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workdocs.us-west-2.amazonaws.com" - } - }, - "params": { "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-2" + "Region": "ap-southeast-1" } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.eu-west-1.api.aws" + "url": "https://workdocs.ap-southeast-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" + "UseFIPS": false, + "UseDualStack": false, + "Region": "ap-southeast-2" } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.eu-west-1.amazonaws.com" + "url": "https://workdocs.eu-west-1.amazonaws.com" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, "Region": "eu-west-1" } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs.eu-west-1.api.aws" + "url": "https://workdocs.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "eu-west-1" + "UseDualStack": false, + "Region": "us-east-1" } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs.eu-west-1.amazonaws.com" + "url": "https://workdocs-fips.us-east-1.amazonaws.com" } }, "params": { + "UseFIPS": true, "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" + "Region": "us-east-1" } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.ap-northeast-1.api.aws" + "url": "https://workdocs.us-west-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-1" + "UseFIPS": false, + "UseDualStack": false, + "Region": "us-west-2" } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.ap-northeast-1.amazonaws.com" + "url": "https://workdocs-fips.us-west-2.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "ap-northeast-1" + "UseDualStack": false, + "Region": "us-west-2" } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workdocs.ap-northeast-1.api.aws" + "url": "https://workdocs-fips.us-east-1.api.aws" } }, "params": { + "UseFIPS": true, "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-1" + "Region": "us-east-1" } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workdocs.ap-northeast-1.amazonaws.com" + "url": "https://workdocs.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ap-northeast-1" + "UseDualStack": true, + "Region": "us-east-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.ap-southeast-1.api.aws" + "url": "https://workdocs-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-1" + "UseDualStack": true, + "Region": "cn-north-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.ap-southeast-1.amazonaws.com" + "url": "https://workdocs-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-1" + "UseDualStack": false, + "Region": "cn-north-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workdocs.ap-southeast-1.api.aws" + "url": "https://workdocs.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": true, + "Region": "cn-north-1" } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs.ap-southeast-1.amazonaws.com" + "url": "https://workdocs.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": false, + "Region": "cn-north-1" } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.ap-southeast-2.api.aws" + "url": "https://workdocs-fips.us-gov-east-1.api.aws" } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "ap-southeast-2" + "UseDualStack": true, + "Region": "us-gov-east-1" } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.ap-southeast-2.amazonaws.com" + "url": "https://workdocs-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": true, - "Region": "ap-southeast-2" + "UseDualStack": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workdocs.ap-southeast-2.api.aws" + "url": "https://workdocs.us-gov-east-1.api.aws" } }, "params": { - "UseDualStack": true, "UseFIPS": false, - "Region": "ap-southeast-2" + "UseDualStack": true, + "Region": "us-gov-east-1" } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs.ap-southeast-2.amazonaws.com" + "url": "https://workdocs.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "ap-southeast-2" + "UseDualStack": false, + "Region": "us-gov-east-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.us-east-1.api.aws" + "url": "https://workdocs-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": true, "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": false, + "Region": "us-iso-east-1" } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs-fips.us-east-1.amazonaws.com" + "url": "https://workdocs.us-iso-east-1.c2s.ic.gov" } }, "params": { + "UseFIPS": false, "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "us-iso-east-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs.us-east-1.api.aws" + "url": "https://workdocs-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": true, + "UseDualStack": false, + "Region": "us-isob-east-1" } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workdocs.us-east-1.amazonaws.com" + "url": "https://workdocs.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false, + "Region": "us-isob-east-1" } }, { @@ -320,8 +294,8 @@ } }, "params": { - "UseDualStack": false, "UseFIPS": false, + "UseDualStack": false, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -332,8 +306,8 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "UseFIPS": true, + "UseDualStack": false, "Region": "us-east-1", "Endpoint": "https://example.com" } @@ -344,8 +318,8 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "UseFIPS": false, + "UseDualStack": true, "Region": "us-east-1", "Endpoint": "https://example.com" } diff --git a/models/apis/workspaces/2015-04-08/docs-2.json b/models/apis/workspaces/2015-04-08/docs-2.json index 404ce8e4179..13cb82d8269 100644 --- a/models/apis/workspaces/2015-04-08/docs-2.json +++ b/models/apis/workspaces/2015-04-08/docs-2.json @@ -9,9 +9,9 @@ "CreateConnectClientAddIn": "

Creates a client-add-in for Amazon Connect within a directory. You can create only one Amazon Connect client add-in within a directory.

This client add-in allows WorkSpaces users to seamlessly connect to Amazon Connect.

", "CreateConnectionAlias": "

Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

", "CreateIpGroup": "

Creates an IP access control group.

An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules.

There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.

", - "CreateStandbyWorkspaces": "

Creates a Standby WorkSpace in a secondary region.

", + "CreateStandbyWorkspaces": "

Creates a standby WorkSpace in a secondary Region.

", "CreateTags": "

Creates the specified tags for the specified WorkSpaces resource.

", - "CreateUpdatedWorkspaceImage": "

Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.

To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.

", + "CreateUpdatedWorkspaceImage": "

Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.

To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.

", "CreateWorkspaceBundle": "

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.

", "CreateWorkspaceImage": "

Creates a new WorkSpace image from an existing WorkSpace.

", "CreateWorkspaces": "

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

The MANUAL running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.

", @@ -42,7 +42,7 @@ "DisassociateConnectionAlias": "

Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

", "DisassociateIpGroups": "

Disassociates the specified IP access control group from the specified directory.

", "ImportClientBranding": "

Imports client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

After you import client branding, the default branding experience for the specified platform type is replaced with the imported experience

", - "ImportWorkspaceImage": "

Imports the specified Windows 10 Bring Your Own License (BYOL) or Windows Server 2016 BYOL image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.

", + "ImportWorkspaceImage": "

Imports the specified Windows 10 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.

", "ListAvailableManagementCidrRanges": "

Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).

This operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account isn't enabled for BYOL, you'll receive an AccessDeniedException error.

The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.

", "MigrateWorkspace": "

Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.

The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume from the last available snapshot of the original WorkSpace. During migration, the original D:\\Users\\%USERNAME% user profile folder is renamed to D:\\Users\\%USERNAME%MMddyyTHHmmss%.NotMigrated. A new D:\\Users\\%USERNAME%\\ folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.

For available migration scenarios, details about what happens during migration, and best practices, see Migrate a WorkSpace.

", "ModifyAccount": "

Modifies the configuration of Bring Your Own License (BYOL) for the specified account.

", @@ -905,7 +905,7 @@ "base": null, "refs": { "AccountModification$ErrorMessage": "

The text of the error message that is returned if the configuration of BYOL cannot be modified.

", - "FailedCreateStandbyWorkspacesRequest$ErrorMessage": "

The text of the error message that is returned if the Standby WorkSpace could not be created.

", + "FailedCreateStandbyWorkspacesRequest$ErrorMessage": "

The text of the error message that is returned if the standby WorkSpace could not be created.

", "FailedCreateWorkspaceRequest$ErrorMessage": "

The text of the error message that is returned if the WorkSpace cannot be created.

", "FailedWorkspaceChangeRequest$ErrorMessage": "

The text of the error message that is returned if the WorkSpace cannot be rebooted.

", "Workspace$ErrorMessage": "

The text of the error message that is returned if the WorkSpace cannot be created.

", @@ -933,9 +933,9 @@ "ModifySelfservicePermissionsRequest$ResourceId": "

The identifier of the directory.

", "ModifyWorkspaceAccessPropertiesRequest$ResourceId": "

The identifier of the directory.

", "ModifyWorkspaceCreationPropertiesRequest$ResourceId": "

The identifier of the directory.

", - "PendingCreateStandbyWorkspacesRequest$DirectoryId": "

The identifier of the directory for the Standby WorkSpace.

", + "PendingCreateStandbyWorkspacesRequest$DirectoryId": "

The identifier of the directory for the standby WorkSpace.

", "RegisterWorkspaceDirectoryRequest$DirectoryId": "

The identifier of the directory. You cannot register a directory if it does not have a status of Active. If the directory does not have a status of Active, you will receive an InvalidResourceStateException error. If you have already registered the maximum number of directories that you can register with Amazon WorkSpaces, you will receive a ResourceLimitExceededException error. Deregister directories that you are not using for WorkSpaces, and try again.

", - "StandbyWorkspace$DirectoryId": "

The identifier of the directory for the Standby WorkSpace.

", + "StandbyWorkspace$DirectoryId": "

The identifier of the directory for the standby WorkSpace.

", "UpdateConnectClientAddInRequest$ResourceId": "

The directory identifier for which the client add-in is configured.

", "Workspace$DirectoryId": "

The identifier of the Directory Service directory for the WorkSpace.

", "WorkspaceDirectory$DirectoryId": "

The directory identifier.

", @@ -1025,7 +1025,7 @@ } }, "FailedCreateStandbyWorkspacesRequest": { - "base": "

Describes the Standby WorkSpace that could not be created.

", + "base": "

Describes the standby WorkSpace that could not be created.

", "refs": { "FailedCreateStandbyWorkspacesRequestList$member": null } @@ -1033,7 +1033,7 @@ "FailedCreateStandbyWorkspacesRequestList": { "base": null, "refs": { - "CreateStandbyWorkspacesResult$FailedStandbyRequests": "

Information about the Standby WorkSpace that could not be created.

" + "CreateStandbyWorkspacesResult$FailedStandbyRequests": "

Information about the standby WorkSpace that could not be created.

" } }, "FailedCreateWorkspaceRequest": { @@ -1491,7 +1491,7 @@ } }, "PendingCreateStandbyWorkspacesRequest": { - "base": "

Information about the Standby WorkSpace.

", + "base": "

Information about the standby WorkSpace.

", "refs": { "PendingCreateStandbyWorkspacesRequestList$member": null } @@ -1499,7 +1499,7 @@ "PendingCreateStandbyWorkspacesRequestList": { "base": null, "refs": { - "CreateStandbyWorkspacesResult$PendingStandbyRequests": "

Information about the Standby WorkSpace that was created.

" + "CreateStandbyWorkspacesResult$PendingStandbyRequests": "

Information about the standby WorkSpace that was created.

" } }, "Protocol": { @@ -1594,7 +1594,7 @@ } }, "RelatedWorkspaceProperties": { - "base": "

Describes the related WorkSpace. The related WorkSpace could be a Standby WorkSpace or Primary WorkSpace related to the specified WorkSpace.

", + "base": "

Describes the related WorkSpace. The related WorkSpace could be a standby WorkSpace or primary WorkSpace related to the specified WorkSpace.

", "refs": { "RelatedWorkspaces$member": null } @@ -1602,7 +1602,7 @@ "RelatedWorkspaces": { "base": null, "refs": { - "Workspace$RelatedWorkspaces": "

The Standby WorkSpace or Primary WorkSpace related to the specified WorkSpace.

" + "Workspace$RelatedWorkspaces": "

The standby WorkSpace or primary WorkSpace related to the specified WorkSpace.

" } }, "ResourceAlreadyExistsException": { @@ -1734,9 +1734,9 @@ } }, "StandbyWorkspace": { - "base": "

Describes a Standby WorkSpace.

", + "base": "

Describes a standby WorkSpace.

", "refs": { - "FailedCreateStandbyWorkspacesRequest$StandbyWorkspaceRequest": "

Information about the Standby WorkSpace that could not be created.

", + "FailedCreateStandbyWorkspacesRequest$StandbyWorkspaceRequest": "

Information about the standby WorkSpace that could not be created.

", "StandbyWorkspacesList$member": null } }, @@ -1749,7 +1749,7 @@ "StandbyWorkspacesList": { "base": null, "refs": { - "CreateStandbyWorkspacesRequest$StandbyWorkspaces": "

Information about the Standby WorkSpace to be created.

" + "CreateStandbyWorkspacesRequest$StandbyWorkspaces": "

Information about the standby WorkSpace to be created.

" } }, "StartRequest": { @@ -1841,7 +1841,7 @@ "DescribeTagsResult$TagList": "

The tags.

", "ImportWorkspaceImageRequest$Tags": "

The tags. Each WorkSpaces resource can have a maximum of 50 tags.

", "RegisterWorkspaceDirectoryRequest$Tags": "

The tags associated with the directory.

", - "StandbyWorkspace$Tags": "

The tags associated with the Standby WorkSpace.

", + "StandbyWorkspace$Tags": "

The tags associated with the standby WorkSpace.

", "WorkspaceRequest$Tags": "

The tags for the WorkSpace.

" } }, @@ -1975,7 +1975,7 @@ "base": null, "refs": { "DescribeWorkspacesRequest$UserName": "

The name of the directory user. You must specify this parameter with DirectoryId.

", - "PendingCreateStandbyWorkspacesRequest$UserName": "

Describes the Standby WorkSpace that was created.

Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.

", + "PendingCreateStandbyWorkspacesRequest$UserName": "

Describes the standby WorkSpace that was created.

Because this operation is asynchronous, the identifier returned is not immediately available for use with other operations. For example, if you call DescribeWorkspaces before the WorkSpace is created, the information returned can be incomplete.

", "Workspace$UserName": "

The user for the WorkSpace.

", "WorkspaceDirectory$CustomerUserName": "

The user name for the service account.

", "WorkspaceRequest$UserName": "

The user name of the user for the WorkSpace. This user name must exist in the Directory Service directory for the WorkSpace.

" @@ -1997,7 +1997,7 @@ "VolumeEncryptionKey": { "base": null, "refs": { - "StandbyWorkspace$VolumeEncryptionKey": "

The volume encryption key of the Standby WorkSpace.

", + "StandbyWorkspace$VolumeEncryptionKey": "

The volume encryption key of the standby WorkSpace.

", "Workspace$VolumeEncryptionKey": "

The symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.

", "WorkspaceRequest$VolumeEncryptionKey": "

The symmetric KMS key used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric KMS keys.

" } @@ -2080,7 +2080,7 @@ "base": null, "refs": { "AccountModification$ErrorCode": "

The error code that is returned if the configuration of BYOL cannot be modified.

", - "FailedCreateStandbyWorkspacesRequest$ErrorCode": "

The error code that is returned if the Standby WorkSpace could not be created.

", + "FailedCreateStandbyWorkspacesRequest$ErrorCode": "

The error code that is returned if the standby WorkSpace could not be created.

", "Workspace$ErrorCode": "

The error code that is returned if the WorkSpace cannot be created.

" } }, @@ -2095,12 +2095,12 @@ "MigrateWorkspaceResult$TargetWorkspaceId": "

The new identifier of the WorkSpace that is being migrated. If the migration does not succeed, the target WorkSpace ID will not be used, and the WorkSpace will still have the original WorkSpace ID.

", "ModifyWorkspacePropertiesRequest$WorkspaceId": "

The identifier of the WorkSpace.

", "ModifyWorkspaceStateRequest$WorkspaceId": "

The identifier of the WorkSpace.

", - "PendingCreateStandbyWorkspacesRequest$WorkspaceId": "

The identifier of the Standby WorkSpace.

", + "PendingCreateStandbyWorkspacesRequest$WorkspaceId": "

The identifier of the standby WorkSpace.

", "RebootRequest$WorkspaceId": "

The identifier of the WorkSpace.

", "RebuildRequest$WorkspaceId": "

The identifier of the WorkSpace.

", "RelatedWorkspaceProperties$WorkspaceId": "

The identifier of the related WorkSpace.

", "RestoreWorkspaceRequest$WorkspaceId": "

The identifier of the WorkSpace.

", - "StandbyWorkspace$PrimaryWorkspaceId": "

The identifier of the Standby WorkSpace.

", + "StandbyWorkspace$PrimaryWorkspaceId": "

The identifier of the standby WorkSpace.

", "StartRequest$WorkspaceId": "

The identifier of the WorkSpace.

", "StopRequest$WorkspaceId": "

The identifier of the WorkSpace.

", "TerminateRequest$WorkspaceId": "

The identifier of the WorkSpace.

", @@ -2233,7 +2233,7 @@ "WorkspaceState": { "base": null, "refs": { - "PendingCreateStandbyWorkspacesRequest$State": "

The operational state of the Standby WorkSpace.

", + "PendingCreateStandbyWorkspacesRequest$State": "

The operational state of the standby WorkSpace.

", "RelatedWorkspaceProperties$State": "

Indicates the state of the WorkSpace.

", "Workspace$State": "

The operational state of the WorkSpace.

After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.

" } diff --git a/models/apis/workspaces/2015-04-08/endpoint-rule-set-1.json b/models/apis/workspaces/2015-04-08/endpoint-rule-set-1.json index bfe2cb8c061..6d7117c9c60 100644 --- a/models/apis/workspaces/2015-04-08/endpoint-rule-set-1.json +++ b/models/apis/workspaces/2015-04-08/endpoint-rule-set-1.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": false, + "required": true, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -52,15 +52,6 @@ "ref": "Endpoint" } ] - }, - { - "fn": "parseURL", - "argv": [ - { - "ref": "Endpoint" - } - ], - "assign": "url" } ], "type": "tree", @@ -174,12 +165,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://workspaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://workspaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -284,12 +281,18 @@ "rules": [ { "conditions": [], - "endpoint": { - "url": "https://workspaces.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://workspaces.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] }, @@ -302,12 +305,18 @@ }, { "conditions": [], - "endpoint": { - "url": "https://workspaces.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://workspaces.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] } ] } diff --git a/models/apis/workspaces/2015-04-08/endpoint-tests-1.json b/models/apis/workspaces/2015-04-08/endpoint-tests-1.json index bef7be04d62..4662a32f986 100644 --- a/models/apis/workspaces/2015-04-08/endpoint-tests-1.json +++ b/models/apis/workspaces/2015-04-08/endpoint-tests-1.json @@ -1,42 +1,29 @@ { "testCases": [ { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.ap-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region ap-south-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.ap-south-1.amazonaws.com" + "url": "https://workspaces.ap-northeast-1.amazonaws.com" } }, "params": { + "Region": "ap-northeast-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-south-1" + "UseFIPS": false } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces.ap-south-1.api.aws" + "url": "https://workspaces.ap-northeast-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-south-1" + "Region": "ap-northeast-2", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -47,48 +34,35 @@ } }, "params": { + "Region": "ap-south-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-south-1" - } - }, - { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.ca-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ca-central-1" + "UseFIPS": false } }, { - "documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.ca-central-1.amazonaws.com" + "url": "https://workspaces.ap-southeast-1.amazonaws.com" } }, "params": { + "Region": "ap-southeast-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "ca-central-1" + "UseFIPS": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces.ca-central-1.api.aws" + "url": "https://workspaces.ap-southeast-2.amazonaws.com" } }, "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "ap-southeast-2", + "UseDualStack": false, + "UseFIPS": false } }, { @@ -99,48 +73,9 @@ } }, "params": { + "Region": "ca-central-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.eu-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.eu-central-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.eu-central-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-central-1" + "UseFIPS": false } }, { @@ -151,200 +86,22 @@ } }, "params": { + "Region": "eu-central-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-central-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-iso-west-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.us-iso-west-1.c2s.ic.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-west-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-iso-west-1" - } - }, - { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces.us-iso-west-1.c2s.ic.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-west-1" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.us-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.us-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.us-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces.us-west-2.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-west-2" - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.af-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.af-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.af-south-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "af-south-1" - } - }, - { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces.af-south-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "af-south-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.eu-west-2.amazonaws.com" + "url": "https://workspaces.eu-west-1.amazonaws.com" } }, "params": { + "Region": "eu-west-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.eu-west-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-2" + "UseFIPS": false } }, { @@ -355,256 +112,165 @@ } }, "params": { + "Region": "eu-west-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-2" - } - }, - { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "eu-west-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.eu-west-1.amazonaws.com" + "url": "https://workspaces.sa-east-1.amazonaws.com" } }, "params": { + "Region": "sa-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "eu-west-1" - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.eu-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "eu-west-1" + "UseFIPS": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces.eu-west-1.amazonaws.com" + "url": "https://workspaces.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "eu-west-1" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.ap-northeast-2.amazonaws.com" + "url": "https://workspaces-fips.us-east-1.amazonaws.com" } }, "params": { + "Region": "us-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.ap-northeast-2.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-2" + "UseFIPS": true } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces.ap-northeast-2.amazonaws.com" + "url": "https://workspaces.us-west-2.amazonaws.com" } }, "params": { + "Region": "us-west-2", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-2" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.ap-northeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-northeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.ap-northeast-1.amazonaws.com" + "url": "https://workspaces-fips.us-west-2.amazonaws.com" } }, "params": { + "Region": "us-west-2", "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-northeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workspaces.ap-northeast-1.api.aws" + "url": "https://workspaces-fips.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-northeast-1" - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-northeast-1" + "UseFIPS": true } }, { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.sa-east-1.api.aws" + "url": "https://workspaces.us-east-1.api.aws" } }, "params": { + "Region": "us-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "sa-east-1" + "UseFIPS": false } }, { - "documentation": "For region sa-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.sa-east-1.amazonaws.com" + "url": "https://workspaces.cn-northwest-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-northwest-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "sa-east-1" + "UseFIPS": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workspaces.sa-east-1.api.aws" + "url": "https://workspaces-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "sa-east-1" + "UseFIPS": true } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces.sa-east-1.amazonaws.com" + "url": "https://workspaces-fips.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "sa-east-1" + "UseFIPS": true } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.us-gov-west-1.api.aws" + "url": "https://workspaces.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "us-gov-west-1" + "UseFIPS": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.us-gov-west-1.amazonaws.com" + "url": "https://workspaces.cn-north-1.amazonaws.com.cn" } }, "params": { + "Region": "cn-north-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.us-gov-west-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-gov-west-1" + "UseFIPS": false } }, { @@ -615,148 +281,74 @@ } }, "params": { + "Region": "us-gov-west-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-gov-west-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-1" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.ap-southeast-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-1" - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces.ap-southeast-1.amazonaws.com" + "url": "https://workspaces-fips.us-gov-west-1.amazonaws.com" } }, "params": { + "Region": "us-gov-west-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-1" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.ap-southeast-2.api.aws" + "url": "https://workspaces-fips.us-gov-east-1.api.aws" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": true, - "Region": "ap-southeast-2" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.ap-southeast-2.amazonaws.com" + "url": "https://workspaces-fips.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "ap-southeast-2" + "UseFIPS": true } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://workspaces.ap-southeast-2.api.aws" + "url": "https://workspaces.us-gov-east-1.api.aws" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": true, - "UseFIPS": false, - "Region": "ap-southeast-2" + "UseFIPS": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces.ap-southeast-2.amazonaws.com" + "url": "https://workspaces.us-gov-east-1.amazonaws.com" } }, "params": { + "Region": "us-gov-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-iso-east-1" + "UseFIPS": false } }, { @@ -767,124 +359,35 @@ } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "us-iso-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.us-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.us-east-1.api.aws" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-east-1" - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces.us-east-1.amazonaws.com" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-east-1" + "UseFIPS": false } }, { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces-fips.cn-northwest-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "cn-northwest-1" - } - }, - { - "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces-fips.cn-northwest-1.amazonaws.com.cn" + "url": "https://workspaces-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { + "Region": "us-iso-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "cn-northwest-1" - } - }, - { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://workspaces.cn-northwest-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "cn-northwest-1" + "UseFIPS": true } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://workspaces.cn-northwest-1.amazonaws.com.cn" + "url": "https://workspaces.us-isob-east-1.sc2s.sgov.gov" } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": false, - "Region": "cn-northwest-1" - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "UseDualStack": true, - "UseFIPS": true, - "Region": "us-isob-east-1" + "UseFIPS": false } }, { @@ -895,33 +398,9 @@ } }, "params": { + "Region": "us-isob-east-1", "UseDualStack": false, - "UseFIPS": true, - "Region": "us-isob-east-1" - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "UseDualStack": true, - "UseFIPS": false, - "Region": "us-isob-east-1" - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://workspaces.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "us-isob-east-1" + "UseFIPS": true } }, { @@ -932,9 +411,9 @@ } }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -944,9 +423,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": false, "UseFIPS": true, - "Region": "us-east-1", "Endpoint": "https://example.com" } }, @@ -956,9 +435,9 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { + "Region": "us-east-1", "UseDualStack": true, "UseFIPS": false, - "Region": "us-east-1", "Endpoint": "https://example.com" } } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 54dc244fc69..3ad6571b7fd 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -7288,6 +7288,7 @@ "eu-central-2" : { }, "eu-north-1" : { }, "eu-south-1" : { }, + "eu-south-2" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, diff --git a/service/chimesdkmeetings/api.go b/service/chimesdkmeetings/api.go index 050fd15d450..200ddbd3a78 100644 --- a/service/chimesdkmeetings/api.go +++ b/service/chimesdkmeetings/api.go @@ -1227,7 +1227,14 @@ func (c *ChimeSDKMeetings) StartMeetingTranscriptionRequest(input *StartMeetingT // StartMeetingTranscription API operation for Amazon Chime SDK Meetings. // -// Starts transcription for the specified meetingId. +// Starts transcription for the specified meetingId. For more information, refer +// to Using Amazon Chime SDK live transcription (https://docs.aws.amazon.com/chime-sdk/latest/dg/meeting-transcription.html) +// in the Amazon Chime SDK Developer Guide. +// +// Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use +// of Amazon Transcribe is subject to the AWS Service Terms (https://aws.amazon.com/service-terms/), +// including the terms specific to the AWS Machine Learning and Artificial Intelligence +// Services. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1332,7 +1339,14 @@ func (c *ChimeSDKMeetings) StopMeetingTranscriptionRequest(input *StopMeetingTra // StopMeetingTranscription API operation for Amazon Chime SDK Meetings. // -// Stops transcription for the specified meetingId. +// Stops transcription for the specified meetingId. For more information, refer +// to Using Amazon Chime SDK live transcription (https://docs.aws.amazon.com/chime-sdk/latest/dg/meeting-transcription.html) +// in the Amazon Chime SDK Developer Guide. +// +// Amazon Chime SDK live transcription is powered by Amazon Transcribe. Use +// of Amazon Transcribe is subject to the AWS Service Terms (https://aws.amazon.com/service-terms/), +// including the terms specific to the AWS Machine Learning and Artificial Intelligence +// Services. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1738,6 +1752,11 @@ type Attendee struct { // The Amazon Chime SDK external user ID. An idempotency token. Links the attendee // to an identity managed by a builder application. // + // Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* + // + // Values that begin with aws: are reserved. You can't configure a value that + // uses this prefix. Case insensitive. + // // ExternalUserId is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Attendee's // String and GoString methods. @@ -2356,6 +2375,11 @@ type CreateAttendeeError struct { // The Amazon Chime SDK external user ID. An idempotency token. Links the attendee // to an identity managed by a builder application. // + // Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* + // + // Values that begin with aws: are reserved. You can't configure a value that + // uses this prefix. Case insensitive. + // // ExternalUserId is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateAttendeeError's // String and GoString methods. @@ -2430,6 +2454,11 @@ type CreateAttendeeInput struct { // The Amazon Chime SDK external user ID. An idempotency token. Links the attendee // to an identity managed by a builder application. // + // Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* + // + // Values that begin with aws: are reserved. You can't configure a value that + // uses this prefix. + // // ExternalUserId is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateAttendeeInput's // String and GoString methods. @@ -2548,6 +2577,11 @@ type CreateAttendeeRequestItem struct { // The Amazon Chime SDK external user ID. An idempotency token. Links the attendee // to an identity managed by a builder application. // + // Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* + // + // Values that begin with aws: are reserved. You can't configure a value that + // uses this prefix. Case insensitive. + // // ExternalUserId is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateAttendeeRequestItem's // String and GoString methods. @@ -2620,6 +2654,11 @@ type CreateMeetingInput struct { // The external meeting ID. // + // Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* + // + // Values that begin with aws: are reserved. You can't configure a value that + // uses this prefix. Case insensitive. + // // ExternalMeetingId is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateMeetingInput's // String and GoString methods. @@ -2874,6 +2913,11 @@ type CreateMeetingWithAttendeesInput struct { // The external meeting ID. // + // Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* + // + // Values that begin with aws: are reserved. You can't configure a value that + // uses this prefix. Case insensitive. + // // ExternalMeetingId is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateMeetingWithAttendeesInput's // String and GoString methods. @@ -4169,6 +4213,11 @@ type Meeting struct { // The external meeting ID. // + // Pattern: [-_&@+=,(){}\[\]\/«».:|'"#a-zA-Z0-9À-ÿ\s]* + // + // Values that begin with aws: are reserved. You can't configure a value that + // uses this prefix. Case insensitive. + // // ExternalMeetingId is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Meeting's // String and GoString methods. @@ -4188,7 +4237,7 @@ type Meeting struct { // The ARN of the meeting. MeetingArn *string `min:"1" type:"string"` - // The features available to a meeting, such as Amazon Voice Focus. + // The features available to a meeting, such as echo reduction. MeetingFeatures *MeetingFeaturesConfiguration `type:"structure"` // Reserved. @@ -4280,7 +4329,7 @@ func (s *Meeting) SetTenantIds(v []*string) *Meeting { return s } -// The configuration settings of the features available to a meeting.> +// The configuration settings of the features available to a meeting. type MeetingFeaturesConfiguration struct { _ struct{} `type:"structure"` diff --git a/service/cloudwatchevidently/api.go b/service/cloudwatchevidently/api.go index 230136d0fff..18a4b8e9057 100644 --- a/service/cloudwatchevidently/api.go +++ b/service/cloudwatchevidently/api.go @@ -572,11 +572,13 @@ func (c *CloudWatchEvidently) CreateSegmentRequest(input *CreateSegmentInput) (r // launch allows you to define different traffic splits for the different audience // segments. // -//

For more information about segment pattern syntax, see -// Segment rule pattern syntax.

The pattern that you define for -// a segment is matched against the value of evaluationContext, -// which is passed into Evidently in the EvaluateFeature -// operation, when Evidently assigns a feature variation to a user.

+// For more information about segment pattern syntax, see Segment rule pattern +// syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html). +// +// The pattern that you define for a segment is matched against the value of +// evaluationContext, which is passed into Evidently in the EvaluateFeature +// (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html) +// operation, when Evidently assigns a feature variation to a user. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1145,26 +1147,32 @@ func (c *CloudWatchEvidently) EvaluateFeatureRequest(input *EvaluateFeatureInput // entityID matches an override rule, the user is served the variation specified // by that rule. // -//

If there is a current launch with this feature that uses segment overrides, -// and if the user session's evaluationContext matches a segment -// rule defined in a segment override, the configuration in the segment overrides -// is used. For more information about segments, see CreateSegment -// and Use -// segments to focus your audience.

If there is a launch with -// no segment overrides, the user might be assigned to a variation in the -// launch. The chance of this depends on the percentage of users that are -// allocated to that launch. If the user is enrolled in the launch, the variation -// they are served depends on the allocation of the various feature variations -// used for the launch.

If the user is not assigned to a launch, and -// there is an ongoing experiment for this feature, the user might be assigned -// to a variation in the experiment. The chance of this depends on the percentage -// of users that are allocated to that experiment.

If the experiment -// uses a segment, then only user sessions with evaluationContext -// values that match the segment rule are used in the experiment.

If -// the user is enrolled in the experiment, the variation they are served -// depends on the allocation of the various feature variations used for the -// experiment.

If the user is not assigned to a launch or experiment, -// they are served the default variation.

+// If there is a current launch with this feature that uses segment overrides, +// and if the user session's evaluationContext matches a segment rule defined +// in a segment override, the configuration in the segment overrides is used. +// For more information about segments, see CreateSegment (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html) +// and Use segments to focus your audience (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html). +// +// If there is a launch with no segment overrides, the user might be assigned +// to a variation in the launch. The chance of this depends on the percentage +// of users that are allocated to that launch. If the user is enrolled in the +// launch, the variation they are served depends on the allocation of the various +// feature variations used for the launch. +// +// If the user is not assigned to a launch, and there is an ongoing experiment +// for this feature, the user might be assigned to a variation in the experiment. +// The chance of this depends on the percentage of users that are allocated +// to that experiment. +// +// If the experiment uses a segment, then only user sessions with evaluationContext +// values that match the segment rule are used in the experiment. +// +// If the user is enrolled in the experiment, the variation they are served +// depends on the allocation of the various feature variations used for the +// experiment. +// +// If the user is not assigned to a launch or experiment, they are served the +// default variation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4299,9 +4307,9 @@ type CreateExperimentInput struct { // Tags don't have any semantic meaning to Amazon Web Services and are interpreted // strictly as strings of characters. // - //

You can associate as many as 50 tags with an experiment.

For - // more information, see Tagging - // Amazon Web Services resources.

+ // You can associate as many as 50 tags with an experiment. + // + // For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). Tags map[string]*string `locationName:"tags" type:"map"` // An array of structures that describe the configuration of each feature variation @@ -4525,9 +4533,9 @@ type CreateFeatureInput struct { // Tags don't have any semantic meaning to Amazon Web Services and are interpreted // strictly as strings of characters. // - //

You can associate as many as 50 tags with a feature.

For more - // information, see Tagging - // Amazon Web Services resources.

+ // You can associate as many as 50 tags with a feature. + // + // For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). Tags map[string]*string `locationName:"tags" type:"map"` // An array of structures that contain the configuration of the feature's different @@ -4720,9 +4728,9 @@ type CreateLaunchInput struct { // Tags don't have any semantic meaning to Amazon Web Services and are interpreted // strictly as strings of characters. // - //

You can associate as many as 50 tags with a launch.

For more - // information, see Tagging - // Amazon Web Services resources.

+ // You can associate as many as 50 tags with a launch. + // + // For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). Tags map[string]*string `locationName:"tags" type:"map"` } @@ -4918,9 +4926,9 @@ type CreateProjectInput struct { // Tags don't have any semantic meaning to Amazon Web Services and are interpreted // strictly as strings of characters. // - //

You can associate as many as 50 tags with a project.

For more - // information, see Tagging - // Amazon Web Services resources.

+ // You can associate as many as 50 tags with a project. + // + // For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). Tags map[string]*string `locationName:"tags" type:"map"` } @@ -5052,9 +5060,9 @@ type CreateSegmentInput struct { // Tags don't have any semantic meaning to Amazon Web Services and are interpreted // strictly as strings of characters. // - //

You can associate as many as 50 tags with a segment.

For more - // information, see Tagging - // Amazon Web Services resources.

+ // You can associate as many as 50 tags with a segment. + // + // For more information, see Tagging Amazon Web Services resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html). Tags map[string]*string `locationName:"tags" type:"map"` } @@ -5576,8 +5584,8 @@ type EvaluateFeatureInput struct { // this value to match user sessions with defined audience segments. For more // information, see Use segments to focus your audience (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html). // - //

If you include this parameter, the value must be a JSON object. A JSON - // array is not supported.

+ // If you include this parameter, the value must be a JSON object. A JSON array + // is not supported. EvaluationContext *string `locationName:"evaluationContext" type:"string"` // The name of the feature being evaluated. @@ -10186,12 +10194,13 @@ type ScheduledSplitConfig struct { // names. The values represent the percentage of traffic to allocate to that // variation during this step. // - //

The values is expressed in thousandths of a percent, so assigning a - // weight of 50000 assigns 50% of traffic to that variation.

If the - // sum of the weights for all the variations in a segment override does not - // add up to 100,000, then the remaining traffic that matches this segment - // is not assigned by this segment override, and instead moves on to the - // next segment override or the default traffic split.

+ // The values is expressed in thousandths of a percent, so assigning a weight + // of 50000 assigns 50% of traffic to that variation. + // + // If the sum of the weights for all the variations in a segment override does + // not add up to 100,000, then the remaining traffic that matches this segment + // is not assigned by this segment override, and instead moves on to the next + // segment override or the default traffic split. // // GroupWeights is a required field GroupWeights map[string]*int64 `locationName:"groupWeights" type:"map" required:"true"` diff --git a/service/emrcontainers/api.go b/service/emrcontainers/api.go index 838a71e0c86..e273895fc4b 100644 --- a/service/emrcontainers/api.go +++ b/service/emrcontainers/api.go @@ -228,8 +228,8 @@ func (c *EMRContainers) CreateManagedEndpointRequest(input *CreateManagedEndpoin // CreateManagedEndpoint API operation for Amazon EMR Containers. // // Creates a managed endpoint. A managed endpoint is a gateway that connects -// EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your -// virtual cluster. +// Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate +// with your virtual cluster. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -490,8 +490,8 @@ func (c *EMRContainers) DeleteManagedEndpointRequest(input *DeleteManagedEndpoin // DeleteManagedEndpoint API operation for Amazon EMR Containers. // // Deletes a managed endpoint. A managed endpoint is a gateway that connects -// EMR Studio to Amazon EMR on EKS so that EMR Studio can communicate with your -// virtual cluster. +// Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate +// with your virtual cluster. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -837,8 +837,8 @@ func (c *EMRContainers) DescribeManagedEndpointRequest(input *DescribeManagedEnd // DescribeManagedEndpoint API operation for Amazon EMR Containers. // // Displays detailed information about a managed endpoint. A managed endpoint -// is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio -// can communicate with your virtual cluster. +// is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that +// Amazon EMR Studio can communicate with your virtual cluster. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1303,8 +1303,8 @@ func (c *EMRContainers) ListManagedEndpointsRequest(input *ListManagedEndpointsI // ListManagedEndpoints API operation for Amazon EMR Containers. // // Lists managed endpoints based on a set of parameters. A managed endpoint -// is a gateway that connects EMR Studio to Amazon EMR on EKS so that EMR Studio -// can communicate with your virtual cluster. +// is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that +// Amazon EMR Studio can communicate with your virtual cluster. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1753,15 +1753,16 @@ func (c *EMRContainers) TagResourceRequest(input *TagResourceInput) (req *reques // TagResource API operation for Amazon EMR Containers. // -// Assigns tags to resources. A tag is a label that you assign to an AWS resource. -// Each tag consists of a key and an optional value, both of which you define. -// Tags enable you to categorize your AWS resources by attributes such as purpose, -// owner, or environment. When you have many resources of the same type, you -// can quickly identify a specific resource based on the tags you've assigned -// to it. For example, you can define a set of tags for your Amazon EMR on EKS -// clusters to help you track each cluster's owner and stack level. We recommend -// that you devise a consistent set of tag keys for each resource type. You -// can then search and filter the resources based on the tags that you add. +// Assigns tags to resources. A tag is a label that you assign to an Amazon +// Web Services resource. Each tag consists of a key and an optional value, +// both of which you define. Tags enable you to categorize your Amazon Web Services +// resources by attributes such as purpose, owner, or environment. When you +// have many resources of the same type, you can quickly identify a specific +// resource based on the tags you've assigned to it. For example, you can define +// a set of tags for your Amazon EMR on EKS clusters to help you track each +// cluster's owner and stack level. We recommend that you devise a consistent +// set of tag keys for each resource type. You can then search and filter the +// resources based on the tags that you add. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2256,7 +2257,7 @@ func (s *ConfigurationOverrides) SetMonitoringConfiguration(v *MonitoringConfigu type ContainerInfo struct { _ struct{} `type:"structure"` - // The information about the EKS cluster. + // The information about the Amazon EKS cluster. EksInfo *EksInfo `locationName:"eksInfo" type:"structure"` } @@ -2311,8 +2312,8 @@ type ContainerProvider struct { // The information about the container cluster. Info *ContainerInfo `locationName:"info" type:"structure"` - // The type of the container provider. EKS is the only supported type as of - // now. + // The type of the container provider. Amazon EKS is the only supported type + // as of now. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"ContainerProviderType"` @@ -3520,11 +3521,11 @@ func (s *DescribeVirtualClusterOutput) SetVirtualCluster(v *VirtualCluster) *Des return s } -// The information about the EKS cluster. +// The information about the Amazon EKS cluster. type EksInfo struct { _ struct{} `type:"structure"` - // The namespaces of the EKS cluster. + // The namespaces of the Amazon EKS cluster. Namespace *string `locationName:"namespace" min:"1" type:"string"` } @@ -3923,6 +3924,12 @@ type JobRun struct { // The release version of Amazon EMR. ReleaseLabel *string `locationName:"releaseLabel" min:"1" type:"string"` + // The configuration of the retry policy that the job runs on. + RetryPolicyConfiguration *RetryPolicyConfiguration `locationName:"retryPolicyConfiguration" type:"structure"` + + // The current status of the retry policy executed on the job. + RetryPolicyExecution *RetryPolicyExecution `locationName:"retryPolicyExecution" type:"structure"` + // The state of the job run. State *string `locationName:"state" type:"string" enum:"JobRunState"` @@ -4026,6 +4033,18 @@ func (s *JobRun) SetReleaseLabel(v string) *JobRun { return s } +// SetRetryPolicyConfiguration sets the RetryPolicyConfiguration field's value. +func (s *JobRun) SetRetryPolicyConfiguration(v *RetryPolicyConfiguration) *JobRun { + s.RetryPolicyConfiguration = v + return s +} + +// SetRetryPolicyExecution sets the RetryPolicyExecution field's value. +func (s *JobRun) SetRetryPolicyExecution(v *RetryPolicyExecution) *JobRun { + s.RetryPolicyExecution = v + return s +} + // SetState sets the State field's value. func (s *JobRun) SetState(v string) *JobRun { s.State = &v @@ -4781,8 +4800,8 @@ type ListVirtualClustersInput struct { // The container provider ID of the virtual cluster. ContainerProviderId *string `location:"querystring" locationName:"containerProviderId" min:"1" type:"string"` - // The container provider type of the virtual cluster. EKS is the only supported - // type as of now. + // The container provider type of the virtual cluster. Amazon EKS is the only + // supported type as of now. ContainerProviderType *string `location:"querystring" locationName:"containerProviderType" type:"string" enum:"ContainerProviderType"` // The date and time after which the virtual clusters are created. @@ -5298,6 +5317,87 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } +// The configuration of the retry policy that the job runs on. +type RetryPolicyConfiguration struct { + _ struct{} `type:"structure"` + + // The maximum number of attempts on the job's driver. + // + // MaxAttempts is a required field + MaxAttempts *int64 `locationName:"maxAttempts" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RetryPolicyConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RetryPolicyConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RetryPolicyConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RetryPolicyConfiguration"} + if s.MaxAttempts == nil { + invalidParams.Add(request.NewErrParamRequired("MaxAttempts")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxAttempts sets the MaxAttempts field's value. +func (s *RetryPolicyConfiguration) SetMaxAttempts(v int64) *RetryPolicyConfiguration { + s.MaxAttempts = &v + return s +} + +// The current status of the retry policy executed on the job. +type RetryPolicyExecution struct { + _ struct{} `type:"structure"` + + // The current number of attempts made on the driver of the job. + // + // CurrentAttemptCount is a required field + CurrentAttemptCount *int64 `locationName:"currentAttemptCount" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RetryPolicyExecution) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RetryPolicyExecution) GoString() string { + return s.String() +} + +// SetCurrentAttemptCount sets the CurrentAttemptCount field's value. +func (s *RetryPolicyExecution) SetCurrentAttemptCount(v int64) *RetryPolicyExecution { + s.CurrentAttemptCount = &v + return s +} + // Amazon S3 configuration for monitoring log publishing. You can configure // your jobs to send log information to Amazon S3. type S3MonitoringConfiguration struct { @@ -5520,6 +5620,9 @@ type StartJobRunInput struct { // The Amazon EMR release version to use for the job run. ReleaseLabel *string `locationName:"releaseLabel" min:"1" type:"string"` + // The retry policy configuration for the job run. + RetryPolicyConfiguration *RetryPolicyConfiguration `locationName:"retryPolicyConfiguration" type:"structure"` + // The tags assigned to job runs. Tags map[string]*string `locationName:"tags" type:"map"` @@ -5581,6 +5684,11 @@ func (s *StartJobRunInput) Validate() error { invalidParams.AddNested("JobDriver", err.(request.ErrInvalidParams)) } } + if s.RetryPolicyConfiguration != nil { + if err := s.RetryPolicyConfiguration.Validate(); err != nil { + invalidParams.AddNested("RetryPolicyConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -5636,6 +5744,12 @@ func (s *StartJobRunInput) SetReleaseLabel(v string) *StartJobRunInput { return s } +// SetRetryPolicyConfiguration sets the RetryPolicyConfiguration field's value. +func (s *StartJobRunInput) SetRetryPolicyConfiguration(v *RetryPolicyConfiguration) *StartJobRunInput { + s.RetryPolicyConfiguration = v + return s +} + // SetTags sets the Tags field's value. func (s *StartJobRunInput) SetTags(v map[string]*string) *StartJobRunInput { s.Tags = v @@ -5798,8 +5912,8 @@ type TemplateParameterConfiguration struct { // The default value for the job template parameter. DefaultValue *string `locationName:"defaultValue" min:"1" type:"string"` - // The type of the job template parameter. Allowed values are: ‘String’, - // ‘Number’. + // The type of the job template parameter. Allowed values are: ‘STRING’, + // ‘NUMBER’. Type *string `locationName:"type" type:"string" enum:"TemplateParameterDataType"` } @@ -5999,9 +6113,9 @@ func (s *ValidationException) RequestID() string { // namespace that Amazon EMR is registered with. Amazon EMR uses virtual clusters // to run jobs and host endpoints. Multiple virtual clusters can be backed by // the same physical cluster. However, each virtual cluster maps to one namespace -// on an EKS cluster. Virtual clusters do not create any active resources that -// contribute to your bill or that require lifecycle management outside the -// service. +// on an Amazon EKS cluster. Virtual clusters do not create any active resources +// that contribute to your bill or that require lifecycle management outside +// the service. type VirtualCluster struct { _ struct{} `type:"structure"` diff --git a/service/emrcontainers/doc.go b/service/emrcontainers/doc.go index 891f37f465f..f6c8b00af8b 100644 --- a/service/emrcontainers/doc.go +++ b/service/emrcontainers/doc.go @@ -8,7 +8,7 @@ // (Amazon EKS). With this deployment option, you can focus on running analytics // workloads while Amazon EMR on EKS builds, configures, and manages containers // for open-source applications. For more information about Amazon EMR on EKS -// concepts and tasks, see What is Amazon EMR on EKS (https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html). +// concepts and tasks, see What is shared id="EMR-EKS"/> (https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html). // // Amazon EMR containers is the API name for Amazon EMR on EKS. The emr-containers // prefix is used in the following scenarios: @@ -22,7 +22,7 @@ // // - It is the prefix used in Amazon EMR on EKS service endpoints. For example, // emr-containers.us-east-2.amazonaws.com. For more information, see Amazon -// EMR on EKS Service Endpoints (https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints). +// EMR on EKSService Endpoints (https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints). // // See https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01 for more information on this service. // diff --git a/service/lexmodelsv2/api.go b/service/lexmodelsv2/api.go index b7370041bed..bcc337ea066 100644 --- a/service/lexmodelsv2/api.go +++ b/service/lexmodelsv2/api.go @@ -56,8 +56,8 @@ func (c *LexModelsV2) BatchCreateCustomVocabularyItemRequest(input *BatchCreateC // BatchCreateCustomVocabularyItem API operation for Amazon Lex Model Building V2. // -// Batch create custom vocabulary item for the specified locale in the specified -// bot. +// Create a batch of custom vocabulary items for a given bot locale's custom +// vocabulary. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -150,8 +150,8 @@ func (c *LexModelsV2) BatchDeleteCustomVocabularyItemRequest(input *BatchDeleteC // BatchDeleteCustomVocabularyItem API operation for Amazon Lex Model Building V2. // -// Batch delete custom vocabulary item for the specified locale in the specified -// bot. +// Delete a batch of custom vocabulary items for a given bot locale's custom +// vocabulary. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -244,8 +244,8 @@ func (c *LexModelsV2) BatchUpdateCustomVocabularyItemRequest(input *BatchUpdateC // BatchUpdateCustomVocabularyItem API operation for Amazon Lex Model Building V2. // -// Batch update custom vocabulary item for the specified locale in the specified -// bot. +// Update a batch of custom vocabulary items for a given bot locale's custom +// vocabulary. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1883,8 +1883,8 @@ func (c *LexModelsV2) DeleteBotVersionRequest(input *DeleteBotVersionInput) (req // DeleteBotVersion API operation for Amazon Lex Model Building V2. // -// Deletes a specific version of a bot. To delete all version of a bot, use -// the DeleteBot (https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html) +// Deletes a specific version of a bot. To delete all versions of a bot, use +// the DeleteBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html) // operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -2758,7 +2758,7 @@ func (c *LexModelsV2) DeleteUtterancesRequest(input *DeleteUtterancesInput) (req // Deletes stored utterances. // // Amazon Lex stores the utterances that users send to your bot. Utterances -// are stored for 15 days for use with the ListAggregatedUtterances (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html) +// are stored for 15 days for use with the ListAggregatedUtterances (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html) // operation, and then stored indefinitely for use in improving the ability // of your bot to respond to user input.. // @@ -4872,7 +4872,7 @@ func (c *LexModelsV2) ListBuiltInIntentsRequest(input *ListBuiltInIntentsInput) // // To use a built-in intent as a the base for your own intent, include the built-in // intent signature in the parentIntentSignature parameter when you call the -// CreateIntent operation. For more information, see CreateIntent (https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html). +// CreateIntent operation. For more information, see CreateIntent (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateIntent.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5164,7 +5164,8 @@ func (c *LexModelsV2) ListCustomVocabularyItemsRequest(input *ListCustomVocabula // ListCustomVocabularyItems API operation for Amazon Lex Model Building V2. // -// List custom vocabulary items for the specified locale in the specified bot. +// Paginated list of custom vocabulary items for a given bot locale's custom +// vocabulary. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7272,7 +7273,8 @@ func (c *LexModelsV2) UpdateExportRequest(input *UpdateExportInput) (req *reques // The password is not required. If you don't supply a password, Amazon Lex // generates a zip file that is not protected by a password. This is the archive // that is available at the pre-signed S3 URL provided by the DescribeExport -// (https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html) operation. +// (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html) +// operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8229,7 +8231,7 @@ type AudioLogDestination struct { _ struct{} `type:"structure"` // The Amazon S3 bucket where the audio log files are stored. The IAM role specified - // in the roleArn parameter of the CreateBot (https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html) + // in the roleArn parameter of the CreateBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html) // operation must have permission to write to this bucket. // // S3Bucket is a required field @@ -8419,25 +8421,25 @@ func (s *AudioSpecification) SetMaxLengthMs(v int64) *AudioSpecification { type BatchCreateCustomVocabularyItemInput struct { _ struct{} `type:"structure"` - // The unique identifier of the bot to batch create the custom vocabulary item - // for. + // The identifier of the bot associated with this custom vocabulary. // // BotId is a required field BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"` - // The bot version of the bot to batch create the custom vocabulary item for. + // The identifier of the version of the bot associated with this custom vocabulary. // // BotVersion is a required field BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"` - // The custom vocabulary item list of the bot to batch create the custom vocabulary - // item for. + // A list of new custom vocabulary items. Each entry must contain a phrase and + // can optionally contain a displayAs and/or a weight. // // CustomVocabularyItemList is a required field CustomVocabularyItemList []*NewCustomVocabularyItem `locationName:"customVocabularyItemList" min:"1" type:"list" required:"true"` - // The unique locale identifier of the bot to batch create the custom vocabulary - // item for. + // The identifier of the language and locale where this custom vocabulary is + // used. The string must match one of the supported locales. For more information, + // see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). // // LocaleId is a required field LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"` @@ -8532,24 +8534,23 @@ func (s *BatchCreateCustomVocabularyItemInput) SetLocaleId(v string) *BatchCreat type BatchCreateCustomVocabularyItemOutput struct { _ struct{} `type:"structure"` - // The unique identifier of the bot to batch create response for the custom - // vocabulary item. + // The identifier of the bot associated with this custom vocabulary. BotId *string `locationName:"botId" min:"10" type:"string"` - // The bot version of the bot to batch create the custom vocabulary item response - // for. + // The identifier of the version of the bot associated with this custom vocabulary. BotVersion *string `locationName:"botVersion" min:"1" type:"string"` - // The errors of the action to batch create the custom vocabulary item response - // for a bot. + // A list of custom vocabulary items that failed to create during the operation. + // The reason for the error is contained within each error object. Errors []*FailedCustomVocabularyItem `locationName:"errors" type:"list"` - // The unique locale identifier of the bot to batch create the custom vocabulary - // item response for. + // The identifier of the language and locale where this custom vocabulary is + // used. The string must match one of the supported locales. For more information, + // see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). LocaleId *string `locationName:"localeId" type:"string"` - // The resources of the action to batch create the custom vocabulary item response - // for a bot. + // A list of custom vocabulary items that were successfully created during the + // operation. Resources []*CustomVocabularyItem `locationName:"resources" type:"list"` } @@ -8604,26 +8605,25 @@ func (s *BatchCreateCustomVocabularyItemOutput) SetResources(v []*CustomVocabula type BatchDeleteCustomVocabularyItemInput struct { _ struct{} `type:"structure"` - // The unique identifier of the bot to batch delete request for the custom vocabulary - // item. + // The identifier of the bot associated with this custom vocabulary. // // BotId is a required field BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"` - // The version of the bot to batch delete request for the custom vocabulary - // item. + // The identifier of the version of the bot associated with this custom vocabulary. // // BotVersion is a required field BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"` - // The custom vocabulary list to batch delete request for the custom vocabulary - // item. + // A list of custom vocabulary items requested to be deleted. Each entry must + // contain the unique custom vocabulary entry identifier. // // CustomVocabularyItemList is a required field CustomVocabularyItemList []*CustomVocabularyEntryId `locationName:"customVocabularyItemList" min:"1" type:"list" required:"true"` - // The locale identifier of the bot to batch delete request for the custom vocabulary - // item. + // The identifier of the language and locale where this custom vocabulary is + // used. The string must match one of the supported locales. For more information, + // see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). // // LocaleId is a required field LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"` @@ -8718,24 +8718,23 @@ func (s *BatchDeleteCustomVocabularyItemInput) SetLocaleId(v string) *BatchDelet type BatchDeleteCustomVocabularyItemOutput struct { _ struct{} `type:"structure"` - // The unique identifier of the bot to batch delete response for the custom - // vocabulary item. + // The identifier of the bot associated with this custom vocabulary. BotId *string `locationName:"botId" min:"10" type:"string"` - // The version of the bot to batch delete response for the custom vocabulary - // item. + // The identifier of the version of the bot associated with this custom vocabulary. BotVersion *string `locationName:"botVersion" min:"1" type:"string"` - // The errors of the action to batch delete response for the custom vocabulary - // item. + // A list of custom vocabulary items that failed to delete during the operation. + // The reason for the error is contained within each error object. Errors []*FailedCustomVocabularyItem `locationName:"errors" type:"list"` - // The locale identifier of the bot to batch delete response for the custom - // vocabulary item. + // The identifier of the language and locale where this custom vocabulary is + // used. The string must match one of the supported locales. For more information, + // see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). LocaleId *string `locationName:"localeId" type:"string"` - // The resources of the action to batch delete response for the custom vocabulary - // item. + // A list of custom vocabulary items that were successfully deleted during the + // operation. Resources []*CustomVocabularyItem `locationName:"resources" type:"list"` } @@ -8790,26 +8789,25 @@ func (s *BatchDeleteCustomVocabularyItemOutput) SetResources(v []*CustomVocabula type BatchUpdateCustomVocabularyItemInput struct { _ struct{} `type:"structure"` - // The unique identifier of the bot to the batch update request for the custom - // vocabulary item. + // The identifier of the bot associated with this custom vocabulary // // BotId is a required field BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"` - // The bot version of the bot to the batch update request for the custom vocabulary - // item. + // The identifier of the version of the bot associated with this custom vocabulary. // // BotVersion is a required field BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"` - // The custom vocabulary item list of the bot to the batch update request for - // the custom vocabulary item. + // A list of custom vocabulary items with updated fields. Each entry must contain + // a phrase and can optionally contain a displayAs and/or a weight. // // CustomVocabularyItemList is a required field CustomVocabularyItemList []*CustomVocabularyItem `locationName:"customVocabularyItemList" min:"1" type:"list" required:"true"` - // The locale identifier of the bot to the batch update request for the custom - // vocabulary item. + // The identifier of the language and locale where this custom vocabulary is + // used. The string must match one of the supported locales. For more information, + // see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). // // LocaleId is a required field LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"` @@ -8904,24 +8902,23 @@ func (s *BatchUpdateCustomVocabularyItemInput) SetLocaleId(v string) *BatchUpdat type BatchUpdateCustomVocabularyItemOutput struct { _ struct{} `type:"structure"` - // The unique identifier of the bot to the batch update response for the custom - // vocabulary item. + // The identifier of the bot associated with this custom vocabulary. BotId *string `locationName:"botId" min:"10" type:"string"` - // The bot version of the bot to the batch update response for the custom vocabulary - // item. + // The identifier of the version of the bot associated with this custom vocabulary. BotVersion *string `locationName:"botVersion" min:"1" type:"string"` - // The errors of the action to batch update response for the custom vocabulary - // item. + // A list of custom vocabulary items that failed to update during the operation. + // The reason for the error is contained within each error object. Errors []*FailedCustomVocabularyItem `locationName:"errors" type:"list"` - // The locale identifier of the bot to the batch update response for the custom - // vocabulary item. + // The identifier of the language and locale where this custom vocabulary is + // used. The string must match one of the supported locales. For more information, + // see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). LocaleId *string `locationName:"localeId" type:"string"` - // The resources of the action to batch update response for the custom vocabulary - // item. + // A list of custom vocabulary items that were successfully updated during the + // operation. Resources []*CustomVocabularyItem `locationName:"resources" type:"list"` } @@ -9087,13 +9084,13 @@ func (s *BotAliasLocaleSettings) SetEnabled(v bool) *BotAliasLocaleSettings { return s } -// Summary information about bot aliases returned from the ListBotAliases (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotAliases.html) +// Summary information about bot aliases returned from the ListBotAliases (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotAliases.html) // operation. type BotAliasSummary struct { _ struct{} `type:"structure"` // The unique identifier assigned to the bot alias. You can use this ID to get - // detailed information about the alias using the DescribeBotAlias (https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotAlias.html) + // detailed information about the alias using the DescribeBotAlias (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBotAlias.html) // operation. BotAliasId *string `locationName:"botAliasId" min:"10" type:"string"` @@ -9848,7 +9845,7 @@ func (s *BotLocaleSortBy) SetOrder(v string) *BotLocaleSortBy { return s } -// Summary information about bot locales returned by the ListBotLocales (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotLocales.html) +// Summary information about bot locales returned by the ListBotLocales (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotLocales.html) // operation. type BotLocaleSummary struct { _ struct{} `type:"structure"` @@ -9927,6 +9924,124 @@ func (s *BotLocaleSummary) SetLocaleName(v string) *BotLocaleSummary { return s } +// A bot that is a member of a network of bots. +type BotMember struct { + _ struct{} `type:"structure"` + + // The alias ID of a bot that is a member of this network of bots. + // + // BotMemberAliasId is a required field + BotMemberAliasId *string `locationName:"botMemberAliasId" min:"10" type:"string" required:"true"` + + // The alias name of a bot that is a member of this network of bots. + // + // BotMemberAliasName is a required field + BotMemberAliasName *string `locationName:"botMemberAliasName" min:"1" type:"string" required:"true"` + + // The unique ID of a bot that is a member of this network of bots. + // + // BotMemberId is a required field + BotMemberId *string `locationName:"botMemberId" min:"10" type:"string" required:"true"` + + // The unique name of a bot that is a member of this network of bots. + // + // BotMemberName is a required field + BotMemberName *string `locationName:"botMemberName" min:"1" type:"string" required:"true"` + + // The version of a bot that is a member of this network of bots. + // + // BotMemberVersion is a required field + BotMemberVersion *string `locationName:"botMemberVersion" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BotMember) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BotMember) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BotMember) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BotMember"} + if s.BotMemberAliasId == nil { + invalidParams.Add(request.NewErrParamRequired("BotMemberAliasId")) + } + if s.BotMemberAliasId != nil && len(*s.BotMemberAliasId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("BotMemberAliasId", 10)) + } + if s.BotMemberAliasName == nil { + invalidParams.Add(request.NewErrParamRequired("BotMemberAliasName")) + } + if s.BotMemberAliasName != nil && len(*s.BotMemberAliasName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BotMemberAliasName", 1)) + } + if s.BotMemberId == nil { + invalidParams.Add(request.NewErrParamRequired("BotMemberId")) + } + if s.BotMemberId != nil && len(*s.BotMemberId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("BotMemberId", 10)) + } + if s.BotMemberName == nil { + invalidParams.Add(request.NewErrParamRequired("BotMemberName")) + } + if s.BotMemberName != nil && len(*s.BotMemberName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BotMemberName", 1)) + } + if s.BotMemberVersion == nil { + invalidParams.Add(request.NewErrParamRequired("BotMemberVersion")) + } + if s.BotMemberVersion != nil && len(*s.BotMemberVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BotMemberVersion", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBotMemberAliasId sets the BotMemberAliasId field's value. +func (s *BotMember) SetBotMemberAliasId(v string) *BotMember { + s.BotMemberAliasId = &v + return s +} + +// SetBotMemberAliasName sets the BotMemberAliasName field's value. +func (s *BotMember) SetBotMemberAliasName(v string) *BotMember { + s.BotMemberAliasName = &v + return s +} + +// SetBotMemberId sets the BotMemberId field's value. +func (s *BotMember) SetBotMemberId(v string) *BotMember { + s.BotMemberId = &v + return s +} + +// SetBotMemberName sets the BotMemberName field's value. +func (s *BotMember) SetBotMemberName(v string) *BotMember { + s.BotMemberName = &v + return s +} + +// SetBotMemberVersion sets the BotMemberVersion field's value. +func (s *BotMember) SetBotMemberVersion(v string) *BotMember { + s.BotMemberVersion = &v + return s +} + // A statistical summary of the bot recommendation results. type BotRecommendationResultStatistics struct { _ struct{} `type:"structure"` @@ -10148,13 +10263,13 @@ func (s *BotSortBy) SetOrder(v string) *BotSortBy { return s } -// Summary information about a bot returned by the ListBots (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBots.html) +// Summary information about a bot returned by the ListBots (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBots.html) // operation. type BotSummary struct { _ struct{} `type:"structure"` // The unique identifier assigned to the bot. Use this ID to get detailed information - // about the bot with the DescribeBot (https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBot.html) + // about the bot with the DescribeBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeBot.html) // operation. BotId *string `locationName:"botId" min:"10" type:"string"` @@ -10165,6 +10280,9 @@ type BotSummary struct { // for use. BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"` + // The type of the bot. + BotType *string `locationName:"botType" type:"string" enum:"BotType"` + // The description of the bot. Description *string `locationName:"description" type:"string"` @@ -10211,6 +10329,12 @@ func (s *BotSummary) SetBotStatus(v string) *BotSummary { return s } +// SetBotType sets the BotType field's value. +func (s *BotSummary) SetBotType(v string) *BotSummary { + s.BotType = &v + return s +} + // SetDescription sets the Description field's value. func (s *BotSummary) SetDescription(v string) *BotSummary { s.Description = &v @@ -10340,7 +10464,7 @@ func (s *BotVersionSortBy) SetOrder(v string) *BotVersionSortBy { return s } -// Summary information about a bot version returned by the ListBotVersions (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotVersions.html) +// Summary information about a bot version returned by the ListBotVersions (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBotVersions.html) // operation. type BotVersionSummary struct { _ struct{} `type:"structure"` @@ -10415,7 +10539,7 @@ type BuildBotLocaleInput struct { _ struct{} `type:"structure" nopayload:"true"` // The identifier of the bot to build. The identifier is returned in the response - // from the CreateBot (https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html) + // from the CreateBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html) // operation. // // BotId is a required field @@ -10634,7 +10758,7 @@ func (s *BuiltInIntentSortBy) SetOrder(v string) *BuiltInIntentSortBy { } // Provides summary information about a built-in intent for the ListBuiltInIntents -// (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInIntents.html) +// (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInIntents.html) // operation. type BuiltInIntentSummary struct { _ struct{} `type:"structure"` @@ -10739,7 +10863,7 @@ func (s *BuiltInSlotTypeSortBy) SetOrder(v string) *BuiltInSlotTypeSortBy { } // Provides summary information about a built-in slot type for the ListBuiltInSlotTypes -// (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInSlotTypes.html) +// (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListBuiltInSlotTypes.html) // operation. type BuiltInSlotTypeSummary struct { _ struct{} `type:"structure"` @@ -11443,8 +11567,8 @@ type CreateBotAliasInput struct { BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"` // The version of the bot that this alias points to. You can use the UpdateBotAlias - // (https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotAlias.html) operation - // to change the bot version associated with the alias. + // (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_UpdateBotAlias.html) + // operation to change the bot version associated with the alias. BotVersion *string `locationName:"botVersion" min:"1" type:"string"` // Specifies whether Amazon Lex logs text and audio for a conversation with @@ -11708,6 +11832,9 @@ func (s *CreateBotAliasOutput) SetTags(v map[string]*string) *CreateBotAliasOutp type CreateBotInput struct { _ struct{} `type:"structure"` + // The list of bot members in a network to be created. + BotMembers []*BotMember `locationName:"botMembers" type:"list"` + // The name of the bot. The bot name must be unique in the account that creates // the bot. // @@ -11719,6 +11846,9 @@ type CreateBotInput struct { // use the TagResource operation. BotTags map[string]*string `locationName:"botTags" type:"map"` + // The type of a bot to create. + BotType *string `locationName:"botType" type:"string" enum:"BotType"` + // Provides information on additional privacy protections Amazon Lex should // use with the bot's data. // @@ -11795,6 +11925,16 @@ func (s *CreateBotInput) Validate() error { if s.RoleArn != nil && len(*s.RoleArn) < 32 { invalidParams.Add(request.NewErrParamMinLen("RoleArn", 32)) } + if s.BotMembers != nil { + for i, v := range s.BotMembers { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BotMembers", i), err.(request.ErrInvalidParams)) + } + } + } if s.DataPrivacy != nil { if err := s.DataPrivacy.Validate(); err != nil { invalidParams.AddNested("DataPrivacy", err.(request.ErrInvalidParams)) @@ -11807,6 +11947,12 @@ func (s *CreateBotInput) Validate() error { return nil } +// SetBotMembers sets the BotMembers field's value. +func (s *CreateBotInput) SetBotMembers(v []*BotMember) *CreateBotInput { + s.BotMembers = v + return s +} + // SetBotName sets the BotName field's value. func (s *CreateBotInput) SetBotName(v string) *CreateBotInput { s.BotName = &v @@ -11819,6 +11965,12 @@ func (s *CreateBotInput) SetBotTags(v map[string]*string) *CreateBotInput { return s } +// SetBotType sets the BotType field's value. +func (s *CreateBotInput) SetBotType(v string) *CreateBotInput { + s.BotType = &v + return s +} + // SetDataPrivacy sets the DataPrivacy field's value. func (s *CreateBotInput) SetDataPrivacy(v *DataPrivacy) *CreateBotInput { s.DataPrivacy = v @@ -12110,17 +12262,23 @@ type CreateBotOutput struct { // when you call other Amazon Lex API operations. BotId *string `locationName:"botId" min:"10" type:"string"` + // The list of bots in a network that was created. + BotMembers []*BotMember `locationName:"botMembers" type:"list"` + // The name specified for the bot. BotName *string `locationName:"botName" min:"1" type:"string"` // Shows the current status of the bot. The bot is first in the Creating status. // Once the bot is read for use, it changes to the Available status. After the - // bot is created, you can use the Draft version of the bot. + // bot is created, you can use the DRAFT version of the bot. BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"` // A list of tags associated with the bot. BotTags map[string]*string `locationName:"botTags" type:"map"` + // The type of a bot that was created. + BotType *string `locationName:"botType" type:"string" enum:"BotType"` + // A timestamp indicating the date and time that the bot was created. CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"` @@ -12164,6 +12322,12 @@ func (s *CreateBotOutput) SetBotId(v string) *CreateBotOutput { return s } +// SetBotMembers sets the BotMembers field's value. +func (s *CreateBotOutput) SetBotMembers(v []*BotMember) *CreateBotOutput { + s.BotMembers = v + return s +} + // SetBotName sets the BotName field's value. func (s *CreateBotOutput) SetBotName(v string) *CreateBotOutput { s.BotName = &v @@ -12182,6 +12346,12 @@ func (s *CreateBotOutput) SetBotTags(v map[string]*string) *CreateBotOutput { return s } +// SetBotType sets the BotType field's value. +func (s *CreateBotOutput) SetBotType(v string) *CreateBotOutput { + s.BotType = &v + return s +} + // SetCreationDateTime sets the CreationDateTime field's value. func (s *CreateBotOutput) SetCreationDateTime(v time.Time) *CreateBotOutput { s.CreationDateTime = &v @@ -12479,8 +12649,8 @@ type CreateExportOutput struct { ExportId *string `locationName:"exportId" min:"10" type:"string"` // The status of the export. When the status is Completed, you can use the DescribeExport - // (https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html) operation - // to get the pre-signed S3 URL link to your exported bot or bot locale. + // (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html) + // operation to get the pre-signed S3 URL link to your exported bot or bot locale. ExportStatus *string `locationName:"exportStatus" type:"string" enum:"ExportStatus"` // The file format used for the bot or bot locale definition files. @@ -14055,7 +14225,8 @@ type CreateUploadUrlOutput struct { _ struct{} `type:"structure"` // An identifier for a unique import job. Use it when you call the StartImport - // (https://docs.aws.amazon.com/lexv2/latest/dg/API_StartImport.html) operation. + // (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_StartImport.html) + // operation. ImportId *string `locationName:"importId" min:"10" type:"string"` // A pre-signed S3 write URL. Upload the zip archive file that contains the @@ -14361,7 +14532,7 @@ func (s *CustomVocabularyImportSpecification) SetLocaleId(v string) *CustomVocab type CustomVocabularyItem struct { _ struct{} `type:"structure"` - // The display as value for the custom vocabulary item from the custom vocabulary + // The DisplayAs value for the custom vocabulary item from the custom vocabulary // list. DisplayAs *string `locationName:"displayAs" min:"1" type:"string"` @@ -14757,8 +14928,11 @@ type DeleteBotAliasInput struct { // BotId is a required field BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"` - // When this parameter is true, Amazon Lex doesn't check to see if any other - // resource is using the alias before it is deleted. + // By default, Amazon Lex checks if any other resource, such as a bot network, + // is using the bot alias before it is deleted and throws a ResourceInUseException + // exception if the alias is being used by another resource. Set this parameter + // to true to skip this check and remove the alias even if it is being used + // by another resource. SkipResourceInUseCheck *bool `location:"querystring" locationName:"skipResourceInUseCheck" type:"boolean"` } @@ -14879,8 +15053,11 @@ type DeleteBotInput struct { // BotId is a required field BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"` - // When true, Amazon Lex doesn't check to see if another resource, such as an - // alias, is using the bot before it is deleted. + // By default, Amazon Lex checks if any other resource, such as an alias or + // bot network, is using the bot version before it is deleted and throws a ResourceInUseException + // exception if the bot is being used by another resource. Set this parameter + // to true to skip this check and remove the bot even if it is being used by + // another resource. SkipResourceInUseCheck *bool `location:"querystring" locationName:"skipResourceInUseCheck" type:"boolean"` } @@ -15129,10 +15306,11 @@ type DeleteBotVersionInput struct { // BotVersion is a required field BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"` - // By default, the DeleteBotVersion operations throws a ResourceInUseException - // exception if you try to delete a bot version that has an alias pointing at - // it. Set the skipResourceInUseCheck parameter to true to skip this check and - // remove the version even if an alias points to it. + // By default, Amazon Lex checks if any other resource, such as an alias or + // bot network, is using the bot version before it is deleted and throws a ResourceInUseException + // exception if the version is being used by another resource. Set this parameter + // to true to skip this check and remove the version even if it is being used + // by another resource. SkipResourceInUseCheck *bool `location:"querystring" locationName:"skipResourceInUseCheck" type:"boolean"` } @@ -15442,8 +15620,8 @@ type DeleteExportOutput struct { ExportId *string `locationName:"exportId" min:"10" type:"string"` // The current status of the deletion. When the deletion is complete, the export - // will no longer be returned by the ListExports (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html) - // operation and calls to the DescribeExport (https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html) + // will no longer be returned by the ListExports (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html) + // operation and calls to the DescribeExport (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html) // operation with the export identifier will fail. ExportStatus *string `locationName:"exportStatus" type:"string" enum:"ExportStatus"` } @@ -15534,8 +15712,8 @@ type DeleteImportOutput struct { ImportId *string `locationName:"importId" min:"10" type:"string"` // The current status of the deletion. When the deletion is complete, the import - // will no longer be returned by the ListImports (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html) - // operation and calls to the DescribeImport (https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeImport.html) + // will no longer be returned by the ListImports (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html) + // operation and calls to the DescribeImport (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeImport.html) // operation with the import identifier will fail. ImportStatus *string `locationName:"importStatus" type:"string" enum:"ImportStatus"` } @@ -16222,8 +16400,8 @@ type DeleteUtterancesInput struct { LocaleId *string `location:"querystring" locationName:"localeId" type:"string"` // The unique identifier of the session with the user. The ID is returned in - // the response from the RecognizeText (https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeText.html) - // and RecognizeUtterance (https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeUtterance.html) + // the response from the RecognizeText (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeText.html) + // and RecognizeUtterance (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_RecognizeUtterance.html) // operations. SessionId *string `location:"querystring" locationName:"sessionId" min:"2" type:"string"` } @@ -16410,6 +16588,9 @@ type DescribeBotAliasOutput struct { // A timestamp of the date and time that the alias was last updated. LastUpdatedDateTime *time.Time `locationName:"lastUpdatedDateTime" type:"timestamp"` + // A list of the networks to which the bot alias you described belongs. + ParentBotNetworks []*ParentBotNetwork `locationName:"parentBotNetworks" type:"list"` + // Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment // of user utterances. SentimentAnalysisSettings *SentimentAnalysisSettings `locationName:"sentimentAnalysisSettings" type:"structure"` @@ -16499,6 +16680,12 @@ func (s *DescribeBotAliasOutput) SetLastUpdatedDateTime(v time.Time) *DescribeBo return s } +// SetParentBotNetworks sets the ParentBotNetworks field's value. +func (s *DescribeBotAliasOutput) SetParentBotNetworks(v []*ParentBotNetwork) *DescribeBotAliasOutput { + s.ParentBotNetworks = v + return s +} + // SetSentimentAnalysisSettings sets the SentimentAnalysisSettings field's value. func (s *DescribeBotAliasOutput) SetSentimentAnalysisSettings(v *SentimentAnalysisSettings) *DescribeBotAliasOutput { s.SentimentAnalysisSettings = v @@ -16815,6 +17002,9 @@ type DescribeBotOutput struct { // The unique identifier of the bot. BotId *string `locationName:"botId" min:"10" type:"string"` + // The list of bots in the network that was described. + BotMembers []*BotMember `locationName:"botMembers" type:"list"` + // The name of the bot. BotName *string `locationName:"botName" min:"1" type:"string"` @@ -16822,6 +17012,9 @@ type DescribeBotOutput struct { // to be used in conversations with users. BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"` + // The type of the bot that was described. + BotType *string `locationName:"botType" type:"string" enum:"BotType"` + // A timestamp of the date and time that the bot was created. CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"` @@ -16832,6 +17025,10 @@ type DescribeBotOutput struct { // The description of the bot. Description *string `locationName:"description" type:"string"` + // If the botStatus is Failed, this contains a list of reasons that the bot + // couldn't be built. + FailureReasons []*string `locationName:"failureReasons" type:"list"` + // The maximum time in seconds that Amazon Lex retains the data gathered in // a conversation. IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"` @@ -16868,6 +17065,12 @@ func (s *DescribeBotOutput) SetBotId(v string) *DescribeBotOutput { return s } +// SetBotMembers sets the BotMembers field's value. +func (s *DescribeBotOutput) SetBotMembers(v []*BotMember) *DescribeBotOutput { + s.BotMembers = v + return s +} + // SetBotName sets the BotName field's value. func (s *DescribeBotOutput) SetBotName(v string) *DescribeBotOutput { s.BotName = &v @@ -16880,6 +17083,12 @@ func (s *DescribeBotOutput) SetBotStatus(v string) *DescribeBotOutput { return s } +// SetBotType sets the BotType field's value. +func (s *DescribeBotOutput) SetBotType(v string) *DescribeBotOutput { + s.BotType = &v + return s +} + // SetCreationDateTime sets the CreationDateTime field's value. func (s *DescribeBotOutput) SetCreationDateTime(v time.Time) *DescribeBotOutput { s.CreationDateTime = &v @@ -16898,6 +17107,12 @@ func (s *DescribeBotOutput) SetDescription(v string) *DescribeBotOutput { return s } +// SetFailureReasons sets the FailureReasons field's value. +func (s *DescribeBotOutput) SetFailureReasons(v []*string) *DescribeBotOutput { + s.FailureReasons = v + return s +} + // SetIdleSessionTTLInSeconds sets the IdleSessionTTLInSeconds field's value. func (s *DescribeBotOutput) SetIdleSessionTTLInSeconds(v int64) *DescribeBotOutput { s.IdleSessionTTLInSeconds = &v @@ -17216,6 +17431,9 @@ type DescribeBotVersionOutput struct { // The identifier of the bot that contains the version. BotId *string `locationName:"botId" min:"10" type:"string"` + // The members of bot network in the version that was described. + BotMembers []*BotMember `locationName:"botMembers" type:"list"` + // The name of the bot that contains the version. BotName *string `locationName:"botName" min:"1" type:"string"` @@ -17223,7 +17441,10 @@ type DescribeBotVersionOutput struct { // is ready for use. BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"` - // The version of the bot to describe. + // The type of the bot in the version that was described. + BotType *string `locationName:"botType" type:"string" enum:"BotType"` + + // The version of the bot that was described. BotVersion *string `locationName:"botVersion" min:"1" type:"string"` // A timestamp of the date and time that the bot version was created. @@ -17243,6 +17464,9 @@ type DescribeBotVersionOutput struct { // is discarded by Amazon Lex. IdleSessionTTLInSeconds *int64 `locationName:"idleSessionTTLInSeconds" min:"60" type:"integer"` + // A list of the networks to which the bot version you described belongs. + ParentBotNetworks []*ParentBotNetwork `locationName:"parentBotNetworks" type:"list"` + // The Amazon Resource Name (ARN) of an IAM role that has permission to access // the bot version. RoleArn *string `locationName:"roleArn" min:"32" type:"string"` @@ -17272,6 +17496,12 @@ func (s *DescribeBotVersionOutput) SetBotId(v string) *DescribeBotVersionOutput return s } +// SetBotMembers sets the BotMembers field's value. +func (s *DescribeBotVersionOutput) SetBotMembers(v []*BotMember) *DescribeBotVersionOutput { + s.BotMembers = v + return s +} + // SetBotName sets the BotName field's value. func (s *DescribeBotVersionOutput) SetBotName(v string) *DescribeBotVersionOutput { s.BotName = &v @@ -17284,6 +17514,12 @@ func (s *DescribeBotVersionOutput) SetBotStatus(v string) *DescribeBotVersionOut return s } +// SetBotType sets the BotType field's value. +func (s *DescribeBotVersionOutput) SetBotType(v string) *DescribeBotVersionOutput { + s.BotType = &v + return s +} + // SetBotVersion sets the BotVersion field's value. func (s *DescribeBotVersionOutput) SetBotVersion(v string) *DescribeBotVersionOutput { s.BotVersion = &v @@ -17320,6 +17556,12 @@ func (s *DescribeBotVersionOutput) SetIdleSessionTTLInSeconds(v int64) *Describe return s } +// SetParentBotNetworks sets the ParentBotNetworks field's value. +func (s *DescribeBotVersionOutput) SetParentBotNetworks(v []*ParentBotNetwork) *DescribeBotVersionOutput { + s.ParentBotNetworks = v + return s +} + // SetRoleArn sets the RoleArn field's value. func (s *DescribeBotVersionOutput) SetRoleArn(v string) *DescribeBotVersionOutput { s.RoleArn = &v @@ -19128,7 +19370,7 @@ func (s *EncryptionSetting) SetKmsKeyArn(v string) *EncryptionSetting { return s } -// Filters the response form the ListExports (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html) +// Filters the response form the ListExports (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html) // operation type ExportFilter struct { _ struct{} `type:"structure"` @@ -20122,7 +20364,7 @@ func (s *ImageResponseCard) SetTitle(v string) *ImageResponseCard { return s } -// Filters the response from the ListImports (https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html) +// Filters the response from the ListImports (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListImports.html) // operation. type ImportFilter struct { _ struct{} `type:"structure"` @@ -22902,7 +23144,7 @@ func (s *ListBuiltInSlotTypesOutput) SetNextToken(v string) *ListBuiltInSlotType type ListCustomVocabularyItemsInput struct { _ struct{} `type:"structure"` - // The unique identifier of the bot to the list custom vocabulary request. + // The identifier of the version of the bot associated with this custom vocabulary. // // BotId is a required field BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"` @@ -22912,12 +23154,14 @@ type ListCustomVocabularyItemsInput struct { // BotVersion is a required field BotVersion *string `location:"uri" locationName:"botVersion" min:"1" type:"string" required:"true"` - // The locale identifier of the bot to the list custom vocabulary request. + // The identifier of the language and locale where this custom vocabulary is + // used. The string must match one of the supported locales. For more information, + // see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). // // LocaleId is a required field LocaleId *string `location:"uri" locationName:"localeId" type:"string" required:"true"` - // The maximum results to the list custom vocabulary request. + // The maximum number of items returned by the list operation. MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` // The nextToken identifier to the list custom vocabulary request. @@ -23006,16 +23250,18 @@ func (s *ListCustomVocabularyItemsInput) SetNextToken(v string) *ListCustomVocab type ListCustomVocabularyItemsOutput struct { _ struct{} `type:"structure"` - // The unique identifier of the bot to the list custom vocabulary response. + // The identifier of the bot associated with this custom vocabulary. BotId *string `locationName:"botId" min:"10" type:"string"` - // The bot version of the bot to the list custom vocabulary response. + // The identifier of the version of the bot associated with this custom vocabulary. BotVersion *string `locationName:"botVersion" min:"1" type:"string"` // The custom vocabulary items from the list custom vocabulary response. CustomVocabularyItems []*CustomVocabularyItem `locationName:"customVocabularyItems" type:"list"` - // The locale identifier of the bot to the list custom vocabulary response. + // The identifier of the language and locale where this custom vocabulary is + // used. The string must match one of the supported locales. For more information, + // see Supported Languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html). LocaleId *string `locationName:"localeId" type:"string"` // The nextToken identifier to the list custom vocabulary response. @@ -24884,6 +25130,51 @@ func (s *OutputContext) SetTurnsToLive(v int64) *OutputContext { return s } +// A network of bots. +type ParentBotNetwork struct { + _ struct{} `type:"structure"` + + // The identifier of the network of bots assigned by Amazon Lex. + // + // BotId is a required field + BotId *string `locationName:"botId" min:"10" type:"string" required:"true"` + + // The version of the network of bots. + // + // BotVersion is a required field + BotVersion *string `locationName:"botVersion" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ParentBotNetwork) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ParentBotNetwork) GoString() string { + return s.String() +} + +// SetBotId sets the BotId field's value. +func (s *ParentBotNetwork) SetBotId(v string) *ParentBotNetwork { + s.BotId = &v + return s +} + +// SetBotVersion sets the BotVersion field's value. +func (s *ParentBotNetwork) SetBotVersion(v string) *ParentBotNetwork { + s.BotVersion = &v + return s +} + // The object that contains a path format that will be applied when Amazon Lex // reads the transcript file in the bucket you provide. Specify this object // if you only want Lex to read a subset of files in your Amazon S3 bucket. @@ -28235,7 +28526,7 @@ type StartImportInput struct { FilePassword *string `locationName:"filePassword" min:"1" type:"string" sensitive:"true"` // The unique identifier for the import. It is included in the response from - // the CreateUploadUrl (https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html) + // the CreateUploadUrl (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateUploadUrl.html) // operation. // // ImportId is a required field @@ -29187,6 +29478,7 @@ type ThrottlingException struct { Message_ *string `locationName:"message" type:"string"` + // The number of seconds after which the user can invoke the API again. RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"` } @@ -29712,18 +30004,24 @@ type UpdateBotInput struct { _ struct{} `type:"structure"` // The unique identifier of the bot to update. This identifier is returned by - // the CreateBot (https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html) + // the CreateBot (https://docs.aws.amazon.com/lexv2/latest/APIReference/API_CreateBot.html) // operation. // // BotId is a required field BotId *string `location:"uri" locationName:"botId" min:"10" type:"string" required:"true"` + // The list of bot members in the network associated with the update action. + BotMembers []*BotMember `locationName:"botMembers" type:"list"` + // The new name of the bot. The name must be unique in the account that creates // the bot. // // BotName is a required field BotName *string `locationName:"botName" min:"1" type:"string" required:"true"` + // The type of the bot to be updated. + BotType *string `locationName:"botType" type:"string" enum:"BotType"` + // Provides information on additional privacy protections Amazon Lex should // use with the bot's data. // @@ -29800,6 +30098,16 @@ func (s *UpdateBotInput) Validate() error { if s.RoleArn != nil && len(*s.RoleArn) < 32 { invalidParams.Add(request.NewErrParamMinLen("RoleArn", 32)) } + if s.BotMembers != nil { + for i, v := range s.BotMembers { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BotMembers", i), err.(request.ErrInvalidParams)) + } + } + } if s.DataPrivacy != nil { if err := s.DataPrivacy.Validate(); err != nil { invalidParams.AddNested("DataPrivacy", err.(request.ErrInvalidParams)) @@ -29818,12 +30126,24 @@ func (s *UpdateBotInput) SetBotId(v string) *UpdateBotInput { return s } +// SetBotMembers sets the BotMembers field's value. +func (s *UpdateBotInput) SetBotMembers(v []*BotMember) *UpdateBotInput { + s.BotMembers = v + return s +} + // SetBotName sets the BotName field's value. func (s *UpdateBotInput) SetBotName(v string) *UpdateBotInput { s.BotName = &v return s } +// SetBotType sets the BotType field's value. +func (s *UpdateBotInput) SetBotType(v string) *UpdateBotInput { + s.BotType = &v + return s +} + // SetDataPrivacy sets the DataPrivacy field's value. func (s *UpdateBotInput) SetDataPrivacy(v *DataPrivacy) *UpdateBotInput { s.DataPrivacy = v @@ -30114,6 +30434,9 @@ type UpdateBotOutput struct { // The unique identifier of the bot that was updated. BotId *string `locationName:"botId" min:"10" type:"string"` + // The list of bot members in the network that was updated. + BotMembers []*BotMember `locationName:"botMembers" type:"list"` + // The name of the bot after the update. BotName *string `locationName:"botName" min:"1" type:"string"` @@ -30122,6 +30445,9 @@ type UpdateBotOutput struct { // bot is created, you can use the DRAFT version of the bot. BotStatus *string `locationName:"botStatus" type:"string" enum:"BotStatus"` + // The type of the bot that was updated. + BotType *string `locationName:"botType" type:"string" enum:"BotType"` + // A timestamp of the date and time that the bot was created. CreationDateTime *time.Time `locationName:"creationDateTime" type:"timestamp"` @@ -30166,6 +30492,12 @@ func (s *UpdateBotOutput) SetBotId(v string) *UpdateBotOutput { return s } +// SetBotMembers sets the BotMembers field's value. +func (s *UpdateBotOutput) SetBotMembers(v []*BotMember) *UpdateBotOutput { + s.BotMembers = v + return s +} + // SetBotName sets the BotName field's value. func (s *UpdateBotOutput) SetBotName(v string) *UpdateBotOutput { s.BotName = &v @@ -30178,6 +30510,12 @@ func (s *UpdateBotOutput) SetBotStatus(v string) *UpdateBotOutput { return s } +// SetBotType sets the BotType field's value. +func (s *UpdateBotOutput) SetBotType(v string) *UpdateBotOutput { + s.BotType = &v + return s +} + // SetCreationDateTime sets the CreationDateTime field's value. func (s *UpdateBotOutput) SetCreationDateTime(v time.Time) *UpdateBotOutput { s.CreationDateTime = &v @@ -32323,12 +32661,16 @@ func BotAliasStatus_Values() []string { const ( // BotFilterNameBotName is a BotFilterName enum value BotFilterNameBotName = "BotName" + + // BotFilterNameBotType is a BotFilterName enum value + BotFilterNameBotType = "BotType" ) // BotFilterName_Values returns all elements of the BotFilterName enum func BotFilterName_Values() []string { return []string{ BotFilterNameBotName, + BotFilterNameBotType, } } @@ -32338,6 +32680,9 @@ const ( // BotFilterOperatorEq is a BotFilterOperator enum value BotFilterOperatorEq = "EQ" + + // BotFilterOperatorNe is a BotFilterOperator enum value + BotFilterOperatorNe = "NE" ) // BotFilterOperator_Values returns all elements of the BotFilterOperator enum @@ -32345,6 +32690,7 @@ func BotFilterOperator_Values() []string { return []string{ BotFilterOperatorCo, BotFilterOperatorEq, + BotFilterOperatorNe, } } @@ -32509,6 +32855,9 @@ const ( // BotStatusImporting is a BotStatus enum value BotStatusImporting = "Importing" + + // BotStatusUpdating is a BotStatus enum value + BotStatusUpdating = "Updating" ) // BotStatus_Values returns all elements of the BotStatus enum @@ -32521,6 +32870,23 @@ func BotStatus_Values() []string { BotStatusFailed, BotStatusVersioning, BotStatusImporting, + BotStatusUpdating, + } +} + +const ( + // BotTypeBot is a BotType enum value + BotTypeBot = "Bot" + + // BotTypeBotNetwork is a BotType enum value + BotTypeBotNetwork = "BotNetwork" +) + +// BotType_Values returns all elements of the BotType enum +func BotType_Values() []string { + return []string{ + BotTypeBot, + BotTypeBotNetwork, } } diff --git a/service/lexruntimev2/api.go b/service/lexruntimev2/api.go index 233eb8420fb..ade172cfcec 100644 --- a/service/lexruntimev2/api.go +++ b/service/lexruntimev2/api.go @@ -2888,6 +2888,9 @@ type IntentResultEvent struct { // sentiment response that indicates the sentiment expressed in the utterance. Interpretations []*Interpretation `locationName:"interpretations" type:"list"` + // The bot member that is processing the intent. + RecognizedBotMember *RecognizedBotMember `locationName:"recognizedBotMember" type:"structure"` + // The attributes sent in the request. RequestAttributes map[string]*string `locationName:"requestAttributes" type:"map"` @@ -2934,6 +2937,12 @@ func (s *IntentResultEvent) SetInterpretations(v []*Interpretation) *IntentResul return s } +// SetRecognizedBotMember sets the RecognizedBotMember field's value. +func (s *IntentResultEvent) SetRecognizedBotMember(v *RecognizedBotMember) *IntentResultEvent { + s.RecognizedBotMember = v + return s +} + // SetRequestAttributes sets the RequestAttributes field's value. func (s *IntentResultEvent) SetRequestAttributes(v map[string]*string) *IntentResultEvent { s.RequestAttributes = v @@ -3793,6 +3802,9 @@ type RecognizeTextOutput struct { // the order that the messages are defined in the bot. Messages []*Message `locationName:"messages" type:"list"` + // The bot member that recognized the text. + RecognizedBotMember *RecognizedBotMember `locationName:"recognizedBotMember" type:"structure"` + // The attributes sent in the request. RequestAttributes map[string]*string `locationName:"requestAttributes" type:"map"` @@ -3836,6 +3848,12 @@ func (s *RecognizeTextOutput) SetMessages(v []*Message) *RecognizeTextOutput { return s } +// SetRecognizedBotMember sets the RecognizedBotMember field's value. +func (s *RecognizeTextOutput) SetRecognizedBotMember(v *RecognizedBotMember) *RecognizeTextOutput { + s.RecognizedBotMember = v + return s +} + // SetRequestAttributes sets the RequestAttributes field's value. func (s *RecognizeTextOutput) SetRequestAttributes(v map[string]*string) *RecognizeTextOutput { s.RequestAttributes = v @@ -3917,7 +3935,7 @@ type RecognizeUtteranceInput struct { // // * If the value begins with audio/, Amazon Lex V2 returns speech in the // response. Amazon Lex V2 uses Amazon Polly to generate the speech using - // the configuration that you specified in the requestContentType parameter. + // the configuration that you specified in the responseContentType parameter. // For example, if you specify audio/mpeg as the value, Amazon Lex V2 returns // speech in the MPEG format. // @@ -4116,6 +4134,9 @@ type RecognizeUtteranceOutput struct { // the contents. Messages *string `location:"header" locationName:"x-amz-lex-messages" min:"1" type:"string"` + // The bot member that recognized the utterance. + RecognizedBotMember *string `location:"header" locationName:"x-amz-lex-recognized-bot-member" min:"1" type:"string"` + // The attributes sent in the request. // // The requestAttributes field is compressed with gzip and then base64 encoded. @@ -4192,6 +4213,12 @@ func (s *RecognizeUtteranceOutput) SetMessages(v string) *RecognizeUtteranceOutp return s } +// SetRecognizedBotMember sets the RecognizedBotMember field's value. +func (s *RecognizeUtteranceOutput) SetRecognizedBotMember(v string) *RecognizeUtteranceOutput { + s.RecognizedBotMember = &v + return s +} + // SetRequestAttributes sets the RequestAttributes field's value. func (s *RecognizeUtteranceOutput) SetRequestAttributes(v string) *RecognizeUtteranceOutput { s.RequestAttributes = &v @@ -4210,6 +4237,49 @@ func (s *RecognizeUtteranceOutput) SetSessionState(v string) *RecognizeUtterance return s } +// The bot member that processes the request. +type RecognizedBotMember struct { + _ struct{} `type:"structure"` + + // The identifier of the bot member that processes the request. + // + // BotId is a required field + BotId *string `locationName:"botId" min:"10" type:"string" required:"true"` + + // The name of the bot member that processes the request. + BotName *string `locationName:"botName" min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RecognizedBotMember) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RecognizedBotMember) GoString() string { + return s.String() +} + +// SetBotId sets the BotId field's value. +func (s *RecognizedBotMember) SetBotId(v string) *RecognizedBotMember { + s.BotId = &v + return s +} + +// SetBotName sets the BotName field's value. +func (s *RecognizedBotMember) SetBotName(v string) *RecognizedBotMember { + s.BotName = &v + return s +} + type ResourceNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/service/lexruntimev2/doc.go b/service/lexruntimev2/doc.go index d6df001531a..28f219cd698 100644 --- a/service/lexruntimev2/doc.go +++ b/service/lexruntimev2/doc.go @@ -3,6 +3,9 @@ // Package lexruntimev2 provides the client and types for making API // requests to Amazon Lex Runtime V2. // +// This section contains documentation for the Amazon Lex V2 Runtime V2 API +// operations. +// // See https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07 for more information on this service. // // See lexruntimev2 package documentation for more information. diff --git a/service/lexruntimev2/eventstream_test.go b/service/lexruntimev2/eventstream_test.go index cbb927c07f8..474cec7ee0a 100644 --- a/service/lexruntimev2/eventstream_test.go +++ b/service/lexruntimev2/eventstream_test.go @@ -425,6 +425,10 @@ func mockStartConversationReadEvents() ( }, }, }, + RecognizedBotMember: &RecognizedBotMember{ + BotId: aws.String("string value goes here"), + BotName: aws.String("string value goes here"), + }, RequestAttributes: map[string]*string{ "a": aws.String("string value goes here"), "b": aws.String("string value goes here"), diff --git a/service/lightsail/api.go b/service/lightsail/api.go index 5295f115480..23c49ad9147 100644 --- a/service/lightsail/api.go +++ b/service/lightsail/api.go @@ -18194,7 +18194,8 @@ func (s *AutoSnapshotDetails) SetStatus(v string) *AutoSnapshotDetails { return s } -// Describes an Availability Zone. +// Describes an Availability Zone. This is returned only as part of a GetRegions +// request. type AvailabilityZone struct { _ struct{} `type:"structure"` @@ -20780,13 +20781,12 @@ func (s *ContainerServicePower) SetRamSizeInGb(v float64) *ContainerServicePower return s } -// Describes the login information for the container image registry of an Amazon -// Lightsail account. +// Describes the sign-in credentials for the container image registry of an +// Amazon Lightsail account. type ContainerServiceRegistryLogin struct { _ struct{} `type:"structure"` - // The timestamp of when the container image registry username and password - // expire. + // The timestamp of when the container image registry sign-in credentials expire. // // The log in credentials expire 12 hours after they are created, at which point // you will need to create a new set of log in credentials using the CreateContainerServiceRegistryLogin @@ -27623,9 +27623,11 @@ type DomainEntry struct { Id *string `locationName:"id" type:"string"` // When true, specifies whether the domain entry is an alias used by the Lightsail - // load balancer. You can include an alias (A type) record in your request, - // which points to a load balancer DNS name and routes traffic to your load - // balancer. + // load balancer, Lightsail container service, Lightsail content delivery network + // (CDN) distribution, or another Amazon Web Services resource. You can include + // an alias (A type) record in your request, which points to the DNS name of + // a load balancer, container service, CDN distribution, or other Amazon Web + // Services resource and routes traffic to that resource. IsAlias *bool `locationName:"isAlias" type:"boolean"` // The name of the domain. @@ -43198,7 +43200,9 @@ func (s *UpdateInstanceMetadataOptionsInput) SetInstanceName(v string) *UpdateIn type UpdateInstanceMetadataOptionsOutput struct { _ struct{} `type:"structure"` - // Describes the API operation. + // An array of objects that describe the result of the action, such as the status + // of the request, the timestamp of the request, and the resources affected + // by the request. Operation *Operation `locationName:"operation" type:"structure"` } diff --git a/service/migrationhubrefactorspaces/api.go b/service/migrationhubrefactorspaces/api.go index d777589d238..68f0155564c 100644 --- a/service/migrationhubrefactorspaces/api.go +++ b/service/migrationhubrefactorspaces/api.go @@ -162,7 +162,9 @@ func (c *MigrationHubRefactorSpaces) CreateEnvironmentRequest(input *CreateEnvir // services, and routes created within the environment. They are referred to // as the environment owner. The environment owner has cross-account visibility // and control of Refactor Spaces resources that are added to the environment -// by other accounts that the environment is shared with. When creating an environment, +// by other accounts that the environment is shared with. +// +// When creating an environment with a network fabric type of TRANSIT_GATEWAY, // Refactor Spaces provisions a transit gateway in your account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -8831,12 +8833,16 @@ func HttpMethod_Values() []string { const ( // NetworkFabricTypeTransitGateway is a NetworkFabricType enum value NetworkFabricTypeTransitGateway = "TRANSIT_GATEWAY" + + // NetworkFabricTypeNone is a NetworkFabricType enum value + NetworkFabricTypeNone = "NONE" ) // NetworkFabricType_Values returns all elements of the NetworkFabricType enum func NetworkFabricType_Values() []string { return []string{ NetworkFabricTypeTransitGateway, + NetworkFabricTypeNone, } } diff --git a/service/workdocs/api.go b/service/workdocs/api.go index 4d1ee05b4a2..718d982b5b3 100644 --- a/service/workdocs/api.go +++ b/service/workdocs/api.go @@ -83,7 +83,7 @@ func (c *WorkDocs) AbortDocumentVersionUploadRequest(input *AbortDocumentVersion // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -179,7 +179,7 @@ func (c *WorkDocs) ActivateUserRequest(input *ActivateUserInput) (req *request.R // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -270,7 +270,7 @@ func (c *WorkDocs) AddResourcePermissionsRequest(input *AddResourcePermissionsIn // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -369,7 +369,7 @@ func (c *WorkDocs) CreateCommentRequest(input *CreateCommentInput) (req *request // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -478,7 +478,7 @@ func (c *WorkDocs) CreateCustomMetadataRequest(input *CreateCustomMetadataInput) // resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -588,7 +588,7 @@ func (c *WorkDocs) CreateFolderRequest(input *CreateFolderInput) (req *request.R // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -682,7 +682,7 @@ func (c *WorkDocs) CreateLabelsRequest(input *CreateLabelsInput) (req *request.R // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -873,7 +873,7 @@ func (c *WorkDocs) CreateUserRequest(input *CreateUserInput) (req *request.Reque // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -968,7 +968,7 @@ func (c *WorkDocs) DeactivateUserRequest(input *DeactivateUserInput) (req *reque // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -1065,7 +1065,7 @@ func (c *WorkDocs) DeleteCommentRequest(input *DeleteCommentInput) (req *request // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -1166,7 +1166,7 @@ func (c *WorkDocs) DeleteCustomMetadataRequest(input *DeleteCustomMetadataInput) // The specified document version is not in the INITIALIZED state. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -1274,7 +1274,7 @@ func (c *WorkDocs) DeleteDocumentRequest(input *DeleteDocumentInput) (req *reque // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -1347,8 +1347,7 @@ func (c *WorkDocs) DeleteDocumentVersionRequest(input *DeleteDocumentVersionInpu // DeleteDocumentVersion API operation for Amazon WorkDocs. // -// Deletes a version of an Amazon WorkDocs document. Use the DeletePriorVersions -// parameter to delete prior versions. +// Deletes a specific version of a document. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1376,7 +1375,7 @@ func (c *WorkDocs) DeleteDocumentVersionRequest(input *DeleteDocumentVersionInpu // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -1487,7 +1486,7 @@ func (c *WorkDocs) DeleteFolderRequest(input *DeleteFolderInput) (req *request.R // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -1588,7 +1587,7 @@ func (c *WorkDocs) DeleteFolderContentsRequest(input *DeleteFolderContentsInput) // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -1682,7 +1681,7 @@ func (c *WorkDocs) DeleteLabelsRequest(input *DeleteLabelsInput) (req *request.R // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -1849,6 +1848,9 @@ func (c *WorkDocs) DeleteUserRequest(input *DeleteUserInput) (req *request.Reque // // Deletes the specified user from a Simple AD or Microsoft AD directory. // +// Deleting a user immediately and permanently deletes all content in that user's +// folder structure. Site retention policies do NOT apply to this type of deletion. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1868,7 +1870,7 @@ func (c *WorkDocs) DeleteUserRequest(input *DeleteUserInput) (req *request.Reque // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -1961,7 +1963,7 @@ func (c *WorkDocs) DescribeActivitiesRequest(input *DescribeActivitiesInput) (re // The pagination marker or limit fields are not valid. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -2057,7 +2059,7 @@ func (c *WorkDocs) DescribeCommentsRequest(input *DescribeCommentsInput) (req *r // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -2161,7 +2163,7 @@ func (c *WorkDocs) DescribeDocumentVersionsRequest(input *DescribeDocumentVersio // The pagination marker or limit fields are not valid. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -2323,7 +2325,7 @@ func (c *WorkDocs) DescribeFolderContentsRequest(input *DescribeFolderContentsIn // The pagination marker or limit fields are not valid. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -2468,7 +2470,7 @@ func (c *WorkDocs) DescribeGroupsRequest(input *DescribeGroupsInput) (req *reque // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -2646,7 +2648,7 @@ func (c *WorkDocs) DescribeResourcePermissionsRequest(input *DescribeResourcePer // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -2747,7 +2749,7 @@ func (c *WorkDocs) DescribeRootFoldersRequest(input *DescribeRootFoldersInput) ( // The pagination marker or limit fields are not valid. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -2851,7 +2853,7 @@ func (c *WorkDocs) DescribeUsersRequest(input *DescribeUsersInput) (req *request // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3008,7 +3010,7 @@ func (c *WorkDocs) GetCurrentUserRequest(input *GetCurrentUserInput) (req *reque // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3104,7 +3106,7 @@ func (c *WorkDocs) GetDocumentRequest(input *GetDocumentInput) (req *request.Req // The pagination marker or limit fields are not valid. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3206,7 +3208,7 @@ func (c *WorkDocs) GetDocumentPathRequest(input *GetDocumentPathInput) (req *req // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3299,7 +3301,7 @@ func (c *WorkDocs) GetDocumentVersionRequest(input *GetDocumentVersionInput) (re // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3401,7 +3403,7 @@ func (c *WorkDocs) GetFolderRequest(input *GetFolderInput) (req *request.Request // The pagination marker or limit fields are not valid. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3503,7 +3505,7 @@ func (c *WorkDocs) GetFolderPathRequest(input *GetFolderPathInput) (req *request // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3597,7 +3599,7 @@ func (c *WorkDocs) GetResourcesRequest(input *GetResourcesInput) (req *request.R // The pagination marker or limit fields are not valid. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3713,7 +3715,7 @@ func (c *WorkDocs) InitiateDocumentVersionUploadRequest(input *InitiateDocumentV // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3814,7 +3816,7 @@ func (c *WorkDocs) RemoveAllResourcePermissionsRequest(input *RemoveAllResourceP // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -3905,7 +3907,7 @@ func (c *WorkDocs) RemoveResourcePermissionRequest(input *RemoveResourcePermissi // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -4006,7 +4008,7 @@ func (c *WorkDocs) RestoreDocumentVersionsRequest(input *RestoreDocumentVersions // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -4121,7 +4123,7 @@ func (c *WorkDocs) UpdateDocumentRequest(input *UpdateDocumentInput) (req *reque // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -4228,7 +4230,7 @@ func (c *WorkDocs) UpdateDocumentVersionRequest(input *UpdateDocumentVersionInpu // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -4340,7 +4342,7 @@ func (c *WorkDocs) UpdateFolderRequest(input *UpdateFolderInput) (req *request.R // The caller does not have access to perform the action on the resource. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -4440,7 +4442,7 @@ func (c *WorkDocs) UpdateUserRequest(input *UpdateUserInput) (req *request.Reque // The specified document version is not in the INITIALIZED state. // // - FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. // @@ -4478,8 +4480,8 @@ func (c *WorkDocs) UpdateUserWithContext(ctx aws.Context, input *UpdateUserInput type AbortDocumentVersionUploadInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AbortDocumentVersionUploadInput's @@ -4583,8 +4585,8 @@ func (s AbortDocumentVersionUploadOutput) GoString() string { type ActivateUserInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ActivateUserInput's @@ -4791,8 +4793,8 @@ func (s *Activity) SetType(v string) *Activity { type AddResourcePermissionsInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AddResourcePermissionsInput's @@ -5231,8 +5233,8 @@ func (s *ConflictingOperationException) RequestID() string { type CreateCommentInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateCommentInput's @@ -5411,8 +5413,8 @@ func (s *CreateCommentOutput) SetComment(v *Comment) *CreateCommentOutput { type CreateCustomMetadataInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateCustomMetadataInput's @@ -5529,8 +5531,8 @@ func (s CreateCustomMetadataOutput) GoString() string { type CreateFolderInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateFolderInput's @@ -5638,8 +5640,8 @@ func (s *CreateFolderOutput) SetMetadata(v *FolderMetadata) *CreateFolderOutput type CreateLabelsInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateLabelsInput's @@ -5867,8 +5869,8 @@ func (s *CreateNotificationSubscriptionOutput) SetSubscription(v *Subscription) type CreateUserInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateUserInput's @@ -6133,8 +6135,8 @@ func (s *CustomMetadataLimitExceededException) RequestID() string { type DeactivateUserInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeactivateUserInput's @@ -6285,8 +6287,8 @@ func (s *DeactivatingLastSystemUserException) RequestID() string { type DeleteCommentInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeleteCommentInput's @@ -6407,8 +6409,8 @@ func (s DeleteCommentOutput) GoString() string { type DeleteCustomMetadataInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeleteCustomMetadataInput's @@ -6527,8 +6529,8 @@ func (s DeleteCustomMetadataOutput) GoString() string { type DeleteDocumentInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeleteDocumentInput's @@ -6615,26 +6617,25 @@ func (s DeleteDocumentOutput) GoString() string { type DeleteDocumentVersionInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeleteDocumentVersionInput's // String and GoString methods. AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string" sensitive:"true"` - // When set to TRUE, deletes the specified version and all prior versions of - // a document. + // Deletes all versions of a document prior to the current version. // // DeletePriorVersions is a required field DeletePriorVersions *bool `location:"querystring" locationName:"deletePriorVersions" type:"boolean" required:"true"` - // The ID of a document. + // The ID of the document associated with the version being deleted. // // DocumentId is a required field DocumentId *string `location:"uri" locationName:"DocumentId" min:"1" type:"string" required:"true"` - // The version ID of a document. + // The ID of the version being deleted. // // VersionId is a required field VersionId *string `location:"uri" locationName:"VersionId" min:"1" type:"string" required:"true"` @@ -6735,8 +6736,8 @@ func (s DeleteDocumentVersionOutput) GoString() string { type DeleteFolderContentsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeleteFolderContentsInput's @@ -6823,8 +6824,8 @@ func (s DeleteFolderContentsOutput) GoString() string { type DeleteFolderInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeleteFolderInput's @@ -6911,8 +6912,8 @@ func (s DeleteFolderOutput) GoString() string { type DeleteLabelsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeleteLabelsInput's @@ -7106,7 +7107,7 @@ type DeleteUserInput struct { _ struct{} `type:"structure" nopayload:"true"` // Amazon WorkDocs authentication token. Do not set this field when using administrative - // API actions, as in accessing the API using AWS credentials. + // API actions, as in accessing the API using Amazon Web Services credentials. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DeleteUserInput's @@ -7197,8 +7198,8 @@ type DescribeActivitiesInput struct { // is left empty, all activity types are returned. ActivityTypes *string `location:"querystring" locationName:"activityTypes" min:"1" type:"string"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DescribeActivitiesInput's @@ -7390,8 +7391,8 @@ func (s *DescribeActivitiesOutput) SetUserActivities(v []*Activity) *DescribeAct type DescribeCommentsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DescribeCommentsInput's @@ -7539,8 +7540,8 @@ func (s *DescribeCommentsOutput) SetMarker(v string) *DescribeCommentsOutput { type DescribeDocumentVersionsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DescribeDocumentVersionsInput's @@ -7697,8 +7698,8 @@ func (s *DescribeDocumentVersionsOutput) SetMarker(v string) *DescribeDocumentVe type DescribeFolderContentsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DescribeFolderContentsInput's @@ -7877,8 +7878,8 @@ func (s *DescribeFolderContentsOutput) SetMarker(v string) *DescribeFolderConten type DescribeGroupsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DescribeGroupsInput's @@ -8140,8 +8141,8 @@ func (s *DescribeNotificationSubscriptionsOutput) SetSubscriptions(v []*Subscrip type DescribeResourcePermissionsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DescribeResourcePermissionsInput's @@ -8402,8 +8403,8 @@ func (s *DescribeRootFoldersOutput) SetMarker(v string) *DescribeRootFoldersOutp type DescribeUsersInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by DescribeUsersInput's @@ -9117,7 +9118,7 @@ func (s *EntityNotExistsException) RequestID() string { return s.RespMetadata.RequestID } -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. type FailedDependencyException struct { @@ -9392,8 +9393,8 @@ func (s *GetCurrentUserOutput) SetUser(v *User) *GetCurrentUserOutput { type GetDocumentInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetDocumentInput's @@ -9507,8 +9508,8 @@ func (s *GetDocumentOutput) SetMetadata(v *DocumentMetadata) *GetDocumentOutput type GetDocumentPathInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetDocumentPathInput's @@ -9641,8 +9642,8 @@ func (s *GetDocumentPathOutput) SetPath(v *ResourcePath) *GetDocumentPathOutput type GetDocumentVersionInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetDocumentVersionInput's @@ -9786,8 +9787,8 @@ func (s *GetDocumentVersionOutput) SetMetadata(v *DocumentVersionMetadata) *GetD type GetFolderInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetFolderInput's @@ -9901,8 +9902,8 @@ func (s *GetFolderOutput) SetMetadata(v *FolderMetadata) *GetFolderOutput { type GetFolderPathInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetFolderPathInput's @@ -10035,8 +10036,8 @@ func (s *GetFolderPathOutput) SetPath(v *ResourcePath) *GetFolderPathOutput { type GetResourcesInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // The Amazon WorkDocs authentication token. Not required when using Amazon + // Web Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by GetResourcesInput's @@ -10286,8 +10287,8 @@ func (s *IllegalUserStateException) RequestID() string { type InitiateDocumentVersionUploadInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by InitiateDocumentVersionUploadInput's @@ -10779,7 +10780,7 @@ type NotificationOptions struct { // String and GoString methods. EmailMessage *string `type:"string" sensitive:"true"` - // Boolean value to indicate an email notification should be sent to the receipients. + // Boolean value to indicate an email notification should be sent to the recipients. SendEmail *bool `type:"boolean"` } @@ -11012,8 +11013,8 @@ func (s *ProhibitedStateException) RequestID() string { type RemoveAllResourcePermissionsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RemoveAllResourcePermissionsInput's @@ -11100,8 +11101,8 @@ func (s RemoveAllResourcePermissionsOutput) GoString() string { type RemoveResourcePermissionInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RemoveResourcePermissionInput's @@ -11503,8 +11504,8 @@ func (s *ResourcePathComponent) SetName(v string) *ResourcePathComponent { type RestoreDocumentVersionsInput struct { _ struct{} `type:"structure" nopayload:"true"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by RestoreDocumentVersionsInput's @@ -12290,8 +12291,8 @@ func (s *UnauthorizedResourceAccessException) RequestID() string { type UpdateDocumentInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateDocumentInput's @@ -12411,8 +12412,8 @@ func (s UpdateDocumentOutput) GoString() string { type UpdateDocumentVersionInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateDocumentVersionInput's @@ -12525,8 +12526,8 @@ func (s UpdateDocumentVersionOutput) GoString() string { type UpdateFolderInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateFolderInput's @@ -12647,8 +12648,8 @@ func (s UpdateFolderOutput) GoString() string { type UpdateUserInput struct { _ struct{} `type:"structure"` - // Amazon WorkDocs authentication token. Not required when using AWS administrator - // credentials to access the API. + // Amazon WorkDocs authentication token. Not required when using Amazon Web + // Services administrator credentials to access the API. // // AuthenticationToken is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateUserInput's @@ -12658,7 +12659,7 @@ type UpdateUserInput struct { // The given name of the user. GivenName *string `min:"1" type:"string"` - // Boolean value to determine whether the user is granted Poweruser privileges. + // Boolean value to determine whether the user is granted Power user privileges. GrantPoweruserPrivileges *string `type:"string" enum:"BooleanEnumType"` // The locale of the user. diff --git a/service/workdocs/doc.go b/service/workdocs/doc.go index bf379ef4bb8..6d34c395823 100644 --- a/service/workdocs/doc.go +++ b/service/workdocs/doc.go @@ -3,7 +3,7 @@ // Package workdocs provides the client and types for making API // requests to Amazon WorkDocs. // -// The WorkDocs API is designed for the following use cases: +// The Amazon WorkDocs API is designed for the following use cases: // // - File Migration: File migration applications are supported for users // who want to migrate their files from an on-premises or off-premises file @@ -13,27 +13,26 @@ // // - Security: Support security applications are supported for users who // have additional security needs, such as antivirus or data loss prevention. -// The API actions, along with AWS CloudTrail, allow these applications to -// detect when changes occur in Amazon WorkDocs. Then, the application can -// take the necessary actions and replace the target file. If the target -// file violates the policy, the application can also choose to email the -// user. +// The API actions, along with CloudTrail, allow these applications to detect +// when changes occur in Amazon WorkDocs. Then, the application can take +// the necessary actions and replace the target file. If the target file +// violates the policy, the application can also choose to email the user. // // - eDiscovery/Analytics: General administrative applications are supported, // such as eDiscovery and analytics. These applications can choose to mimic -// or record the actions in an Amazon WorkDocs site, along with AWS CloudTrail, +// or record the actions in an Amazon WorkDocs site, along with CloudTrail, // to replicate data for eDiscovery, backup, or analytical applications. // // All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed. -// They not only require the use of the AWS SDK, but also allow for the exclusive -// use of IAM users and roles to help facilitate access, trust, and permission -// policies. By creating a role and allowing an IAM user to access the Amazon -// WorkDocs site, the IAM user gains full administrative visibility into the -// entire Amazon WorkDocs site (or as set in the IAM policy). This includes, -// but is not limited to, the ability to modify file permissions and upload -// any file to any user. This allows developers to perform the three use cases -// above, as well as give users the ability to grant access on a selective basis -// using the IAM model. +// They not only require the use of the Amazon Web Services SDK, but also allow +// for the exclusive use of IAM users and roles to help facilitate access, trust, +// and permission policies. By creating a role and allowing an IAM user to access +// the Amazon WorkDocs site, the IAM user gains full administrative visibility +// into the entire Amazon WorkDocs site (or as set in the IAM policy). This +// includes, but is not limited to, the ability to modify file permissions and +// upload any file to any user. This allows developers to perform the three +// use cases above, as well as give users the ability to grant access on a selective +// basis using the IAM model. // // The pricing for Amazon WorkDocs APIs varies depending on the API call type // for these actions: diff --git a/service/workdocs/errors.go b/service/workdocs/errors.go index bf04ab56f59..420c7e1aaf0 100644 --- a/service/workdocs/errors.go +++ b/service/workdocs/errors.go @@ -63,7 +63,7 @@ const ( // ErrCodeFailedDependencyException for service response error code // "FailedDependencyException". // - // The AWS Directory Service cannot reach an on-premises instance. Or a dependency + // The Directory Service cannot reach an on-premises instance. Or a dependency // under the control of the organization is failing, such as a connected Active // Directory. ErrCodeFailedDependencyException = "FailedDependencyException" diff --git a/service/workspaces/api.go b/service/workspaces/api.go index b84a0fca95c..4cf8b529167 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -750,7 +750,7 @@ func (c *WorkSpaces) CreateStandbyWorkspacesRequest(input *CreateStandbyWorkspac // CreateStandbyWorkspaces API operation for Amazon WorkSpaces. // -// Creates a Standby WorkSpace in a secondary region. +// Creates a standby WorkSpace in a secondary Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -934,7 +934,7 @@ func (c *WorkSpaces) CreateUpdatedWorkspaceImageRequest(input *CreateUpdatedWork // To determine which WorkSpace images need to be updated with the latest Amazon // WorkSpaces requirements, use DescribeWorkspaceImages (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html). // -// - Only Windows 10, Windows Sever 2016, and Windows Server 2019 WorkSpace +// - Only Windows 10, Windows Server 2016, and Windows Server 2019 WorkSpace // images can be programmatically updated at this time. // // - Microsoft Windows updates and other application updates are not included @@ -3852,11 +3852,11 @@ func (c *WorkSpaces) ImportWorkspaceImageRequest(input *ImportWorkspaceImageInpu // ImportWorkspaceImage API operation for Amazon WorkSpaces. // -// Imports the specified Windows 10 Bring Your Own License (BYOL) or Windows -// Server 2016 BYOL image into Amazon WorkSpaces. The image must be an already -// licensed Amazon EC2 image that is in your Amazon Web Services account, and -// you must own the image. For more information about creating BYOL images, -// see Bring Your Own Windows Desktop Licenses (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). +// Imports the specified Windows 10 Bring Your Own License (BYOL) image into +// Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image +// that is in your Amazon Web Services account, and you must own the image. +// For more information about creating BYOL images, see Bring Your Own Windows +// Desktop Licenses (https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7480,7 +7480,7 @@ type CreateStandbyWorkspacesInput struct { // PrimaryRegion is a required field PrimaryRegion *string `min:"1" type:"string" required:"true"` - // Information about the Standby WorkSpace to be created. + // Information about the standby WorkSpace to be created. // // StandbyWorkspaces is a required field StandbyWorkspaces []*StandbyWorkspace `type:"list" required:"true"` @@ -7548,10 +7548,10 @@ func (s *CreateStandbyWorkspacesInput) SetStandbyWorkspaces(v []*StandbyWorkspac type CreateStandbyWorkspacesOutput struct { _ struct{} `type:"structure"` - // Information about the Standby WorkSpace that could not be created. + // Information about the standby WorkSpace that could not be created. FailedStandbyRequests []*FailedCreateStandbyWorkspacesRequest `type:"list"` - // Information about the Standby WorkSpace that was created. + // Information about the standby WorkSpace that was created. PendingStandbyRequests []*PendingCreateStandbyWorkspacesRequest `type:"list"` } @@ -11058,18 +11058,18 @@ func (s DisassociateIpGroupsOutput) GoString() string { return s.String() } -// Describes the Standby WorkSpace that could not be created. +// Describes the standby WorkSpace that could not be created. type FailedCreateStandbyWorkspacesRequest struct { _ struct{} `type:"structure"` - // The error code that is returned if the Standby WorkSpace could not be created. + // The error code that is returned if the standby WorkSpace could not be created. ErrorCode *string `type:"string"` - // The text of the error message that is returned if the Standby WorkSpace could + // The text of the error message that is returned if the standby WorkSpace could // not be created. ErrorMessage *string `type:"string"` - // Information about the Standby WorkSpace that could not be created. + // Information about the standby WorkSpace that could not be created. StandbyWorkspaceRequest *StandbyWorkspace `type:"structure"` } @@ -13327,17 +13327,17 @@ func (s *OperationNotSupportedException) RequestID() string { return s.RespMetadata.RequestID } -// Information about the Standby WorkSpace. +// Information about the standby WorkSpace. type PendingCreateStandbyWorkspacesRequest struct { _ struct{} `type:"structure"` - // The identifier of the directory for the Standby WorkSpace. + // The identifier of the directory for the standby WorkSpace. DirectoryId *string `min:"10" type:"string"` - // The operational state of the Standby WorkSpace. + // The operational state of the standby WorkSpace. State *string `type:"string" enum:"WorkspaceState"` - // Describes the Standby WorkSpace that was created. + // Describes the standby WorkSpace that was created. // // Because this operation is asynchronous, the identifier returned is not immediately // available for use with other operations. For example, if you call DescribeWorkspaces @@ -13345,7 +13345,7 @@ type PendingCreateStandbyWorkspacesRequest struct { // before the WorkSpace is created, the information returned can be incomplete. UserName *string `min:"1" type:"string"` - // The identifier of the Standby WorkSpace. + // The identifier of the standby WorkSpace. WorkspaceId *string `type:"string"` } @@ -13812,8 +13812,8 @@ func (s RegisterWorkspaceDirectoryOutput) GoString() string { return s.String() } -// Describes the related WorkSpace. The related WorkSpace could be a Standby -// WorkSpace or Primary WorkSpace related to the specified WorkSpace. +// Describes the related WorkSpace. The related WorkSpace could be a standby +// WorkSpace or primary WorkSpace related to the specified WorkSpace. type RelatedWorkspaceProperties struct { _ struct{} `type:"structure"` @@ -14655,24 +14655,24 @@ func (s *Snapshot) SetSnapshotTime(v time.Time) *Snapshot { return s } -// Describes a Standby WorkSpace. +// Describes a standby WorkSpace. type StandbyWorkspace struct { _ struct{} `type:"structure"` - // The identifier of the directory for the Standby WorkSpace. + // The identifier of the directory for the standby WorkSpace. // // DirectoryId is a required field DirectoryId *string `min:"10" type:"string" required:"true"` - // The identifier of the Standby WorkSpace. + // The identifier of the standby WorkSpace. // // PrimaryWorkspaceId is a required field PrimaryWorkspaceId *string `type:"string" required:"true"` - // The tags associated with the Standby WorkSpace. + // The tags associated with the standby WorkSpace. Tags []*Tag `type:"list"` - // The volume encryption key of the Standby WorkSpace. + // The volume encryption key of the standby WorkSpace. VolumeEncryptionKey *string `type:"string"` } @@ -15867,7 +15867,7 @@ type Workspace struct { // The modification states of the WorkSpace. ModificationStates []*ModificationState `type:"list"` - // The Standby WorkSpace or Primary WorkSpace related to the specified WorkSpace. + // The standby WorkSpace or primary WorkSpace related to the specified WorkSpace. RelatedWorkspaces []*RelatedWorkspaceProperties `type:"list"` // Indicates whether the data stored on the root volume is encrypted.