aws-sdk 2.1002.0 → 2.1006.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/README.md +1 -1
  3. package/apis/backup-2018-11-15.min.json +109 -38
  4. package/apis/chime-2018-05-01.min.json +263 -197
  5. package/apis/ec2-2016-11-15.min.json +235 -233
  6. package/apis/elasticloadbalancingv2-2015-12-01.min.json +26 -24
  7. package/apis/firehose-2015-08-04.min.json +198 -82
  8. package/apis/frauddetector-2019-11-15.min.json +358 -75
  9. package/apis/frauddetector-2019-11-15.paginators.json +5 -0
  10. package/apis/grafana-2020-08-18.examples.json +5 -0
  11. package/apis/grafana-2020-08-18.min.json +728 -0
  12. package/apis/grafana-2020-08-18.paginators.json +16 -0
  13. package/apis/kendra-2019-02-03.min.json +45 -38
  14. package/apis/mediaconvert-2017-08-29.min.json +77 -0
  15. package/apis/medialive-2017-10-14.min.json +297 -227
  16. package/apis/mediatailor-2018-04-23.min.json +288 -75
  17. package/apis/mediatailor-2018-04-23.paginators.json +6 -0
  18. package/apis/metadata.json +3 -0
  19. package/apis/models.lex.v2-2020-08-07.min.json +182 -118
  20. package/apis/securityhub-2018-10-26.min.json +634 -259
  21. package/clients/all.d.ts +1 -0
  22. package/clients/all.js +2 -1
  23. package/clients/backup.d.ts +72 -0
  24. package/clients/chime.d.ts +83 -3
  25. package/clients/ec2.d.ts +99 -94
  26. package/clients/ecs.d.ts +4 -4
  27. package/clients/elbv2.d.ts +10 -1
  28. package/clients/firehose.d.ts +62 -0
  29. package/clients/frauddetector.d.ts +434 -26
  30. package/clients/grafana.d.ts +718 -0
  31. package/clients/grafana.js +18 -0
  32. package/clients/kendra.d.ts +30 -1
  33. package/clients/lexmodelsv2.d.ts +72 -10
  34. package/clients/lexruntimev2.d.ts +7 -7
  35. package/clients/mediaconvert.d.ts +63 -0
  36. package/clients/medialive.d.ts +76 -5
  37. package/clients/mediatailor.d.ts +224 -0
  38. package/clients/secretsmanager.d.ts +27 -27
  39. package/clients/securityhub.d.ts +668 -11
  40. package/dist/aws-sdk-core-react-native.js +2 -2
  41. package/dist/aws-sdk-react-native.js +55 -18
  42. package/dist/aws-sdk.js +465 -342
  43. package/dist/aws-sdk.min.js +64 -64
  44. package/lib/config_service_placeholders.d.ts +2 -0
  45. package/lib/core.js +1 -1
  46. package/package.json +1 -1
