aws-sdk 2.991.0 → 2.995.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 +26 -1
- package/README.md +1 -1
- package/apis/appsync-2017-07-25.min.json +97 -77
- package/apis/comprehend-2017-11-27.min.json +205 -123
- package/apis/comprehend-2017-11-27.paginators.json +10 -0
- package/apis/ec2-2016-11-15.min.json +150 -69
- package/apis/ec2-2016-11-15.paginators.json +6 -0
- package/apis/ecr-2015-09-21.min.json +66 -14
- package/apis/imagebuilder-2019-12-02.min.json +116 -82
- package/apis/iot-2015-05-28.min.json +80 -44
- package/apis/license-manager-2018-08-01.min.json +186 -72
- package/apis/mediaconvert-2017-08-29.min.json +194 -83
- package/apis/mediapackage-vod-2018-11-07.min.json +3 -0
- package/apis/mediatailor-2018-04-23.min.json +198 -149
- package/apis/models.lex.v2-2020-08-07.min.json +179 -22
- package/apis/models.lex.v2-2020-08-07.paginators.json +5 -0
- package/apis/ssm-2014-11-06.min.json +105 -100
- package/apis/ssm-2014-11-06.waiters2.json +5 -0
- package/apis/wafv2-2019-07-29.min.json +114 -97
- package/clients/appsync.d.ts +35 -13
- package/clients/comprehend.d.ts +165 -1
- package/clients/ec2.d.ts +164 -66
- package/clients/ecr.d.ts +76 -4
- package/clients/iam.d.ts +85 -85
- package/clients/imagebuilder.d.ts +73 -25
- package/clients/iot.d.ts +55 -5
- package/clients/lexmodelsv2.d.ts +188 -0
- package/clients/licensemanager.d.ts +215 -42
- package/clients/mediaconvert.d.ts +154 -17
- package/clients/mediapackagevod.d.ts +4 -0
- package/clients/mediatailor.d.ts +47 -1
- package/clients/ssm.d.ts +40 -19
- package/clients/wafv2.d.ts +18 -0
- package/dist/aws-sdk-core-react-native.js +4 -4
- package/dist/aws-sdk-react-native.js +21 -21
- package/dist/aws-sdk.js +633 -356
- package/dist/aws-sdk.min.js +72 -72
- package/lib/config.js +1 -1
- package/lib/core.js +1 -1
- package/lib/event_listeners.js +1 -1
- package/lib/http_request.d.ts +1 -1
- package/lib/signers/v4.js +1 -1
- package/package.json +1 -1
package/clients/lexmodelsv2.d.ts
CHANGED
|
@@ -195,6 +195,14 @@ declare class LexModelsV2 extends Service {
|
|
|
195
195
|
* Deletes a slot type from a bot locale. If a slot is using the slot type, Amazon Lex throws a ResourceInUseException exception. To avoid the exception, set the skipResourceInUseCheck parameter to true.
|
|
196
196
|
*/
|
|
197
197
|
deleteSlotType(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
198
|
+
/**
|
|
199
|
+
* Deletes stored utterances. Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input.. Use the DeleteUtterances operation to manually delete utterances for a specific session. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances operation are deleted after 15 days.
|
|
200
|
+
*/
|
|
201
|
+
deleteUtterances(params: LexModelsV2.Types.DeleteUtterancesRequest, callback?: (err: AWSError, data: LexModelsV2.Types.DeleteUtterancesResponse) => void): Request<LexModelsV2.Types.DeleteUtterancesResponse, AWSError>;
|
|
202
|
+
/**
|
|
203
|
+
* Deletes stored utterances. Amazon Lex stores the utterances that users send to your bot. Utterances are stored for 15 days for use with the operation, and then stored indefinitely for use in improving the ability of your bot to respond to user input.. Use the DeleteUtterances operation to manually delete utterances for a specific session. When you use the DeleteUtterances operation, utterances stored for improving your bot's ability to respond to user input are deleted immediately. Utterances stored for use with the ListAggregatedUtterances operation are deleted after 15 days.
|
|
204
|
+
*/
|
|
205
|
+
deleteUtterances(callback?: (err: AWSError, data: LexModelsV2.Types.DeleteUtterancesResponse) => void): Request<LexModelsV2.Types.DeleteUtterancesResponse, AWSError>;
|
|
198
206
|
/**
|
|
199
207
|
* Provides metadata information about a bot.
|
|
200
208
|
*/
|
|
@@ -275,6 +283,14 @@ declare class LexModelsV2 extends Service {
|
|
|
275
283
|
* Gets metadata information about a slot type.
|
|
276
284
|
*/
|
|
277
285
|
describeSlotType(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeSlotTypeResponse) => void): Request<LexModelsV2.Types.DescribeSlotTypeResponse, AWSError>;
|
|
286
|
+
/**
|
|
287
|
+
* Provides a list of utterances that users have sent to the bot. Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response. You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent. Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time. Utterances statistics are not generated under the following conditions: The childDirected field was set to true when the bot was created. You are using slot obfuscation with one or more slots. You opted out of participating in improving Amazon Lex.
|
|
288
|
+
*/
|
|
289
|
+
listAggregatedUtterances(params: LexModelsV2.Types.ListAggregatedUtterancesRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListAggregatedUtterancesResponse) => void): Request<LexModelsV2.Types.ListAggregatedUtterancesResponse, AWSError>;
|
|
290
|
+
/**
|
|
291
|
+
* Provides a list of utterances that users have sent to the bot. Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response. You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent. Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time. Utterances statistics are not generated under the following conditions: The childDirected field was set to true when the bot was created. You are using slot obfuscation with one or more slots. You opted out of participating in improving Amazon Lex.
|
|
292
|
+
*/
|
|
293
|
+
listAggregatedUtterances(callback?: (err: AWSError, data: LexModelsV2.Types.ListAggregatedUtterancesResponse) => void): Request<LexModelsV2.Types.ListAggregatedUtterancesResponse, AWSError>;
|
|
278
294
|
/**
|
|
279
295
|
* Gets a list of aliases for the specified bot.
|
|
280
296
|
*/
|
|
@@ -461,6 +477,61 @@ declare class LexModelsV2 extends Service {
|
|
|
461
477
|
updateSlotType(callback?: (err: AWSError, data: LexModelsV2.Types.UpdateSlotTypeResponse) => void): Request<LexModelsV2.Types.UpdateSlotTypeResponse, AWSError>;
|
|
462
478
|
}
|
|
463
479
|
declare namespace LexModelsV2 {
|
|
480
|
+
export interface AggregatedUtterancesFilter {
|
|
481
|
+
/**
|
|
482
|
+
* The name of the field to filter the utterance list.
|
|
483
|
+
*/
|
|
484
|
+
name: AggregatedUtterancesFilterName;
|
|
485
|
+
/**
|
|
486
|
+
* The value to use for filtering the list of bots.
|
|
487
|
+
*/
|
|
488
|
+
values: FilterValues;
|
|
489
|
+
/**
|
|
490
|
+
* The operator to use for the filter. Specify EQ when the ListAggregatedUtterances operation should return only utterances that equal the specified value. Specify CO when the ListAggregatedUtterances operation should return utterances that contain the specified value.
|
|
491
|
+
*/
|
|
492
|
+
operator: AggregatedUtterancesFilterOperator;
|
|
493
|
+
}
|
|
494
|
+
export type AggregatedUtterancesFilterName = "Utterance"|string;
|
|
495
|
+
export type AggregatedUtterancesFilterOperator = "CO"|"EQ"|string;
|
|
496
|
+
export type AggregatedUtterancesFilters = AggregatedUtterancesFilter[];
|
|
497
|
+
export type AggregatedUtterancesSortAttribute = "HitCount"|"MissedCount"|string;
|
|
498
|
+
export interface AggregatedUtterancesSortBy {
|
|
499
|
+
/**
|
|
500
|
+
* The utterance attribute to sort by.
|
|
501
|
+
*/
|
|
502
|
+
attribute: AggregatedUtterancesSortAttribute;
|
|
503
|
+
/**
|
|
504
|
+
* Specifies whether to sort the aggregated utterances in ascending or descending order.
|
|
505
|
+
*/
|
|
506
|
+
order: SortOrder;
|
|
507
|
+
}
|
|
508
|
+
export interface AggregatedUtterancesSummary {
|
|
509
|
+
/**
|
|
510
|
+
* The text of the utterance. If the utterance was used with the RecognizeUtterance operation, the text is the transcription of the audio utterance.
|
|
511
|
+
*/
|
|
512
|
+
utterance?: Utterance;
|
|
513
|
+
/**
|
|
514
|
+
* The number of times that the utterance was detected by Amazon Lex during the time period. When an utterance is detected, it activates an intent or a slot.
|
|
515
|
+
*/
|
|
516
|
+
hitCount?: HitCount;
|
|
517
|
+
/**
|
|
518
|
+
* The number of times that the utterance was missed by Amazon Lex An utterance is missed when it doesn't activate an intent or slot.
|
|
519
|
+
*/
|
|
520
|
+
missedCount?: MissedCount;
|
|
521
|
+
/**
|
|
522
|
+
* The date and time that the utterance was first recorded in the time window for aggregation. An utterance may have been sent to Amazon Lex before that time, but only utterances within the time window are counted.
|
|
523
|
+
*/
|
|
524
|
+
utteranceFirstRecordedInAggregationDuration?: Timestamp;
|
|
525
|
+
/**
|
|
526
|
+
* The last date and time that an utterance was recorded in the time window for aggregation. An utterance may be sent to Amazon Lex after that time, but only utterances within the time window are counted.
|
|
527
|
+
*/
|
|
528
|
+
utteranceLastRecordedInAggregationDuration?: Timestamp;
|
|
529
|
+
/**
|
|
530
|
+
* Aggregated utterance data may contain utterances from versions of your bot that have since been deleted. When the aggregated contains this kind of data, this field is set to true.
|
|
531
|
+
*/
|
|
532
|
+
containsDataFromDeletedResources?: BoxedBoolean;
|
|
533
|
+
}
|
|
534
|
+
export type AggregatedUtterancesSummaryList = AggregatedUtterancesSummary[];
|
|
464
535
|
export type AmazonResourceName = string;
|
|
465
536
|
export type AttachmentTitle = string;
|
|
466
537
|
export type AttachmentUrl = string;
|
|
@@ -1809,6 +1880,22 @@ declare namespace LexModelsV2 {
|
|
|
1809
1880
|
*/
|
|
1810
1881
|
skipResourceInUseCheck?: SkipResourceInUseCheck;
|
|
1811
1882
|
}
|
|
1883
|
+
export interface DeleteUtterancesRequest {
|
|
1884
|
+
/**
|
|
1885
|
+
* The unique identifier of the bot that contains the utterances.
|
|
1886
|
+
*/
|
|
1887
|
+
botId: Id;
|
|
1888
|
+
/**
|
|
1889
|
+
* The identifier of the language and locale where the utterances were collected. The string must match one of the supported locales. For more information, see Supported languages.
|
|
1890
|
+
*/
|
|
1891
|
+
localeId?: LocaleId;
|
|
1892
|
+
/**
|
|
1893
|
+
* The unique identifier of the session with the user. The ID is returned in the response from the and operations.
|
|
1894
|
+
*/
|
|
1895
|
+
sessionId?: SessionId;
|
|
1896
|
+
}
|
|
1897
|
+
export interface DeleteUtterancesResponse {
|
|
1898
|
+
}
|
|
1812
1899
|
export interface DescribeBotAliasRequest {
|
|
1813
1900
|
/**
|
|
1814
1901
|
* The identifier of the bot alias to describe.
|
|
@@ -2459,6 +2546,7 @@ declare namespace LexModelsV2 {
|
|
|
2459
2546
|
*/
|
|
2460
2547
|
enabled: Boolean;
|
|
2461
2548
|
}
|
|
2549
|
+
export type HitCount = number;
|
|
2462
2550
|
export type Id = string;
|
|
2463
2551
|
export interface ImageResponseCard {
|
|
2464
2552
|
/**
|
|
@@ -2669,6 +2757,86 @@ declare namespace LexModelsV2 {
|
|
|
2669
2757
|
*/
|
|
2670
2758
|
codeHookInterfaceVersion: CodeHookInterfaceVersion;
|
|
2671
2759
|
}
|
|
2760
|
+
export interface ListAggregatedUtterancesRequest {
|
|
2761
|
+
/**
|
|
2762
|
+
* The unique identifier of the bot associated with this request.
|
|
2763
|
+
*/
|
|
2764
|
+
botId: Id;
|
|
2765
|
+
/**
|
|
2766
|
+
* The identifier of the bot alias associated with this request. If you specify the bot alias, you can't specify the bot version.
|
|
2767
|
+
*/
|
|
2768
|
+
botAliasId?: BotAliasId;
|
|
2769
|
+
/**
|
|
2770
|
+
* The identifier of the bot version associated with this request. If you specify the bot version, you can't specify the bot alias.
|
|
2771
|
+
*/
|
|
2772
|
+
botVersion?: BotVersion;
|
|
2773
|
+
/**
|
|
2774
|
+
* The identifier of the language and locale where the utterances were collected. For more information, see Supported languages.
|
|
2775
|
+
*/
|
|
2776
|
+
localeId: LocaleId;
|
|
2777
|
+
/**
|
|
2778
|
+
* The time window for aggregating the utterance information. You can specify a time between one hour and two weeks.
|
|
2779
|
+
*/
|
|
2780
|
+
aggregationDuration: UtteranceAggregationDuration;
|
|
2781
|
+
/**
|
|
2782
|
+
* Specifies sorting parameters for the list of utterances. You can sort by the hit count, the missed count, or the number of distinct sessions the utterance appeared in.
|
|
2783
|
+
*/
|
|
2784
|
+
sortBy?: AggregatedUtterancesSortBy;
|
|
2785
|
+
/**
|
|
2786
|
+
* Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
|
|
2787
|
+
*/
|
|
2788
|
+
filters?: AggregatedUtterancesFilters;
|
|
2789
|
+
/**
|
|
2790
|
+
* The maximum number of utterances to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. If you don't specify the maxResults parameter, 1,000 results are returned.
|
|
2791
|
+
*/
|
|
2792
|
+
maxResults?: MaxResults;
|
|
2793
|
+
/**
|
|
2794
|
+
* If the response from the ListAggregatedUtterances operation contains more results that specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
|
|
2795
|
+
*/
|
|
2796
|
+
nextToken?: NextToken;
|
|
2797
|
+
}
|
|
2798
|
+
export interface ListAggregatedUtterancesResponse {
|
|
2799
|
+
/**
|
|
2800
|
+
* The identifier of the bot that contains the utterances.
|
|
2801
|
+
*/
|
|
2802
|
+
botId?: Id;
|
|
2803
|
+
/**
|
|
2804
|
+
* The identifier of the bot alias that contains the utterances. If you specified the bot version, the bot alias ID isn't returned.
|
|
2805
|
+
*/
|
|
2806
|
+
botAliasId?: BotAliasId;
|
|
2807
|
+
/**
|
|
2808
|
+
* The identifier of the bot version that contains the utterances. If you specified the bot alias, the bot version isn't returned.
|
|
2809
|
+
*/
|
|
2810
|
+
botVersion?: BotVersion;
|
|
2811
|
+
/**
|
|
2812
|
+
* The identifier of the language and locale that the utterances are in.
|
|
2813
|
+
*/
|
|
2814
|
+
localeId?: LocaleId;
|
|
2815
|
+
/**
|
|
2816
|
+
* The time period used to aggregate the utterance data.
|
|
2817
|
+
*/
|
|
2818
|
+
aggregationDuration?: UtteranceAggregationDuration;
|
|
2819
|
+
/**
|
|
2820
|
+
* The date and time that the aggregation window begins. Only data collected after this time is returned in the results.
|
|
2821
|
+
*/
|
|
2822
|
+
aggregationWindowStartTime?: Timestamp;
|
|
2823
|
+
/**
|
|
2824
|
+
* The date and time that the aggregation window ends. Only data collected between the start time and the end time are returned in the results.
|
|
2825
|
+
*/
|
|
2826
|
+
aggregationWindowEndTime?: Timestamp;
|
|
2827
|
+
/**
|
|
2828
|
+
* The last date and time that the aggregated data was collected. The time period depends on the length of the aggregation window. Hours - for 1 hour time window, every half hour; otherwise every hour. Days - every 6 hours Weeks - for a one week time window, every 12 hours; otherwise, every day
|
|
2829
|
+
*/
|
|
2830
|
+
aggregationLastRefreshedDateTime?: Timestamp;
|
|
2831
|
+
/**
|
|
2832
|
+
* Summaries of the aggregated utterance data. Each response contains information about the number of times that the utterance was seen during the time period, whether it was detected or missed, and when it was seen during the time period.
|
|
2833
|
+
*/
|
|
2834
|
+
aggregatedUtterancesSummaries?: AggregatedUtterancesSummaryList;
|
|
2835
|
+
/**
|
|
2836
|
+
* A token that indicates whether there are more results to return in a response to the ListAggregatedUtterances operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListAggregatedUtterances operation request to get the next page of results.
|
|
2837
|
+
*/
|
|
2838
|
+
nextToken?: NextToken;
|
|
2839
|
+
}
|
|
2672
2840
|
export interface ListBotAliasesRequest {
|
|
2673
2841
|
/**
|
|
2674
2842
|
* The identifier of the bot to list aliases for.
|
|
@@ -3164,6 +3332,7 @@ declare namespace LexModelsV2 {
|
|
|
3164
3332
|
}
|
|
3165
3333
|
export type MessageGroupsList = MessageGroup[];
|
|
3166
3334
|
export type MessageVariationsList = Message[];
|
|
3335
|
+
export type MissedCount = number;
|
|
3167
3336
|
export interface MultipleValuesSetting {
|
|
3168
3337
|
/**
|
|
3169
3338
|
* 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.
|
|
@@ -3236,6 +3405,16 @@ declare namespace LexModelsV2 {
|
|
|
3236
3405
|
}
|
|
3237
3406
|
export type QueryFilterString = string;
|
|
3238
3407
|
export type RegexPattern = string;
|
|
3408
|
+
export interface RelativeAggregationDuration {
|
|
3409
|
+
/**
|
|
3410
|
+
* The type of time period that the timeValue field represents.
|
|
3411
|
+
*/
|
|
3412
|
+
timeDimension: TimeDimension;
|
|
3413
|
+
/**
|
|
3414
|
+
* The period of the time window to gather statistics for. The valid value depends on the setting of the timeDimension field. Hours - 1/3/6/12/24 Days - 3 Weeks - 1/2
|
|
3415
|
+
*/
|
|
3416
|
+
timeValue: TimeValue;
|
|
3417
|
+
}
|
|
3239
3418
|
export type ResourceCount = number;
|
|
3240
3419
|
export interface ResponseSpecification {
|
|
3241
3420
|
/**
|
|
@@ -3291,6 +3470,7 @@ declare namespace LexModelsV2 {
|
|
|
3291
3470
|
detectSentiment: Boolean;
|
|
3292
3471
|
}
|
|
3293
3472
|
export type ServicePrincipal = string;
|
|
3473
|
+
export type SessionId = string;
|
|
3294
3474
|
export type SessionTTL = number;
|
|
3295
3475
|
export type SkipResourceInUseCheck = boolean;
|
|
3296
3476
|
export type SlotConstraint = "Required"|"Optional"|string;
|
|
@@ -3569,6 +3749,8 @@ declare namespace LexModelsV2 {
|
|
|
3569
3749
|
destination: TextLogDestination;
|
|
3570
3750
|
}
|
|
3571
3751
|
export type TextLogSettingsList = TextLogSetting[];
|
|
3752
|
+
export type TimeDimension = "Hours"|"Days"|"Weeks"|string;
|
|
3753
|
+
export type TimeValue = number;
|
|
3572
3754
|
export type Timestamp = Date;
|
|
3573
3755
|
export interface UntagResourceRequest {
|
|
3574
3756
|
/**
|
|
@@ -4177,6 +4359,12 @@ declare namespace LexModelsV2 {
|
|
|
4177
4359
|
lastUpdatedDateTime?: Timestamp;
|
|
4178
4360
|
}
|
|
4179
4361
|
export type Utterance = string;
|
|
4362
|
+
export interface UtteranceAggregationDuration {
|
|
4363
|
+
/**
|
|
4364
|
+
* The desired time window for aggregating utterances.
|
|
4365
|
+
*/
|
|
4366
|
+
relativeAggregationDuration: RelativeAggregationDuration;
|
|
4367
|
+
}
|
|
4180
4368
|
export type Value = string;
|
|
4181
4369
|
export type VoiceId = string;
|
|
4182
4370
|
export interface VoiceSettings {
|