aws-sdk 2.927.0 → 2.931.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -1
- package/README.md +1 -1
- package/apis/chime-2018-05-01.min.json +48 -4
- package/apis/connect-2017-08-08.min.json +229 -124
- package/apis/connect-2017-08-08.paginators.json +6 -0
- package/apis/ec2-2016-11-15.min.json +1034 -898
- package/apis/greengrassv2-2020-11-30.min.json +166 -28
- package/apis/greengrassv2-2020-11-30.paginators.json +6 -0
- package/apis/iotanalytics-2017-11-27.min.json +68 -27
- package/apis/kendra-2019-02-03.min.json +128 -35
- package/apis/kms-2014-11-01.examples.json +8 -3
- package/apis/kms-2014-11-01.min.json +101 -20
- package/apis/mediatailor-2018-04-23.min.json +67 -59
- package/apis/metadata.json +2 -1
- package/apis/models.lex.v2-2020-08-07.min.json +60 -37
- package/apis/rds-2014-10-31.min.json +41 -20
- package/apis/redshift-data-2019-12-20.min.json +26 -3
- package/apis/runtime.lex.v2-2020-08-07.min.json +49 -35
- package/clients/browser_default.d.ts +1 -0
- package/clients/browser_default.js +1 -0
- package/clients/chime.d.ts +32 -6
- package/clients/connect.d.ts +184 -94
- package/clients/ec2.d.ts +192 -41
- package/clients/greengrassv2.d.ts +138 -2
- package/clients/iotanalytics.d.ts +51 -4
- package/clients/kendra.d.ts +114 -3
- package/clients/kms.d.ts +260 -136
- package/clients/lexmodelsv2.d.ts +30 -4
- package/clients/lexruntimev2.d.ts +46 -36
- package/clients/lookoutmetrics.d.ts +4 -4
- package/clients/mediatailor.d.ts +19 -1
- package/clients/rds.d.ts +248 -207
- package/clients/redshiftdata.d.ts +25 -0
- package/clients/sagemaker.d.ts +6 -6
- package/dist/aws-sdk-core-react-native.js +26 -2
- package/dist/aws-sdk-react-native.js +59 -39
- package/dist/aws-sdk.js +4438 -1559
- package/dist/aws-sdk.min.js +69 -68
- package/lib/core.js +1 -1
- package/lib/event_listeners.js +23 -0
- package/lib/model/operation.js +1 -0
- package/lib/services/s3.js +18 -22
- package/package.json +1 -1
- package/scripts/region-checker/allowlist.js +7 -7
package/clients/lexmodelsv2.d.ts
CHANGED
|
@@ -76,11 +76,11 @@ declare class LexModelsV2 extends Service {
|
|
|
76
76
|
*/
|
|
77
77
|
createResourcePolicy(callback?: (err: AWSError, data: LexModelsV2.Types.CreateResourcePolicyResponse) => void): Request<LexModelsV2.Types.CreateResourcePolicyResponse, AWSError>;
|
|
78
78
|
/**
|
|
79
|
-
* Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can create a resource policy statement that allows cross-account access.
|
|
79
|
+
* Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can't create a resource policy statement that allows cross-account access.
|
|
80
80
|
*/
|
|
81
81
|
createResourcePolicyStatement(params: LexModelsV2.Types.CreateResourcePolicyStatementRequest, callback?: (err: AWSError, data: LexModelsV2.Types.CreateResourcePolicyStatementResponse) => void): Request<LexModelsV2.Types.CreateResourcePolicyStatementResponse, AWSError>;
|
|
82
82
|
/**
|
|
83
|
-
* Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can create a resource policy statement that allows cross-account access.
|
|
83
|
+
* Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created. You can't create a resource policy statement that allows cross-account access.
|
|
84
84
|
*/
|
|
85
85
|
createResourcePolicyStatement(callback?: (err: AWSError, data: LexModelsV2.Types.CreateResourcePolicyStatementResponse) => void): Request<LexModelsV2.Types.CreateResourcePolicyStatementResponse, AWSError>;
|
|
86
86
|
/**
|
|
@@ -420,11 +420,11 @@ declare class LexModelsV2 extends Service {
|
|
|
420
420
|
*/
|
|
421
421
|
updateBotLocale(callback?: (err: AWSError, data: LexModelsV2.Types.UpdateBotLocaleResponse) => void): Request<LexModelsV2.Types.UpdateBotLocaleResponse, AWSError>;
|
|
422
422
|
/**
|
|
423
|
-
* Updates the password used to
|
|
423
|
+
* Updates the password used to protect an export zip archive. The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the operation.
|
|
424
424
|
*/
|
|
425
425
|
updateExport(params: LexModelsV2.Types.UpdateExportRequest, callback?: (err: AWSError, data: LexModelsV2.Types.UpdateExportResponse) => void): Request<LexModelsV2.Types.UpdateExportResponse, AWSError>;
|
|
426
426
|
/**
|
|
427
|
-
* Updates the password used to
|
|
427
|
+
* Updates the password used to protect an export zip archive. The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the operation.
|
|
428
428
|
*/
|
|
429
429
|
updateExport(callback?: (err: AWSError, data: LexModelsV2.Types.UpdateExportResponse) => void): Request<LexModelsV2.Types.UpdateExportResponse, AWSError>;
|
|
430
430
|
/**
|
|
@@ -1407,6 +1407,10 @@ declare namespace LexModelsV2 {
|
|
|
1407
1407
|
* The identifier of the intent that contains the slot.
|
|
1408
1408
|
*/
|
|
1409
1409
|
intentId: Id;
|
|
1410
|
+
/**
|
|
1411
|
+
* Indicates whether the slot returns multiple values in one response. Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException. If the multipleValuesSetting is not set, the default value is false.
|
|
1412
|
+
*/
|
|
1413
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
1410
1414
|
}
|
|
1411
1415
|
export interface CreateSlotResponse {
|
|
1412
1416
|
/**
|
|
@@ -1453,6 +1457,10 @@ declare namespace LexModelsV2 {
|
|
|
1453
1457
|
* The timestamp of the date and time that the slot was created.
|
|
1454
1458
|
*/
|
|
1455
1459
|
creationDateTime?: Timestamp;
|
|
1460
|
+
/**
|
|
1461
|
+
* Indicates whether the slot returns multiple values in one response.
|
|
1462
|
+
*/
|
|
1463
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
1456
1464
|
}
|
|
1457
1465
|
export interface CreateSlotTypeRequest {
|
|
1458
1466
|
/**
|
|
@@ -2297,6 +2305,10 @@ declare namespace LexModelsV2 {
|
|
|
2297
2305
|
* A timestamp of the date and time that the slot was last updated.
|
|
2298
2306
|
*/
|
|
2299
2307
|
lastUpdatedDateTime?: Timestamp;
|
|
2308
|
+
/**
|
|
2309
|
+
* Indicates whether the slot accepts multiple values in a single utterance. If the multipleValuesSetting is not set, the default value is false.
|
|
2310
|
+
*/
|
|
2311
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
2300
2312
|
}
|
|
2301
2313
|
export interface DescribeSlotTypeRequest {
|
|
2302
2314
|
/**
|
|
@@ -3144,6 +3156,12 @@ declare namespace LexModelsV2 {
|
|
|
3144
3156
|
}
|
|
3145
3157
|
export type MessageGroupsList = MessageGroup[];
|
|
3146
3158
|
export type MessageVariationsList = Message[];
|
|
3159
|
+
export interface MultipleValuesSetting {
|
|
3160
|
+
/**
|
|
3161
|
+
* Indicates whether a slot can return multiple values. When true, the slot may return more than one value in a response. When false, the slot returns only a single value. Multi-value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException. If the allowMutlipleValues is not set, the default value is false.
|
|
3162
|
+
*/
|
|
3163
|
+
allowMultipleValues?: Boolean;
|
|
3164
|
+
}
|
|
3147
3165
|
export type Name = string;
|
|
3148
3166
|
export type NextToken = string;
|
|
3149
3167
|
export type NumericalBotVersion = string;
|
|
@@ -4007,6 +4025,10 @@ declare namespace LexModelsV2 {
|
|
|
4007
4025
|
* The identifier of the intent that contains the slot.
|
|
4008
4026
|
*/
|
|
4009
4027
|
intentId: Id;
|
|
4028
|
+
/**
|
|
4029
|
+
* Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in the en-US locale. If you set this value to true in any other locale, Amazon Lex throws a ValidationException. If the multipleValuesSetting is not set, the default value is false.
|
|
4030
|
+
*/
|
|
4031
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
4010
4032
|
}
|
|
4011
4033
|
export interface UpdateSlotResponse {
|
|
4012
4034
|
/**
|
|
@@ -4057,6 +4079,10 @@ declare namespace LexModelsV2 {
|
|
|
4057
4079
|
* The timestamp of the date and time that the slot was last updated.
|
|
4058
4080
|
*/
|
|
4059
4081
|
lastUpdatedDateTime?: Timestamp;
|
|
4082
|
+
/**
|
|
4083
|
+
* Indicates whether the slot accepts multiple values in one response.
|
|
4084
|
+
*/
|
|
4085
|
+
multipleValuesSetting?: MultipleValuesSetting;
|
|
4060
4086
|
}
|
|
4061
4087
|
export interface UpdateSlotTypeRequest {
|
|
4062
4088
|
/**
|
|
@@ -21,35 +21,35 @@ declare class LexRuntimeV2 extends Service {
|
|
|
21
21
|
*/
|
|
22
22
|
deleteSession(callback?: (err: AWSError, data: LexRuntimeV2.Types.DeleteSessionResponse) => void): Request<LexRuntimeV2.Types.DeleteSessionResponse, AWSError>;
|
|
23
23
|
/**
|
|
24
|
-
* Returns session information for a specified bot, alias, and user. For example, you can use this operation to retrieve session information for a user that has left a long-running session in use. If the bot, alias, or session identifier doesn't exist, Amazon Lex returns a BadRequestException. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException.
|
|
24
|
+
* Returns session information for a specified bot, alias, and user. For example, you can use this operation to retrieve session information for a user that has left a long-running session in use. If the bot, alias, or session identifier doesn't exist, Amazon Lex V2 returns a BadRequestException. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException.
|
|
25
25
|
*/
|
|
26
26
|
getSession(params: LexRuntimeV2.Types.GetSessionRequest, callback?: (err: AWSError, data: LexRuntimeV2.Types.GetSessionResponse) => void): Request<LexRuntimeV2.Types.GetSessionResponse, AWSError>;
|
|
27
27
|
/**
|
|
28
|
-
* Returns session information for a specified bot, alias, and user. For example, you can use this operation to retrieve session information for a user that has left a long-running session in use. If the bot, alias, or session identifier doesn't exist, Amazon Lex returns a BadRequestException. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException.
|
|
28
|
+
* Returns session information for a specified bot, alias, and user. For example, you can use this operation to retrieve session information for a user that has left a long-running session in use. If the bot, alias, or session identifier doesn't exist, Amazon Lex V2 returns a BadRequestException. If the locale doesn't exist or is not enabled for the alias, you receive a BadRequestException.
|
|
29
29
|
*/
|
|
30
30
|
getSession(callback?: (err: AWSError, data: LexRuntimeV2.Types.GetSessionResponse) => void): Request<LexRuntimeV2.Types.GetSessionResponse, AWSError>;
|
|
31
31
|
/**
|
|
32
|
-
* Creates a new session or modifies an existing session with an Amazon Lex bot. Use this operation to enable your application to set the state of the bot.
|
|
32
|
+
* Creates a new session or modifies an existing session with an Amazon Lex V2 bot. Use this operation to enable your application to set the state of the bot.
|
|
33
33
|
*/
|
|
34
34
|
putSession(params: LexRuntimeV2.Types.PutSessionRequest, callback?: (err: AWSError, data: LexRuntimeV2.Types.PutSessionResponse) => void): Request<LexRuntimeV2.Types.PutSessionResponse, AWSError>;
|
|
35
35
|
/**
|
|
36
|
-
* Creates a new session or modifies an existing session with an Amazon Lex bot. Use this operation to enable your application to set the state of the bot.
|
|
36
|
+
* Creates a new session or modifies an existing session with an Amazon Lex V2 bot. Use this operation to enable your application to set the state of the bot.
|
|
37
37
|
*/
|
|
38
38
|
putSession(callback?: (err: AWSError, data: LexRuntimeV2.Types.PutSessionResponse) => void): Request<LexRuntimeV2.Types.PutSessionResponse, AWSError>;
|
|
39
39
|
/**
|
|
40
|
-
* Sends user input to Amazon Lex. Client applications use this API to send requests to Amazon Lex at runtime. Amazon Lex then interprets the user input using the machine learning model that it build for the bot. In response, Amazon Lex returns the next message to convey to the user and an optional response card to display.
|
|
40
|
+
* Sends user input to Amazon Lex V2. Client applications use this API to send requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input using the machine learning model that it build for the bot. In response, Amazon Lex V2 returns the next message to convey to the user and an optional response card to display.
|
|
41
41
|
*/
|
|
42
42
|
recognizeText(params: LexRuntimeV2.Types.RecognizeTextRequest, callback?: (err: AWSError, data: LexRuntimeV2.Types.RecognizeTextResponse) => void): Request<LexRuntimeV2.Types.RecognizeTextResponse, AWSError>;
|
|
43
43
|
/**
|
|
44
|
-
* Sends user input to Amazon Lex. Client applications use this API to send requests to Amazon Lex at runtime. Amazon Lex then interprets the user input using the machine learning model that it build for the bot. In response, Amazon Lex returns the next message to convey to the user and an optional response card to display.
|
|
44
|
+
* Sends user input to Amazon Lex V2. Client applications use this API to send requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input using the machine learning model that it build for the bot. In response, Amazon Lex V2 returns the next message to convey to the user and an optional response card to display.
|
|
45
45
|
*/
|
|
46
46
|
recognizeText(callback?: (err: AWSError, data: LexRuntimeV2.Types.RecognizeTextResponse) => void): Request<LexRuntimeV2.Types.RecognizeTextResponse, AWSError>;
|
|
47
47
|
/**
|
|
48
|
-
* Sends user input to Amazon Lex. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex at runtime. Amazon Lex interprets the user input using the machine learning model built for the bot.
|
|
48
|
+
* Sends user input to Amazon Lex V2. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2 interprets the user input using the machine learning model built for the bot. The following request fields must be compressed with gzip and then base64 encoded before you send them to Amazon Lex V2. requestAttributes sessionState The following response fields are compressed using gzip and then base64 encoded by Amazon Lex V2. Before you can use these fields, you must decode and decompress them. inputTranscript interpretations messages requestAttributes sessionState The example contains a Java application that compresses and encodes a Java object to send to Amazon Lex V2, and a second that decodes and decompresses a response from Amazon Lex V2.
|
|
49
49
|
*/
|
|
50
50
|
recognizeUtterance(params: LexRuntimeV2.Types.RecognizeUtteranceRequest, callback?: (err: AWSError, data: LexRuntimeV2.Types.RecognizeUtteranceResponse) => void): Request<LexRuntimeV2.Types.RecognizeUtteranceResponse, AWSError>;
|
|
51
51
|
/**
|
|
52
|
-
* Sends user input to Amazon Lex. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex at runtime. Amazon Lex interprets the user input using the machine learning model built for the bot.
|
|
52
|
+
* Sends user input to Amazon Lex V2. You can send text or speech. Clients use this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2 interprets the user input using the machine learning model built for the bot. The following request fields must be compressed with gzip and then base64 encoded before you send them to Amazon Lex V2. requestAttributes sessionState The following response fields are compressed using gzip and then base64 encoded by Amazon Lex V2. Before you can use these fields, you must decode and decompress them. inputTranscript interpretations messages requestAttributes sessionState The example contains a Java application that compresses and encodes a Java object to send to Amazon Lex V2, and a second that decodes and decompresses a response from Amazon Lex V2.
|
|
53
53
|
*/
|
|
54
54
|
recognizeUtterance(callback?: (err: AWSError, data: LexRuntimeV2.Types.RecognizeUtteranceResponse) => void): Request<LexRuntimeV2.Types.RecognizeUtteranceResponse, AWSError>;
|
|
55
55
|
}
|
|
@@ -66,7 +66,7 @@ declare namespace LexRuntimeV2 {
|
|
|
66
66
|
/**
|
|
67
67
|
* A lis tof contexts active for the request. A context can be activated when a previous intent is fulfilled, or by including the context in the request. If you don't specify a list of contexts, Amazon Lex will use the current list of contexts for the session. If you specify an empty list, all contexts for the session are cleared.
|
|
68
68
|
*/
|
|
69
|
-
contextAttributes
|
|
69
|
+
contextAttributes: ActiveContextParametersMap;
|
|
70
70
|
}
|
|
71
71
|
export type ActiveContextName = string;
|
|
72
72
|
export type ActiveContextParametersMap = {[key: string]: Text};
|
|
@@ -94,7 +94,7 @@ declare namespace LexRuntimeV2 {
|
|
|
94
94
|
*/
|
|
95
95
|
text: ButtonText;
|
|
96
96
|
/**
|
|
97
|
-
* The value returned to Amazon Lex when a user chooses the button.
|
|
97
|
+
* The value returned to Amazon Lex V2 when a user chooses the button.
|
|
98
98
|
*/
|
|
99
99
|
value: ButtonValue;
|
|
100
100
|
}
|
|
@@ -103,7 +103,7 @@ declare namespace LexRuntimeV2 {
|
|
|
103
103
|
export type ButtonsList = Button[];
|
|
104
104
|
export interface ConfidenceScore {
|
|
105
105
|
/**
|
|
106
|
-
* A score that indicates how confident Amazon Lex is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
|
|
106
|
+
* A score that indicates how confident Amazon Lex V2 is that an intent satisfies the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate higher confidence.
|
|
107
107
|
*/
|
|
108
108
|
score?: Double;
|
|
109
109
|
}
|
|
@@ -146,7 +146,7 @@ declare namespace LexRuntimeV2 {
|
|
|
146
146
|
}
|
|
147
147
|
export interface DialogAction {
|
|
148
148
|
/**
|
|
149
|
-
* The next action that the bot should take in its interaction with the user. The possible values are: Close - Indicates that there will not be a response from the user. For example, the statement "Your order has been placed" does not require a response. ConfirmIntent - The next action is asking the user if the intent is complete and ready to be fulfilled. This is a yes/no question such as "Place the order?" Delegate - The next action is determined by Amazon Lex. ElicitSlot - The next action is to elicit a slot value from the user.
|
|
149
|
+
* The next action that the bot should take in its interaction with the user. The possible values are: Close - Indicates that there will not be a response from the user. For example, the statement "Your order has been placed" does not require a response. ConfirmIntent - The next action is asking the user if the intent is complete and ready to be fulfilled. This is a yes/no question such as "Place the order?" Delegate - The next action is determined by Amazon Lex V2. ElicitSlot - The next action is to elicit a slot value from the user.
|
|
150
150
|
*/
|
|
151
151
|
type: DialogActionType;
|
|
152
152
|
/**
|
|
@@ -184,7 +184,7 @@ declare namespace LexRuntimeV2 {
|
|
|
184
184
|
*/
|
|
185
185
|
messages?: Messages;
|
|
186
186
|
/**
|
|
187
|
-
* A list of intents that Amazon Lex determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates how confident Amazon Lex is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
187
|
+
* A list of intents that Amazon Lex V2 determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
188
188
|
*/
|
|
189
189
|
interpretations?: Interpretations;
|
|
190
190
|
/**
|
|
@@ -231,7 +231,7 @@ declare namespace LexRuntimeV2 {
|
|
|
231
231
|
export type IntentState = "Failed"|"Fulfilled"|"InProgress"|"ReadyForFulfillment"|"Waiting"|string;
|
|
232
232
|
export interface Interpretation {
|
|
233
233
|
/**
|
|
234
|
-
* Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot.
|
|
234
|
+
* Determines the threshold where Amazon Lex V2 will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents in a response. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot.
|
|
235
235
|
*/
|
|
236
236
|
nluConfidence?: ConfidenceScore;
|
|
237
237
|
/**
|
|
@@ -253,7 +253,7 @@ declare namespace LexRuntimeV2 {
|
|
|
253
253
|
/**
|
|
254
254
|
* Indicates the type of response.
|
|
255
255
|
*/
|
|
256
|
-
contentType
|
|
256
|
+
contentType: MessageContentType;
|
|
257
257
|
imageResponseCard?: ImageResponseCard;
|
|
258
258
|
}
|
|
259
259
|
export type MessageContentType = "CustomPayload"|"ImageResponseCard"|"PlainText"|"SSML"|string;
|
|
@@ -282,15 +282,15 @@ declare namespace LexRuntimeV2 {
|
|
|
282
282
|
*/
|
|
283
283
|
messages?: Messages;
|
|
284
284
|
/**
|
|
285
|
-
* Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex should use in the conversation with the user.
|
|
285
|
+
* Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex V2 should use in the conversation with the user.
|
|
286
286
|
*/
|
|
287
287
|
sessionState: SessionState;
|
|
288
288
|
/**
|
|
289
|
-
* Request-specific information passed between Amazon Lex and the client application. The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
|
|
289
|
+
* Request-specific information passed between Amazon Lex V2 and the client application. The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
|
|
290
290
|
*/
|
|
291
291
|
requestAttributes?: StringMap;
|
|
292
292
|
/**
|
|
293
|
-
* The message that Amazon Lex returns in the response can be either text or speech depending on the value of this parameter. If the value is text/plain; charset=utf-8, Amazon Lex returns text in the response.
|
|
293
|
+
* The message that Amazon Lex V2 returns in the response can be either text or speech depending on the value of this parameter. If the value is text/plain; charset=utf-8, Amazon Lex V2 returns text in the response.
|
|
294
294
|
*/
|
|
295
295
|
responseContentType?: NonEmptyString;
|
|
296
296
|
}
|
|
@@ -308,7 +308,7 @@ declare namespace LexRuntimeV2 {
|
|
|
308
308
|
*/
|
|
309
309
|
sessionState?: NonEmptyString;
|
|
310
310
|
/**
|
|
311
|
-
* Request-specific information passed between the client application and Amazon Lex. These are the same as the requestAttribute parameter in the call to the PutSession operation.
|
|
311
|
+
* Request-specific information passed between the client application and Amazon Lex V2. These are the same as the requestAttribute parameter in the call to the PutSession operation.
|
|
312
312
|
*/
|
|
313
313
|
requestAttributes?: NonEmptyString;
|
|
314
314
|
/**
|
|
@@ -338,7 +338,7 @@ declare namespace LexRuntimeV2 {
|
|
|
338
338
|
*/
|
|
339
339
|
sessionId: SessionId;
|
|
340
340
|
/**
|
|
341
|
-
* The text that the user entered. Amazon Lex interprets this text.
|
|
341
|
+
* The text that the user entered. Amazon Lex V2 interprets this text.
|
|
342
342
|
*/
|
|
343
343
|
text: Text;
|
|
344
344
|
/**
|
|
@@ -346,7 +346,7 @@ declare namespace LexRuntimeV2 {
|
|
|
346
346
|
*/
|
|
347
347
|
sessionState?: SessionState;
|
|
348
348
|
/**
|
|
349
|
-
* Request-specific information passed between the client application and Amazon Lex The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
|
|
349
|
+
* Request-specific information passed between the client application and Amazon Lex V2 The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
|
|
350
350
|
*/
|
|
351
351
|
requestAttributes?: StringMap;
|
|
352
352
|
}
|
|
@@ -360,7 +360,7 @@ declare namespace LexRuntimeV2 {
|
|
|
360
360
|
*/
|
|
361
361
|
sessionState?: SessionState;
|
|
362
362
|
/**
|
|
363
|
-
* A list of intents that Amazon Lex determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates now confident Amazon Lex is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
363
|
+
* A list of intents that Amazon Lex V2 determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates now confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
364
364
|
*/
|
|
365
365
|
interpretations?: Interpretations;
|
|
366
366
|
/**
|
|
@@ -390,11 +390,11 @@ declare namespace LexRuntimeV2 {
|
|
|
390
390
|
*/
|
|
391
391
|
sessionId: SessionId;
|
|
392
392
|
/**
|
|
393
|
-
* Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex should use in the conversation with the user.
|
|
393
|
+
* Sets the state of the session with the user. You can use this to set the current intent, attributes, context, and dialog action. Use the dialog action to determine the next step that Amazon Lex V2 should use in the conversation with the user. The sessionState field must be compressed using gzip and then base64 encoded before sending to Amazon Lex V2.
|
|
394
394
|
*/
|
|
395
395
|
sessionState?: SensitiveNonEmptyString;
|
|
396
396
|
/**
|
|
397
|
-
* Request-specific information passed between the client application and Amazon Lex The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes for prefix x-amz-lex:.
|
|
397
|
+
* Request-specific information passed between the client application and Amazon Lex V2 The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes for prefix x-amz-lex:. The requestAttributes field must be compressed using gzip and then base64 encoded before sending to Amazon Lex V2.
|
|
398
398
|
*/
|
|
399
399
|
requestAttributes?: SensitiveNonEmptyString;
|
|
400
400
|
/**
|
|
@@ -402,7 +402,7 @@ declare namespace LexRuntimeV2 {
|
|
|
402
402
|
*/
|
|
403
403
|
requestContentType: NonEmptyString;
|
|
404
404
|
/**
|
|
405
|
-
* The message that Amazon Lex returns in the response can be either text or speech based on the responseContentType value. If the value is text/plain;charset=utf-8, Amazon Lex returns text in the response. If the value begins with audio/, Amazon Lex returns speech in the response. Amazon Lex uses Amazon Polly to generate the speech using the configuration that you specified in the requestContentType parameter. For example, if you specify audio/mpeg as the value, Amazon Lex returns speech in the MPEG format. If the value is audio/pcm, the speech returned is audio/pcm at 16 KHz in 16-bit, little-endian format. The following are the accepted values: audio/mpeg audio/ogg audio/pcm (16 KHz) audio/* (defaults to mpeg) text/plain; charset=utf-8
|
|
405
|
+
* The message that Amazon Lex V2 returns in the response can be either text or speech based on the responseContentType value. If the value is text/plain;charset=utf-8, Amazon Lex V2 returns text in the response. If the value begins with audio/, Amazon Lex V2 returns speech in the response. Amazon Lex V2 uses Amazon Polly to generate the speech using the configuration that you specified in the requestContentType parameter. For example, if you specify audio/mpeg as the value, Amazon Lex V2 returns speech in the MPEG format. If the value is audio/pcm, the speech returned is audio/pcm at 16 KHz in 16-bit, little-endian format. The following are the accepted values: audio/mpeg audio/ogg audio/pcm (16 KHz) audio/* (defaults to mpeg) text/plain; charset=utf-8
|
|
406
406
|
*/
|
|
407
407
|
responseContentType?: NonEmptyString;
|
|
408
408
|
/**
|
|
@@ -420,19 +420,19 @@ declare namespace LexRuntimeV2 {
|
|
|
420
420
|
*/
|
|
421
421
|
contentType?: NonEmptyString;
|
|
422
422
|
/**
|
|
423
|
-
* A list of messages that were last sent to the user. The messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.
|
|
423
|
+
* A list of messages that were last sent to the user. The messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot. The messages field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.
|
|
424
424
|
*/
|
|
425
425
|
messages?: NonEmptyString;
|
|
426
426
|
/**
|
|
427
|
-
* A list of intents that Amazon Lex determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates how confident Amazon Lex is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
|
|
427
|
+
* A list of intents that Amazon Lex V2 determined might satisfy the user's utterance. Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance. The interpretations field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.
|
|
428
428
|
*/
|
|
429
429
|
interpretations?: NonEmptyString;
|
|
430
430
|
/**
|
|
431
|
-
* Represents the current state of the dialog between the user and the bot. Use this to determine the progress of the conversation and what the next action might be.
|
|
431
|
+
* Represents the current state of the dialog between the user and the bot. Use this to determine the progress of the conversation and what the next action might be. The sessionState field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.
|
|
432
432
|
*/
|
|
433
433
|
sessionState?: NonEmptyString;
|
|
434
434
|
/**
|
|
435
|
-
* The attributes sent in the request.
|
|
435
|
+
* The attributes sent in the request. The requestAttributes field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents.
|
|
436
436
|
*/
|
|
437
437
|
requestAttributes?: NonEmptyString;
|
|
438
438
|
/**
|
|
@@ -440,11 +440,11 @@ declare namespace LexRuntimeV2 {
|
|
|
440
440
|
*/
|
|
441
441
|
sessionId?: SessionId;
|
|
442
442
|
/**
|
|
443
|
-
* The text used to process the request. If the input was an audio stream, the inputTranscript field contains the text extracted from the audio stream. This is the text that is actually processed to recognize intents and slot values. You can use this information to determine if Amazon Lex is correctly processing the audio that you send.
|
|
443
|
+
* The text used to process the request. If the input was an audio stream, the inputTranscript field contains the text extracted from the audio stream. This is the text that is actually processed to recognize intents and slot values. You can use this information to determine if Amazon Lex V2 is correctly processing the audio that you send. The inputTranscript field is compressed with gzip and then base64 encoded. Before you can use the contents of the field, you must decode and decompress the contents. See the example for a simple function to decode and decompress the contents.
|
|
444
444
|
*/
|
|
445
445
|
inputTranscript?: NonEmptyString;
|
|
446
446
|
/**
|
|
447
|
-
* The prompt or statement to send to the user. This is based on the bot configuration and context. For example, if Amazon Lex did not understand the user intent, it sends the clarificationPrompt configured for the bot. If the intent requires confirmation before taking the fulfillment action, it sends the confirmationPrompt. Another example: Suppose that the Lambda function successfully fulfilled the intent, and sent a message to convey to the user. Then Amazon Lex sends that message in the response.
|
|
447
|
+
* The prompt or statement to send to the user. This is based on the bot configuration and context. For example, if Amazon Lex V2 did not understand the user intent, it sends the clarificationPrompt configured for the bot. If the intent requires confirmation before taking the fulfillment action, it sends the confirmationPrompt. Another example: Suppose that the Lambda function successfully fulfilled the intent, and sent a message to convey to the user. Then Amazon Lex V2 sends that message in the response.
|
|
448
448
|
*/
|
|
449
449
|
audioStream?: BlobStream;
|
|
450
450
|
}
|
|
@@ -478,19 +478,19 @@ declare namespace LexRuntimeV2 {
|
|
|
478
478
|
export type SessionId = string;
|
|
479
479
|
export interface SessionState {
|
|
480
480
|
/**
|
|
481
|
-
* The next step that Amazon Lex should take in the conversation with a user.
|
|
481
|
+
* The next step that Amazon Lex V2 should take in the conversation with a user.
|
|
482
482
|
*/
|
|
483
483
|
dialogAction?: DialogAction;
|
|
484
484
|
/**
|
|
485
|
-
* The active intent that Amazon Lex is processing.
|
|
485
|
+
* The active intent that Amazon Lex V2 is processing.
|
|
486
486
|
*/
|
|
487
487
|
intent?: Intent;
|
|
488
488
|
/**
|
|
489
|
-
* One or more contexts that indicate to Amazon Lex the context of a request. When a context is active, Amazon Lex considers intents with the matching context as a trigger as the next intent in a session.
|
|
489
|
+
* One or more contexts that indicate to Amazon Lex V2 the context of a request. When a context is active, Amazon Lex V2 considers intents with the matching context as a trigger as the next intent in a session.
|
|
490
490
|
*/
|
|
491
491
|
activeContexts?: ActiveContextsList;
|
|
492
492
|
/**
|
|
493
|
-
* Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
|
|
493
|
+
* Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex V2 and a client application.
|
|
494
494
|
*/
|
|
495
495
|
sessionAttributes?: StringMap;
|
|
496
496
|
/**
|
|
@@ -498,11 +498,20 @@ declare namespace LexRuntimeV2 {
|
|
|
498
498
|
*/
|
|
499
499
|
originatingRequestId?: NonEmptyString;
|
|
500
500
|
}
|
|
501
|
+
export type Shape = "Scalar"|"List"|string;
|
|
501
502
|
export interface Slot {
|
|
502
503
|
/**
|
|
503
504
|
* The current value of the slot.
|
|
504
505
|
*/
|
|
505
506
|
value?: Value;
|
|
507
|
+
/**
|
|
508
|
+
* When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.
|
|
509
|
+
*/
|
|
510
|
+
shape?: Shape;
|
|
511
|
+
/**
|
|
512
|
+
* A list of one or more values that the user provided for the slot. For example, if a for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
|
|
513
|
+
*/
|
|
514
|
+
values?: Values;
|
|
506
515
|
}
|
|
507
516
|
export type Slots = {[key: string]: Slot};
|
|
508
517
|
export type String = string;
|
|
@@ -515,7 +524,7 @@ declare namespace LexRuntimeV2 {
|
|
|
515
524
|
*/
|
|
516
525
|
originalValue?: NonEmptyString;
|
|
517
526
|
/**
|
|
518
|
-
* The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
|
|
527
|
+
* The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the resolvedValues list.
|
|
519
528
|
*/
|
|
520
529
|
interpretedValue: NonEmptyString;
|
|
521
530
|
/**
|
|
@@ -523,6 +532,7 @@ declare namespace LexRuntimeV2 {
|
|
|
523
532
|
*/
|
|
524
533
|
resolvedValues?: StringList;
|
|
525
534
|
}
|
|
535
|
+
export type Values = Slot[];
|
|
526
536
|
/**
|
|
527
537
|
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
528
538
|
*/
|
|
@@ -333,7 +333,7 @@ declare namespace LookoutMetrics {
|
|
|
333
333
|
}
|
|
334
334
|
export type AnomalyDetectorDescription = string;
|
|
335
335
|
export type AnomalyDetectorName = string;
|
|
336
|
-
export type AnomalyDetectorStatus = "ACTIVE"|"ACTIVATING"|"DELETING"|"FAILED"|"INACTIVE"|"BACK_TEST_ACTIVATING"|"BACK_TEST_ACTIVE"|"BACK_TEST_COMPLETE"|string;
|
|
336
|
+
export type AnomalyDetectorStatus = "ACTIVE"|"ACTIVATING"|"DELETING"|"FAILED"|"INACTIVE"|"LEARNING"|"BACK_TEST_ACTIVATING"|"BACK_TEST_ACTIVE"|"BACK_TEST_COMPLETE"|string;
|
|
337
337
|
export interface AnomalyDetectorSummary {
|
|
338
338
|
/**
|
|
339
339
|
* The ARN of the detector.
|
|
@@ -565,7 +565,7 @@ declare namespace LookoutMetrics {
|
|
|
565
565
|
*/
|
|
566
566
|
MetricList: MetricList;
|
|
567
567
|
/**
|
|
568
|
-
* After an interval ends, the amount of
|
|
568
|
+
* After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3 and Redshift datasources.
|
|
569
569
|
*/
|
|
570
570
|
Offset?: Offset;
|
|
571
571
|
/**
|
|
@@ -762,7 +762,7 @@ declare namespace LookoutMetrics {
|
|
|
762
762
|
*/
|
|
763
763
|
LastModificationTime?: Timestamp;
|
|
764
764
|
/**
|
|
765
|
-
* The offset for
|
|
765
|
+
* The offset in seconds. Only supported for S3 and Redshift datasources.
|
|
766
766
|
*/
|
|
767
767
|
Offset?: Offset;
|
|
768
768
|
/**
|
|
@@ -1445,7 +1445,7 @@ declare namespace LookoutMetrics {
|
|
|
1445
1445
|
*/
|
|
1446
1446
|
MetricList?: MetricList;
|
|
1447
1447
|
/**
|
|
1448
|
-
* After an interval ends, the amount of
|
|
1448
|
+
* After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3 and Redshift datasources.
|
|
1449
1449
|
*/
|
|
1450
1450
|
Offset?: Offset;
|
|
1451
1451
|
/**
|
package/clients/mediatailor.d.ts
CHANGED
|
@@ -266,8 +266,12 @@ declare namespace MediaTailor {
|
|
|
266
266
|
* The type of authentication used to access content from HttpConfiguration::BaseUrl on your source location. Accepted value: S3_SIGV4. S3_SIGV4 - AWS Signature Version 4 authentication for Amazon S3 hosted virtual-style access. If your source location base URL is an Amazon S3 bucket, MediaTailor can use AWS Signature Version 4 (SigV4) authentication to access the bucket where your source content is stored. Your MediaTailor source location baseURL must follow the S3 virtual hosted-style request URL format. For example, https://bucket-name.s3.Region.amazonaws.com/key-name. Before you can use S3_SIGV4, you must meet these requirements: • You must allow MediaTailor to access your S3 bucket by granting mediatailor.amazonaws.com principal access in IAM. For information about configuring access in IAM, see Access management in the IAM User Guide. • The mediatailor.amazonaws.com service principal must have permissions to read all top level manifests referenced by the VodSource packaging configurations. • The caller of the API must have s3:GetObject IAM permissions to read all top level manifests referenced by your MediaTailor VodSource packaging configurations.
|
|
267
267
|
*/
|
|
268
268
|
AccessType?: AccessType;
|
|
269
|
+
/**
|
|
270
|
+
* AWS Secrets Manager access token configuration parameters.
|
|
271
|
+
*/
|
|
272
|
+
SecretsManagerAccessTokenConfiguration?: SecretsManagerAccessTokenConfiguration;
|
|
269
273
|
}
|
|
270
|
-
export type AccessType = "S3_SIGV4"|string;
|
|
274
|
+
export type AccessType = "S3_SIGV4"|"SECRETS_MANAGER_ACCESS_TOKEN"|string;
|
|
271
275
|
export interface AdBreak {
|
|
272
276
|
/**
|
|
273
277
|
* The SCTE-35 ad insertion type. Accepted value: SPLICE_INSERT.
|
|
@@ -1402,6 +1406,20 @@ declare namespace MediaTailor {
|
|
|
1402
1406
|
*/
|
|
1403
1407
|
VodSourceName: __string;
|
|
1404
1408
|
}
|
|
1409
|
+
export interface SecretsManagerAccessTokenConfiguration {
|
|
1410
|
+
/**
|
|
1411
|
+
* The name of the HTTP header used to supply the access token in requests to the source location.
|
|
1412
|
+
*/
|
|
1413
|
+
HeaderName?: __string;
|
|
1414
|
+
/**
|
|
1415
|
+
* The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the access token.
|
|
1416
|
+
*/
|
|
1417
|
+
SecretArn?: __string;
|
|
1418
|
+
/**
|
|
1419
|
+
* The AWS Secrets Manager SecretString key associated with the access token. MediaTailor uses the key to look up SecretString key and value pair containing the access token.
|
|
1420
|
+
*/
|
|
1421
|
+
SecretStringKey?: __string;
|
|
1422
|
+
}
|
|
1405
1423
|
export interface SlateSource {
|
|
1406
1424
|
/**
|
|
1407
1425
|
* The name of the source location where the slate VOD source is stored.
|