From 80bee5c143ccbc741814bb229235241d9c561013 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 10 Mar 2022 19:23:43 +0000 Subject: [PATCH] Updates SDK to v2.1091.0 --- .changes/2.1091.0.json | 17 ++ CHANGELOG.md | 7 +- README.md | 2 +- apis/models.lex.v2-2020-08-07.min.json | 2 - apis/models.lex.v2-2020-08-07.normal.json | 2 - apis/transcribe-2017-10-26.min.json | 50 +++--- apis/transcribe-2017-10-26.normal.json | 169 ++++++++++--------- apis/transfer-2018-11-05.normal.json | 29 +++- clients/lexmodelsv2.d.ts | 4 +- clients/transcribeservice.d.ts | 195 +++++++++++----------- clients/transfer.d.ts | 22 ++- dist/aws-sdk-core-react-native.js | 2 +- dist/aws-sdk-react-native.js | 6 +- dist/aws-sdk.js | 6 +- dist/aws-sdk.min.js | 4 +- lib/core.js | 2 +- package.json | 2 +- 17 files changed, 288 insertions(+), 233 deletions(-) create mode 100644 .changes/2.1091.0.json diff --git a/.changes/2.1091.0.json b/.changes/2.1091.0.json new file mode 100644 index 0000000000..57c3e9bc21 --- /dev/null +++ b/.changes/2.1091.0.json @@ -0,0 +1,17 @@ +[ + { + "type": "feature", + "category": "LexModelsV2", + "description": "This release makes slotTypeId an optional parameter in CreateSlot and UpdateSlot APIs in Amazon Lex V2 for model building. Customers can create and update slots without specifying a slot type id." + }, + { + "type": "feature", + "category": "TranscribeService", + "description": "Documentation fix for API `StartMedicalTranscriptionJobRequest`, now showing min sample rate as 16khz" + }, + { + "type": "feature", + "category": "Transfer", + "description": "Adding more descriptive error types for managed workflows" + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 783b74ed36..17a9387cc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1091.0 +* feature: LexModelsV2: This release makes slotTypeId an optional parameter in CreateSlot and UpdateSlot APIs in Amazon Lex V2 for model building. Customers can create and update slots without specifying a slot type id. +* feature: TranscribeService: Documentation fix for API `StartMedicalTranscriptionJobRequest`, now showing min sample rate as 16khz +* feature: Transfer: Adding more descriptive error types for managed workflows + ## 2.1090.0 * feature: Comprehend: Amazon Comprehend now supports extracting the sentiment associated with entities such as brands, products and services from text documents. * feature: EC2MetadataCredentials: Allow EC2MetadataCredentials to extend the existing expiration when EC2 Metadata Service returns expired credentials or failure response. diff --git a/README.md b/README.md index d2cda75cd1..b10362b912 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/models.lex.v2-2020-08-07.min.json b/apis/models.lex.v2-2020-08-07.min.json index f0d55f9f6e..b7c0680274 100644 --- a/apis/models.lex.v2-2020-08-07.min.json +++ b/apis/models.lex.v2-2020-08-07.min.json @@ -493,7 +493,6 @@ "type": "structure", "required": [ "slotName", - "slotTypeId", "valueElicitationSetting", "botId", "botVersion", @@ -3457,7 +3456,6 @@ "required": [ "slotId", "slotName", - "slotTypeId", "valueElicitationSetting", "botId", "botVersion", diff --git a/apis/models.lex.v2-2020-08-07.normal.json b/apis/models.lex.v2-2020-08-07.normal.json index a55d1d7dff..81bccd92f8 100644 --- a/apis/models.lex.v2-2020-08-07.normal.json +++ b/apis/models.lex.v2-2020-08-07.normal.json @@ -3893,7 +3893,6 @@ "type": "structure", "required": [ "slotName", - "slotTypeId", "valueElicitationSetting", "botId", "botVersion", @@ -9211,7 +9210,6 @@ "required": [ "slotId", "slotName", - "slotTypeId", "valueElicitationSetting", "botId", "botVersion", diff --git a/apis/transcribe-2017-10-26.min.json b/apis/transcribe-2017-10-26.min.json index 1b5bccdd82..9413e88ae2 100644 --- a/apis/transcribe-2017-10-26.min.json +++ b/apis/transcribe-2017-10-26.min.json @@ -372,7 +372,7 @@ "type": "structure", "members": { "TranscriptionJob": { - "shape": "S2x" + "shape": "S2y" } } } @@ -575,7 +575,7 @@ "Status": {}, "NextToken": {}, "Vocabularies": { - "shape": "S3s" + "shape": "S3t" } } } @@ -640,7 +640,7 @@ "shape": "S27" }, "ModelSettings": { - "shape": "S2z" + "shape": "S30" }, "IdentifyLanguage": { "type": "boolean" @@ -672,7 +672,7 @@ "Status": {}, "NextToken": {}, "Vocabularies": { - "shape": "S3s" + "shape": "S3t" } } } @@ -766,10 +766,10 @@ "OutputKey": {}, "OutputEncryptionKMSKeyId": {}, "KMSEncryptionContext": { - "shape": "S4d" + "shape": "S4e" }, "Settings": { - "shape": "S2n" + "shape": "S2o" }, "ContentIdentificationType": {}, "Specialty": {}, @@ -809,16 +809,16 @@ "OutputKey": {}, "OutputEncryptionKMSKeyId": {}, "KMSEncryptionContext": { - "shape": "S4d" + "shape": "S4e" }, "Settings": { - "shape": "S2y" + "shape": "S2z" }, "ModelSettings": { - "shape": "S2z" + "shape": "S30" }, "JobExecutionSettings": { - "shape": "S30" + "shape": "S31" }, "ContentRedaction": { "shape": "S27" @@ -833,7 +833,7 @@ "type": "structure", "members": { "Formats": { - "shape": "S32" + "shape": "S33" } } }, @@ -849,7 +849,7 @@ "type": "structure", "members": { "TranscriptionJob": { - "shape": "S2x" + "shape": "S2y" } } } @@ -1334,7 +1334,7 @@ }, "FailureReason": {}, "Settings": { - "shape": "S2n" + "shape": "S2o" }, "ContentIdentificationType": {}, "Specialty": {}, @@ -1344,7 +1344,7 @@ } } }, - "S2n": { + "S2o": { "type": "structure", "members": { "ShowSpeakerLabels": { @@ -1365,7 +1365,7 @@ "VocabularyName": {} } }, - "S2x": { + "S2y": { "type": "structure", "members": { "TranscriptionJobName": {}, @@ -1392,13 +1392,13 @@ }, "FailureReason": {}, "Settings": { - "shape": "S2y" + "shape": "S2z" }, "ModelSettings": { - "shape": "S2z" + "shape": "S30" }, "JobExecutionSettings": { - "shape": "S30" + "shape": "S31" }, "ContentRedaction": { "shape": "S27" @@ -1419,7 +1419,7 @@ "type": "structure", "members": { "Formats": { - "shape": "S32" + "shape": "S33" }, "SubtitleFileUris": { "type": "list", @@ -1432,7 +1432,7 @@ } } }, - "S2y": { + "S2z": { "type": "structure", "members": { "VocabularyName": {}, @@ -1455,13 +1455,13 @@ "VocabularyFilterMethod": {} } }, - "S2z": { + "S30": { "type": "structure", "members": { "LanguageModelName": {} } }, - "S30": { + "S31": { "type": "structure", "members": { "AllowDeferredExecution": { @@ -1470,11 +1470,11 @@ "DataAccessRoleArn": {} } }, - "S32": { + "S33": { "type": "list", "member": {} }, - "S3s": { + "S3t": { "type": "list", "member": { "type": "structure", @@ -1488,7 +1488,7 @@ } } }, - "S4d": { + "S4e": { "type": "map", "key": {}, "value": {} diff --git a/apis/transcribe-2017-10-26.normal.json b/apis/transcribe-2017-10-26.normal.json index cc482e71b0..63328ce2f8 100644 --- a/apis/transcribe-2017-10-26.normal.json +++ b/apis/transcribe-2017-10-26.normal.json @@ -39,7 +39,7 @@ "shape": "ConflictException" } ], - "documentation": "

Creates an analytics category. Amazon Transcribe applies the conditions specified by your analytics categories to your call analytics jobs. For each analytics category, you specify one or more rules. For example, you can specify a rule that the customer sentiment was neutral or negative within that category. If you start a call analytics job, Amazon Transcribe applies the category to the analytics job that you've specified.

" + "documentation": "

Creates a call analytics category. Amazon Transcribe applies the conditions specified by your call analytics categories to your call analytics jobs. For each analytics category, you must create between 1 and 20 rules. For example, you can create a 'greeting' category with a rule that flags calls in which your agent does not use a specified phrase (for example: \"Please note this call may be recorded.\") in the first 15 seconds of the call. When you start a call analytics job, Amazon Transcribe applies all your existing call analytics categories to that job.

" }, "CreateLanguageModel": { "name": "CreateLanguageModel", @@ -67,7 +67,7 @@ "shape": "ConflictException" } ], - "documentation": "

Creates a new custom language model. Use Amazon S3 prefixes to provide the location of your input files. The time it takes to create your model depends on the size of your training data.

" + "documentation": "

Creates a new custom language model. When creating a new language model, you must specify if you want a Wideband (audio sample rates over 16,000 Hz) or Narrowband (audio sample rates under 16,000 Hz) base model. You then include the S3 URI location of your training and tuning files, the language for the model, a unique name, and any tags you want associated with your model.

" }, "CreateMedicalVocabulary": { "name": "CreateMedicalVocabulary", @@ -95,7 +95,7 @@ "shape": "ConflictException" } ], - "documentation": "

Creates a new custom vocabulary that you can use to modify how Amazon Transcribe Medical transcribes your audio file.

" + "documentation": "

Creates a new custom medical vocabulary.

When creating a new medical vocabulary, you must upload a text file that contains your new entries, phrases, and terms into an S3 bucket. Note that this differs from , where you can include a list of terms within your request using the Phrases flag, as CreateMedicalVocabulary does not support the Phrases flag.

For more information on creating a custom vocabulary text file, see Creating a custom vocabulary.

" }, "CreateVocabulary": { "name": "CreateVocabulary", @@ -123,7 +123,7 @@ "shape": "ConflictException" } ], - "documentation": "

Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.

" + "documentation": "

Creates a new custom vocabulary.

When creating a new medical vocabulary, you can either upload a text file that contains your new entries, phrases, and terms into an S3 bucket or include a list of terms directly in your request using the Phrases flag.

For more information on creating a custom vocabulary, see Creating a custom vocabulary.

" }, "CreateVocabularyFilter": { "name": "CreateVocabularyFilter", @@ -151,7 +151,7 @@ "shape": "ConflictException" } ], - "documentation": "

Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a transcription job.

" + "documentation": "

Creates a new vocabulary filter that you can use to filter words from your transcription output. For example, you can use this operation to remove profanity from your transcript.

" }, "DeleteCallAnalyticsCategory": { "name": "DeleteCallAnalyticsCategory", @@ -179,7 +179,7 @@ "shape": "InternalFailureException" } ], - "documentation": "

Deletes a call analytics category using its name.

" + "documentation": "

Deletes a call analytics category. To use this operation, specify the name of the category you want to delete using CategoryName.

" }, "DeleteCallAnalyticsJob": { "name": "DeleteCallAnalyticsJob", @@ -204,7 +204,7 @@ "shape": "InternalFailureException" } ], - "documentation": "

Deletes a call analytics job using its name.

" + "documentation": "

Deletes a call analytics job. To use this operation, specify the name of the job you want to delete using CallAnalyticsJobName.

" }, "DeleteLanguageModel": { "name": "DeleteLanguageModel", @@ -226,7 +226,7 @@ "shape": "InternalFailureException" } ], - "documentation": "

Deletes a custom language model using its name.

" + "documentation": "

Deletes a custom language model. To use this operation, specify the name of the language model you want to delete using ModelName.

" }, "DeleteMedicalTranscriptionJob": { "name": "DeleteMedicalTranscriptionJob", @@ -248,7 +248,7 @@ "shape": "InternalFailureException" } ], - "documentation": "

Deletes a transcription job generated by Amazon Transcribe Medical and any related information.

" + "documentation": "

Deletes a medical transcription job, along with any related information. To use this operation, specify the name of the job you want to delete using MedicalTranscriptionJobName.

" }, "DeleteMedicalVocabulary": { "name": "DeleteMedicalVocabulary", @@ -273,7 +273,7 @@ "shape": "InternalFailureException" } ], - "documentation": "

Deletes a vocabulary from Amazon Transcribe Medical.

" + "documentation": "

Deletes a custom medical vocabulary. To use this operation, specify the name of the vocabulary you want to delete using VocabularyName.

" }, "DeleteTranscriptionJob": { "name": "DeleteTranscriptionJob", @@ -295,7 +295,7 @@ "shape": "InternalFailureException" } ], - "documentation": "

Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.

" + "documentation": "

Deletes a transcription job, along with any related information. To use this operation, specify the name of the job you want to delete using TranscriptionJobName.

" }, "DeleteVocabulary": { "name": "DeleteVocabulary", @@ -320,7 +320,7 @@ "shape": "InternalFailureException" } ], - "documentation": "

Deletes a vocabulary from Amazon Transcribe.

" + "documentation": "

Deletes a custom vocabulary. To use this operation, specify the name of the vocabulary you want to delete using VocabularyName.

" }, "DeleteVocabularyFilter": { "name": "DeleteVocabularyFilter", @@ -345,7 +345,7 @@ "shape": "InternalFailureException" } ], - "documentation": "

Removes a vocabulary filter.

" + "documentation": "

Deletes a vocabulary filter. To use this operation, specify the name of the vocabulary filter you want to delete using VocabularyFilterName.

" }, "DescribeLanguageModel": { "name": "DescribeLanguageModel", @@ -373,7 +373,7 @@ "shape": "NotFoundException" } ], - "documentation": "

Gets information about a single custom language model. Use this information to see details about the language model in your Amazon Web Services account. You can also see whether the base language model used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If the language model wasn't created, you can use this operation to understand why Amazon Transcribe couldn't create it.

" + "documentation": "

Provides information about a specific custom language model in your Amazon Web Services account.

This operation also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model.

If you tried to create a new custom language model and the request wasn't successful, you can use this operation to help identify the reason.

" }, "GetCallAnalyticsCategory": { "name": "GetCallAnalyticsCategory", @@ -429,7 +429,7 @@ "shape": "NotFoundException" } ], - "documentation": "

Returns information about a call analytics job. To see the status of the job, check the CallAnalyticsJobStatus field. If the status is COMPLETED, the job is finished and you can find the results at the location specified in the TranscriptFileUri field. If you enable personally identifiable information (PII) redaction, the redacted transcript appears in the RedactedTranscriptFileUri field.

" + "documentation": "

Retrieves information about a call analytics job.

To view the job's status, refer to the CallAnalyticsJobStatus field. If the status is COMPLETED, the job is finished. You can then find your transcript at the URI specified in the TranscriptFileUri field. If you enabled personally identifiable information (PII) redaction, the redacted transcript appears in the RedactedTranscriptFileUri field.

" }, "GetMedicalTranscriptionJob": { "name": "GetMedicalTranscriptionJob", @@ -457,7 +457,7 @@ "shape": "NotFoundException" } ], - "documentation": "

Returns information about a transcription job from Amazon Transcribe Medical. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You find the results of the completed job in the TranscriptFileUri field.

" + "documentation": "

Retrieves information about a medical transcription job.

To view the job's status, refer to the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You can then find your transcript at the URI specified in the TranscriptFileUri field.

" }, "GetMedicalVocabulary": { "name": "GetMedicalVocabulary", @@ -1354,11 +1354,11 @@ "members": { "CategoryName": { "shape": "CategoryName", - "documentation": "

The name that you choose for your category when you create it.

" + "documentation": "

A unique name, chosen by you, for your call analytics category. For example, sentiment-positive-last30seconds.

" }, "Rules": { "shape": "RuleList", - "documentation": "

To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral.

" + "documentation": "

Rules make up a call analytics category. When creating a call analytics category, you must create between 1 and 20 rules for your category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer's sentiment was positive during the last 30 seconds of the call.

" } } }, @@ -1367,7 +1367,7 @@ "members": { "CategoryProperties": { "shape": "CategoryProperties", - "documentation": "

The rules and associated metadata used to create a category.

" + "documentation": "

If your audio matches one of your categories, this field contains data on that category and its associated rules. This parameter shows which category is flagged (CategoryName) along with metadata for the rules that match your audio. Metadata includes the rule filter (such as InterruptionFilter, NonTalkTimeFilter, SentimentFilter, and TranscriptFilter) and where in your audio (StartTime and EndTime) the rule has a match.

" } } }, @@ -1382,23 +1382,23 @@ "members": { "LanguageCode": { "shape": "CLMLanguageCode", - "documentation": "

The language of the input text you're using to train your custom language model.

" + "documentation": "

The language of your custom language model; note that the language code you select must match the language of your training and tuning data.

" }, "BaseModelName": { "shape": "BaseModelName", - "documentation": "

The Amazon Transcribe standard language model, or base model used to create your custom language model.

If you want to use your custom language model to transcribe audio with a sample rate of 16,000 Hz or greater, choose Wideband.

If you want to use your custom language model to transcribe audio with a sample rate that is less than 16,000 Hz, choose Narrowband.

" + "documentation": "

The Amazon Transcribe standard language model, or base model, used to create your custom language model. Amazon Transcribe offers two options for base models: Wideband and Narrowband.

If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, choose WideBand. To transcribe audio with a sample rate less than 16,000 Hz, choose NarrowBand.

" }, "ModelName": { "shape": "ModelName", - "documentation": "

The name you choose for your custom language model when you create it.

" + "documentation": "

The name of your new custom language model.

This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a language model with the same name as a previous language model, you get a ConflictException error.

" }, "InputDataConfig": { "shape": "InputDataConfig", - "documentation": "

Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.

" + "documentation": "

Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training (S3Uri) and tuning (TuningDataS3Uri) data.

" }, "Tags": { "shape": "TagList", - "documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create this new model.

" + "documentation": "

Optionally add tags, each in the form of a key:value pair, to your new language model. See also: .

" } } }, @@ -1407,23 +1407,23 @@ "members": { "LanguageCode": { "shape": "CLMLanguageCode", - "documentation": "

The language code of the text you've used to create a custom language model.

" + "documentation": "

The language code you selected for your custom language model.

" }, "BaseModelName": { "shape": "BaseModelName", - "documentation": "

The Amazon Transcribe standard language model, or base model you've used to create a custom language model.

" + "documentation": "

The Amazon Transcribe standard language model, or base model, you used when creating your custom language model.

If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand. If your audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand.

" }, "ModelName": { "shape": "ModelName", - "documentation": "

The name you've chosen for your custom language model.

" + "documentation": "

The unique name you chose for your custom language model.

" }, "InputDataConfig": { "shape": "InputDataConfig", - "documentation": "

The data access role and Amazon S3 prefixes you've chosen to create your custom language model.

" + "documentation": "

Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your training (S3Uri) and tuning (TuningDataS3Uri) data.

" }, "ModelStatus": { "shape": "ModelStatus", - "documentation": "

The status of the custom language model. When the status is COMPLETED the model is ready to use.

" + "documentation": "

The status of your custom language model. When the status shows as COMPLETED, your model is ready to use.

" } } }, @@ -1437,19 +1437,19 @@ "members": { "VocabularyName": { "shape": "VocabularyName", - "documentation": "

The name of the custom vocabulary. This case-sensitive name must be unique within an Amazon Web Services account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a ConflictException error.

" + "documentation": "

The name of your new vocabulary.

This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a ConflictException error.

" }, "LanguageCode": { "shape": "LanguageCode", - "documentation": "

The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.

" + "documentation": "

The language code that represents the language of the entries in your custom vocabulary. Note that U.S. English (en-US) is the only language supported with Amazon Transcribe Medical.

" }, "VocabularyFileUri": { "shape": "Uri", - "documentation": "

The location in Amazon S3 of the text file you use to define your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you're calling. Enter information about your VocabularyFileUri in the following format:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

The following is an example URI for a vocabulary file that is stored in Amazon S3:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Medical Custom Vocabularies.

" + "documentation": "

The Amazon S3 location (URI) of the text file that contains your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you're calling.

Here's an example URI path:

https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt

" }, "Tags": { "shape": "TagList", - "documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new medical vocabulary at the time you create this new vocabulary.

" + "documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new medical vocabulary at the time you create the new vocabulary.

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

" } } }, @@ -1458,23 +1458,23 @@ "members": { "VocabularyName": { "shape": "VocabularyName", - "documentation": "

The name of the vocabulary. The name must be unique within an Amazon Web Services account and is case sensitive.

" + "documentation": "

The name you chose for your vocabulary.

" }, "LanguageCode": { "shape": "LanguageCode", - "documentation": "

The language code for the entries in your custom vocabulary. US English (en-US) is the only valid language code for Amazon Transcribe Medical.

" + "documentation": "

The language code you selected for your medical vocabulary. Note that U.S. English (en-US) is the only language supported with Amazon Transcribe Medical.

" }, "VocabularyState": { "shape": "VocabularyState", - "documentation": "

The processing state of your custom vocabulary in Amazon Transcribe Medical. If the state is READY, you can use the vocabulary in a StartMedicalTranscriptionJob request.

" + "documentation": "

The processing state of your custom medical vocabulary. If the state is READY, you can use the vocabulary in a StartMedicalTranscriptionJob request.

" }, "LastModifiedTime": { "shape": "DateTime", - "documentation": "

The date and time that you created the vocabulary.

" + "documentation": "

The date and time you created your custom medical vocabulary.

" }, "FailureReason": { "shape": "FailureReason", - "documentation": "

If the VocabularyState field is FAILED, this field contains information about why the job failed.

" + "documentation": "

If the VocabularyState field is FAILED, FailureReason contains information about why the job failed.

" } } }, @@ -1487,7 +1487,7 @@ "members": { "VocabularyFilterName": { "shape": "VocabularyFilterName", - "documentation": "

The vocabulary filter name. The name must be unique within the account that contains it. If you try to create a vocabulary filter with the same name as another vocabulary filter, you get a ConflictException error.

" + "documentation": "

The name of your new vocabulary filter.

This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a vocabulary filter with the same name as a previous vocabulary filter, you get a ConflictException error.

" }, "LanguageCode": { "shape": "LanguageCode", @@ -1495,15 +1495,15 @@ }, "Words": { "shape": "Words", - "documentation": "

The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

If you provide a list of words in the Words parameter, you can't use the VocabularyFilterFileUri parameter.

" + "documentation": "

The words you want in your vocabulary filter. Only use characters specified in the Character sets for the language you're transcribing.

Note that if you include Words in your request, you cannot use VocabularyFilterFileUri; you must choose one or the other.

" }, "VocabularyFilterFileUri": { "shape": "Uri", - "documentation": "

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

" + "documentation": "

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

Your vocabulary filter file must be less than 50 KB in size.

Note that if you include VocabularyFilterFileUri in your request, you cannot use Words; you must choose one or the other.

" }, "Tags": { "shape": "TagList", - "documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary filter at the time you create this new vocabulary filter.

" + "documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new vocabulary filter at the time you create this new vocabulary filter.

" } } }, @@ -1516,11 +1516,11 @@ }, "LanguageCode": { "shape": "LanguageCode", - "documentation": "

The language code of the words in the collection.

" + "documentation": "

The language code associated with your vocabulary filter.

" }, "LastModifiedTime": { "shape": "DateTime", - "documentation": "

The date and time that the vocabulary filter was modified.

" + "documentation": "

The date and time the vocabulary filter was modified.

" } } }, @@ -1533,23 +1533,23 @@ "members": { "VocabularyName": { "shape": "VocabularyName", - "documentation": "

The name of the vocabulary. The name must be unique within an Amazon Web Services account. The name is case sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error.

" + "documentation": "

The name of your new vocabulary.

This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a ConflictException error.

" }, "LanguageCode": { "shape": "LanguageCode", - "documentation": "

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see table-language-matrix.

" + "documentation": "

The language code that represents the language of the entries in your custom vocabulary. Each vocabulary must contain terms in only one language. For a list of languages and their corresponding language codes, see Supported languages.

" }, "Phrases": { "shape": "Phrases", - "documentation": "

An array of strings that contains the vocabulary entries.

" + "documentation": "

Use this flag to include a list of terms within your request.

Note that if you include Phrases in your request, you cannot use VocabularyFileUri; you must choose one or the other.

" }, "VocabularyFileUri": { "shape": "Uri", - "documentation": "

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:

https://s3.<Amazon Web Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom vocabularies.

" + "documentation": "

The S3 location of the text file that contains your custom vocabulary. The URI must be located in the same region as the API endpoint you're calling.

Here's an example URI path:

https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt

Note that if you include VocabularyFileUri in your request, you cannot use the Phrases flag; you must choose one or the other.

" }, "Tags": { "shape": "TagList", - "documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary.

" + "documentation": "

Adds one or more tags, each in the form of a key:value pair, to a new custom vocabulary at the time you create this new vocabulary.

" } } }, @@ -1558,23 +1558,23 @@ "members": { "VocabularyName": { "shape": "VocabularyName", - "documentation": "

The name of the vocabulary.

" + "documentation": "

The name you chose for your vocabulary.

" }, "LanguageCode": { "shape": "LanguageCode", - "documentation": "

The language code of the vocabulary entries.

" + "documentation": "

The language code you selected for your vocabulary.

" }, "VocabularyState": { "shape": "VocabularyState", - "documentation": "

The processing state of the vocabulary. When the VocabularyState field contains READY the vocabulary is ready to be used in a StartTranscriptionJob request.

" + "documentation": "

The processing state of your vocabulary. If the state is READY, you can use the vocabulary in a StartTranscriptionJob request.

" }, "LastModifiedTime": { "shape": "DateTime", - "documentation": "

The date and time that the vocabulary was created.

" + "documentation": "

The date and time you created your custom vocabulary.

" }, "FailureReason": { "shape": "FailureReason", - "documentation": "

If the VocabularyState field is FAILED, this field contains information about why the job failed.

" + "documentation": "

If the VocabularyState field is FAILED, FailureReason contains information about why the job failed.

" } } }, @@ -1595,7 +1595,7 @@ "members": { "CategoryName": { "shape": "CategoryName", - "documentation": "

The name of the call analytics category that you're choosing to delete. The value is case sensitive.

" + "documentation": "

The name of the call analytics category you want to delete. Category names are case-sensitive.

" } } }, @@ -1611,7 +1611,7 @@ "members": { "CallAnalyticsJobName": { "shape": "CallAnalyticsJobName", - "documentation": "

The name of the call analytics job you want to delete.

" + "documentation": "

The name of the call analytics job you want to delete. Job names are case-sensitive.

" } } }, @@ -1627,7 +1627,7 @@ "members": { "ModelName": { "shape": "ModelName", - "documentation": "

The name of the model you're choosing to delete.

" + "documentation": "

The name of the model you want to delete. Model names are case-sensitive.

" } } }, @@ -1639,7 +1639,7 @@ "members": { "MedicalTranscriptionJobName": { "shape": "TranscriptionJobName", - "documentation": "

The name you provide to the DeleteMedicalTranscriptionJob object to delete a transcription job.

" + "documentation": "

The name of the medical transcription job you want to delete. Job names are case-sensitive.

" } } }, @@ -1651,7 +1651,7 @@ "members": { "VocabularyName": { "shape": "VocabularyName", - "documentation": "

The name of the vocabulary that you want to delete.

" + "documentation": "

The name of the vocabulary that you want to delete. Vocabulary names are case-sensitive.

" } } }, @@ -1663,7 +1663,7 @@ "members": { "TranscriptionJobName": { "shape": "TranscriptionJobName", - "documentation": "

The name of the transcription job to be deleted.

" + "documentation": "

The name of the transcription job you want to delete. Job names are case-sensitive.

" } } }, @@ -1675,7 +1675,7 @@ "members": { "VocabularyFilterName": { "shape": "VocabularyFilterName", - "documentation": "

The name of the vocabulary filter to remove.

" + "documentation": "

The name of the vocabulary filter you want to delete. Vocabulary filter names are case-sensitive.

" } } }, @@ -1687,7 +1687,7 @@ "members": { "VocabularyName": { "shape": "VocabularyName", - "documentation": "

The name of the vocabulary to delete.

" + "documentation": "

The name of the vocabulary you want to delete. Vocabulary names are case-sensitive.

" } } }, @@ -1699,7 +1699,7 @@ "members": { "ModelName": { "shape": "ModelName", - "documentation": "

The name of the custom language model you submit to get more information.

" + "documentation": "

The name of the custom language model you want described. Model names are case-sensitive.

" } } }, @@ -1723,7 +1723,7 @@ "members": { "CategoryName": { "shape": "CategoryName", - "documentation": "

The name of the category you want information about. This value is case sensitive.

" + "documentation": "

The name of the category you want information about. Category names are case sensitive.

" } } }, @@ -1732,7 +1732,7 @@ "members": { "CategoryProperties": { "shape": "CategoryProperties", - "documentation": "

The rules you've defined for a category.

" + "documentation": "

Provides you with the rules associated with the category you specified in your GetCallAnalyticsCategory request.

" } } }, @@ -1744,7 +1744,7 @@ "members": { "CallAnalyticsJobName": { "shape": "CallAnalyticsJobName", - "documentation": "

The name of the analytics job you want information about. This value is case sensitive.

" + "documentation": "

The name of the analytics job you want information about. This value is case sensitive.

" } } }, @@ -1753,7 +1753,7 @@ "members": { "CallAnalyticsJob": { "shape": "CallAnalyticsJob", - "documentation": "

An object that contains the results of your call analytics job.

" + "documentation": "

An object that contains detailed information about your call analytics job. Returned fields include: CallAnalyticsJobName, CallAnalyticsJobStatus, ChannelDefinitions, CompletionTime, CreationTime, DataAccessRoleArn, FailureReason, IdentifiedLanguageScore, LanguageCode, Media, MediaFormat, MediaSampleRateHertz, Settings, StartTime, and Transcript.

" } } }, @@ -1765,7 +1765,7 @@ "members": { "MedicalTranscriptionJobName": { "shape": "TranscriptionJobName", - "documentation": "

The name of the medical transcription job.

" + "documentation": "

The name of the medical transcription job you want information about. This value is case sensitive.

" } } }, @@ -1774,7 +1774,7 @@ "members": { "MedicalTranscriptionJob": { "shape": "MedicalTranscriptionJob", - "documentation": "

An object that contains the results of the medical transcription job.

" + "documentation": "

An object that contains detailed information about your medical transcription job. Returned fields include: CompletionTime, ContentIdentificationType, CreationTime, FailureReason, LanguageCode, Media, MediaFormat, MediaSampleRateHertz, MedicalTranscriptionJobName, Settings, Specialty, StartTime, Tags, Transcript, TranscriptionJobStatus, and Type.

" } } }, @@ -1786,7 +1786,7 @@ "members": { "VocabularyName": { "shape": "VocabularyName", - "documentation": "

The name of the vocabulary that you want information about. The value is case sensitive.

" + "documentation": "

The name of the medical vocabulary you want information about. This value is case sensitive.

" } } }, @@ -1811,11 +1811,11 @@ }, "FailureReason": { "shape": "FailureReason", - "documentation": "

If the VocabularyState is FAILED, this field contains information about why the job failed.

" + "documentation": "

If your request returns a VocabularyState that is FAILED, the FailureReason field contains information about why the request failed.

For more information, refer to the Common Errors section.

" }, "DownloadUri": { "shape": "Uri", - "documentation": "

The location in Amazon S3 where the vocabulary is stored. Use this URI to get the contents of the vocabulary. You can download your vocabulary from the URI for a limited time.

" + "documentation": "

The S3 location where the vocabulary is stored; use this URI to view or download the vocabulary.

" } } }, @@ -2099,7 +2099,7 @@ }, "UpgradeAvailability": { "shape": "Boolean", - "documentation": "

Whether the base model used for the custom language model is up to date. If this field is true then you are running the most up-to-date version of the base model in your custom language model.

" + "documentation": "

Whether the base model used for the custom language model is up to date. If this field is false then you are running the most up-to-date version of the base model in your custom language model.

" }, "FailureReason": { "shape": "FailureReason", @@ -2285,7 +2285,7 @@ }, "NextToken": { "shape": "NextToken", - "documentation": "

The ListMedicalVocabularies operation returns a page of vocabularies at a time. You set the maximum number of vocabularies to return on a page with the MaxResults parameter. If there are more jobs in the list will fit on a page, Amazon Transcribe Medical returns the NextPage token. To return the next page of vocabularies, include the token in the next request to the ListMedicalVocabularies operation .

" + "documentation": "

The ListMedicalVocabularies operation returns a page of vocabularies at a time. You set the maximum number of vocabularies to return on a page with the MaxResults parameter. If there are more jobs in the list will fit on a page, Amazon Transcribe Medical returns the NextPage token. To return the next page of vocabularies, include the token in the next request to the ListMedicalVocabularies operation.

" }, "Vocabularies": { "shape": "Vocabularies", @@ -2444,7 +2444,7 @@ "members": { "MediaFileUri": { "shape": "Uri", - "documentation": "

The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is:

s3://<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>

For example:

s3://AWSDOC-EXAMPLE-BUCKET/example.mp4

s3://AWSDOC-EXAMPLE-BUCKET/mediadocs/example.mp4

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

" + "documentation": "

The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is:

s3://DOC-EXAMPLE-BUCKET/keyprefix/objectkey

For example:

s3://DOC-EXAMPLE-BUCKET/example.flac

s3://DOC-EXAMPLE-BUCKET/mediafiles/example.flac

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

" }, "RedactedMediaFileUri": { "shape": "Uri", @@ -2476,6 +2476,11 @@ "PHI" ] }, + "MedicalMediaSampleRateHertz": { + "type": "integer", + "max": 48000, + "min": 16000 + }, "MedicalTranscript": { "type": "structure", "members": { @@ -2502,7 +2507,7 @@ "documentation": "

The language code for the language spoken in the source audio file. US English (en-US) is the only supported language for medical transcriptions. Any other value you enter for language code results in a BadRequestException error.

" }, "MediaSampleRateHertz": { - "shape": "MediaSampleRateHertz", + "shape": "MedicalMediaSampleRateHertz", "documentation": "

The sample rate, in Hertz, of the source audio containing medical information.

If you don't specify the sample rate, Amazon Transcribe Medical determines it for you. If you choose to specify the sample rate, it must match the rate detected by Amazon Transcribe Medical.

" }, "MediaFormat": { @@ -2992,7 +2997,7 @@ "documentation": "

The language code for the language spoken in the input media file. US English (en-US) is the valid value for medical transcription jobs. Any other value you enter for language code results in a BadRequestException error.

" }, "MediaSampleRateHertz": { - "shape": "MediaSampleRateHertz", + "shape": "MedicalMediaSampleRateHertz", "documentation": "

The sample rate, in Hertz, of the audio track in the input media file.

If you do not specify the media sample rate, Amazon Transcribe Medical determines the sample rate. If you specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. In most cases, you should leave the MediaSampleRateHertz field blank and let Amazon Transcribe Medical determine the sample rate.

" }, "MediaFormat": { @@ -3036,7 +3041,7 @@ }, "Tags": { "shape": "TagList", - "documentation": "

Add tags to an Amazon Transcribe medical transcription job.

" + "documentation": "

Add tags to an Amazon Transcribe Medical transcription job.

" } } }, @@ -3184,10 +3189,10 @@ }, "SubtitleFileUris": { "shape": "SubtitleFileUris", - "documentation": "

Choose the output location for your subtitle file. This location must be an S3 bucket.

" + "documentation": "

Contains the output location for your subtitle file. This location must be an S3 bucket.

" } }, - "documentation": "

Specify the output format for your subtitle file.

" + "documentation": "

Choose the output format for your subtitle file and the S3 location where you want your file saved.

" }, "Tag": { "type": "structure", @@ -3554,7 +3559,7 @@ }, "VocabularyFileUri": { "shape": "Uri", - "documentation": "

The location in Amazon S3 of the text file that contains your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you are calling. The following is the format for a URI:

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom Vocabularies.

" + "documentation": "

The location in Amazon S3 of the text file that contains your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you are calling. The following is the format for a URI:

https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey

For example:

https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt

For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom Vocabularies.

" } } }, @@ -3637,7 +3642,7 @@ }, "VocabularyFileUri": { "shape": "Uri", - "documentation": "

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:

https://s3.<aws-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies.

" + "documentation": "

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:

https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey

For example:

https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies.

" } } }, diff --git a/apis/transfer-2018-11-05.normal.json b/apis/transfer-2018-11-05.normal.json index 5428d10595..cff57ea94a 100644 --- a/apis/transfer-2018-11-05.normal.json +++ b/apis/transfer-2018-11-05.normal.json @@ -1101,10 +1101,12 @@ "documentation": "

Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.

" }, "PostAuthenticationLoginBanner": { - "shape": "PostAuthenticationLoginBanner" + "shape": "PostAuthenticationLoginBanner", + "documentation": "

Specify a string to display when users connect to a server. This string is displayed after the user authenticates.

The SFTP protocol does not support post-authentication display banners.

" }, "PreAuthenticationLoginBanner": { - "shape": "PreAuthenticationLoginBanner" + "shape": "PreAuthenticationLoginBanner", + "documentation": "

Specify a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system.

This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.

" }, "Protocols": { "shape": "Protocols", @@ -1703,10 +1705,12 @@ "documentation": "

Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.

" }, "PostAuthenticationLoginBanner": { - "shape": "PostAuthenticationLoginBanner" + "shape": "PostAuthenticationLoginBanner", + "documentation": "

Specify a string to display when users connect to a server. This string is displayed after the user authenticates.

The SFTP protocol does not support post-authentication display banners.

" }, "PreAuthenticationLoginBanner": { - "shape": "PreAuthenticationLoginBanner" + "shape": "PreAuthenticationLoginBanner", + "documentation": "

Specify a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system.

This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.

" }, "Protocols": { "shape": "Protocols", @@ -1902,7 +1906,7 @@ "members": { "Type": { "shape": "ExecutionErrorType", - "documentation": "

Specifies the error type: currently, the only valid value is PERMISSION_DENIED, which occurs if your policy does not contain the correct permissions to complete one or more of the steps in the workflow.

" + "documentation": "

Specifies the error type.

" }, "Message": { "shape": "ExecutionErrorMessage", @@ -1917,7 +1921,14 @@ "ExecutionErrorType": { "type": "string", "enum": [ - "PERMISSION_DENIED" + "PERMISSION_DENIED", + "CUSTOM_STEP_FAILED", + "THROTTLED", + "ALREADY_EXISTS", + "NOT_FOUND", + "BAD_REQUEST", + "TIMEOUT", + "INTERNAL_SERVER_ERROR" ] }, "ExecutionId": { @@ -3247,10 +3258,12 @@ "documentation": "

Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs.

" }, "PostAuthenticationLoginBanner": { - "shape": "PostAuthenticationLoginBanner" + "shape": "PostAuthenticationLoginBanner", + "documentation": "

Specify a string to display when users connect to a server. This string is displayed after the user authenticates.

The SFTP protocol does not support post-authentication display banners.

" }, "PreAuthenticationLoginBanner": { - "shape": "PreAuthenticationLoginBanner" + "shape": "PreAuthenticationLoginBanner", + "documentation": "

Specify a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system.

This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel.

" }, "Protocols": { "shape": "Protocols", diff --git a/clients/lexmodelsv2.d.ts b/clients/lexmodelsv2.d.ts index 7317724612..d8905c595b 100644 --- a/clients/lexmodelsv2.d.ts +++ b/clients/lexmodelsv2.d.ts @@ -1588,7 +1588,7 @@ declare namespace LexModelsV2 { /** * The unique identifier for the slot type associated with this slot. The slot type determines the values that can be entered into the slot. */ - slotTypeId: BuiltInOrCustomSlotTypeId; + slotTypeId?: BuiltInOrCustomSlotTypeId; /** * Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot. */ @@ -5015,7 +5015,7 @@ declare namespace LexModelsV2 { /** * The unique identifier of the new slot type to associate with this slot. */ - slotTypeId: BuiltInOrCustomSlotTypeId; + slotTypeId?: BuiltInOrCustomSlotTypeId; /** * A new set of prompts that Amazon Lex sends to the user to elicit a response the provides a value for the slot. */ diff --git a/clients/transcribeservice.d.ts b/clients/transcribeservice.d.ts index a5feff2349..e89209b16d 100644 --- a/clients/transcribeservice.d.ts +++ b/clients/transcribeservice.d.ts @@ -12,115 +12,115 @@ declare class TranscribeService extends Service { constructor(options?: TranscribeService.Types.ClientConfiguration) config: Config & TranscribeService.Types.ClientConfiguration; /** - * Creates an analytics category. Amazon Transcribe applies the conditions specified by your analytics categories to your call analytics jobs. For each analytics category, you specify one or more rules. For example, you can specify a rule that the customer sentiment was neutral or negative within that category. If you start a call analytics job, Amazon Transcribe applies the category to the analytics job that you've specified. + * Creates a call analytics category. Amazon Transcribe applies the conditions specified by your call analytics categories to your call analytics jobs. For each analytics category, you must create between 1 and 20 rules. For example, you can create a 'greeting' category with a rule that flags calls in which your agent does not use a specified phrase (for example: "Please note this call may be recorded.") in the first 15 seconds of the call. When you start a call analytics job, Amazon Transcribe applies all your existing call analytics categories to that job. */ createCallAnalyticsCategory(params: TranscribeService.Types.CreateCallAnalyticsCategoryRequest, callback?: (err: AWSError, data: TranscribeService.Types.CreateCallAnalyticsCategoryResponse) => void): Request; /** - * Creates an analytics category. Amazon Transcribe applies the conditions specified by your analytics categories to your call analytics jobs. For each analytics category, you specify one or more rules. For example, you can specify a rule that the customer sentiment was neutral or negative within that category. If you start a call analytics job, Amazon Transcribe applies the category to the analytics job that you've specified. + * Creates a call analytics category. Amazon Transcribe applies the conditions specified by your call analytics categories to your call analytics jobs. For each analytics category, you must create between 1 and 20 rules. For example, you can create a 'greeting' category with a rule that flags calls in which your agent does not use a specified phrase (for example: "Please note this call may be recorded.") in the first 15 seconds of the call. When you start a call analytics job, Amazon Transcribe applies all your existing call analytics categories to that job. */ createCallAnalyticsCategory(callback?: (err: AWSError, data: TranscribeService.Types.CreateCallAnalyticsCategoryResponse) => void): Request; /** - * Creates a new custom language model. Use Amazon S3 prefixes to provide the location of your input files. The time it takes to create your model depends on the size of your training data. + * Creates a new custom language model. When creating a new language model, you must specify if you want a Wideband (audio sample rates over 16,000 Hz) or Narrowband (audio sample rates under 16,000 Hz) base model. You then include the S3 URI location of your training and tuning files, the language for the model, a unique name, and any tags you want associated with your model. */ createLanguageModel(params: TranscribeService.Types.CreateLanguageModelRequest, callback?: (err: AWSError, data: TranscribeService.Types.CreateLanguageModelResponse) => void): Request; /** - * Creates a new custom language model. Use Amazon S3 prefixes to provide the location of your input files. The time it takes to create your model depends on the size of your training data. + * Creates a new custom language model. When creating a new language model, you must specify if you want a Wideband (audio sample rates over 16,000 Hz) or Narrowband (audio sample rates under 16,000 Hz) base model. You then include the S3 URI location of your training and tuning files, the language for the model, a unique name, and any tags you want associated with your model. */ createLanguageModel(callback?: (err: AWSError, data: TranscribeService.Types.CreateLanguageModelResponse) => void): Request; /** - * Creates a new custom vocabulary that you can use to modify how Amazon Transcribe Medical transcribes your audio file. + * Creates a new custom medical vocabulary. When creating a new medical vocabulary, you must upload a text file that contains your new entries, phrases, and terms into an S3 bucket. Note that this differs from , where you can include a list of terms within your request using the Phrases flag, as CreateMedicalVocabulary does not support the Phrases flag. For more information on creating a custom vocabulary text file, see Creating a custom vocabulary. */ createMedicalVocabulary(params: TranscribeService.Types.CreateMedicalVocabularyRequest, callback?: (err: AWSError, data: TranscribeService.Types.CreateMedicalVocabularyResponse) => void): Request; /** - * Creates a new custom vocabulary that you can use to modify how Amazon Transcribe Medical transcribes your audio file. + * Creates a new custom medical vocabulary. When creating a new medical vocabulary, you must upload a text file that contains your new entries, phrases, and terms into an S3 bucket. Note that this differs from , where you can include a list of terms within your request using the Phrases flag, as CreateMedicalVocabulary does not support the Phrases flag. For more information on creating a custom vocabulary text file, see Creating a custom vocabulary. */ createMedicalVocabulary(callback?: (err: AWSError, data: TranscribeService.Types.CreateMedicalVocabularyResponse) => void): Request; /** - * Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file. + * Creates a new custom vocabulary. When creating a new medical vocabulary, you can either upload a text file that contains your new entries, phrases, and terms into an S3 bucket or include a list of terms directly in your request using the Phrases flag. For more information on creating a custom vocabulary, see Creating a custom vocabulary. */ createVocabulary(params: TranscribeService.Types.CreateVocabularyRequest, callback?: (err: AWSError, data: TranscribeService.Types.CreateVocabularyResponse) => void): Request; /** - * Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file. + * Creates a new custom vocabulary. When creating a new medical vocabulary, you can either upload a text file that contains your new entries, phrases, and terms into an S3 bucket or include a list of terms directly in your request using the Phrases flag. For more information on creating a custom vocabulary, see Creating a custom vocabulary. */ createVocabulary(callback?: (err: AWSError, data: TranscribeService.Types.CreateVocabularyResponse) => void): Request; /** - * Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a transcription job. + * Creates a new vocabulary filter that you can use to filter words from your transcription output. For example, you can use this operation to remove profanity from your transcript. */ createVocabularyFilter(params: TranscribeService.Types.CreateVocabularyFilterRequest, callback?: (err: AWSError, data: TranscribeService.Types.CreateVocabularyFilterResponse) => void): Request; /** - * Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a transcription job. + * Creates a new vocabulary filter that you can use to filter words from your transcription output. For example, you can use this operation to remove profanity from your transcript. */ createVocabularyFilter(callback?: (err: AWSError, data: TranscribeService.Types.CreateVocabularyFilterResponse) => void): Request; /** - * Deletes a call analytics category using its name. + * Deletes a call analytics category. To use this operation, specify the name of the category you want to delete using CategoryName. */ deleteCallAnalyticsCategory(params: TranscribeService.Types.DeleteCallAnalyticsCategoryRequest, callback?: (err: AWSError, data: TranscribeService.Types.DeleteCallAnalyticsCategoryResponse) => void): Request; /** - * Deletes a call analytics category using its name. + * Deletes a call analytics category. To use this operation, specify the name of the category you want to delete using CategoryName. */ deleteCallAnalyticsCategory(callback?: (err: AWSError, data: TranscribeService.Types.DeleteCallAnalyticsCategoryResponse) => void): Request; /** - * Deletes a call analytics job using its name. + * Deletes a call analytics job. To use this operation, specify the name of the job you want to delete using CallAnalyticsJobName. */ deleteCallAnalyticsJob(params: TranscribeService.Types.DeleteCallAnalyticsJobRequest, callback?: (err: AWSError, data: TranscribeService.Types.DeleteCallAnalyticsJobResponse) => void): Request; /** - * Deletes a call analytics job using its name. + * Deletes a call analytics job. To use this operation, specify the name of the job you want to delete using CallAnalyticsJobName. */ deleteCallAnalyticsJob(callback?: (err: AWSError, data: TranscribeService.Types.DeleteCallAnalyticsJobResponse) => void): Request; /** - * Deletes a custom language model using its name. + * Deletes a custom language model. To use this operation, specify the name of the language model you want to delete using ModelName. */ deleteLanguageModel(params: TranscribeService.Types.DeleteLanguageModelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a custom language model using its name. + * Deletes a custom language model. To use this operation, specify the name of the language model you want to delete using ModelName. */ deleteLanguageModel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a transcription job generated by Amazon Transcribe Medical and any related information. + * Deletes a medical transcription job, along with any related information. To use this operation, specify the name of the job you want to delete using MedicalTranscriptionJobName. */ deleteMedicalTranscriptionJob(params: TranscribeService.Types.DeleteMedicalTranscriptionJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a transcription job generated by Amazon Transcribe Medical and any related information. + * Deletes a medical transcription job, along with any related information. To use this operation, specify the name of the job you want to delete using MedicalTranscriptionJobName. */ deleteMedicalTranscriptionJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a vocabulary from Amazon Transcribe Medical. + * Deletes a custom medical vocabulary. To use this operation, specify the name of the vocabulary you want to delete using VocabularyName. */ deleteMedicalVocabulary(params: TranscribeService.Types.DeleteMedicalVocabularyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a vocabulary from Amazon Transcribe Medical. + * Deletes a custom medical vocabulary. To use this operation, specify the name of the vocabulary you want to delete using VocabularyName. */ deleteMedicalVocabulary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on. + * Deletes a transcription job, along with any related information. To use this operation, specify the name of the job you want to delete using TranscriptionJobName. */ deleteTranscriptionJob(params: TranscribeService.Types.DeleteTranscriptionJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on. + * Deletes a transcription job, along with any related information. To use this operation, specify the name of the job you want to delete using TranscriptionJobName. */ deleteTranscriptionJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a vocabulary from Amazon Transcribe. + * Deletes a custom vocabulary. To use this operation, specify the name of the vocabulary you want to delete using VocabularyName. */ deleteVocabulary(params: TranscribeService.Types.DeleteVocabularyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Deletes a vocabulary from Amazon Transcribe. + * Deletes a custom vocabulary. To use this operation, specify the name of the vocabulary you want to delete using VocabularyName. */ deleteVocabulary(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Removes a vocabulary filter. + * Deletes a vocabulary filter. To use this operation, specify the name of the vocabulary filter you want to delete using VocabularyFilterName. */ deleteVocabularyFilter(params: TranscribeService.Types.DeleteVocabularyFilterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Removes a vocabulary filter. + * Deletes a vocabulary filter. To use this operation, specify the name of the vocabulary filter you want to delete using VocabularyFilterName. */ deleteVocabularyFilter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Gets information about a single custom language model. Use this information to see details about the language model in your Amazon Web Services account. You can also see whether the base language model used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If the language model wasn't created, you can use this operation to understand why Amazon Transcribe couldn't create it. + * Provides information about a specific custom language model in your Amazon Web Services account. This operation also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If you tried to create a new custom language model and the request wasn't successful, you can use this operation to help identify the reason. */ describeLanguageModel(params: TranscribeService.Types.DescribeLanguageModelRequest, callback?: (err: AWSError, data: TranscribeService.Types.DescribeLanguageModelResponse) => void): Request; /** - * Gets information about a single custom language model. Use this information to see details about the language model in your Amazon Web Services account. You can also see whether the base language model used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If the language model wasn't created, you can use this operation to understand why Amazon Transcribe couldn't create it. + * Provides information about a specific custom language model in your Amazon Web Services account. This operation also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model. If you tried to create a new custom language model and the request wasn't successful, you can use this operation to help identify the reason. */ describeLanguageModel(callback?: (err: AWSError, data: TranscribeService.Types.DescribeLanguageModelResponse) => void): Request; /** @@ -132,19 +132,19 @@ declare class TranscribeService extends Service { */ getCallAnalyticsCategory(callback?: (err: AWSError, data: TranscribeService.Types.GetCallAnalyticsCategoryResponse) => void): Request; /** - * Returns information about a call analytics job. To see the status of the job, check the CallAnalyticsJobStatus field. If the status is COMPLETED, the job is finished and you can find the results at the location specified in the TranscriptFileUri field. If you enable personally identifiable information (PII) redaction, the redacted transcript appears in the RedactedTranscriptFileUri field. + * Retrieves information about a call analytics job. To view the job's status, refer to the CallAnalyticsJobStatus field. If the status is COMPLETED, the job is finished. You can then find your transcript at the URI specified in the TranscriptFileUri field. If you enabled personally identifiable information (PII) redaction, the redacted transcript appears in the RedactedTranscriptFileUri field. */ getCallAnalyticsJob(params: TranscribeService.Types.GetCallAnalyticsJobRequest, callback?: (err: AWSError, data: TranscribeService.Types.GetCallAnalyticsJobResponse) => void): Request; /** - * Returns information about a call analytics job. To see the status of the job, check the CallAnalyticsJobStatus field. If the status is COMPLETED, the job is finished and you can find the results at the location specified in the TranscriptFileUri field. If you enable personally identifiable information (PII) redaction, the redacted transcript appears in the RedactedTranscriptFileUri field. + * Retrieves information about a call analytics job. To view the job's status, refer to the CallAnalyticsJobStatus field. If the status is COMPLETED, the job is finished. You can then find your transcript at the URI specified in the TranscriptFileUri field. If you enabled personally identifiable information (PII) redaction, the redacted transcript appears in the RedactedTranscriptFileUri field. */ getCallAnalyticsJob(callback?: (err: AWSError, data: TranscribeService.Types.GetCallAnalyticsJobResponse) => void): Request; /** - * Returns information about a transcription job from Amazon Transcribe Medical. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You find the results of the completed job in the TranscriptFileUri field. + * Retrieves information about a medical transcription job. To view the job's status, refer to the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You can then find your transcript at the URI specified in the TranscriptFileUri field. */ getMedicalTranscriptionJob(params: TranscribeService.Types.GetMedicalTranscriptionJobRequest, callback?: (err: AWSError, data: TranscribeService.Types.GetMedicalTranscriptionJobResponse) => void): Request; /** - * Returns information about a transcription job from Amazon Transcribe Medical. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You find the results of the completed job in the TranscriptFileUri field. + * Retrieves information about a medical transcription job. To view the job's status, refer to the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished. You can then find your transcript at the URI specified in the TranscriptFileUri field. */ getMedicalTranscriptionJob(callback?: (err: AWSError, data: TranscribeService.Types.GetMedicalTranscriptionJobResponse) => void): Request; /** @@ -510,107 +510,107 @@ declare namespace TranscribeService { } export interface CreateCallAnalyticsCategoryRequest { /** - * The name that you choose for your category when you create it. + * A unique name, chosen by you, for your call analytics category. For example, sentiment-positive-last30seconds. */ CategoryName: CategoryName; /** - * To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer's sentiment was negative or neutral. + * Rules make up a call analytics category. When creating a call analytics category, you must create between 1 and 20 rules for your category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer's sentiment was positive during the last 30 seconds of the call. */ Rules: RuleList; } export interface CreateCallAnalyticsCategoryResponse { /** - * The rules and associated metadata used to create a category. + * If your audio matches one of your categories, this field contains data on that category and its associated rules. This parameter shows which category is flagged (CategoryName) along with metadata for the rules that match your audio. Metadata includes the rule filter (such as InterruptionFilter, NonTalkTimeFilter, SentimentFilter, and TranscriptFilter) and where in your audio (StartTime and EndTime) the rule has a match. */ CategoryProperties?: CategoryProperties; } export interface CreateLanguageModelRequest { /** - * The language of the input text you're using to train your custom language model. + * The language of your custom language model; note that the language code you select must match the language of your training and tuning data. */ LanguageCode: CLMLanguageCode; /** - * The Amazon Transcribe standard language model, or base model used to create your custom language model. If you want to use your custom language model to transcribe audio with a sample rate of 16,000 Hz or greater, choose Wideband. If you want to use your custom language model to transcribe audio with a sample rate that is less than 16,000 Hz, choose Narrowband. + * The Amazon Transcribe standard language model, or base model, used to create your custom language model. Amazon Transcribe offers two options for base models: Wideband and Narrowband. If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, choose WideBand. To transcribe audio with a sample rate less than 16,000 Hz, choose NarrowBand. */ BaseModelName: BaseModelName; /** - * The name you choose for your custom language model when you create it. + * The name of your new custom language model. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a language model with the same name as a previous language model, you get a ConflictException error. */ ModelName: ModelName; /** - * Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model. + * Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training (S3Uri) and tuning (TuningDataS3Uri) data. */ InputDataConfig: InputDataConfig; /** - * Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create this new model. + * Optionally add tags, each in the form of a key:value pair, to your new language model. See also: . */ Tags?: TagList; } export interface CreateLanguageModelResponse { /** - * The language code of the text you've used to create a custom language model. + * The language code you selected for your custom language model. */ LanguageCode?: CLMLanguageCode; /** - * The Amazon Transcribe standard language model, or base model you've used to create a custom language model. + * The Amazon Transcribe standard language model, or base model, you used when creating your custom language model. If your audio has a sample rate of 16,000 Hz or greater, this value should be WideBand. If your audio has a sample rate of less than 16,000 Hz, this value should be NarrowBand. */ BaseModelName?: BaseModelName; /** - * The name you've chosen for your custom language model. + * The unique name you chose for your custom language model. */ ModelName?: ModelName; /** - * The data access role and Amazon S3 prefixes you've chosen to create your custom language model. + * Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations your provided for your training (S3Uri) and tuning (TuningDataS3Uri) data. */ InputDataConfig?: InputDataConfig; /** - * The status of the custom language model. When the status is COMPLETED the model is ready to use. + * The status of your custom language model. When the status shows as COMPLETED, your model is ready to use. */ ModelStatus?: ModelStatus; } export interface CreateMedicalVocabularyRequest { /** - * The name of the custom vocabulary. This case-sensitive name must be unique within an Amazon Web Services account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a ConflictException error. + * The name of your new vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a ConflictException error. */ VocabularyName: VocabularyName; /** - * The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical. + * The language code that represents the language of the entries in your custom vocabulary. Note that U.S. English (en-US) is the only language supported with Amazon Transcribe Medical. */ LanguageCode: LanguageCode; /** - * The location in Amazon S3 of the text file you use to define your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you're calling. Enter information about your VocabularyFileUri in the following format: https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey> The following is an example URI for a vocabulary file that is stored in Amazon S3: https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Medical Custom Vocabularies. + * The Amazon S3 location (URI) of the text file that contains your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you're calling. Here's an example URI path: https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt */ VocabularyFileUri: Uri; /** - * Adds one or more tags, each in the form of a key:value pair, to a new medical vocabulary at the time you create this new vocabulary. + * Adds one or more tags, each in the form of a key:value pair, to a new medical vocabulary at the time you create the new vocabulary. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. */ Tags?: TagList; } export interface CreateMedicalVocabularyResponse { /** - * The name of the vocabulary. The name must be unique within an Amazon Web Services account and is case sensitive. + * The name you chose for your vocabulary. */ VocabularyName?: VocabularyName; /** - * The language code for the entries in your custom vocabulary. US English (en-US) is the only valid language code for Amazon Transcribe Medical. + * The language code you selected for your medical vocabulary. Note that U.S. English (en-US) is the only language supported with Amazon Transcribe Medical. */ LanguageCode?: LanguageCode; /** - * The processing state of your custom vocabulary in Amazon Transcribe Medical. If the state is READY, you can use the vocabulary in a StartMedicalTranscriptionJob request. + * The processing state of your custom medical vocabulary. If the state is READY, you can use the vocabulary in a StartMedicalTranscriptionJob request. */ VocabularyState?: VocabularyState; /** - * The date and time that you created the vocabulary. + * The date and time you created your custom medical vocabulary. */ LastModifiedTime?: DateTime; /** - * If the VocabularyState field is FAILED, this field contains information about why the job failed. + * If the VocabularyState field is FAILED, FailureReason contains information about why the job failed. */ FailureReason?: FailureReason; } export interface CreateVocabularyFilterRequest { /** - * The vocabulary filter name. The name must be unique within the account that contains it. If you try to create a vocabulary filter with the same name as another vocabulary filter, you get a ConflictException error. + * The name of your new vocabulary filter. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a vocabulary filter with the same name as a previous vocabulary filter, you get a ConflictException error. */ VocabularyFilterName: VocabularyFilterName; /** @@ -618,15 +618,15 @@ declare namespace TranscribeService { */ LanguageCode: LanguageCode; /** - * The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies. If you provide a list of words in the Words parameter, you can't use the VocabularyFilterFileUri parameter. + * The words you want in your vocabulary filter. Only use characters specified in the Character sets for the language you're transcribing. Note that if you include Words in your request, you cannot use VocabularyFilterFileUri; you must choose one or the other. */ Words?: Words; /** - * The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies. The specified file must be less than 50 KB of UTF-8 characters. If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter. + * The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies. Your vocabulary filter file must be less than 50 KB in size. Note that if you include VocabularyFilterFileUri in your request, you cannot use Words; you must choose one or the other. */ VocabularyFilterFileUri?: Uri; /** - * Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary filter at the time you create this new vocabulary filter. + * Adds one or more tags, each in the form of a key:value pair, to a new vocabulary filter at the time you create this new vocabulary filter. */ Tags?: TagList; } @@ -636,55 +636,55 @@ declare namespace TranscribeService { */ VocabularyFilterName?: VocabularyFilterName; /** - * The language code of the words in the collection. + * The language code associated with your vocabulary filter. */ LanguageCode?: LanguageCode; /** - * The date and time that the vocabulary filter was modified. + * The date and time the vocabulary filter was modified. */ LastModifiedTime?: DateTime; } export interface CreateVocabularyRequest { /** - * The name of the vocabulary. The name must be unique within an Amazon Web Services account. The name is case sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a ConflictException error. + * The name of your new vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a ConflictException error. */ VocabularyName: VocabularyName; /** - * The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see table-language-matrix. + * The language code that represents the language of the entries in your custom vocabulary. Each vocabulary must contain terms in only one language. For a list of languages and their corresponding language codes, see Supported languages. */ LanguageCode: LanguageCode; /** - * An array of strings that contains the vocabulary entries. + * Use this flag to include a list of terms within your request. Note that if you include Phrases in your request, you cannot use VocabularyFileUri; you must choose one or the other. */ Phrases?: Phrases; /** - * The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is: https://s3.<Amazon Web Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey> For example: https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Custom vocabularies. + * The S3 location of the text file that contains your custom vocabulary. The URI must be located in the same region as the API endpoint you're calling. Here's an example URI path: https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt Note that if you include VocabularyFileUri in your request, you cannot use the Phrases flag; you must choose one or the other. */ VocabularyFileUri?: Uri; /** - * Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary. + * Adds one or more tags, each in the form of a key:value pair, to a new custom vocabulary at the time you create this new vocabulary. */ Tags?: TagList; } export interface CreateVocabularyResponse { /** - * The name of the vocabulary. + * The name you chose for your vocabulary. */ VocabularyName?: VocabularyName; /** - * The language code of the vocabulary entries. + * The language code you selected for your vocabulary. */ LanguageCode?: LanguageCode; /** - * The processing state of the vocabulary. When the VocabularyState field contains READY the vocabulary is ready to be used in a StartTranscriptionJob request. + * The processing state of your vocabulary. If the state is READY, you can use the vocabulary in a StartTranscriptionJob request. */ VocabularyState?: VocabularyState; /** - * The date and time that the vocabulary was created. + * The date and time you created your custom vocabulary. */ LastModifiedTime?: DateTime; /** - * If the VocabularyState field is FAILED, this field contains information about why the job failed. + * If the VocabularyState field is FAILED, FailureReason contains information about why the job failed. */ FailureReason?: FailureReason; } @@ -692,7 +692,7 @@ declare namespace TranscribeService { export type DateTime = Date; export interface DeleteCallAnalyticsCategoryRequest { /** - * The name of the call analytics category that you're choosing to delete. The value is case sensitive. + * The name of the call analytics category you want to delete. Category names are case-sensitive. */ CategoryName: CategoryName; } @@ -700,7 +700,7 @@ declare namespace TranscribeService { } export interface DeleteCallAnalyticsJobRequest { /** - * The name of the call analytics job you want to delete. + * The name of the call analytics job you want to delete. Job names are case-sensitive. */ CallAnalyticsJobName: CallAnalyticsJobName; } @@ -708,43 +708,43 @@ declare namespace TranscribeService { } export interface DeleteLanguageModelRequest { /** - * The name of the model you're choosing to delete. + * The name of the model you want to delete. Model names are case-sensitive. */ ModelName: ModelName; } export interface DeleteMedicalTranscriptionJobRequest { /** - * The name you provide to the DeleteMedicalTranscriptionJob object to delete a transcription job. + * The name of the medical transcription job you want to delete. Job names are case-sensitive. */ MedicalTranscriptionJobName: TranscriptionJobName; } export interface DeleteMedicalVocabularyRequest { /** - * The name of the vocabulary that you want to delete. + * The name of the vocabulary that you want to delete. Vocabulary names are case-sensitive. */ VocabularyName: VocabularyName; } export interface DeleteTranscriptionJobRequest { /** - * The name of the transcription job to be deleted. + * The name of the transcription job you want to delete. Job names are case-sensitive. */ TranscriptionJobName: TranscriptionJobName; } export interface DeleteVocabularyFilterRequest { /** - * The name of the vocabulary filter to remove. + * The name of the vocabulary filter you want to delete. Vocabulary filter names are case-sensitive. */ VocabularyFilterName: VocabularyFilterName; } export interface DeleteVocabularyRequest { /** - * The name of the vocabulary to delete. + * The name of the vocabulary you want to delete. Vocabulary names are case-sensitive. */ VocabularyName: VocabularyName; } export interface DescribeLanguageModelRequest { /** - * The name of the custom language model you submit to get more information. + * The name of the custom language model you want described. Model names are case-sensitive. */ ModelName: ModelName; } @@ -757,43 +757,43 @@ declare namespace TranscribeService { export type FailureReason = string; export interface GetCallAnalyticsCategoryRequest { /** - * The name of the category you want information about. This value is case sensitive. + * The name of the category you want information about. Category names are case sensitive. */ CategoryName: CategoryName; } export interface GetCallAnalyticsCategoryResponse { /** - * The rules you've defined for a category. + * Provides you with the rules associated with the category you specified in your GetCallAnalyticsCategory request. */ CategoryProperties?: CategoryProperties; } export interface GetCallAnalyticsJobRequest { /** - * The name of the analytics job you want information about. This value is case sensitive. + * The name of the analytics job you want information about. This value is case sensitive. */ CallAnalyticsJobName: CallAnalyticsJobName; } export interface GetCallAnalyticsJobResponse { /** - * An object that contains the results of your call analytics job. + * An object that contains detailed information about your call analytics job. Returned fields include: CallAnalyticsJobName, CallAnalyticsJobStatus, ChannelDefinitions, CompletionTime, CreationTime, DataAccessRoleArn, FailureReason, IdentifiedLanguageScore, LanguageCode, Media, MediaFormat, MediaSampleRateHertz, Settings, StartTime, and Transcript. */ CallAnalyticsJob?: CallAnalyticsJob; } export interface GetMedicalTranscriptionJobRequest { /** - * The name of the medical transcription job. + * The name of the medical transcription job you want information about. This value is case sensitive. */ MedicalTranscriptionJobName: TranscriptionJobName; } export interface GetMedicalTranscriptionJobResponse { /** - * An object that contains the results of the medical transcription job. + * An object that contains detailed information about your medical transcription job. Returned fields include: CompletionTime, ContentIdentificationType, CreationTime, FailureReason, LanguageCode, Media, MediaFormat, MediaSampleRateHertz, MedicalTranscriptionJobName, Settings, Specialty, StartTime, Tags, Transcript, TranscriptionJobStatus, and Type. */ MedicalTranscriptionJob?: MedicalTranscriptionJob; } export interface GetMedicalVocabularyRequest { /** - * The name of the vocabulary that you want information about. The value is case sensitive. + * The name of the medical vocabulary you want information about. This value is case sensitive. */ VocabularyName: VocabularyName; } @@ -815,11 +815,11 @@ declare namespace TranscribeService { */ LastModifiedTime?: DateTime; /** - * If the VocabularyState is FAILED, this field contains information about why the job failed. + * If your request returns a VocabularyState that is FAILED, the FailureReason field contains information about why the request failed. For more information, refer to the Common Errors section. */ FailureReason?: FailureReason; /** - * The location in Amazon S3 where the vocabulary is stored. Use this URI to get the contents of the vocabulary. You can download your vocabulary from the URI for a limited time. + * The S3 location where the vocabulary is stored; use this URI to view or download the vocabulary. */ DownloadUri?: Uri; } @@ -982,7 +982,7 @@ declare namespace TranscribeService { */ ModelStatus?: ModelStatus; /** - * Whether the base model used for the custom language model is up to date. If this field is true then you are running the most up-to-date version of the base model in your custom language model. + * Whether the base model used for the custom language model is up to date. If this field is false then you are running the most up-to-date version of the base model in your custom language model. */ UpgradeAvailability?: Boolean; /** @@ -1131,7 +1131,7 @@ declare namespace TranscribeService { */ Status?: VocabularyState; /** - * The ListMedicalVocabularies operation returns a page of vocabularies at a time. You set the maximum number of vocabularies to return on a page with the MaxResults parameter. If there are more jobs in the list will fit on a page, Amazon Transcribe Medical returns the NextPage token. To return the next page of vocabularies, include the token in the next request to the ListMedicalVocabularies operation . + * The ListMedicalVocabularies operation returns a page of vocabularies at a time. You set the maximum number of vocabularies to return on a page with the MaxResults parameter. If there are more jobs in the list will fit on a page, Amazon Transcribe Medical returns the NextPage token. To return the next page of vocabularies, include the token in the next request to the ListMedicalVocabularies operation. */ NextToken?: NextToken; /** @@ -1248,7 +1248,7 @@ declare namespace TranscribeService { export type MaxSpeakers = number; export interface Media { /** - * The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is: s3://<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey> For example: s3://AWSDOC-EXAMPLE-BUCKET/example.mp4 s3://AWSDOC-EXAMPLE-BUCKET/mediadocs/example.mp4 For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. + * The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is: s3://DOC-EXAMPLE-BUCKET/keyprefix/objectkey For example: s3://DOC-EXAMPLE-BUCKET/example.flac s3://DOC-EXAMPLE-BUCKET/mediafiles/example.flac For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. */ MediaFileUri?: Uri; /** @@ -1259,6 +1259,7 @@ declare namespace TranscribeService { export type MediaFormat = "mp3"|"mp4"|"wav"|"flac"|"ogg"|"amr"|"webm"|string; export type MediaSampleRateHertz = number; export type MedicalContentIdentificationType = "PHI"|string; + export type MedicalMediaSampleRateHertz = number; export interface MedicalTranscript { /** * The S3 object location of the medical transcript. Use this URI to access the medical transcript. This URI points to the S3 bucket you created to store the medical transcript. @@ -1281,7 +1282,7 @@ declare namespace TranscribeService { /** * The sample rate, in Hertz, of the source audio containing medical information. If you don't specify the sample rate, Amazon Transcribe Medical determines it for you. If you choose to specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. */ - MediaSampleRateHertz?: MediaSampleRateHertz; + MediaSampleRateHertz?: MedicalMediaSampleRateHertz; /** * The format of the input media file. */ @@ -1582,7 +1583,7 @@ declare namespace TranscribeService { /** * The sample rate, in Hertz, of the audio track in the input media file. If you do not specify the media sample rate, Amazon Transcribe Medical determines the sample rate. If you specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. In most cases, you should leave the MediaSampleRateHertz field blank and let Amazon Transcribe Medical determine the sample rate. */ - MediaSampleRateHertz?: MediaSampleRateHertz; + MediaSampleRateHertz?: MedicalMediaSampleRateHertz; /** * The audio format of the input media file. */ @@ -1621,7 +1622,7 @@ declare namespace TranscribeService { */ Type: Type; /** - * Add tags to an Amazon Transcribe medical transcription job. + * Add tags to an Amazon Transcribe Medical transcription job. */ Tags?: TagList; } @@ -1727,7 +1728,7 @@ declare namespace TranscribeService { */ Formats?: SubtitleFormats; /** - * Choose the output location for your subtitle file. This location must be an S3 bucket. + * Contains the output location for your subtitle file. This location must be an S3 bucket. */ SubtitleFileUris?: SubtitleFileUris; } @@ -1971,7 +1972,7 @@ declare namespace TranscribeService { */ LanguageCode: LanguageCode; /** - * The location in Amazon S3 of the text file that contains your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you are calling. The following is the format for a URI: https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey> For example: https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom Vocabularies. + * The location in Amazon S3 of the text file that contains your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you are calling. The following is the format for a URI: https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey For example: https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom Vocabularies. */ VocabularyFileUri?: Uri; } @@ -2035,7 +2036,7 @@ declare namespace TranscribeService { */ Phrases?: Phrases; /** - * The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is: https://s3.<aws-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey> For example: https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Custom Vocabularies. + * The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is: https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey For example: https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide. For more information about custom vocabularies, see Custom Vocabularies. */ VocabularyFileUri?: Uri; } diff --git a/clients/transfer.d.ts b/clients/transfer.d.ts index 8fb2d7b83e..37f3af7551 100644 --- a/clients/transfer.d.ts +++ b/clients/transfer.d.ts @@ -383,7 +383,13 @@ declare namespace Transfer { * Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs. */ LoggingRole?: Role; + /** + * Specify a string to display when users connect to a server. This string is displayed after the user authenticates. The SFTP protocol does not support post-authentication display banners. + */ PostAuthenticationLoginBanner?: PostAuthenticationLoginBanner; + /** + * Specify a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system. This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel. + */ PreAuthenticationLoginBanner?: PreAuthenticationLoginBanner; /** * Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: SFTP (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH FTPS (File Transfer Protocol Secure): File transfer with TLS encryption FTP (File Transfer Protocol): Unencrypted file transfer If you select FTPS, you must choose a certificate stored in Amazon Web Services Certificate Manager (ACM) which is used to identify your server when clients connect to it over FTPS. If Protocol includes either FTP or FTPS, then the EndpointType must be VPC and the IdentityProviderType must be AWS_DIRECTORY_SERVICE or API_GATEWAY. If Protocol includes FTP, then AddressAllocationIds cannot be associated. If Protocol is set only to SFTP, the EndpointType can be set to PUBLIC and the IdentityProviderType can be set to SERVICE_MANAGED. @@ -787,7 +793,13 @@ declare namespace Transfer { * Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs. */ LoggingRole?: Role; + /** + * Specify a string to display when users connect to a server. This string is displayed after the user authenticates. The SFTP protocol does not support post-authentication display banners. + */ PostAuthenticationLoginBanner?: PostAuthenticationLoginBanner; + /** + * Specify a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system. This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel. + */ PreAuthenticationLoginBanner?: PreAuthenticationLoginBanner; /** * Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: SFTP (Secure Shell (SSH) File Transfer Protocol): File transfer over SSH FTPS (File Transfer Protocol Secure): File transfer with TLS encryption FTP (File Transfer Protocol): Unencrypted file transfer @@ -925,7 +937,7 @@ declare namespace Transfer { export type EndpointType = "PUBLIC"|"VPC"|"VPC_ENDPOINT"|string; export interface ExecutionError { /** - * Specifies the error type: currently, the only valid value is PERMISSION_DENIED, which occurs if your policy does not contain the correct permissions to complete one or more of the steps in the workflow. + * Specifies the error type. ALREADY_EXISTS: occurs for a copy step, if the overwrite option is not selected and a file with the same name already exists in the target location. BAD_REQUEST: a general bad request: for example, a step that attempts to tag an EFS file returns BAD_REQUEST, as only S3 files can be tagged. CUSTOM_STEP_FAILED: occurs when the custom step provided a callback that indicates failure. INTERNAL_SERVER_ERROR: a catch-all error that can occur for a variety of reasons. NOT_FOUND: occurs when a requested entity, for example a source file for a copy step, does not exist. PERMISSION_DENIED: occurs if your policy does not contain the correct permissions to complete one or more of the steps in the workflow. TIMEOUT: occurs when the execution times out. You can set the TimeoutSeconds for a custom step, anywhere from 1 second to 1800 seconds (30 minutes). THROTTLED: occurs if you exceed the new execution refill rate of one workflow per second. */ Type: ExecutionErrorType; /** @@ -934,7 +946,7 @@ declare namespace Transfer { Message: ExecutionErrorMessage; } export type ExecutionErrorMessage = string; - export type ExecutionErrorType = "PERMISSION_DENIED"|string; + export type ExecutionErrorType = "PERMISSION_DENIED"|"CUSTOM_STEP_FAILED"|"THROTTLED"|"ALREADY_EXISTS"|"NOT_FOUND"|"BAD_REQUEST"|"TIMEOUT"|"INTERNAL_SERVER_ERROR"|string; export type ExecutionId = string; export interface ExecutionResults { /** @@ -1662,7 +1674,13 @@ declare namespace Transfer { * Specifies the Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, user activity can be viewed in your CloudWatch logs. */ LoggingRole?: NullableRole; + /** + * Specify a string to display when users connect to a server. This string is displayed after the user authenticates. The SFTP protocol does not support post-authentication display banners. + */ PostAuthenticationLoginBanner?: PostAuthenticationLoginBanner; + /** + * Specify a string to display when users connect to a server. This string is displayed before the user authenticates. For example, the following banner displays details about using the system. This system is for the use of authorized users only. Individuals using this computer system without authority, or in excess of their authority, are subject to having all of their activities on this system monitored and recorded by system personnel. + */ PreAuthenticationLoginBanner?: PreAuthenticationLoginBanner; /** * Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. The available protocols are: Secure Shell (SSH) File Transfer Protocol (SFTP): File transfer over SSH File Transfer Protocol Secure (FTPS): File transfer with TLS encryption File Transfer Protocol (FTP): Unencrypted file transfer If you select FTPS, you must choose a certificate stored in Amazon Web ServicesCertificate Manager (ACM) which will be used to identify your server when clients connect to it over FTPS. If Protocol includes either FTP or FTPS, then the EndpointType must be VPC and the IdentityProviderType must be AWS_DIRECTORY_SERVICE or API_GATEWAY. If Protocol includes FTP, then AddressAllocationIds cannot be associated. If Protocol is set only to SFTP, the EndpointType can be set to PUBLIC and the IdentityProviderType can be set to SERVICE_MANAGED. diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index e6494e66e2..867e3088f0 100644 --- a/dist/aws-sdk-core-react-native.js +++ b/dist/aws-sdk-core-react-native.js @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1090.0', + VERSION: '2.1091.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 71dc34950d..3a42008937 100644 --- a/dist/aws-sdk-react-native.js +++ b/dist/aws-sdk-react-native.js @@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1090.0', + VERSION: '2.1091.0', /** * @api private @@ -49444,7 +49444,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 598 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-26","endpointPrefix":"transcribe","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Transcribe Service","serviceId":"Transcribe","signatureVersion":"v4","signingName":"transcribe","targetPrefix":"Transcribe","uid":"transcribe-2017-10-26"},"operations":{"CreateCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName","Rules"],"members":{"CategoryName":{},"Rules":{"shape":"S3"}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"CreateLanguageModel":{"input":{"type":"structure","required":["LanguageCode","BaseModelName","ModelName","InputDataConfig"],"members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"Sr"},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"Sr"},"ModelStatus":{}}}},"CreateMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode","VocabularyFileUri"],"members":{"VocabularyName":{},"LanguageCode":{},"VocabularyFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"Phrases":{"shape":"S17"},"VocabularyFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName","LanguageCode"],"members":{"VocabularyFilterName":{},"LanguageCode":{},"Words":{"shape":"S1c"},"VocabularyFilterFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}},"DeleteCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName"],"members":{"CategoryName":{}}},"output":{"type":"structure","members":{}}},"DeleteCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName"],"members":{"CallAnalyticsJobName":{}}},"output":{"type":"structure","members":{}}},"DeleteLanguageModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}}},"DeleteMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName"],"members":{"MedicalTranscriptionJobName":{}}}},"DeleteMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}}},"DeleteTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName"],"members":{"TranscriptionJobName":{}}}},"DeleteVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}}},"DeleteVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{}}}},"DescribeLanguageModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}},"output":{"type":"structure","members":{"LanguageModel":{"shape":"S1t"}}}},"GetCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName"],"members":{"CategoryName":{}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"GetCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName"],"members":{"CallAnalyticsJobName":{}}},"output":{"type":"structure","members":{"CallAnalyticsJob":{"shape":"S1y"}}}},"GetMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName"],"members":{"MedicalTranscriptionJobName":{}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S2k"}}}},"GetMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"DownloadUri":{}}}},"GetTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName"],"members":{"TranscriptionJobName":{}}},"output":{"type":"structure","members":{"TranscriptionJob":{"shape":"S2x"}}}},"GetVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"DownloadUri":{}}}},"GetVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"DownloadUri":{}}}},"ListCallAnalyticsCategories":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Categories":{"type":"list","member":{"shape":"Sl"}}}}},"ListCallAnalyticsJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"CallAnalyticsJobSummaries":{"type":"list","member":{"type":"structure","members":{"CallAnalyticsJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"CallAnalyticsJobStatus":{},"FailureReason":{}}}}}}},"ListLanguageModels":{"input":{"type":"structure","members":{"StatusEquals":{},"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Models":{"type":"list","member":{"shape":"S1t"}}}}},"ListMedicalTranscriptionJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"MedicalTranscriptionJobSummaries":{"type":"list","member":{"type":"structure","members":{"MedicalTranscriptionJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"TranscriptionJobStatus":{},"FailureReason":{},"OutputLocationType":{},"Specialty":{},"ContentIdentificationType":{},"Type":{}}}}}}},"ListMedicalVocabularies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"StateEquals":{},"NameContains":{}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"Vocabularies":{"shape":"S3s"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourceArn":{},"Tags":{"shape":"Su"}}}},"ListTranscriptionJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"TranscriptionJobSummaries":{"type":"list","member":{"type":"structure","members":{"TranscriptionJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"TranscriptionJobStatus":{},"FailureReason":{},"OutputLocationType":{},"ContentRedaction":{"shape":"S27"},"ModelSettings":{"shape":"S2z"},"IdentifyLanguage":{"type":"boolean"},"IdentifiedLanguageScore":{"type":"float"}}}}}}},"ListVocabularies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"StateEquals":{},"NameContains":{}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"Vocabularies":{"shape":"S3s"}}}},"ListVocabularyFilters":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{}}},"output":{"type":"structure","members":{"NextToken":{},"VocabularyFilters":{"type":"list","member":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}}}}},"StartCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName","Media","DataAccessRoleArn"],"members":{"CallAnalyticsJobName":{},"Media":{"shape":"S22"},"OutputLocation":{},"OutputEncryptionKMSKeyId":{},"DataAccessRoleArn":{},"Settings":{"shape":"S25"},"ChannelDefinitions":{"shape":"S2f"}}},"output":{"type":"structure","members":{"CallAnalyticsJob":{"shape":"S1y"}}}},"StartMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName","LanguageCode","Media","OutputBucketName","Specialty","Type"],"members":{"MedicalTranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"KMSEncryptionContext":{"shape":"S4d"},"Settings":{"shape":"S2n"},"ContentIdentificationType":{},"Specialty":{},"Type":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S2k"}}}},"StartTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName","Media"],"members":{"TranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"KMSEncryptionContext":{"shape":"S4d"},"Settings":{"shape":"S2y"},"ModelSettings":{"shape":"S2z"},"JobExecutionSettings":{"shape":"S30"},"ContentRedaction":{"shape":"S27"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S2c"},"Subtitles":{"type":"structure","members":{"Formats":{"shape":"S32"}}},"Tags":{"shape":"Su"},"LanguageIdSettings":{"shape":"S2d"}}},"output":{"type":"structure","members":{"TranscriptionJob":{"shape":"S2x"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName","Rules"],"members":{"CategoryName":{},"Rules":{"shape":"S3"}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"UpdateMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"UpdateVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"Phrases":{"shape":"S17"},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"UpdateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{},"Words":{"shape":"S1c"},"VocabularyFilterFileUri":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","members":{"NonTalkTimeFilter":{"type":"structure","members":{"Threshold":{"type":"long"},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"Negate":{"type":"boolean"}}},"InterruptionFilter":{"type":"structure","members":{"Threshold":{"type":"long"},"ParticipantRole":{},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"Negate":{"type":"boolean"}}},"TranscriptFilter":{"type":"structure","required":["TranscriptFilterType","Targets"],"members":{"TranscriptFilterType":{},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"ParticipantRole":{},"Negate":{"type":"boolean"},"Targets":{"type":"list","member":{}}}},"SentimentFilter":{"type":"structure","required":["Sentiments"],"members":{"Sentiments":{"type":"list","member":{}},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"ParticipantRole":{},"Negate":{"type":"boolean"}}}},"union":true}},"S7":{"type":"structure","members":{"StartTime":{"type":"long"},"EndTime":{"type":"long"},"First":{"type":"long"},"Last":{"type":"long"}}},"S8":{"type":"structure","members":{"StartPercentage":{"type":"integer"},"EndPercentage":{"type":"integer"},"First":{"type":"integer"},"Last":{"type":"integer"}}},"Sl":{"type":"structure","members":{"CategoryName":{},"Rules":{"shape":"S3"},"CreateTime":{"type":"timestamp"},"LastUpdateTime":{"type":"timestamp"}}},"Sr":{"type":"structure","required":["S3Uri","DataAccessRoleArn"],"members":{"S3Uri":{},"TuningDataS3Uri":{},"DataAccessRoleArn":{}}},"Su":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S17":{"type":"list","member":{}},"S1c":{"type":"list","member":{}},"S1t":{"type":"structure","members":{"ModelName":{},"CreateTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LanguageCode":{},"BaseModelName":{},"ModelStatus":{},"UpgradeAvailability":{"type":"boolean"},"FailureReason":{},"InputDataConfig":{"shape":"Sr"}}},"S1y":{"type":"structure","members":{"CallAnalyticsJobName":{},"CallAnalyticsJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"shape":"S23"},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"DataAccessRoleArn":{},"IdentifiedLanguageScore":{"type":"float"},"Settings":{"shape":"S25"},"ChannelDefinitions":{"shape":"S2f"}}},"S22":{"type":"structure","members":{"MediaFileUri":{},"RedactedMediaFileUri":{}}},"S23":{"type":"structure","members":{"TranscriptFileUri":{},"RedactedTranscriptFileUri":{}}},"S25":{"type":"structure","members":{"VocabularyName":{},"VocabularyFilterName":{},"VocabularyFilterMethod":{},"LanguageModelName":{},"ContentRedaction":{"shape":"S27"},"LanguageOptions":{"shape":"S2c"},"LanguageIdSettings":{"shape":"S2d"}}},"S27":{"type":"structure","required":["RedactionType","RedactionOutput"],"members":{"RedactionType":{},"RedactionOutput":{},"PiiEntityTypes":{"type":"list","member":{}}}},"S2c":{"type":"list","member":{}},"S2d":{"type":"map","key":{},"value":{"type":"structure","members":{"VocabularyName":{},"VocabularyFilterName":{},"LanguageModelName":{}}}},"S2f":{"type":"list","member":{"type":"structure","members":{"ChannelId":{"type":"integer"},"ParticipantRole":{}}}},"S2k":{"type":"structure","members":{"MedicalTranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"type":"structure","members":{"TranscriptFileUri":{}}},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S2n"},"ContentIdentificationType":{},"Specialty":{},"Type":{},"Tags":{"shape":"Su"}}},"S2n":{"type":"structure","members":{"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyName":{}}},"S2x":{"type":"structure","members":{"TranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"shape":"S23"},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S2y"},"ModelSettings":{"shape":"S2z"},"JobExecutionSettings":{"shape":"S30"},"ContentRedaction":{"shape":"S27"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S2c"},"IdentifiedLanguageScore":{"type":"float"},"Tags":{"shape":"Su"},"Subtitles":{"type":"structure","members":{"Formats":{"shape":"S32"},"SubtitleFileUris":{"type":"list","member":{}}}},"LanguageIdSettings":{"shape":"S2d"}}},"S2y":{"type":"structure","members":{"VocabularyName":{},"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyFilterName":{},"VocabularyFilterMethod":{}}},"S2z":{"type":"structure","members":{"LanguageModelName":{}}},"S30":{"type":"structure","members":{"AllowDeferredExecution":{"type":"boolean"},"DataAccessRoleArn":{}}},"S32":{"type":"list","member":{}},"S3s":{"type":"list","member":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"S4d":{"type":"map","key":{},"value":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2017-10-26","endpointPrefix":"transcribe","jsonVersion":"1.1","protocol":"json","serviceFullName":"Amazon Transcribe Service","serviceId":"Transcribe","signatureVersion":"v4","signingName":"transcribe","targetPrefix":"Transcribe","uid":"transcribe-2017-10-26"},"operations":{"CreateCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName","Rules"],"members":{"CategoryName":{},"Rules":{"shape":"S3"}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"CreateLanguageModel":{"input":{"type":"structure","required":["LanguageCode","BaseModelName","ModelName","InputDataConfig"],"members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"Sr"},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"LanguageCode":{},"BaseModelName":{},"ModelName":{},"InputDataConfig":{"shape":"Sr"},"ModelStatus":{}}}},"CreateMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode","VocabularyFileUri"],"members":{"VocabularyName":{},"LanguageCode":{},"VocabularyFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"Phrases":{"shape":"S17"},"VocabularyFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{}}}},"CreateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName","LanguageCode"],"members":{"VocabularyFilterName":{},"LanguageCode":{},"Words":{"shape":"S1c"},"VocabularyFilterFileUri":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}},"DeleteCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName"],"members":{"CategoryName":{}}},"output":{"type":"structure","members":{}}},"DeleteCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName"],"members":{"CallAnalyticsJobName":{}}},"output":{"type":"structure","members":{}}},"DeleteLanguageModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}}},"DeleteMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName"],"members":{"MedicalTranscriptionJobName":{}}}},"DeleteMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}}},"DeleteTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName"],"members":{"TranscriptionJobName":{}}}},"DeleteVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}}},"DeleteVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{}}}},"DescribeLanguageModel":{"input":{"type":"structure","required":["ModelName"],"members":{"ModelName":{}}},"output":{"type":"structure","members":{"LanguageModel":{"shape":"S1t"}}}},"GetCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName"],"members":{"CategoryName":{}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"GetCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName"],"members":{"CallAnalyticsJobName":{}}},"output":{"type":"structure","members":{"CallAnalyticsJob":{"shape":"S1y"}}}},"GetMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName"],"members":{"MedicalTranscriptionJobName":{}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S2k"}}}},"GetMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"DownloadUri":{}}}},"GetTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName"],"members":{"TranscriptionJobName":{}}},"output":{"type":"structure","members":{"TranscriptionJob":{"shape":"S2y"}}}},"GetVocabulary":{"input":{"type":"structure","required":["VocabularyName"],"members":{"VocabularyName":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"VocabularyState":{},"LastModifiedTime":{"type":"timestamp"},"FailureReason":{},"DownloadUri":{}}}},"GetVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"DownloadUri":{}}}},"ListCallAnalyticsCategories":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Categories":{"type":"list","member":{"shape":"Sl"}}}}},"ListCallAnalyticsJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"CallAnalyticsJobSummaries":{"type":"list","member":{"type":"structure","members":{"CallAnalyticsJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"CallAnalyticsJobStatus":{},"FailureReason":{}}}}}}},"ListLanguageModels":{"input":{"type":"structure","members":{"StatusEquals":{},"NameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"NextToken":{},"Models":{"type":"list","member":{"shape":"S1t"}}}}},"ListMedicalTranscriptionJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"MedicalTranscriptionJobSummaries":{"type":"list","member":{"type":"structure","members":{"MedicalTranscriptionJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"TranscriptionJobStatus":{},"FailureReason":{},"OutputLocationType":{},"Specialty":{},"ContentIdentificationType":{},"Type":{}}}}}}},"ListMedicalVocabularies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"StateEquals":{},"NameContains":{}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"Vocabularies":{"shape":"S3t"}}}},"ListTagsForResource":{"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{}}},"output":{"type":"structure","members":{"ResourceArn":{},"Tags":{"shape":"Su"}}}},"ListTranscriptionJobs":{"input":{"type":"structure","members":{"Status":{},"JobNameContains":{},"NextToken":{},"MaxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"TranscriptionJobSummaries":{"type":"list","member":{"type":"structure","members":{"TranscriptionJobName":{},"CreationTime":{"type":"timestamp"},"StartTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"LanguageCode":{},"TranscriptionJobStatus":{},"FailureReason":{},"OutputLocationType":{},"ContentRedaction":{"shape":"S27"},"ModelSettings":{"shape":"S30"},"IdentifyLanguage":{"type":"boolean"},"IdentifiedLanguageScore":{"type":"float"}}}}}}},"ListVocabularies":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"StateEquals":{},"NameContains":{}}},"output":{"type":"structure","members":{"Status":{},"NextToken":{},"Vocabularies":{"shape":"S3t"}}}},"ListVocabularyFilters":{"input":{"type":"structure","members":{"NextToken":{},"MaxResults":{"type":"integer"},"NameContains":{}}},"output":{"type":"structure","members":{"NextToken":{},"VocabularyFilters":{"type":"list","member":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}}}}},"StartCallAnalyticsJob":{"input":{"type":"structure","required":["CallAnalyticsJobName","Media","DataAccessRoleArn"],"members":{"CallAnalyticsJobName":{},"Media":{"shape":"S22"},"OutputLocation":{},"OutputEncryptionKMSKeyId":{},"DataAccessRoleArn":{},"Settings":{"shape":"S25"},"ChannelDefinitions":{"shape":"S2f"}}},"output":{"type":"structure","members":{"CallAnalyticsJob":{"shape":"S1y"}}}},"StartMedicalTranscriptionJob":{"input":{"type":"structure","required":["MedicalTranscriptionJobName","LanguageCode","Media","OutputBucketName","Specialty","Type"],"members":{"MedicalTranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"KMSEncryptionContext":{"shape":"S4e"},"Settings":{"shape":"S2o"},"ContentIdentificationType":{},"Specialty":{},"Type":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{"MedicalTranscriptionJob":{"shape":"S2k"}}}},"StartTranscriptionJob":{"input":{"type":"structure","required":["TranscriptionJobName","Media"],"members":{"TranscriptionJobName":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"OutputBucketName":{},"OutputKey":{},"OutputEncryptionKMSKeyId":{},"KMSEncryptionContext":{"shape":"S4e"},"Settings":{"shape":"S2z"},"ModelSettings":{"shape":"S30"},"JobExecutionSettings":{"shape":"S31"},"ContentRedaction":{"shape":"S27"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S2c"},"Subtitles":{"type":"structure","members":{"Formats":{"shape":"S33"}}},"Tags":{"shape":"Su"},"LanguageIdSettings":{"shape":"S2d"}}},"output":{"type":"structure","members":{"TranscriptionJob":{"shape":"S2y"}}}},"TagResource":{"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{},"Tags":{"shape":"Su"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{},"TagKeys":{"type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateCallAnalyticsCategory":{"input":{"type":"structure","required":["CategoryName","Rules"],"members":{"CategoryName":{},"Rules":{"shape":"S3"}}},"output":{"type":"structure","members":{"CategoryProperties":{"shape":"Sl"}}}},"UpdateMedicalVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"UpdateVocabulary":{"input":{"type":"structure","required":["VocabularyName","LanguageCode"],"members":{"VocabularyName":{},"LanguageCode":{},"Phrases":{"shape":"S17"},"VocabularyFileUri":{}}},"output":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"UpdateVocabularyFilter":{"input":{"type":"structure","required":["VocabularyFilterName"],"members":{"VocabularyFilterName":{},"Words":{"shape":"S1c"},"VocabularyFilterFileUri":{}}},"output":{"type":"structure","members":{"VocabularyFilterName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"}}}}},"shapes":{"S3":{"type":"list","member":{"type":"structure","members":{"NonTalkTimeFilter":{"type":"structure","members":{"Threshold":{"type":"long"},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"Negate":{"type":"boolean"}}},"InterruptionFilter":{"type":"structure","members":{"Threshold":{"type":"long"},"ParticipantRole":{},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"Negate":{"type":"boolean"}}},"TranscriptFilter":{"type":"structure","required":["TranscriptFilterType","Targets"],"members":{"TranscriptFilterType":{},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"ParticipantRole":{},"Negate":{"type":"boolean"},"Targets":{"type":"list","member":{}}}},"SentimentFilter":{"type":"structure","required":["Sentiments"],"members":{"Sentiments":{"type":"list","member":{}},"AbsoluteTimeRange":{"shape":"S7"},"RelativeTimeRange":{"shape":"S8"},"ParticipantRole":{},"Negate":{"type":"boolean"}}}},"union":true}},"S7":{"type":"structure","members":{"StartTime":{"type":"long"},"EndTime":{"type":"long"},"First":{"type":"long"},"Last":{"type":"long"}}},"S8":{"type":"structure","members":{"StartPercentage":{"type":"integer"},"EndPercentage":{"type":"integer"},"First":{"type":"integer"},"Last":{"type":"integer"}}},"Sl":{"type":"structure","members":{"CategoryName":{},"Rules":{"shape":"S3"},"CreateTime":{"type":"timestamp"},"LastUpdateTime":{"type":"timestamp"}}},"Sr":{"type":"structure","required":["S3Uri","DataAccessRoleArn"],"members":{"S3Uri":{},"TuningDataS3Uri":{},"DataAccessRoleArn":{}}},"Su":{"type":"list","member":{"type":"structure","required":["Key","Value"],"members":{"Key":{},"Value":{}}}},"S17":{"type":"list","member":{}},"S1c":{"type":"list","member":{}},"S1t":{"type":"structure","members":{"ModelName":{},"CreateTime":{"type":"timestamp"},"LastModifiedTime":{"type":"timestamp"},"LanguageCode":{},"BaseModelName":{},"ModelStatus":{},"UpgradeAvailability":{"type":"boolean"},"FailureReason":{},"InputDataConfig":{"shape":"Sr"}}},"S1y":{"type":"structure","members":{"CallAnalyticsJobName":{},"CallAnalyticsJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"shape":"S23"},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"DataAccessRoleArn":{},"IdentifiedLanguageScore":{"type":"float"},"Settings":{"shape":"S25"},"ChannelDefinitions":{"shape":"S2f"}}},"S22":{"type":"structure","members":{"MediaFileUri":{},"RedactedMediaFileUri":{}}},"S23":{"type":"structure","members":{"TranscriptFileUri":{},"RedactedTranscriptFileUri":{}}},"S25":{"type":"structure","members":{"VocabularyName":{},"VocabularyFilterName":{},"VocabularyFilterMethod":{},"LanguageModelName":{},"ContentRedaction":{"shape":"S27"},"LanguageOptions":{"shape":"S2c"},"LanguageIdSettings":{"shape":"S2d"}}},"S27":{"type":"structure","required":["RedactionType","RedactionOutput"],"members":{"RedactionType":{},"RedactionOutput":{},"PiiEntityTypes":{"type":"list","member":{}}}},"S2c":{"type":"list","member":{}},"S2d":{"type":"map","key":{},"value":{"type":"structure","members":{"VocabularyName":{},"VocabularyFilterName":{},"LanguageModelName":{}}}},"S2f":{"type":"list","member":{"type":"structure","members":{"ChannelId":{"type":"integer"},"ParticipantRole":{}}}},"S2k":{"type":"structure","members":{"MedicalTranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"type":"structure","members":{"TranscriptFileUri":{}}},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S2o"},"ContentIdentificationType":{},"Specialty":{},"Type":{},"Tags":{"shape":"Su"}}},"S2o":{"type":"structure","members":{"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyName":{}}},"S2y":{"type":"structure","members":{"TranscriptionJobName":{},"TranscriptionJobStatus":{},"LanguageCode":{},"MediaSampleRateHertz":{"type":"integer"},"MediaFormat":{},"Media":{"shape":"S22"},"Transcript":{"shape":"S23"},"StartTime":{"type":"timestamp"},"CreationTime":{"type":"timestamp"},"CompletionTime":{"type":"timestamp"},"FailureReason":{},"Settings":{"shape":"S2z"},"ModelSettings":{"shape":"S30"},"JobExecutionSettings":{"shape":"S31"},"ContentRedaction":{"shape":"S27"},"IdentifyLanguage":{"type":"boolean"},"LanguageOptions":{"shape":"S2c"},"IdentifiedLanguageScore":{"type":"float"},"Tags":{"shape":"Su"},"Subtitles":{"type":"structure","members":{"Formats":{"shape":"S33"},"SubtitleFileUris":{"type":"list","member":{}}}},"LanguageIdSettings":{"shape":"S2d"}}},"S2z":{"type":"structure","members":{"VocabularyName":{},"ShowSpeakerLabels":{"type":"boolean"},"MaxSpeakerLabels":{"type":"integer"},"ChannelIdentification":{"type":"boolean"},"ShowAlternatives":{"type":"boolean"},"MaxAlternatives":{"type":"integer"},"VocabularyFilterName":{},"VocabularyFilterMethod":{}}},"S30":{"type":"structure","members":{"LanguageModelName":{}}},"S31":{"type":"structure","members":{"AllowDeferredExecution":{"type":"boolean"},"DataAccessRoleArn":{}}},"S33":{"type":"list","member":{}},"S3t":{"type":"list","member":{"type":"structure","members":{"VocabularyName":{},"LanguageCode":{},"LastModifiedTime":{"type":"timestamp"},"VocabularyState":{}}}},"S4e":{"type":"map","key":{},"value":{}}}} /***/ }), /* 599 */ @@ -54119,7 +54119,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 987 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-07","endpointPrefix":"models-v2-lex","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Lex Models V2","serviceFullName":"Amazon Lex Model Building V2","serviceId":"Lex Models V2","signatureVersion":"v4","signingName":"lex","uid":"models.lex.v2-2020-08-07"},"operations":{"BuildBotLocale":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botLocaleStatus":{},"lastBuildSubmittedDateTime":{"type":"timestamp"}}}},"CreateBot":{"http":{"method":"PUT","requestUri":"/bots/","responseCode":202},"input":{"type":"structure","required":["botName","roleArn","dataPrivacy","idleSessionTTLInSeconds"],"members":{"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}}},"CreateBotAlias":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botaliases/","responseCode":202},"input":{"type":"structure","required":["botAliasName","botId"],"members":{"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botId":{"location":"uri","locationName":"botId"},"tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"tags":{"shape":"Sf"}}}},"CreateBotLocale":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","nluIntentConfidenceThreshold"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeName":{},"localeId":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"botLocaleStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateBotVersion":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/","responseCode":202},"input":{"type":"structure","required":["botId","botVersionLocaleSpecification"],"members":{"botId":{"location":"uri","locationName":"botId"},"description":{},"botVersionLocaleSpecification":{"shape":"S1i"}}},"output":{"type":"structure","members":{"botId":{},"description":{},"botVersion":{},"botVersionLocaleSpecification":{"shape":"S1i"},"botStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateExport":{"http":{"method":"PUT","requestUri":"/exports/","responseCode":202},"input":{"type":"structure","required":["resourceSpecification","fileFormat"],"members":{"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"filePassword":{"shape":"S1s"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateIntent":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["intentName","botId","botVersion","localeId"],"members":{"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"}}}},"CreateResourcePolicy":{"http":{"requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn","policy"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"policy":{}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"CreateResourcePolicyStatement":{"http":{"requestUri":"/policy/{resourceArn}/statements/","responseCode":200},"input":{"type":"structure","required":["resourceArn","statementId","effect","principal","action"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"statementId":{},"effect":{},"principal":{"type":"list","member":{"type":"structure","members":{"service":{},"arn":{}}}},"action":{"type":"list","member":{}},"condition":{"type":"map","key":{},"value":{"type":"map","key":{},"value":{}}},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"CreateSlot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/","responseCode":200},"input":{"type":"structure","required":["slotName","slotTypeId","valueElicitationSetting","botId","botVersion","localeId","intentId"],"members":{"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"multipleValuesSetting":{"shape":"S43"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S43"}}}},"CreateSlotType":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["slotTypeName","botId","botVersion","localeId"],"members":{"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"externalSourceSetting":{"shape":"S4i"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4i"}}}},"CreateUploadUrl":{"http":{"requestUri":"/createuploadurl/","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"importId":{},"uploadUrl":{}}}},"DeleteBot":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/","responseCode":202},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botId":{},"botStatus":{}}}},"DeleteBotAlias":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":202},"input":{"type":"structure","required":["botAliasId","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botId":{"location":"uri","locationName":"botId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botAliasId":{},"botId":{},"botAliasStatus":{}}}},"DeleteBotLocale":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botLocaleStatus":{}}}},"DeleteBotVersion":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"botStatus":{}}}},"DeleteCustomVocabulary":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"customVocabularyStatus":{}}}},"DeleteExport":{"http":{"method":"DELETE","requestUri":"/exports/{exportId}/","responseCode":202},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"}}},"output":{"type":"structure","members":{"exportId":{},"exportStatus":{}}}},"DeleteImport":{"http":{"method":"DELETE","requestUri":"/imports/{importId}/","responseCode":202},"input":{"type":"structure","required":["importId"],"members":{"importId":{"location":"uri","locationName":"importId"}}},"output":{"type":"structure","members":{"importId":{},"importStatus":{}}}},"DeleteIntent":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":204},"input":{"type":"structure","required":["intentId","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}}},"DeleteResourcePolicy":{"http":{"method":"DELETE","requestUri":"/policy/{resourceArn}/","responseCode":204},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"DeleteResourcePolicyStatement":{"http":{"method":"DELETE","requestUri":"/policy/{resourceArn}/statements/{statementId}/","responseCode":204},"input":{"type":"structure","required":["resourceArn","statementId"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"statementId":{"location":"uri","locationName":"statementId"},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"DeleteSlot":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":204},"input":{"type":"structure","required":["slotId","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"}}}},"DeleteSlotType":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":204},"input":{"type":"structure","required":["slotTypeId","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}}},"DeleteUtterances":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/utterances/","responseCode":204},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"localeId":{"location":"querystring","locationName":"localeId"},"sessionId":{"location":"querystring","locationName":"sessionId"}}},"output":{"type":"structure","members":{}}},"DescribeBot":{"http":{"method":"GET","requestUri":"/bots/{botId}/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeBotAlias":{"http":{"method":"GET","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":200},"input":{"type":"structure","required":["botAliasId","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasHistoryEvents":{"type":"list","member":{"type":"structure","members":{"botVersion":{},"startDate":{"type":"timestamp"},"endDate":{"type":"timestamp"}}}},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeBotLocale":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"localeName":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"intentsCount":{"type":"integer"},"slotTypesCount":{"type":"integer"},"botLocaleStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"lastBuildSubmittedDateTime":{"type":"timestamp"},"botLocaleHistoryEvents":{"type":"list","member":{"type":"structure","required":["event","eventDate"],"members":{"event":{},"eventDate":{"type":"timestamp"}}}},"recommendedActions":{"shape":"S5w"}}}},"DescribeBotRecommendation":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"},"botRecommendationResults":{"type":"structure","members":{"botLocaleExportUrl":{},"associatedTranscriptsUrl":{},"statistics":{"type":"structure","members":{"intents":{"type":"structure","members":{"discoveredIntentCount":{"type":"integer"}}},"slotTypes":{"type":"structure","members":{"discoveredSlotTypeCount":{"type":"integer"}}}}}}}}}},"DescribeBotVersion":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"botVersion":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"}}}},"DescribeCustomVocabularyMetadata":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/metadata","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"customVocabularyStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeExport":{"http":{"method":"GET","requestUri":"/exports/{exportId}/","responseCode":200},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"failureReasons":{"shape":"S5r"},"downloadUrl":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeImport":{"http":{"method":"GET","requestUri":"/imports/{importId}/","responseCode":200},"input":{"type":"structure","required":["importId"],"members":{"importId":{"location":"uri","locationName":"importId"}}},"output":{"type":"structure","members":{"importId":{},"resourceSpecification":{"shape":"S6p"},"importedResourceId":{},"importedResourceName":{},"mergeStrategy":{},"importStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeIntent":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":200},"input":{"type":"structure","required":["intentId","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"slotPriorities":{"shape":"S6x"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeResourcePolicy":{"http":{"method":"GET","requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"resourceArn":{},"policy":{},"revisionId":{}}}},"DescribeSlot":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":200},"input":{"type":"structure","required":["slotId","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S43"}}}},"DescribeSlotType":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":200},"input":{"type":"structure","required":["slotTypeId","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4i"}}}},"ListAggregatedUtterances":{"http":{"requestUri":"/bots/{botId}/aggregatedutterances/","responseCode":200},"input":{"type":"structure","required":["botId","localeId","aggregationDuration"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{},"botVersion":{},"localeId":{},"aggregationDuration":{"shape":"S77"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botAliasId":{},"botVersion":{},"localeId":{},"aggregationDuration":{"shape":"S77"},"aggregationWindowStartTime":{"type":"timestamp"},"aggregationWindowEndTime":{"type":"timestamp"},"aggregationLastRefreshedDateTime":{"type":"timestamp"},"aggregatedUtterancesSummaries":{"type":"list","member":{"type":"structure","members":{"utterance":{},"hitCount":{"type":"integer"},"missedCount":{"type":"integer"},"utteranceFirstRecordedInAggregationDuration":{"type":"timestamp"},"utteranceLastRecordedInAggregationDuration":{"type":"timestamp"},"containsDataFromDeletedResources":{"type":"boolean"}}}},"nextToken":{}}}},"ListBotAliases":{"http":{"requestUri":"/bots/{botId}/botaliases/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botAliasSummaries":{"type":"list","member":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{},"botId":{}}}},"ListBotLocales":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"nextToken":{},"botLocaleSummaries":{"type":"list","member":{"type":"structure","members":{"localeId":{},"localeName":{},"description":{},"botLocaleStatus":{},"lastUpdatedDateTime":{"type":"timestamp"},"lastBuildSubmittedDateTime":{"type":"timestamp"}}}}}}},"ListBotRecommendations":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationSummaries":{"type":"list","member":{"type":"structure","required":["botRecommendationStatus","botRecommendationId"],"members":{"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBotVersions":{"http":{"requestUri":"/bots/{botId}/botversions/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersionSummaries":{"type":"list","member":{"type":"structure","members":{"botName":{},"botVersion":{},"description":{},"botStatus":{},"creationDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBots":{"http":{"requestUri":"/bots/","responseCode":200},"input":{"type":"structure","members":{"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botSummaries":{"type":"list","member":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"botStatus":{},"latestBotVersion":{},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBuiltInIntents":{"http":{"requestUri":"/builtins/locales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["localeId"],"members":{"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"builtInIntentSummaries":{"type":"list","member":{"type":"structure","members":{"intentSignature":{},"description":{}}}},"nextToken":{},"localeId":{}}}},"ListBuiltInSlotTypes":{"http":{"requestUri":"/builtins/locales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["localeId"],"members":{"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"builtInSlotTypeSummaries":{"type":"list","member":{"type":"structure","members":{"slotTypeSignature":{},"description":{}}}},"nextToken":{},"localeId":{}}}},"ListExports":{"http":{"requestUri":"/exports/","responseCode":200},"input":{"type":"structure","members":{"botId":{},"botVersion":{},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{},"localeId":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"exportSummaries":{"type":"list","member":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{},"localeId":{}}}},"ListImports":{"http":{"requestUri":"/imports/","responseCode":200},"input":{"type":"structure","members":{"botId":{},"botVersion":{},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{},"localeId":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"importSummaries":{"type":"list","member":{"type":"structure","members":{"importId":{},"importedResourceId":{},"importedResourceName":{},"importStatus":{},"mergeStrategy":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"importedResourceType":{}}}},"nextToken":{},"localeId":{}}}},"ListIntents":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"intentSummaries":{"type":"list","member":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListRecommendedIntents":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/intents","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationId":{},"summaryList":{"type":"list","member":{"type":"structure","members":{"intentId":{},"intentName":{},"sampleUtterancesCount":{"type":"integer"}}}},"nextToken":{}}}},"ListSlotTypes":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"slotTypeSummaries":{"type":"list","member":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"parentSlotTypeSignature":{},"lastUpdatedDateTime":{"type":"timestamp"},"slotTypeCategory":{}}}},"nextToken":{}}}},"ListSlots":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","intentId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"intentId":{},"slotSummaries":{"type":"list","member":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotConstraint":{},"slotTypeId":{},"valueElicitationPromptSpecification":{"shape":"S2t"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sf"}}}},"SearchAssociatedTranscripts":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/associatedtranscripts","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId","filters"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"searchOrder":{},"filters":{"type":"list","member":{"type":"structure","required":["name","values"],"members":{"name":{},"values":{"shape":"S7h"}}}},"maxResults":{"type":"integer"},"nextIndex":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationId":{},"nextIndex":{"type":"integer"},"associatedTranscripts":{"type":"list","member":{"type":"structure","members":{"transcript":{}}}},"totalResults":{"type":"integer"}}}},"StartBotRecommendation":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","transcriptSourceSetting"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"}}}},"StartImport":{"http":{"method":"PUT","requestUri":"/imports/","responseCode":202},"input":{"type":"structure","required":["importId","resourceSpecification","mergeStrategy"],"members":{"importId":{},"resourceSpecification":{"shape":"S6p"},"mergeStrategy":{},"filePassword":{"shape":"S1s"}}},"output":{"type":"structure","members":{"importId":{},"resourceSpecification":{"shape":"S6p"},"mergeStrategy":{},"importStatus":{},"creationDateTime":{"type":"timestamp"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN","tags"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"},"tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN","tagKeys"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateBot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/","responseCode":202},"input":{"type":"structure","required":["botId","botName","roleArn","dataPrivacy","idleSessionTTLInSeconds"],"members":{"botId":{"location":"uri","locationName":"botId"},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateBotAlias":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":202},"input":{"type":"structure","required":["botAliasId","botAliasName","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateBotLocale":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","nluIntentConfidenceThreshold"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"localeName":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"botLocaleStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"recommendedActions":{"shape":"S5w"}}}},"UpdateBotRecommendation":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId","encryptionSetting"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"encryptionSetting":{"shape":"S6a"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"}}}},"UpdateExport":{"http":{"method":"PUT","requestUri":"/exports/{exportId}/","responseCode":202},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"},"filePassword":{"shape":"S1s"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateIntent":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":200},"input":{"type":"structure","required":["intentId","intentName","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"slotPriorities":{"shape":"S6x"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"slotPriorities":{"shape":"S6x"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateResourcePolicy":{"http":{"method":"PUT","requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn","policy"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"policy":{},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"UpdateSlot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":200},"input":{"type":"structure","required":["slotId","slotName","slotTypeId","valueElicitationSetting","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"multipleValuesSetting":{"shape":"S43"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S43"}}}},"UpdateSlotType":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":202},"input":{"type":"structure","required":["slotTypeId","slotTypeName","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"externalSourceSetting":{"shape":"S4i"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4i"}}}}},"shapes":{"Sc":{"type":"structure","required":["childDirected"],"members":{"childDirected":{"type":"boolean"}}},"Sf":{"type":"map","key":{},"value":{}},"Sm":{"type":"map","key":{},"value":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"codeHookSpecification":{"type":"structure","required":["lambdaCodeHook"],"members":{"lambdaCodeHook":{"type":"structure","required":["lambdaARN","codeHookInterfaceVersion"],"members":{"lambdaARN":{},"codeHookInterfaceVersion":{}}}}}}}},"St":{"type":"structure","members":{"textLogSettings":{"type":"list","member":{"type":"structure","required":["enabled","destination"],"members":{"enabled":{"type":"boolean"},"destination":{"type":"structure","required":["cloudWatch"],"members":{"cloudWatch":{"type":"structure","required":["cloudWatchLogGroupArn","logPrefix"],"members":{"cloudWatchLogGroupArn":{},"logPrefix":{}}}}}}}},"audioLogSettings":{"type":"list","member":{"type":"structure","required":["enabled","destination"],"members":{"enabled":{"type":"boolean"},"destination":{"type":"structure","required":["s3Bucket"],"members":{"s3Bucket":{"type":"structure","required":["s3BucketArn","logPrefix"],"members":{"kmsKeyArn":{},"s3BucketArn":{},"logPrefix":{}}}}}}}}}},"S16":{"type":"structure","required":["detectSentiment"],"members":{"detectSentiment":{"type":"boolean"}}},"S1c":{"type":"structure","required":["voiceId"],"members":{"voiceId":{},"engine":{}}},"S1i":{"type":"map","key":{},"value":{"type":"structure","required":["sourceBotVersion"],"members":{"sourceBotVersion":{}}}},"S1n":{"type":"structure","members":{"botExportSpecification":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{},"botVersion":{}}},"botLocaleExportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}},"customVocabularyExportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}}}},"S1s":{"type":"string","sensitive":true},"S1x":{"type":"list","member":{"type":"structure","required":["utterance"],"members":{"utterance":{}}}},"S20":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"}}},"S21":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"postFulfillmentStatusSpecification":{"type":"structure","members":{"successResponse":{"shape":"S23"},"failureResponse":{"shape":"S23"},"timeoutResponse":{"shape":"S23"}}},"fulfillmentUpdatesSpecification":{"type":"structure","required":["active"],"members":{"active":{"type":"boolean"},"startResponse":{"type":"structure","required":["delayInSeconds","messageGroups"],"members":{"delayInSeconds":{"type":"integer"},"messageGroups":{"shape":"S24"},"allowInterrupt":{"type":"boolean"}}},"updateResponse":{"type":"structure","required":["frequencyInSeconds","messageGroups"],"members":{"frequencyInSeconds":{"type":"integer"},"messageGroups":{"shape":"S24"},"allowInterrupt":{"type":"boolean"}}},"timeoutInSeconds":{"type":"integer"}}}}},"S23":{"type":"structure","required":["messageGroups"],"members":{"messageGroups":{"shape":"S24"},"allowInterrupt":{"type":"boolean"}}},"S24":{"type":"list","member":{"type":"structure","required":["message"],"members":{"message":{"shape":"S26"},"variations":{"type":"list","member":{"shape":"S26"}}}}},"S26":{"type":"structure","members":{"plainTextMessage":{"type":"structure","required":["value"],"members":{"value":{}}},"customPayload":{"type":"structure","required":["value"],"members":{"value":{}}},"ssmlMessage":{"type":"structure","required":["value"],"members":{"value":{}}},"imageResponseCard":{"type":"structure","required":["title"],"members":{"title":{},"subtitle":{},"imageUrl":{},"buttons":{"type":"list","member":{"type":"structure","required":["text","value"],"members":{"text":{},"value":{}}}}}}}},"S2s":{"type":"structure","required":["promptSpecification","declinationResponse"],"members":{"promptSpecification":{"shape":"S2t"},"declinationResponse":{"shape":"S23"},"active":{"type":"boolean"}}},"S2t":{"type":"structure","required":["messageGroups","maxRetries"],"members":{"messageGroups":{"shape":"S24"},"maxRetries":{"type":"integer"},"allowInterrupt":{"type":"boolean"}}},"S2v":{"type":"structure","required":["closingResponse"],"members":{"closingResponse":{"shape":"S23"},"active":{"type":"boolean"}}},"S2w":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{}}}},"S2y":{"type":"list","member":{"type":"structure","required":["name","timeToLiveInSeconds","turnsToLive"],"members":{"name":{},"timeToLiveInSeconds":{"type":"integer"},"turnsToLive":{"type":"integer"}}}},"S32":{"type":"structure","required":["kendraIndex"],"members":{"kendraIndex":{},"queryFilterStringEnabled":{"type":"boolean"},"queryFilterString":{}}},"S3r":{"type":"structure","required":["slotConstraint"],"members":{"defaultValueSpecification":{"type":"structure","required":["defaultValueList"],"members":{"defaultValueList":{"type":"list","member":{"type":"structure","required":["defaultValue"],"members":{"defaultValue":{}}}}}},"slotConstraint":{},"promptSpecification":{"shape":"S2t"},"sampleUtterances":{"shape":"S1x"},"waitAndContinueSpecification":{"type":"structure","required":["waitingResponse","continueResponse"],"members":{"waitingResponse":{"shape":"S23"},"continueResponse":{"shape":"S23"},"stillWaitingResponse":{"type":"structure","required":["messageGroups","frequencyInSeconds","timeoutInSeconds"],"members":{"messageGroups":{"shape":"S24"},"frequencyInSeconds":{"type":"integer"},"timeoutInSeconds":{"type":"integer"},"allowInterrupt":{"type":"boolean"}}},"active":{"type":"boolean"}}}}},"S41":{"type":"structure","required":["obfuscationSettingType"],"members":{"obfuscationSettingType":{}}},"S43":{"type":"structure","members":{"allowMultipleValues":{"type":"boolean"}}},"S46":{"type":"list","member":{"type":"structure","members":{"sampleValue":{"shape":"S48"},"synonyms":{"type":"list","member":{"shape":"S48"}}}}},"S48":{"type":"structure","required":["value"],"members":{"value":{}}},"S4b":{"type":"structure","required":["resolutionStrategy"],"members":{"resolutionStrategy":{},"regexFilter":{"type":"structure","required":["pattern"],"members":{"pattern":{}}},"advancedRecognitionSetting":{"type":"structure","members":{"audioRecognitionStrategy":{}}}}},"S4i":{"type":"structure","members":{"grammarSlotTypeSetting":{"type":"structure","members":{"source":{"type":"structure","required":["s3BucketName","s3ObjectKey"],"members":{"s3BucketName":{},"s3ObjectKey":{},"kmsKeyArn":{}}}}}}},"S5r":{"type":"list","member":{}},"S5w":{"type":"list","member":{}},"S61":{"type":"structure","members":{"s3BucketTranscriptSource":{"type":"structure","required":["s3BucketName","transcriptFormat"],"members":{"s3BucketName":{},"pathFormat":{"type":"structure","members":{"objectPrefixes":{"type":"list","member":{}}}},"transcriptFormat":{},"transcriptFilter":{"type":"structure","members":{"lexTranscriptFilter":{"type":"structure","members":{"dateRangeFilter":{"type":"structure","required":["startDateTime","endDateTime"],"members":{"startDateTime":{"type":"timestamp"},"endDateTime":{"type":"timestamp"}}}}}}},"kmsKeyArn":{}}}}},"S6a":{"type":"structure","members":{"kmsKeyArn":{},"botLocaleExportPassword":{"shape":"S6b"},"associatedTranscriptsPassword":{"shape":"S6b"}}},"S6b":{"type":"string","sensitive":true},"S6p":{"type":"structure","members":{"botImportSpecification":{"type":"structure","required":["botName","roleArn","dataPrivacy"],"members":{"botName":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}},"botLocaleImportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"customVocabularyImportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}}}},"S6x":{"type":"list","member":{"type":"structure","required":["priority","slotId"],"members":{"priority":{"type":"integer"},"slotId":{}}}},"S77":{"type":"structure","required":["relativeAggregationDuration"],"members":{"relativeAggregationDuration":{"type":"structure","required":["timeDimension","timeValue"],"members":{"timeDimension":{},"timeValue":{"type":"integer"}}}}},"S7h":{"type":"list","member":{}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-08-07","endpointPrefix":"models-v2-lex","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Lex Models V2","serviceFullName":"Amazon Lex Model Building V2","serviceId":"Lex Models V2","signatureVersion":"v4","signingName":"lex","uid":"models.lex.v2-2020-08-07"},"operations":{"BuildBotLocale":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botLocaleStatus":{},"lastBuildSubmittedDateTime":{"type":"timestamp"}}}},"CreateBot":{"http":{"method":"PUT","requestUri":"/bots/","responseCode":202},"input":{"type":"structure","required":["botName","roleArn","dataPrivacy","idleSessionTTLInSeconds"],"members":{"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}}},"CreateBotAlias":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botaliases/","responseCode":202},"input":{"type":"structure","required":["botAliasName","botId"],"members":{"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botId":{"location":"uri","locationName":"botId"},"tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"tags":{"shape":"Sf"}}}},"CreateBotLocale":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","nluIntentConfidenceThreshold"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeName":{},"localeId":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"botLocaleStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateBotVersion":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/","responseCode":202},"input":{"type":"structure","required":["botId","botVersionLocaleSpecification"],"members":{"botId":{"location":"uri","locationName":"botId"},"description":{},"botVersionLocaleSpecification":{"shape":"S1i"}}},"output":{"type":"structure","members":{"botId":{},"description":{},"botVersion":{},"botVersionLocaleSpecification":{"shape":"S1i"},"botStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateExport":{"http":{"method":"PUT","requestUri":"/exports/","responseCode":202},"input":{"type":"structure","required":["resourceSpecification","fileFormat"],"members":{"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"filePassword":{"shape":"S1s"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"}}}},"CreateIntent":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["intentName","botId","botVersion","localeId"],"members":{"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"}}}},"CreateResourcePolicy":{"http":{"requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn","policy"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"policy":{}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"CreateResourcePolicyStatement":{"http":{"requestUri":"/policy/{resourceArn}/statements/","responseCode":200},"input":{"type":"structure","required":["resourceArn","statementId","effect","principal","action"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"statementId":{},"effect":{},"principal":{"type":"list","member":{"type":"structure","members":{"service":{},"arn":{}}}},"action":{"type":"list","member":{}},"condition":{"type":"map","key":{},"value":{"type":"map","key":{},"value":{}}},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"CreateSlot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/","responseCode":200},"input":{"type":"structure","required":["slotName","valueElicitationSetting","botId","botVersion","localeId","intentId"],"members":{"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"multipleValuesSetting":{"shape":"S43"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S43"}}}},"CreateSlotType":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["slotTypeName","botId","botVersion","localeId"],"members":{"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"externalSourceSetting":{"shape":"S4i"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4i"}}}},"CreateUploadUrl":{"http":{"requestUri":"/createuploadurl/","responseCode":200},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{"importId":{},"uploadUrl":{}}}},"DeleteBot":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/","responseCode":202},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botId":{},"botStatus":{}}}},"DeleteBotAlias":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":202},"input":{"type":"structure","required":["botAliasId","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botId":{"location":"uri","locationName":"botId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botAliasId":{},"botId":{},"botAliasStatus":{}}}},"DeleteBotLocale":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botLocaleStatus":{}}}},"DeleteBotVersion":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"botStatus":{}}}},"DeleteCustomVocabulary":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"customVocabularyStatus":{}}}},"DeleteExport":{"http":{"method":"DELETE","requestUri":"/exports/{exportId}/","responseCode":202},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"}}},"output":{"type":"structure","members":{"exportId":{},"exportStatus":{}}}},"DeleteImport":{"http":{"method":"DELETE","requestUri":"/imports/{importId}/","responseCode":202},"input":{"type":"structure","required":["importId"],"members":{"importId":{"location":"uri","locationName":"importId"}}},"output":{"type":"structure","members":{"importId":{},"importStatus":{}}}},"DeleteIntent":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":204},"input":{"type":"structure","required":["intentId","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}}},"DeleteResourcePolicy":{"http":{"method":"DELETE","requestUri":"/policy/{resourceArn}/","responseCode":204},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"DeleteResourcePolicyStatement":{"http":{"method":"DELETE","requestUri":"/policy/{resourceArn}/statements/{statementId}/","responseCode":204},"input":{"type":"structure","required":["resourceArn","statementId"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"statementId":{"location":"uri","locationName":"statementId"},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"DeleteSlot":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":204},"input":{"type":"structure","required":["slotId","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"}}}},"DeleteSlotType":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":204},"input":{"type":"structure","required":["slotTypeId","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"skipResourceInUseCheck":{"location":"querystring","locationName":"skipResourceInUseCheck","type":"boolean"}}}},"DeleteUtterances":{"http":{"method":"DELETE","requestUri":"/bots/{botId}/utterances/","responseCode":204},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"localeId":{"location":"querystring","locationName":"localeId"},"sessionId":{"location":"querystring","locationName":"sessionId"}}},"output":{"type":"structure","members":{}}},"DescribeBot":{"http":{"method":"GET","requestUri":"/bots/{botId}/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeBotAlias":{"http":{"method":"GET","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":200},"input":{"type":"structure","required":["botAliasId","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasHistoryEvents":{"type":"list","member":{"type":"structure","members":{"botVersion":{},"startDate":{"type":"timestamp"},"endDate":{"type":"timestamp"}}}},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeBotLocale":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"localeName":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"intentsCount":{"type":"integer"},"slotTypesCount":{"type":"integer"},"botLocaleStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"lastBuildSubmittedDateTime":{"type":"timestamp"},"botLocaleHistoryEvents":{"type":"list","member":{"type":"structure","required":["event","eventDate"],"members":{"event":{},"eventDate":{"type":"timestamp"}}}},"recommendedActions":{"shape":"S5w"}}}},"DescribeBotRecommendation":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"},"botRecommendationResults":{"type":"structure","members":{"botLocaleExportUrl":{},"associatedTranscriptsUrl":{},"statistics":{"type":"structure","members":{"intents":{"type":"structure","members":{"discoveredIntentCount":{"type":"integer"}}},"slotTypes":{"type":"structure","members":{"discoveredSlotTypeCount":{"type":"integer"}}}}}}}}}},"DescribeBotVersion":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"botVersion":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"}}}},"DescribeCustomVocabularyMetadata":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/metadata","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"customVocabularyStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeExport":{"http":{"method":"GET","requestUri":"/exports/{exportId}/","responseCode":200},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"failureReasons":{"shape":"S5r"},"downloadUrl":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeImport":{"http":{"method":"GET","requestUri":"/imports/{importId}/","responseCode":200},"input":{"type":"structure","required":["importId"],"members":{"importId":{"location":"uri","locationName":"importId"}}},"output":{"type":"structure","members":{"importId":{},"resourceSpecification":{"shape":"S6p"},"importedResourceId":{},"importedResourceName":{},"mergeStrategy":{},"importStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeIntent":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":200},"input":{"type":"structure","required":["intentId","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"slotPriorities":{"shape":"S6x"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"DescribeResourcePolicy":{"http":{"method":"GET","requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"resourceArn":{},"policy":{},"revisionId":{}}}},"DescribeSlot":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":200},"input":{"type":"structure","required":["slotId","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S43"}}}},"DescribeSlotType":{"http":{"method":"GET","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":200},"input":{"type":"structure","required":["slotTypeId","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4i"}}}},"ListAggregatedUtterances":{"http":{"requestUri":"/bots/{botId}/aggregatedutterances/","responseCode":200},"input":{"type":"structure","required":["botId","localeId","aggregationDuration"],"members":{"botId":{"location":"uri","locationName":"botId"},"botAliasId":{},"botVersion":{},"localeId":{},"aggregationDuration":{"shape":"S77"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botAliasId":{},"botVersion":{},"localeId":{},"aggregationDuration":{"shape":"S77"},"aggregationWindowStartTime":{"type":"timestamp"},"aggregationWindowEndTime":{"type":"timestamp"},"aggregationLastRefreshedDateTime":{"type":"timestamp"},"aggregatedUtterancesSummaries":{"type":"list","member":{"type":"structure","members":{"utterance":{},"hitCount":{"type":"integer"},"missedCount":{"type":"integer"},"utteranceFirstRecordedInAggregationDuration":{"type":"timestamp"},"utteranceLastRecordedInAggregationDuration":{"type":"timestamp"},"containsDataFromDeletedResources":{"type":"boolean"}}}},"nextToken":{}}}},"ListBotAliases":{"http":{"requestUri":"/bots/{botId}/botaliases/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botAliasSummaries":{"type":"list","member":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{},"botId":{}}}},"ListBotLocales":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"nextToken":{},"botLocaleSummaries":{"type":"list","member":{"type":"structure","members":{"localeId":{},"localeName":{},"description":{},"botLocaleStatus":{},"lastUpdatedDateTime":{"type":"timestamp"},"lastBuildSubmittedDateTime":{"type":"timestamp"}}}}}}},"ListBotRecommendations":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationSummaries":{"type":"list","member":{"type":"structure","required":["botRecommendationStatus","botRecommendationId"],"members":{"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBotVersions":{"http":{"requestUri":"/bots/{botId}/botversions/","responseCode":200},"input":{"type":"structure","required":["botId"],"members":{"botId":{"location":"uri","locationName":"botId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersionSummaries":{"type":"list","member":{"type":"structure","members":{"botName":{},"botVersion":{},"description":{},"botStatus":{},"creationDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBots":{"http":{"requestUri":"/bots/","responseCode":200},"input":{"type":"structure","members":{"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botSummaries":{"type":"list","member":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"botStatus":{},"latestBotVersion":{},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListBuiltInIntents":{"http":{"requestUri":"/builtins/locales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["localeId"],"members":{"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"builtInIntentSummaries":{"type":"list","member":{"type":"structure","members":{"intentSignature":{},"description":{}}}},"nextToken":{},"localeId":{}}}},"ListBuiltInSlotTypes":{"http":{"requestUri":"/builtins/locales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["localeId"],"members":{"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"builtInSlotTypeSummaries":{"type":"list","member":{"type":"structure","members":{"slotTypeSignature":{},"description":{}}}},"nextToken":{},"localeId":{}}}},"ListExports":{"http":{"requestUri":"/exports/","responseCode":200},"input":{"type":"structure","members":{"botId":{},"botVersion":{},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{},"localeId":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"exportSummaries":{"type":"list","member":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{},"localeId":{}}}},"ListImports":{"http":{"requestUri":"/imports/","responseCode":200},"input":{"type":"structure","members":{"botId":{},"botVersion":{},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{},"localeId":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"importSummaries":{"type":"list","member":{"type":"structure","members":{"importId":{},"importedResourceId":{},"importedResourceName":{},"importStatus":{},"mergeStrategy":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"importedResourceType":{}}}},"nextToken":{},"localeId":{}}}},"ListIntents":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"intentSummaries":{"type":"list","member":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListRecommendedIntents":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/intents","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"nextToken":{},"maxResults":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationId":{},"summaryList":{"type":"list","member":{"type":"structure","members":{"intentId":{},"intentName":{},"sampleUtterancesCount":{"type":"integer"}}}},"nextToken":{}}}},"ListSlotTypes":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"slotTypeSummaries":{"type":"list","member":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"parentSlotTypeSignature":{},"lastUpdatedDateTime":{"type":"timestamp"},"slotTypeCategory":{}}}},"nextToken":{}}}},"ListSlots":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","intentId"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"sortBy":{"type":"structure","required":["attribute","order"],"members":{"attribute":{},"order":{}}},"filters":{"type":"list","member":{"type":"structure","required":["name","values","operator"],"members":{"name":{},"values":{"shape":"S7h"},"operator":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"intentId":{},"slotSummaries":{"type":"list","member":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotConstraint":{},"slotTypeId":{},"valueElicitationPromptSpecification":{"shape":"S2t"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"nextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"}}},"output":{"type":"structure","members":{"tags":{"shape":"Sf"}}}},"SearchAssociatedTranscripts":{"http":{"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/associatedtranscripts","responseCode":200},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId","filters"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"searchOrder":{},"filters":{"type":"list","member":{"type":"structure","required":["name","values"],"members":{"name":{},"values":{"shape":"S7h"}}}},"maxResults":{"type":"integer"},"nextIndex":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationId":{},"nextIndex":{"type":"integer"},"associatedTranscripts":{"type":"list","member":{"type":"structure","members":{"transcript":{}}}},"totalResults":{"type":"integer"}}}},"StartBotRecommendation":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","transcriptSourceSetting"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"}}}},"StartImport":{"http":{"method":"PUT","requestUri":"/imports/","responseCode":202},"input":{"type":"structure","required":["importId","resourceSpecification","mergeStrategy"],"members":{"importId":{},"resourceSpecification":{"shape":"S6p"},"mergeStrategy":{},"filePassword":{"shape":"S1s"}}},"output":{"type":"structure","members":{"importId":{},"resourceSpecification":{"shape":"S6p"},"mergeStrategy":{},"importStatus":{},"creationDateTime":{"type":"timestamp"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN","tags"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"},"tags":{"shape":"Sf"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceARN}","responseCode":200},"input":{"type":"structure","required":["resourceARN","tagKeys"],"members":{"resourceARN":{"location":"uri","locationName":"resourceARN"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateBot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/","responseCode":202},"input":{"type":"structure","required":["botId","botName","roleArn","dataPrivacy","idleSessionTTLInSeconds"],"members":{"botId":{"location":"uri","locationName":"botId"},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"}}},"output":{"type":"structure","members":{"botId":{},"botName":{},"description":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateBotAlias":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botaliases/{botAliasId}/","responseCode":202},"input":{"type":"structure","required":["botAliasId","botAliasName","botId"],"members":{"botAliasId":{"location":"uri","locationName":"botAliasId"},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botId":{"location":"uri","locationName":"botId"}}},"output":{"type":"structure","members":{"botAliasId":{},"botAliasName":{},"description":{},"botVersion":{},"botAliasLocaleSettings":{"shape":"Sm"},"conversationLogSettings":{"shape":"St"},"sentimentAnalysisSettings":{"shape":"S16"},"botAliasStatus":{},"botId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateBotLocale":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","nluIntentConfidenceThreshold"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"localeName":{},"description":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"},"botLocaleStatus":{},"failureReasons":{"shape":"S5r"},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"recommendedActions":{"shape":"S5w"}}}},"UpdateBotRecommendation":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/","responseCode":202},"input":{"type":"structure","required":["botId","botVersion","localeId","botRecommendationId","encryptionSetting"],"members":{"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"botRecommendationId":{"location":"uri","locationName":"botRecommendationId"},"encryptionSetting":{"shape":"S6a"}}},"output":{"type":"structure","members":{"botId":{},"botVersion":{},"localeId":{},"botRecommendationStatus":{},"botRecommendationId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"transcriptSourceSetting":{"shape":"S61"},"encryptionSetting":{"shape":"S6a"}}}},"UpdateExport":{"http":{"method":"PUT","requestUri":"/exports/{exportId}/","responseCode":202},"input":{"type":"structure","required":["exportId"],"members":{"exportId":{"location":"uri","locationName":"exportId"},"filePassword":{"shape":"S1s"}}},"output":{"type":"structure","members":{"exportId":{},"resourceSpecification":{"shape":"S1n"},"fileFormat":{},"exportStatus":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateIntent":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/","responseCode":200},"input":{"type":"structure","required":["intentId","intentName","botId","botVersion","localeId"],"members":{"intentId":{"location":"uri","locationName":"intentId"},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"slotPriorities":{"shape":"S6x"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"}}},"output":{"type":"structure","members":{"intentId":{},"intentName":{},"description":{},"parentIntentSignature":{},"sampleUtterances":{"shape":"S1x"},"dialogCodeHook":{"shape":"S20"},"fulfillmentCodeHook":{"shape":"S21"},"slotPriorities":{"shape":"S6x"},"intentConfirmationSetting":{"shape":"S2s"},"intentClosingSetting":{"shape":"S2v"},"inputContexts":{"shape":"S2w"},"outputContexts":{"shape":"S2y"},"kendraConfiguration":{"shape":"S32"},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"}}}},"UpdateResourcePolicy":{"http":{"method":"PUT","requestUri":"/policy/{resourceArn}/","responseCode":200},"input":{"type":"structure","required":["resourceArn","policy"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"policy":{},"expectedRevisionId":{"location":"querystring","locationName":"expectedRevisionId"}}},"output":{"type":"structure","members":{"resourceArn":{},"revisionId":{}}}},"UpdateSlot":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}/","responseCode":200},"input":{"type":"structure","required":["slotId","slotName","valueElicitationSetting","botId","botVersion","localeId","intentId"],"members":{"slotId":{"location":"uri","locationName":"slotId"},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"intentId":{"location":"uri","locationName":"intentId"},"multipleValuesSetting":{"shape":"S43"}}},"output":{"type":"structure","members":{"slotId":{},"slotName":{},"description":{},"slotTypeId":{},"valueElicitationSetting":{"shape":"S3r"},"obfuscationSetting":{"shape":"S41"},"botId":{},"botVersion":{},"localeId":{},"intentId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"multipleValuesSetting":{"shape":"S43"}}}},"UpdateSlotType":{"http":{"method":"PUT","requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}/","responseCode":202},"input":{"type":"structure","required":["slotTypeId","slotTypeName","botId","botVersion","localeId"],"members":{"slotTypeId":{"location":"uri","locationName":"slotTypeId"},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{"location":"uri","locationName":"botId"},"botVersion":{"location":"uri","locationName":"botVersion"},"localeId":{"location":"uri","locationName":"localeId"},"externalSourceSetting":{"shape":"S4i"}}},"output":{"type":"structure","members":{"slotTypeId":{},"slotTypeName":{},"description":{},"slotTypeValues":{"shape":"S46"},"valueSelectionSetting":{"shape":"S4b"},"parentSlotTypeSignature":{},"botId":{},"botVersion":{},"localeId":{},"creationDateTime":{"type":"timestamp"},"lastUpdatedDateTime":{"type":"timestamp"},"externalSourceSetting":{"shape":"S4i"}}}}},"shapes":{"Sc":{"type":"structure","required":["childDirected"],"members":{"childDirected":{"type":"boolean"}}},"Sf":{"type":"map","key":{},"value":{}},"Sm":{"type":"map","key":{},"value":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"codeHookSpecification":{"type":"structure","required":["lambdaCodeHook"],"members":{"lambdaCodeHook":{"type":"structure","required":["lambdaARN","codeHookInterfaceVersion"],"members":{"lambdaARN":{},"codeHookInterfaceVersion":{}}}}}}}},"St":{"type":"structure","members":{"textLogSettings":{"type":"list","member":{"type":"structure","required":["enabled","destination"],"members":{"enabled":{"type":"boolean"},"destination":{"type":"structure","required":["cloudWatch"],"members":{"cloudWatch":{"type":"structure","required":["cloudWatchLogGroupArn","logPrefix"],"members":{"cloudWatchLogGroupArn":{},"logPrefix":{}}}}}}}},"audioLogSettings":{"type":"list","member":{"type":"structure","required":["enabled","destination"],"members":{"enabled":{"type":"boolean"},"destination":{"type":"structure","required":["s3Bucket"],"members":{"s3Bucket":{"type":"structure","required":["s3BucketArn","logPrefix"],"members":{"kmsKeyArn":{},"s3BucketArn":{},"logPrefix":{}}}}}}}}}},"S16":{"type":"structure","required":["detectSentiment"],"members":{"detectSentiment":{"type":"boolean"}}},"S1c":{"type":"structure","required":["voiceId"],"members":{"voiceId":{},"engine":{}}},"S1i":{"type":"map","key":{},"value":{"type":"structure","required":["sourceBotVersion"],"members":{"sourceBotVersion":{}}}},"S1n":{"type":"structure","members":{"botExportSpecification":{"type":"structure","required":["botId","botVersion"],"members":{"botId":{},"botVersion":{}}},"botLocaleExportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}},"customVocabularyExportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}}}},"S1s":{"type":"string","sensitive":true},"S1x":{"type":"list","member":{"type":"structure","required":["utterance"],"members":{"utterance":{}}}},"S20":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"}}},"S21":{"type":"structure","required":["enabled"],"members":{"enabled":{"type":"boolean"},"postFulfillmentStatusSpecification":{"type":"structure","members":{"successResponse":{"shape":"S23"},"failureResponse":{"shape":"S23"},"timeoutResponse":{"shape":"S23"}}},"fulfillmentUpdatesSpecification":{"type":"structure","required":["active"],"members":{"active":{"type":"boolean"},"startResponse":{"type":"structure","required":["delayInSeconds","messageGroups"],"members":{"delayInSeconds":{"type":"integer"},"messageGroups":{"shape":"S24"},"allowInterrupt":{"type":"boolean"}}},"updateResponse":{"type":"structure","required":["frequencyInSeconds","messageGroups"],"members":{"frequencyInSeconds":{"type":"integer"},"messageGroups":{"shape":"S24"},"allowInterrupt":{"type":"boolean"}}},"timeoutInSeconds":{"type":"integer"}}}}},"S23":{"type":"structure","required":["messageGroups"],"members":{"messageGroups":{"shape":"S24"},"allowInterrupt":{"type":"boolean"}}},"S24":{"type":"list","member":{"type":"structure","required":["message"],"members":{"message":{"shape":"S26"},"variations":{"type":"list","member":{"shape":"S26"}}}}},"S26":{"type":"structure","members":{"plainTextMessage":{"type":"structure","required":["value"],"members":{"value":{}}},"customPayload":{"type":"structure","required":["value"],"members":{"value":{}}},"ssmlMessage":{"type":"structure","required":["value"],"members":{"value":{}}},"imageResponseCard":{"type":"structure","required":["title"],"members":{"title":{},"subtitle":{},"imageUrl":{},"buttons":{"type":"list","member":{"type":"structure","required":["text","value"],"members":{"text":{},"value":{}}}}}}}},"S2s":{"type":"structure","required":["promptSpecification","declinationResponse"],"members":{"promptSpecification":{"shape":"S2t"},"declinationResponse":{"shape":"S23"},"active":{"type":"boolean"}}},"S2t":{"type":"structure","required":["messageGroups","maxRetries"],"members":{"messageGroups":{"shape":"S24"},"maxRetries":{"type":"integer"},"allowInterrupt":{"type":"boolean"}}},"S2v":{"type":"structure","required":["closingResponse"],"members":{"closingResponse":{"shape":"S23"},"active":{"type":"boolean"}}},"S2w":{"type":"list","member":{"type":"structure","required":["name"],"members":{"name":{}}}},"S2y":{"type":"list","member":{"type":"structure","required":["name","timeToLiveInSeconds","turnsToLive"],"members":{"name":{},"timeToLiveInSeconds":{"type":"integer"},"turnsToLive":{"type":"integer"}}}},"S32":{"type":"structure","required":["kendraIndex"],"members":{"kendraIndex":{},"queryFilterStringEnabled":{"type":"boolean"},"queryFilterString":{}}},"S3r":{"type":"structure","required":["slotConstraint"],"members":{"defaultValueSpecification":{"type":"structure","required":["defaultValueList"],"members":{"defaultValueList":{"type":"list","member":{"type":"structure","required":["defaultValue"],"members":{"defaultValue":{}}}}}},"slotConstraint":{},"promptSpecification":{"shape":"S2t"},"sampleUtterances":{"shape":"S1x"},"waitAndContinueSpecification":{"type":"structure","required":["waitingResponse","continueResponse"],"members":{"waitingResponse":{"shape":"S23"},"continueResponse":{"shape":"S23"},"stillWaitingResponse":{"type":"structure","required":["messageGroups","frequencyInSeconds","timeoutInSeconds"],"members":{"messageGroups":{"shape":"S24"},"frequencyInSeconds":{"type":"integer"},"timeoutInSeconds":{"type":"integer"},"allowInterrupt":{"type":"boolean"}}},"active":{"type":"boolean"}}}}},"S41":{"type":"structure","required":["obfuscationSettingType"],"members":{"obfuscationSettingType":{}}},"S43":{"type":"structure","members":{"allowMultipleValues":{"type":"boolean"}}},"S46":{"type":"list","member":{"type":"structure","members":{"sampleValue":{"shape":"S48"},"synonyms":{"type":"list","member":{"shape":"S48"}}}}},"S48":{"type":"structure","required":["value"],"members":{"value":{}}},"S4b":{"type":"structure","required":["resolutionStrategy"],"members":{"resolutionStrategy":{},"regexFilter":{"type":"structure","required":["pattern"],"members":{"pattern":{}}},"advancedRecognitionSetting":{"type":"structure","members":{"audioRecognitionStrategy":{}}}}},"S4i":{"type":"structure","members":{"grammarSlotTypeSetting":{"type":"structure","members":{"source":{"type":"structure","required":["s3BucketName","s3ObjectKey"],"members":{"s3BucketName":{},"s3ObjectKey":{},"kmsKeyArn":{}}}}}}},"S5r":{"type":"list","member":{}},"S5w":{"type":"list","member":{}},"S61":{"type":"structure","members":{"s3BucketTranscriptSource":{"type":"structure","required":["s3BucketName","transcriptFormat"],"members":{"s3BucketName":{},"pathFormat":{"type":"structure","members":{"objectPrefixes":{"type":"list","member":{}}}},"transcriptFormat":{},"transcriptFilter":{"type":"structure","members":{"lexTranscriptFilter":{"type":"structure","members":{"dateRangeFilter":{"type":"structure","required":["startDateTime","endDateTime"],"members":{"startDateTime":{"type":"timestamp"},"endDateTime":{"type":"timestamp"}}}}}}},"kmsKeyArn":{}}}}},"S6a":{"type":"structure","members":{"kmsKeyArn":{},"botLocaleExportPassword":{"shape":"S6b"},"associatedTranscriptsPassword":{"shape":"S6b"}}},"S6b":{"type":"string","sensitive":true},"S6p":{"type":"structure","members":{"botImportSpecification":{"type":"structure","required":["botName","roleArn","dataPrivacy"],"members":{"botName":{},"roleArn":{},"dataPrivacy":{"shape":"Sc"},"idleSessionTTLInSeconds":{"type":"integer"},"botTags":{"shape":"Sf"},"testBotAliasTags":{"shape":"Sf"}}},"botLocaleImportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{},"nluIntentConfidenceThreshold":{"type":"double"},"voiceSettings":{"shape":"S1c"}}},"customVocabularyImportSpecification":{"type":"structure","required":["botId","botVersion","localeId"],"members":{"botId":{},"botVersion":{},"localeId":{}}}}},"S6x":{"type":"list","member":{"type":"structure","required":["priority","slotId"],"members":{"priority":{"type":"integer"},"slotId":{}}}},"S77":{"type":"structure","required":["relativeAggregationDuration"],"members":{"relativeAggregationDuration":{"type":"structure","required":["timeDimension","timeValue"],"members":{"timeDimension":{},"timeValue":{"type":"integer"}}}}},"S7h":{"type":"list","member":{}}}} /***/ }), /* 988 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 8b0a9ffec3..04e01d4834 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1090.0 +// AWS SDK for JavaScript v2.1091.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:i,convertToBuffer:a}},{"buffer/":427}],334:[function(e,t,r){function i(e,t){this.hash=new e,this.outer=new e;var r=a(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;se.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var a=new Uint8Array(e.BLOCK_SIZE);return a.set(r),a}var s=e("./browserHashUtils");t.exports=i,i.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":333}],335:[function(e,t,r){function i(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,i,a,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-a)+r&4294967295}function s(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function u(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=i,i.BLOCK_SIZE=c,i.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,i=t.bufferLength,a=t.bytesHashed,s=8*a;if(r.setUint8(this.bufferLength++,128),i%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},i.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],p=r[2],m=r[3];i=s(i,a,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,i,a,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,i,a,t.getUint32(8,!0),17,606105819),a=s(a,p,m,i,t.getUint32(12,!0),22,3250441966),i=s(i,a,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,i,a,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,i,a,t.getUint32(24,!0),17,2821735955),a=s(a,p,m,i,t.getUint32(28,!0),22,4249261313),i=s(i,a,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,i,a,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,i,a,t.getUint32(40,!0),17,4294925233),a=s(a,p,m,i,t.getUint32(44,!0),22,2304563134),i=s(i,a,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,i,a,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,i,a,t.getUint32(56,!0),17,2792965006),a=s(a,p,m,i,t.getUint32(60,!0),22,1236535329),i=o(i,a,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,i,a,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,i,a,t.getUint32(44,!0),14,643717713),a=o(a,p,m,i,t.getUint32(0,!0),20,3921069994),i=o(i,a,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,i,a,p,t.getUint32(40,!0),9,38016083),p=o(p,m,i,a,t.getUint32(60,!0),14,3634488961),a=o(a,p,m,i,t.getUint32(16,!0),20,3889429448),i=o(i,a,p,m,t.getUint32(36,!0),5,568446438),m=o(m,i,a,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,i,a,t.getUint32(12,!0),14,4107603335),a=o(a,p,m,i,t.getUint32(32,!0),20,1163531501),i=o(i,a,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,i,a,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,i,a,t.getUint32(28,!0),14,1735328473),a=o(a,p,m,i,t.getUint32(48,!0),20,2368359562),i=n(i,a,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,i,a,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,i,a,t.getUint32(44,!0),16,1839030562),a=n(a,p,m,i,t.getUint32(56,!0),23,4259657740),i=n(i,a,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,i,a,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,i,a,t.getUint32(28,!0),16,4139469664),a=n(a,p,m,i,t.getUint32(40,!0),23,3200236656),i=n(i,a,p,m,t.getUint32(52,!0),4,681279174),m=n(m,i,a,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,i,a,t.getUint32(12,!0),16,3572445317),a=n(a,p,m,i,t.getUint32(24,!0),23,76029189),i=n(i,a,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,i,a,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,i,a,t.getUint32(60,!0),16,530742520),a=n(a,p,m,i,t.getUint32(8,!0),23,3299628645),i=u(i,a,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,i,a,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,i,a,t.getUint32(56,!0),15,2878612391),a=u(a,p,m,i,t.getUint32(20,!0),21,4237533241),i=u(i,a,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,i,a,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,i,a,t.getUint32(40,!0),15,4293915773),a=u(a,p,m,i,t.getUint32(4,!0),21,2240044497),i=u(i,a,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,i,a,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,i,a,t.getUint32(24,!0),15,2734768916),a=u(a,p,m,i,t.getUint32(52,!0),21,1309151649),i=u(i,a,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,i,a,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,i,a,t.getUint32(8,!0),15,718787259),a=u(a,p,m,i,t.getUint32(36,!0),21,3951481745),r[0]=i+r[0]&4294967295,r[1]=a+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":333,"buffer/":427}],336:[function(e,t,r){ -function i(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var a=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":333,"buffer/":427}],337:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":333,"buffer/":427}],338:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var i=e("./core");if(t.exports=i,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":418,"./xml/browser_parser":419,_process:432,"buffer/":427,"querystring/":439,"url/":441}],339:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":342}],340:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:432}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1090.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":450,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":388,"./resource_waiter":389,"./response":390,"./sequential_executor":392,"./service":393,"./signers/request_signer":410,"./util":418,"./xml/builder":420}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var i=0;i14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":333,"buffer/":427}],337:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":333,"buffer/":427}],338:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var i=e("./core");if(t.exports=i,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":418,"./xml/browser_parser":419,_process:432,"buffer/":427,"querystring/":439,"url/":441}],339:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":342}],340:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:432}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1091.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":450,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":388,"./resource_waiter":389,"./response":390,"./sequential_executor":392,"./service":393,"./signers/request_signer":410,"./util":418,"./xml/builder":420}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var i=0;i-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;i.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&a(t),new i(t)},i.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},i.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:i}},{"../core":342}],360:[function(e,t,r){function i(e,t,r){var i=s(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw a(i);if("event"!==o.value)return}var n=i.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=i.body:p[m]=e.parse(i.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();a.util.computeSha256(s,function(r,i){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=i,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=i(e),r=a.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=a.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(i){if(r&&r.isStreaming){if(r.requiresLength)throw i;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw i}throw i}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new a.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=a.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(a.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",a.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",a.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof a.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(a.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=a.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var i={};return a.util.each(t,function(t,a){Object.prototype.hasOwnProperty.call(e.members,t)?i[t]=r(e.members[t],a):i[t]=a}),i;case"list":var s=[];return a.util.arrayEach(t,function(t,i){s.push(r(e.member,t))}),s;case"map":var o={};return a.util.each(t,function(t,i){o[t]=r(e.value,i)}),o;default:return t}}var i=t.request,s=i.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-i.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=i.params;if(i.service.api.operations&&i.service.api.operations[i.operation]&&i.service.api.operations[i.operation].input){m=r(i.service.api.operations[i.operation].input,i.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+i.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+a.util.string.lowerFirst(i.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}},{"./core":342,"./discover_endpoint":350,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./sequential_executor":392,util:444}],364:[function(e,t,r){var i=e("./core"),a=i.util.inherit;i.Endpoint=a({constructor:function(e,t){if(i.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return i.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:i.config.sslEnabled)?"https":"http")+"://"+e}i.util.update(this,i.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),i.HttpRequest=a({constructor:function(e,t){e=new i.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=i.util.userAgent()},getUserAgentHeaderName:function(){return(i.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=i.util.queryStringParse(e),i.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new i.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),i.HttpResponse=a({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),i.HttpClient=a({}),i.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":342}],365:[function(e,t,r){var i=e("../core"),a=e("events").EventEmitter;e("../http"),i.XHRClient=i.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new a,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!c&&(u.statusCode=m.status,u.headers=o.parseHeaders(m.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,m.statusText),c=!0),this.readyState===this.DONE&&o.finishRequest(m,u)},!1),m.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),m.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),m.addEventListener("timeout",function(){s(i.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(i.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(i.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),i.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return i.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],i=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=i)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var a=e.response;r=new i.util.Buffer(a.byteLength);for(var s=new Uint8Array(a),o=0;o-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=e("../util");s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},s.types={structure:n,list:u,map:p,boolean:S,timestamp:m,float:l,integer:d,string:c,base64:b,binary:y},s.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},s.create=function(e,t,r){if(e.isShape)return e;var i=s.resolve(e,t);if(i){var a=Object.keys(e);t.documentation||(a=a.filter(function(e){return!e.match(/documentation/)}));var o=function(){i.constructor.call(this,e,t,r)};return o.prototype=i,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:S,Base64Shape:b},t.exports=s},{"../util":418,"./collection":369}],374:[function(e,t,r){var i=e("./core");i.ParamValidator=i.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var a=this.errors.join("\n* ");throw a="There were "+this.errors.length+" validation errors:\n* "+a,i.util.error(new Error(a),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(i.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){if(e.isDocument)return!0;this.validateType(t,r,["object"],"structure");for(var i,a=0;e.required&&a= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,i){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+i+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,a){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:i}},{"../core":342,"../util":418}],377:[function(e,t,r){function i(e){var t=e.httpRequest,r=e.service.api,i=r.targetPrefix+"."+r.operations[e.operation].name,a=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===a&&(a="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+a,t.headers["X-Amz-Target"]=i,p(e)}function a(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var i=JSON.parse(r.body.toString()),a=i.__type||i.code||i.Code;a&&(t.code=a.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],i=r.output||{},a=new u;e.data=a.parse(t,i)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:i,extractError:a,extractData:s}},{"../json/builder":366,"../json/parser":367,"../util":418,"./helpers":376}],378:[function(e,t,r){function i(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function a(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){t=new n.XML.Parser;var c=t.parse(i.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:a,extractError:s,extractData:o}},{"../core":342,"../util":418,"./rest":379}],382:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=a(s);n=e?e+"."+n:n,u(n,o,s,i)}})}function o(e,t,r,i){var a=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+a+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,i),u(e+m,s,r.value,i)})}function n(e,t,r,i){var s=r.member||{};if(0===t.length)return void i.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(a(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?n(e,t,r,i):"map"===r.type?o(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var p=e("../util");i.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=i},{"../util":418}],383:[function(e,t,r){var i=e("../core"),a=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};i.RDS.Signer=i.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=i.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new i.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),a=new i.Service(u),a.api=s;var p=a.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,i){i&&(i=r.convertUrlToAuthToken(i)),t(e,i)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=i.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||i.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":342}],384:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],385:[function(e,t,r){function i(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function a(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:i,isGlobalRegion:a,getRealRegion:s}},{}],386:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=e.config.useFipsEndpoint,i=e.config.useDualstackEndpoint,o=0;o=0){u=!0;var p=0}var m=function(){u&&p!==n?a.emit("error",i.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===i.HttpClient.streamsApiVersion?a.end():a.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===i.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),a.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(a,{end:!1})}else c.pipe(a);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){a.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,a.emit("error",e)})}}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),i.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new i.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),i.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},i.Request.deletePromisesFromClass=function(){delete this.prototype.promise},i.util.addPromises(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":342,"./state_machine":417,_process:432,jmespath:431}],389:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),s=a.util.inherit,o=e("jmespath");a.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(i,t)},pathAll:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}Array.isArray(i)||(i=[i]);var a=i.length;if(!a)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=i.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,a=i.util.copy(r.config);a.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(a),t.service.config.params=i.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new i.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=a(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=a(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var i=r.slice(e.partSize);e.partBuffers.push(i),e.partBufferLength+=i.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var a={Body:e};this.tags&&(a.Tagging=this.getTaggingHeader());var s=t.service.putObject(a);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=i.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(a,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var i=this.listeners(e),a=i.length;return this.callListeners(i,t,r),a>0},callListeners:function(e,t,r,a){function s(a){if(a&&(n=i.util.error(n||new Error,a),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=a||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=i.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),i.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),i.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,i){return this[e]=r,this.addListener(t,r,i),this},addNamedAsyncListener:function(e,t,r,i){return r._isAsync=!0,this.addNamedListener(e,t,r,i)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),i.SequentialExecutor.prototype.addListener=i.SequentialExecutor.prototype.on,t.exports=i.SequentialExecutor},{"./core":342}],393:[function(e,t,r){(function(r){(function(){var i=e("./core"),a=e("./model/api"),s=e("./region_config"),o=i.util.inherit,n=0,u=e("./region/utils");i.Service=o({constructor:function(e){if(!this.loadServiceClass)throw i.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var a=i.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return a},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=i.config[this.serviceIdentifier];if(this.config=new i.Config(i.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),i.SequentialExecutor.call(this),i.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||i.Service._clientSideMonitoring)&&this.publisher){var a=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){a.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){a.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(i.util.isEmpty(this.api)){if(t.apiConfig)return i.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new i.Config(i.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&i.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?i.util.isType(e,Date)&&(e=i.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,a=t.length-1;a>=0;a--)if("*"!==t[a][t[a].length-1]&&(r=t[a]),t[a].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var a=this.api.operations[e];a&&(t=i.util.copy(t),i.util.each(this.config.params,function(e,r){a.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new i.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var i=this.makeRequest(e,t).toUnauthenticated();return r?i.send(r):i},waitFor:function(e,t,r){return new i.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[i.events,i.EventListeners.Core,this.serviceInterface(),i.EventListeners.CorePost],r=0;r299?(a.code&&(r.FinalAwsException=a.code),a.message&&(r.FinalAwsExceptionMessage=a.message)):((a.code||a.name)&&(r.FinalSdkException=a.code||a.name),a.message&&(r.FinalSdkExceptionMessage=a.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},i=e.response;return i.httpResponse.statusCode&&(r.HttpStatusCode=i.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),i.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),i.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=i.httpResponse.headers["x-amzn-requestid"]),i.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=i.httpResponse.headers["x-amz-request-id"]),i.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=i.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,i=r.error;return r.httpResponse.statusCode>299?(i.code&&(t.AwsException=i.code),i.message&&(t.AwsExceptionMessage=i.message)):((i.code||i.name)&&(t.SdkException=i.code||i.name),i.message&&(t.SdkExceptionMessage=i.message)),t},attachMonitoringEmitter:function(e){var t,r,a,s,o,n,u=0,p=this;e.on("validate",function(){s=i.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=i.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){a=Math.round(i.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=a>=0?a:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,a=a||Math.round(i.util.realClock.now()-r),s.AttemptLatency=a>=0?a:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(i.util.realClock.now()-s);t.Latency=r>=0?r:0;var a=e.response;a.error&&a.error.retryable&&"number"==typeof a.retryCount&&"number"==typeof a.maxRetries&&a.retryCount>=a.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,a="";if(e){r=(e.service.api.operations||{})[e.operation]||null,a=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===a||"v4-unsigned-body"===a?"v4":this.api.signatureVersion,i.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return i.EventListeners.Query;case"json":return i.EventListeners.Json;case"rest-json":return i.EventListeners.RestJson;case"rest-xml":return i.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return i.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=o(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var s=a.serviceIdentifier||e;a.serviceIdentifier=s}else a.prototype.api=e,i.Service.defineMethods(a);if(i.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&i.util.clientSideMonitoring){var n=i.util.clientSideMonitoring.Publisher,u=i.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(i.Service._clientSideMonitoring=!0)}return i.SequentialExecutor.call(a.prototype),i.Service.addDefaultMonitoringListeners(a.prototype),a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r