@@ -0,0 +1,18 @@
1
+ require('../lib/node_loader');
2
+ var AWS = require('../lib/core');
3
+ var Service = AWS.Service;
4
+ var apiLoader = AWS.apiLoader;
5
+
6
+ apiLoader.services['grafana'] = {};
7
+ AWS.Grafana = Service.defineService('grafana', ['2020-08-18']);
8
+ Object.defineProperty(apiLoader.services['grafana'], '2020-08-18', {
9
+ get: function get() {
10
+ var model = require('../apis/grafana-2020-08-18.min.json');
11
+ model.paginators = require('../apis/grafana-2020-08-18.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.Grafana;
@@ -827,6 +827,10 @@ declare namespace Kendra {
827
827
  * A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.
828
828
  */
829
829
  ClientToken?: ClientTokenName;
830
+ /**
831
+ * The code for a language. This allows you to support a language for all documents when creating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
832
+ */
833
+ LanguageCode?: LanguageCode;
830
834
  }
831
835
  export interface CreateDataSourceResponse {
832
836
  /**
@@ -867,6 +871,10 @@ declare namespace Kendra {
867
871
  * A token that you provide to identify the request to create a FAQ. Multiple calls to the CreateFaqRequest operation with the same client token will create only one FAQ.
868
872
  */
869
873
  ClientToken?: ClientTokenName;
874
+ /**
875
+ * The code for a language. This allows you to support a language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
876
+ */
877
+ LanguageCode?: LanguageCode;
870
878
  }
871
879
  export interface CreateFaqResponse {
872
880
  /**
@@ -1076,6 +1084,10 @@ declare namespace Kendra {
1076
1084
  * The status of the data source. When the status is ACTIVE the data source is ready to use.
1077
1085
  */
1078
1086
  Status?: DataSourceStatus;
1087
+ /**
1088
+ * The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
1089
+ */
1090
+ LanguageCode?: LanguageCode;
1079
1091
  }
1080
1092
  export type DataSourceSummaryList = DataSourceSummary[];
1081
1093
  export interface DataSourceSyncJob {
@@ -1323,6 +1335,10 @@ declare namespace Kendra {
1323
1335
  * When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source to fail.
1324
1336
  */
1325
1337
  ErrorMessage?: ErrorMessage;
1338
+ /**
1339
+ * The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
1340
+ */
1341
+ LanguageCode?: LanguageCode;
1326
1342
  }
1327
1343
  export interface DescribeFaqRequest {
1328
1344
  /**
@@ -1376,6 +1392,10 @@ declare namespace Kendra {
1376
1392
  * The file format used by the input files for the FAQ.
1377
1393
  */
1378
1394
  FileFormat?: FaqFileFormat;
1395
+ /**
1396
+ * The code for a language. This shows a supported language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
1397
+ */
1398
+ LanguageCode?: LanguageCode;
1379
1399
  }
1380
1400
  export interface DescribeIndexRequest {
1381
1401
  /**
@@ -1838,6 +1858,10 @@ declare namespace Kendra {
1838
1858
  * The file type used to create the FAQ.
1839
1859
  */
1840
1860
  FileFormat?: FaqFileFormat;
1861
+ /**
1862
+ * The code for a language. This shows a supported language for the FAQ document as part of the summary information for FAQs. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
1863
+ */
1864
+ LanguageCode?: LanguageCode;
1841
1865
  }
1842
1866
  export type FaqSummaryItems = FaqSummary[];
1843
1867
  export type FeedbackToken = string;
@@ -2063,6 +2087,7 @@ declare namespace Kendra {
2063
2087
  }
2064
2088
  export type KeyLocation = "URL"|"SECRET_MANAGER"|string;
2065
2089
  export type KmsKeyId = string;
2090
+ export type LanguageCode = string;
2066
2091
  export interface ListDataSourceSyncJobsRequest {
2067
2092
  /**
2068
2093
  * The identifier of the data source.
@@ -2769,7 +2794,7 @@ declare namespace Kendra {
2769
2794
  */
2770
2795
  ScoreConfidence?: ScoreConfidence;
2771
2796
  }
2772
- export type ScoreConfidence = "VERY_HIGH"|"HIGH"|"MEDIUM"|"LOW"|string;
2797
+ export type ScoreConfidence = "VERY_HIGH"|"HIGH"|"MEDIUM"|"LOW"|"NOT_AVAILABLE"|string;
2773
2798
  export interface Search {
2774
2799
  /**
2775
2800
  * Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is false .
@@ -3196,6 +3221,10 @@ declare namespace Kendra {
3196
3221
  * The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.
3197
3222
  */
3198
3223
  RoleArn?: RoleArn;
3224
+ /**
3225
+ * The code for a language. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
3226
+ */
3227
+ LanguageCode?: LanguageCode;
3199
3228
  }
3200
3229
  export interface UpdateIndexRequest {
3201
3230
  /**
@@ -1063,7 +1063,7 @@ declare namespace LexModelsV2 {
1063
1063
  */
1064
1064
  description?: Description;
1065
1065
  /**
1066
- * Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For example, suppose a bot is configured with the confidence threshold of 0.80 and the AMAZON.FallbackIntent. Amazon Lex returns three alternative intents with the following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the PostText operation would be: AMAZON.FallbackIntent IntentA IntentB IntentC
1066
+ * Determines the threshold where Amazon Lex will insert the AMAZON.FallbackIntent, AMAZON.KendraSearchIntent, or both when returning alternative intents. AMAZON.FallbackIntent and AMAZON.KendraSearchIntent are only inserted if they are configured for the bot. For example, suppose a bot is configured with the confidence threshold of 0.80 and the AMAZON.FallbackIntent. Amazon Lex returns three alternative intents with the following confidence scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the RecognizeText operation would be: AMAZON.FallbackIntent IntentA IntentB IntentC
1067
1067
  */
1068
1068
  nluIntentConfidenceThreshold: ConfidenceThreshold;
1069
1069
  /**
@@ -2197,7 +2197,7 @@ declare namespace LexModelsV2 {
2197
2197
  */
2198
2198
  importStatus?: ImportStatus;
2199
2199
  /**
2200
- * If the importStatus field is Failed, this provides one or more reasons for the failture.
2200
+ * If the importStatus field is Failed, this provides one or more reasons for the failure.
2201
2201
  */
2202
2202
  failureReasons?: FailureReasons;
2203
2203
  /**
@@ -2476,7 +2476,7 @@ declare namespace LexModelsV2 {
2476
2476
  */
2477
2477
  name: ExportFilterName;
2478
2478
  /**
2479
- * The values to use to fileter the response.
2479
+ * The values to use to filter the response.
2480
2480
  */
2481
2481
  values: FilterValues;
2482
2482
  /**
@@ -2545,6 +2545,63 @@ declare namespace LexModelsV2 {
2545
2545
  * Indicates whether a Lambda function should be invoked to fulfill a specific intent.
2546
2546
  */
2547
2547
  enabled: Boolean;
2548
+ /**
2549
+ * Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
2550
+ */
2551
+ postFulfillmentStatusSpecification?: PostFulfillmentStatusSpecification;
2552
+ /**
2553
+ * Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
2554
+ */
2555
+ fulfillmentUpdatesSpecification?: FulfillmentUpdatesSpecification;
2556
+ }
2557
+ export type FulfillmentStartResponseDelay = number;
2558
+ export interface FulfillmentStartResponseSpecification {
2559
+ /**
2560
+ * The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
2561
+ */
2562
+ delayInSeconds: FulfillmentStartResponseDelay;
2563
+ /**
2564
+ * One to 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
2565
+ */
2566
+ messageGroups: MessageGroupsList;
2567
+ /**
2568
+ * Determines whether the user can interrupt the start message while it is playing.
2569
+ */
2570
+ allowInterrupt?: BoxedBoolean;
2571
+ }
2572
+ export type FulfillmentTimeout = number;
2573
+ export type FulfillmentUpdateResponseFrequency = number;
2574
+ export interface FulfillmentUpdateResponseSpecification {
2575
+ /**
2576
+ * The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.
2577
+ */
2578
+ frequencyInSeconds: FulfillmentUpdateResponseFrequency;
2579
+ /**
2580
+ * One to 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.
2581
+ */
2582
+ messageGroups: MessageGroupsList;
2583
+ /**
2584
+ * Determines whether the user can interrupt an update message while it is playing.
2585
+ */
2586
+ allowInterrupt?: BoxedBoolean;
2587
+ }
2588
+ export interface FulfillmentUpdatesSpecification {
2589
+ /**
2590
+ * Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent. If the active field is set to true, the startResponse, updateResponse, and timeoutInSeconds fields are required.
2591
+ */
2592
+ active: BoxedBoolean;
2593
+ /**
2594
+ * Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
2595
+ */
2596
+ startResponse?: FulfillmentStartResponseSpecification;
2597
+ /**
2598
+ * Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
2599
+ */
2600
+ updateResponse?: FulfillmentUpdateResponseSpecification;
2601
+ /**
2602
+ * The length of time that the fulfillment Lambda function should run before it times out.
2603
+ */
2604
+ timeoutInSeconds?: FulfillmentTimeout;
2548
2605
  }
2549
2606
  export type HitCount = number;
2550
2607
  export type Id = string;
@@ -2652,7 +2709,7 @@ declare namespace LexModelsV2 {
2652
2709
  */
2653
2710
  closingResponse: ResponseSpecification;
2654
2711
  /**
2655
- * Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user and no closing input from the user is used. If the active field isn't specified, the default is true.
2712
+ * Specifies whether an intent's closing response is used. When this field is false, the closing response isn't sent to the user. If the active field isn't specified, the default is true.
2656
2713
  */
2657
2714
  active?: BoxedBoolean;
2658
2715
  }
@@ -2666,7 +2723,7 @@ declare namespace LexModelsV2 {
2666
2723
  */
2667
2724
  declinationResponse: ResponseSpecification;
2668
2725
  /**
2669
- * Specifies whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent and processing continues as if the responses aren't present. If the active field isn't specified, the default is true.
2726
+ * Specifies whether the intent's confirmation is sent to the user. When this field is false, confirmation and declination responses aren't sent. If the active field isn't specified, the default is true.
2670
2727
  */
2671
2728
  active?: BoxedBoolean;
2672
2729
  }
@@ -3055,7 +3112,7 @@ declare namespace LexModelsV2 {
3055
3112
  */
3056
3113
  maxResults?: MaxResults;
3057
3114
  /**
3058
- * If the response from the ListExports operation contans 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.
3115
+ * If the response from the ListExports 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.
3059
3116
  */
3060
3117
  nextToken?: NextToken;
3061
3118
  }
@@ -3374,6 +3431,11 @@ declare namespace LexModelsV2 {
3374
3431
  }
3375
3432
  export type PlainTextMessageValue = string;
3376
3433
  export type Policy = string;
3434
+ export interface PostFulfillmentStatusSpecification {
3435
+ successResponse?: ResponseSpecification;
3436
+ failureResponse?: ResponseSpecification;
3437
+ timeoutResponse?: ResponseSpecification;
3438
+ }
3377
3439
  export type PresignedS3Url = string;
3378
3440
  export interface Principal {
3379
3441
  /**
@@ -3395,7 +3457,7 @@ declare namespace LexModelsV2 {
3395
3457
  */
3396
3458
  messageGroups: MessageGroupsList;
3397
3459
  /**
3398
- * The maximum number of times the bot tries to elicit a resonse from the user using this prompt.
3460
+ * The maximum number of times the bot tries to elicit a response from the user using this prompt.
3399
3461
  */
3400
3462
  maxRetries: PromptMaxRetries;
3401
3463
  /**
@@ -3616,14 +3678,14 @@ declare namespace LexModelsV2 {
3616
3678
  */
3617
3679
  sampleValue?: SampleValue;
3618
3680
  /**
3619
- * Additional values releated to the slot type entry.
3681
+ * Additional values related to the slot type entry.
3620
3682
  */
3621
3683
  synonyms?: SynonymList;
3622
3684
  }
3623
3685
  export type SlotTypeValues = SlotTypeValue[];
3624
3686
  export interface SlotValueElicitationSetting {
3625
3687
  /**
3626
- * A list of default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, sesion attributes, and defined values.
3688
+ * A list of default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.
3627
3689
  */
3628
3690
  defaultValueSpecification?: SlotDefaultValueSpecification;
3629
3691
  /**
@@ -4387,7 +4449,7 @@ declare namespace LexModelsV2 {
4387
4449
  */
4388
4450
  stillWaitingResponse?: StillWaitingResponseSpecification;
4389
4451
  /**
4390
- * Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used and the bot expects an appropriate response within the configured timeout. If the active field isn't specified, the default is true.
4452
+ * Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren't used. If the active field isn't specified, the default is true.
4391
4453
  */
4392
4454
  active?: BoxedBoolean;
4393
4455
  }
@@ -37,19 +37,19 @@ declare class LexRuntimeV2 extends Service {
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 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.
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. If the optional post-fulfillment response is specified, the messages are returned as follows. For more information, see PostFulfillmentStatusSpecification. Success message - Returned if the Lambda function completes successfully and the intent state is fulfilled or ready fulfillment if the message is present. Failed message - The failed message is returned if the Lambda function throws an exception or if the Lambda function returns a failed intent state without a message. Timeout message - If you don't configure a timeout message and a timeout, and the Lambda function doesn't return within 30 seconds, the timeout message is returned. If you configure a timeout, the timeout message is returned when the period times out. For more information, see Completion message.
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 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.
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. If the optional post-fulfillment response is specified, the messages are returned as follows. For more information, see PostFulfillmentStatusSpecification. Success message - Returned if the Lambda function completes successfully and the intent state is fulfilled or ready fulfillment if the message is present. Failed message - The failed message is returned if the Lambda function throws an exception or if the Lambda function returns a failed intent state without a message. Timeout message - If you don't configure a timeout message and a timeout, and the Lambda function doesn't return within 30 seconds, the timeout message is returned. If you configure a timeout, the timeout message is returned when the period times out. For more information, see Completion message.
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 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.
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. If the optional post-fulfillment response is specified, the messages are returned as follows. For more information, see PostFulfillmentStatusSpecification. Success message - Returned if the Lambda function completes successfully and the intent state is fulfilled or ready fulfillment if the message is present. Failed message - The failed message is returned if the Lambda function throws an exception or if the Lambda function returns a failed intent state without a message. Timeout message - If you don't configure a timeout message and a timeout, and the Lambda function doesn't return within 30 seconds, the timeout message is returned. If you configure a timeout, the timeout message is returned when the period times out. For more information, see Completion message.
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 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.
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. If the optional post-fulfillment response is specified, the messages are returned as follows. For more information, see PostFulfillmentStatusSpecification. Success message - Returned if the Lambda function completes successfully and the intent state is fulfilled or ready fulfillment if the message is present. Failed message - The failed message is returned if the Lambda function throws an exception or if the Lambda function returns a failed intent state without a message. Timeout message - If you don't configure a timeout message and a timeout, and the Lambda function doesn't return within 30 seconds, the timeout message is returned. If you configure a timeout, the timeout message is returned when the period times out. For more information, see Completion message.
53
53
  */
54
54
  recognizeUtterance(callback?: (err: AWSError, data: LexRuntimeV2.Types.RecognizeUtteranceResponse) => void): Request<LexRuntimeV2.Types.RecognizeUtteranceResponse, AWSError>;
55
55
  }
@@ -64,7 +64,7 @@ declare namespace LexRuntimeV2 {
64
64
  */
65
65
  timeToLive: ActiveContextTimeToLive;
66
66
  /**
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.
67
+ * A list of 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 V2 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
69
  contextAttributes: ActiveContextParametersMap;
70
70
  }
@@ -154,7 +154,7 @@ declare namespace LexRuntimeV2 {
154
154
  */
155
155
  slotToElicit?: NonEmptyString;
156
156
  }
157
- export type DialogActionType = "Close"|"ConfirmIntent"|"Delegate"|"ElicitIntent"|"ElicitSlot"|string;
157
+ export type DialogActionType = "Close"|"ConfirmIntent"|"Delegate"|"ElicitIntent"|"ElicitSlot"|"None"|string;
158
158
  export type Double = number;
159
159
  export interface GetSessionRequest {
160
160
  /**
@@ -228,7 +228,7 @@ declare namespace LexRuntimeV2 {
228
228
  */
229
229
  confirmationState?: ConfirmationState;
230
230
  }
231
- export type IntentState = "Failed"|"Fulfilled"|"InProgress"|"ReadyForFulfillment"|"Waiting"|string;
231
+ export type IntentState = "Failed"|"Fulfilled"|"InProgress"|"ReadyForFulfillment"|"Waiting"|"FulfillmentInProgress"|string;
232
232
  export interface Interpretation {
233
233
  /**
234
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.
@@ -67,6 +67,14 @@ declare class MediaConvert extends Service {
67
67
  * Permanently delete a job template you have created.
68
68
  */
69
69
  deleteJobTemplate(callback?: (err: AWSError, data: MediaConvert.Types.DeleteJobTemplateResponse) => void): Request<MediaConvert.Types.DeleteJobTemplateResponse, AWSError>;
70
+ /**
71
+ * Permanently delete a policy that you created.
72
+ */
73
+ deletePolicy(params: MediaConvert.Types.DeletePolicyRequest, callback?: (err: AWSError, data: MediaConvert.Types.DeletePolicyResponse) => void): Request<MediaConvert.Types.DeletePolicyResponse, AWSError>;
74
+ /**
75
+ * Permanently delete a policy that you created.
76
+ */
77
+ deletePolicy(callback?: (err: AWSError, data: MediaConvert.Types.DeletePolicyResponse) => void): Request<MediaConvert.Types.DeletePolicyResponse, AWSError>;
70
78
  /**
71
79
  * Permanently delete a preset you have created.
72
80
  */
@@ -115,6 +123,14 @@ declare class MediaConvert extends Service {
115
123
  * Retrieve the JSON for a specific job template.
116
124
  */
117
125
  getJobTemplate(callback?: (err: AWSError, data: MediaConvert.Types.GetJobTemplateResponse) => void): Request<MediaConvert.Types.GetJobTemplateResponse, AWSError>;
126
+ /**
127
+ * Retrieve the JSON for your policy.
128
+ */
129
+ getPolicy(params: MediaConvert.Types.GetPolicyRequest, callback?: (err: AWSError, data: MediaConvert.Types.GetPolicyResponse) => void): Request<MediaConvert.Types.GetPolicyResponse, AWSError>;
130
+ /**
131
+ * Retrieve the JSON for your policy.
132
+ */
133
+ getPolicy(callback?: (err: AWSError, data: MediaConvert.Types.GetPolicyResponse) => void): Request<MediaConvert.Types.GetPolicyResponse, AWSError>;
118
134
  /**
119
135
  * Retrieve the JSON for a specific preset.
120
136
  */
@@ -171,6 +187,14 @@ declare class MediaConvert extends Service {
171
187
  * Retrieve the tags for a MediaConvert resource.
172
188
  */
173
189
  listTagsForResource(callback?: (err: AWSError, data: MediaConvert.Types.ListTagsForResourceResponse) => void): Request<MediaConvert.Types.ListTagsForResourceResponse, AWSError>;
190
+ /**
191
+ * Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
192
+ */
193
+ putPolicy(params: MediaConvert.Types.PutPolicyRequest, callback?: (err: AWSError, data: MediaConvert.Types.PutPolicyResponse) => void): Request<MediaConvert.Types.PutPolicyResponse, AWSError>;
194
+ /**
195
+ * Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
196
+ */
197
+ putPolicy(callback?: (err: AWSError, data: MediaConvert.Types.PutPolicyResponse) => void): Request<MediaConvert.Types.PutPolicyResponse, AWSError>;
174
198
  /**
175
199
  * Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
176
200
  */
@@ -1562,6 +1586,10 @@ All burn-in and DVB-Sub font settings must match.
1562
1586
  }
1563
1587
  export interface DeleteJobTemplateResponse {
1564
1588
  }
1589
+ export interface DeletePolicyRequest {
1590
+ }
1591
+ export interface DeletePolicyResponse {
1592
+ }
1565
1593
  export interface DeletePresetRequest {
1566
1594
  /**
1567
1595
  * The name of the preset to be deleted.
@@ -2144,6 +2172,14 @@ All burn-in and DVB-Sub font settings must match.
2144
2172
  */
2145
2173
  JobTemplate?: JobTemplate;
2146
2174
  }
2175
+ export interface GetPolicyRequest {
2176
+ }
2177
+ export interface GetPolicyResponse {
2178
+ /**
2179
+ * A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
2180
+ */
2181
+ Policy?: Policy;
2182
+ }
2147
2183
  export interface GetPresetRequest {
2148
2184
  /**
2149
2185
  * The name of the preset.
@@ -3054,6 +3090,7 @@ All burn-in and DVB-Sub font settings must match.
3054
3090
  }
3055
3091
  export type InputDenoiseFilter = "ENABLED"|"DISABLED"|string;
3056
3092
  export type InputFilterEnable = "AUTO"|"DISABLE"|"FORCE"|string;
3093
+ export type InputPolicy = "ALLOWED"|"DISALLOWED"|string;
3057
3094
  export type InputPsiControl = "IGNORE_PSI"|"USE_PSI"|string;
3058
3095
  export type InputRotate = "DEGREE_0"|"DEGREES_90"|"DEGREES_180"|"DEGREES_270"|"AUTO"|string;
3059
3096
  export type InputSampleRange = "FOLLOW"|"FULL_RANGE"|"LIMITED_RANGE"|string;
@@ -4561,6 +4598,20 @@ All burn-in and DVB-Sub font settings must match.
4561
4598
  */
4562
4599
  NexguardFileMarkerSettings?: NexGuardFileMarkerSettings;
4563
4600
  }
4601
+ export interface Policy {
4602
+ /**
4603
+ * Allow or disallow jobs that specify HTTP inputs.
4604
+ */
4605
+ HttpInputs?: InputPolicy;
4606
+ /**
4607
+ * Allow or disallow jobs that specify HTTPS inputs.
4608
+ */
4609
+ HttpsInputs?: InputPolicy;
4610
+ /**
4611
+ * Allow or disallow jobs that specify Amazon S3 inputs.
4612
+ */
4613
+ S3Inputs?: InputPolicy;
4614
+ }
4564
4615
  export interface Preset {
4565
4616
  /**
4566
4617
  * An identifier for this resource that is unique within all of AWS.
@@ -4678,6 +4729,18 @@ All burn-in and DVB-Sub font settings must match.
4678
4729
  }
4679
4730
  export type ProresSlowPal = "DISABLED"|"ENABLED"|string;
4680
4731
  export type ProresTelecine = "NONE"|"HARD"|string;
4732
+ export interface PutPolicyRequest {
4733
+ /**
4734
+ * A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
4735
+ */
4736
+ Policy: Policy;
4737
+ }
4738
+ export interface PutPolicyResponse {
4739
+ /**
4740
+ * A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
4741
+ */
4742
+ Policy?: Policy;
4743
+ }
4681
4744
  export interface Queue {
4682
4745
  /**
4683
4746
  * An identifier for this resource that is unique within all of AWS.
@@ -61,6 +61,14 @@ declare class MediaLive extends Service {
61
61
  * Cancel an input device transfer that you have requested.
62
62
  */
63
63
  cancelInputDeviceTransfer(callback?: (err: AWSError, data: MediaLive.Types.CancelInputDeviceTransferResponse) => void): Request<MediaLive.Types.CancelInputDeviceTransferResponse, AWSError>;
64
+ /**
65
+ * Send a request to claim an AWS Elemental device that you have purchased from a third-party vendor. After the request succeeds, you will own the device.
66
+ */
67
+ claimDevice(params: MediaLive.Types.ClaimDeviceRequest, callback?: (err: AWSError, data: MediaLive.Types.ClaimDeviceResponse) => void): Request<MediaLive.Types.ClaimDeviceResponse, AWSError>;
68
+ /**
69
+ * Send a request to claim an AWS Elemental device that you have purchased from a third-party vendor. After the request succeeds, you will own the device.
70
+ */
71
+ claimDevice(callback?: (err: AWSError, data: MediaLive.Types.ClaimDeviceResponse) => void): Request<MediaLive.Types.ClaimDeviceResponse, AWSError>;
64
72
  /**
65
73
  * Creates a new channel
66
74
  */
@@ -731,6 +739,10 @@ Leave set to "normal" when input does not contain pre-mixed audio + AD.
731
739
  Note that this field and audioType are both ignored if inputType is broadcasterMixedAd.
732
740
  */
733
741
  AudioTypeControl?: AudioDescriptionAudioTypeControl;
742
+ /**
743
+ * Settings to configure one or more solutions that insert audio watermarks in the audio encode
744
+ */
745
+ AudioWatermarkingSettings?: AudioWatermarkSettings;
734
746
  /**
735
747
  * Audio codec settings.
736
748
  */
@@ -874,6 +886,12 @@ Alternate rendition that the client will not try to play back by default. Repres
874
886
  Tracks: __listOfAudioTrack;
875
887
  }
876
888
  export type AudioType = "CLEAN_EFFECTS"|"HEARING_IMPAIRED"|"UNDEFINED"|"VISUAL_IMPAIRED_COMMENTARY"|string;
889
+ export interface AudioWatermarkSettings {
890
+ /**
891
+ * Settings to configure Nielsen Watermarks in the audio encode
892
+ */
893
+ NielsenWatermarksSettings?: NielsenWatermarksSettings;
894
+ }
877
895
  export type AuthenticationScheme = "AKAMAI"|"COMMON"|string;
878
896
  export interface AutomaticInputFailoverSettings {
879
897
  /**
@@ -1411,10 +1429,18 @@ one destination per packager.
1411
1429
  */
1412
1430
  Tags?: Tags;
1413
1431
  /**
1414
- * Settings for VPC output
1432
+ * Settings for any VPC outputs.
1415
1433
  */
1416
1434
  Vpc?: VpcOutputSettingsDescription;
1417
1435
  }
1436
+ export interface ClaimDeviceRequest {
1437
+ /**
1438
+ * The id of the device you want to claim.
1439
+ */
1440
+ Id?: __string;
1441
+ }
1442
+ export interface ClaimDeviceResponse {
1443
+ }
1418
1444
  export interface ColorSpacePassthroughSettings {
1419
1445
  }
1420
1446
  export interface CreateChannelRequest {
@@ -1463,7 +1489,7 @@ creating multiple resources.
1463
1489
  */
1464
1490
  Tags?: Tags;
1465
1491
  /**
1466
- * Settings for VPC output
1492
+ * Settings for the VPC outputs
1467
1493
  */
1468
1494
  Vpc?: VpcOutputSettings;
1469
1495
  }
@@ -2077,7 +2103,7 @@ SINGLE_PIPELINE - You can connect only one source to this input. If the ChannelC
2077
2103
  InputPartnerIds?: __listOf__string;
2078
2104
  /**
2079
2105
  * Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes
2080
- during input switch actions. Presently, this functionality only works with MP4_FILE inputs.
2106
+ during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.
2081
2107
 
2082
2108
  */
2083
2109
  InputSourceType?: InputSourceType;
@@ -3666,7 +3692,7 @@ SINGLE_PIPELINE - You can connect only one source to this input. If the ChannelC
3666
3692
  InputPartnerIds?: __listOf__string;
3667
3693
  /**
3668
3694
  * Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes
3669
- during input switch actions. Presently, this functionality only works with MP4_FILE inputs.
3695
+ during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.
3670
3696
 
3671
3697
  */
3672
3698
  InputSourceType?: InputSourceType;
@@ -4155,7 +4181,7 @@ pulled from.
4155
4181
  UrlPath?: __listOf__string;
4156
4182
  }
4157
4183
  export type InputTimecodeSource = "ZEROBASED"|"EMBEDDED"|string;
4158
- export type InputType = "UDP_PUSH"|"RTP_PUSH"|"RTMP_PUSH"|"RTMP_PULL"|"URL_PULL"|"MP4_FILE"|"MEDIACONNECT"|"INPUT_DEVICE"|"AWS_CDI"|string;
4184
+ export type InputType = "UDP_PUSH"|"RTP_PUSH"|"RTMP_PUSH"|"RTMP_PULL"|"URL_PULL"|"MP4_FILE"|"MEDIACONNECT"|"INPUT_DEVICE"|"AWS_CDI"|"TS_FILE"|string;
4159
4185
  export interface InputVpcRequest {
4160
4186
  /**
4161
4187
  * A list of up to 5 EC2 VPC security group IDs to attach to the Input VPC network interfaces.
@@ -5212,6 +5238,20 @@ When this field is defined, ConstantBitrate must be undefined.
5212
5238
  */
5213
5239
  ServerValidation?: NetworkInputServerValidation;
5214
5240
  }
5241
+ export interface NielsenCBET {
5242
+ /**
5243
+ * Enter the CBET check digits to use in the watermark.
5244
+ */
5245
+ CbetCheckDigitString: __stringMin2Max2;
5246
+ /**
5247
+ * Determines the method of CBET insertion mode when prior encoding is detected on the same layer.
5248
+ */
5249
+ CbetStepaside: NielsenWatermarksCbetStepaside;
5250
+ /**
5251
+ * Enter the CBET Source ID (CSID) to use in the watermark
5252
+ */
5253
+ Csid: __stringMin1Max7;
5254
+ }
5215
5255
  export interface NielsenConfiguration {
5216
5256
  /**
5217
5257
  * Enter the Distributor ID assigned to your organization by Nielsen.
@@ -5222,7 +5262,35 @@ When this field is defined, ConstantBitrate must be undefined.
5222
5262
  */
5223
5263
  NielsenPcmToId3Tagging?: NielsenPcmToId3TaggingState;
5224
5264
  }
5265
+ export interface NielsenNaesIiNw {
5266
+ /**
5267
+ * Enter the check digit string for the watermark
5268
+ */
5269
+ CheckDigitString: __stringMin2Max2;
5270
+ /**
5271
+ * Enter the Nielsen Source ID (SID) to include in the watermark
5272
+ */
5273
+ Sid: __doubleMin1Max65535;
5274
+ }
5225
5275
  export type NielsenPcmToId3TaggingState = "DISABLED"|"ENABLED"|string;
5276
+ export type NielsenWatermarksCbetStepaside = "DISABLED"|"ENABLED"|string;
5277
+ export type NielsenWatermarksDistributionTypes = "FINAL_DISTRIBUTOR"|"PROGRAM_CONTENT"|string;
5278
+ export interface NielsenWatermarksSettings {
5279
+ /**
5280
+ * Complete these fields only if you want to insert watermarks of type Nielsen CBET
5281
+ */
5282
+ NielsenCbetSettings?: NielsenCBET;
5283
+ /**
5284
+ * Choose the distribution types that you want to assign to the watermarks:
5285
+ - PROGRAM_CONTENT
5286
+ - FINAL_DISTRIBUTOR
5287
+ */
5288
+ NielsenDistributionType?: NielsenWatermarksDistributionTypes;
5289
+ /**
5290
+ * Complete these fields only if you want to insert watermarks of type Nielsen NAES II (N2) and Nielsen NAES VI (NW).
5291
+ */
5292
+ NielsenNaesIiNwSettings?: NielsenNaesIiNw;
5293
+ }
5226
5294
  export interface Offering {
5227
5295
  /**
5228
5296
  * Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
@@ -6729,6 +6797,7 @@ If STANDARD channel, subnet IDs must be mapped to two unique availability zones
6729
6797
  export type __doubleMin0Max1 = number;
6730
6798
  export type __doubleMin0Max100 = number;
6731
6799
  export type __doubleMin1 = number;
6800
+ export type __doubleMin1Max65535 = number;
6732
6801
  export type __doubleMinNegative59Max0 = number;
6733
6802
  export type __integer = number;
6734
6803
  export type __integerMin0 = number;
@@ -6842,6 +6911,8 @@ If STANDARD channel, subnet IDs must be mapped to two unique availability zones
6842
6911
  export type __stringMin1Max255 = string;
6843
6912
  export type __stringMin1Max256 = string;
6844
6913
  export type __stringMin1Max35 = string;
6914
+ export type __stringMin1Max7 = string;
6915
+ export type __stringMin2Max2 = string;
6845
6916
  export type __stringMin32Max32 = string;
6846
6917
  export type __stringMin34Max34 = string;
6847
6918
  export type __stringMin3Max3 = string;