aws-sdk 2.1020.0 → 2.1024.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 (39) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/README.md +1 -1
  3. package/apis/chime-sdk-meetings-2021-07-15.examples.json +5 -0
  4. package/apis/chime-sdk-meetings-2021-07-15.min.json +474 -0
  5. package/apis/chime-sdk-meetings-2021-07-15.paginators.json +9 -0
  6. package/apis/connect-2017-08-08.min.json +230 -61
  7. package/apis/connect-2017-08-08.paginators.json +6 -0
  8. package/apis/datasync-2018-11-09.min.json +207 -56
  9. package/apis/ec2-2016-11-15.min.json +513 -499
  10. package/apis/finspace-2021-03-12.min.json +24 -4
  11. package/apis/iotwireless-2020-11-22.min.json +993 -100
  12. package/apis/iotwireless-2020-11-22.paginators.json +15 -0
  13. package/apis/macie2-2020-01-01.min.json +104 -77
  14. package/apis/metadata.json +4 -0
  15. package/apis/sagemaker-2017-07-24.min.json +617 -537
  16. package/apis/translate-2017-07-01.min.json +4 -1
  17. package/apis/wafv2-2019-07-29.min.json +130 -79
  18. package/clients/all.d.ts +1 -0
  19. package/clients/all.js +2 -1
  20. package/clients/chimesdkmeetings.d.ts +486 -0
  21. package/clients/chimesdkmeetings.js +18 -0
  22. package/clients/connect.d.ts +194 -21
  23. package/clients/connectparticipant.d.ts +1 -1
  24. package/clients/datasync.d.ts +241 -11
  25. package/clients/ec2.d.ts +23 -6
  26. package/clients/finspace.d.ts +26 -0
  27. package/clients/iotwireless.d.ts +577 -6
  28. package/clients/macie2.d.ts +36 -16
  29. package/clients/resourcegroupstaggingapi.d.ts +29 -29
  30. package/clients/sagemaker.d.ts +111 -16
  31. package/clients/translate.d.ts +13 -12
  32. package/clients/wafv2.d.ts +70 -10
  33. package/dist/aws-sdk-core-react-native.js +2 -2
  34. package/dist/aws-sdk-react-native.js +52 -15
  35. package/dist/aws-sdk.js +760 -564
  36. package/dist/aws-sdk.min.js +71 -71
  37. package/lib/config_service_placeholders.d.ts +2 -0
  38. package/lib/core.js +1 -1
  39. package/package.json +1 -1
@@ -2157,7 +2157,7 @@ declare namespace SageMaker {
2157
2157
  export type AgentVersions = AgentVersion[];
2158
2158
  export interface Alarm {
2159
2159
  /**
2160
- *
2160
+ * The name of a CloudWatch alarm in your account.
2161
2161
  */
2162
2162
  AlarmName?: AlarmName;
2163
2163
  }
@@ -2747,7 +2747,7 @@ declare namespace SageMaker {
2747
2747
  export type AutoMLSortOrder = "Ascending"|"Descending"|string;
2748
2748
  export interface AutoRollbackConfig {
2749
2749
  /**
2750
- *
2750
+ * List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.
2751
2751
  */
2752
2752
  Alarms?: AlarmList;
2753
2753
  }
@@ -2821,15 +2821,15 @@ declare namespace SageMaker {
2821
2821
  export type BlockedReason = string;
2822
2822
  export interface BlueGreenUpdatePolicy {
2823
2823
  /**
2824
- *
2824
+ * Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.
2825
2825
  */
2826
2826
  TrafficRoutingConfiguration: TrafficRoutingConfig;
2827
2827
  /**
2828
- *
2828
+ * Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.
2829
2829
  */
2830
2830
  TerminationWaitInSeconds?: TerminationWaitInSeconds;
2831
2831
  /**
2832
- *
2832
+ * Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.
2833
2833
  */
2834
2834
  MaximumExecutionTimeoutInSeconds?: MaximumExecutionTimeoutInSeconds;
2835
2835
  }
@@ -2883,11 +2883,11 @@ declare namespace SageMaker {
2883
2883
  export type CandidateSteps = AutoMLCandidateStep[];
2884
2884
  export interface CapacitySize {
2885
2885
  /**
2886
- * This API is not supported.
2886
+ * Specifies the endpoint capacity type. INSTANCE_COUNT: The endpoint activates based on the number of instances. CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.
2887
2887
  */
2888
2888
  Type: CapacitySizeType;
2889
2889
  /**
2890
- *
2890
+ * Defines the capacity size, either as a number of instances or a capacity percentage.
2891
2891
  */
2892
2892
  Value: CapacitySizeValue;
2893
2893
  }
@@ -3735,6 +3735,7 @@ declare namespace SageMaker {
3735
3735
  * The name of an endpoint configuration. For more information, see CreateEndpointConfig.
3736
3736
  */
3737
3737
  EndpointConfigName: EndpointConfigName;
3738
+ DeploymentConfig?: DeploymentConfig;
3738
3739
  /**
3739
3740
  * An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
3740
3741
  */
@@ -5408,11 +5409,11 @@ declare namespace SageMaker {
5408
5409
  export type DeployedImages = DeployedImage[];
5409
5410
  export interface DeploymentConfig {
5410
5411
  /**
5411
- *
5412
+ * Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.
5412
5413
  */
5413
5414
  BlueGreenUpdatePolicy: BlueGreenUpdatePolicy;
5414
5415
  /**
5415
- *
5416
+ * Automatic rollback configuration for handling endpoint deployment failures and recovery.
5416
5417
  */
5417
5418
  AutoRollbackConfiguration?: AutoRollbackConfig;
5418
5419
  }
@@ -6028,6 +6029,10 @@ declare namespace SageMaker {
6028
6029
  * The response from the last list when returning a list large enough to need tokening.
6029
6030
  */
6030
6031
  NextToken?: NextToken;
6032
+ /**
6033
+ * Edge Manager agent version.
6034
+ */
6035
+ AgentVersion?: EdgeVersion;
6031
6036
  }
6032
6037
  export interface DescribeDomainRequest {
6033
6038
  /**
@@ -6266,6 +6271,10 @@ declare namespace SageMaker {
6266
6271
  * Returns the description of an endpoint configuration created using the CreateEndpointConfig API.
6267
6272
  */
6268
6273
  AsyncInferenceConfig?: AsyncInferenceConfig;
6274
+ /**
6275
+ * Returns the summary of an in-progress deployment. This field is only returned when the endpoint is creating or updating with a new endpoint configuration.
6276
+ */
6277
+ PendingDeploymentSummary?: PendingDeploymentSummary;
6269
6278
  }
6270
6279
  export interface DescribeExperimentRequest {
6271
6280
  /**
@@ -7967,6 +7976,10 @@ declare namespace SageMaker {
7967
7976
  * Models on the device.
7968
7977
  */
7969
7978
  Models?: EdgeModelSummaries;
7979
+ /**
7980
+ * Edge Manager agent version.
7981
+ */
7982
+ AgentVersion?: EdgeVersion;
7970
7983
  }
7971
7984
  export type Devices = Device[];
7972
7985
  export type DirectInternetAccess = "Enabled"|"Disabled"|string;
@@ -8834,11 +8847,11 @@ declare namespace SageMaker {
8834
8847
  */
8835
8848
  NumberOfHumanWorkersPerDataObject: NumberOfHumanWorkersPerDataObject;
8836
8849
  /**
8837
- * The amount of time that a worker has to complete a task. If you create a custom labeling job, the maximum value for this parameter is 8 hours (28,800 seconds). If you create a labeling job using a built-in task type the maximum for this parameter depends on the task type you use: For image and text labeling jobs, the maximum is 8 hours (28,800 seconds). For 3D point cloud and video frame labeling jobs, the maximum is 7 days (604,800 seconds). If you want to change these limits, contact Amazon Web Services Support.
8850
+ * The amount of time that a worker has to complete a task. If you create a custom labeling job, the maximum value for this parameter is 8 hours (28,800 seconds). If you create a labeling job using a built-in task type the maximum for this parameter depends on the task type you use: For image and text labeling jobs, the maximum is 8 hours (28,800 seconds). For 3D point cloud and video frame labeling jobs, the maximum is 30 days (2952,000 seconds) for non-AL mode. For most users, the maximum is also 30 days. If you want to change these limits, contact Amazon Web Services Support.
8838
8851
  */
8839
8852
  TaskTimeLimitInSeconds: TaskTimeLimitInSeconds;
8840
8853
  /**
8841
- * The length of time that a task remains available for labeling by human workers. The default and maximum values for this parameter depend on the type of workforce you use. If you choose the Amazon Mechanical Turk workforce, the maximum is 12 hours (43,200 seconds). The default is 6 hours (21,600 seconds). If you choose a private or vendor workforce, the default value is 10 days (864,000 seconds). For most users, the maximum is also 10 days. If you want to change this limit, contact Amazon Web Services Support.
8854
+ * The length of time that a task remains available for labeling by human workers. The default and maximum values for this parameter depend on the type of workforce you use. If you choose the Amazon Mechanical Turk workforce, the maximum is 12 hours (43,200 seconds). The default is 6 hours (21,600 seconds). If you choose a private or vendor workforce, the default value is 30 days (2592,000 seconds) for non-AL mode. For most users, the maximum is also 30 days. If you want to change this limit, contact Amazon Web Services Support.
8842
8855
  */
8843
8856
  TaskAvailabilityLifetimeInSeconds?: TaskAvailabilityLifetimeInSeconds;
8844
8857
  /**
@@ -13215,6 +13228,59 @@ declare namespace SageMaker {
13215
13228
  }
13216
13229
  export type ParentHyperParameterTuningJobs = ParentHyperParameterTuningJob[];
13217
13230
  export type Parents = Parent[];
13231
+ export interface PendingDeploymentSummary {
13232
+ /**
13233
+ * The name of the endpoint configuration used in the deployment.
13234
+ */
13235
+ EndpointConfigName: EndpointConfigName;
13236
+ /**
13237
+ * List of PendingProductionVariantSummary objects.
13238
+ */
13239
+ ProductionVariants?: PendingProductionVariantSummaryList;
13240
+ /**
13241
+ * The start time of the deployment.
13242
+ */
13243
+ StartTime?: Timestamp;
13244
+ }
13245
+ export interface PendingProductionVariantSummary {
13246
+ /**
13247
+ * The name of the variant.
13248
+ */
13249
+ VariantName: VariantName;
13250
+ /**
13251
+ * An array of DeployedImage objects that specify the Amazon EC2 Container Registry paths of the inference images deployed on instances of this ProductionVariant.
13252
+ */
13253
+ DeployedImages?: DeployedImages;
13254
+ /**
13255
+ * The weight associated with the variant.
13256
+ */
13257
+ CurrentWeight?: VariantWeight;
13258
+ /**
13259
+ * The requested weight for the variant in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.
13260
+ */
13261
+ DesiredWeight?: VariantWeight;
13262
+ /**
13263
+ * The number of instances associated with the variant.
13264
+ */
13265
+ CurrentInstanceCount?: TaskCount;
13266
+ /**
13267
+ * The number of instances requested in this deployment, as specified in the endpoint configuration for the endpoint. The value is taken from the request to the CreateEndpointConfig operation.
13268
+ */
13269
+ DesiredInstanceCount?: TaskCount;
13270
+ /**
13271
+ * The type of instances associated with the variant.
13272
+ */
13273
+ InstanceType?: ProductionVariantInstanceType;
13274
+ /**
13275
+ * The size of the Elastic Inference (EI) instance to use for the production variant. EI instances provide on-demand GPU computing for inference. For more information, see Using Elastic Inference in Amazon SageMaker.
13276
+ */
13277
+ AcceleratorType?: ProductionVariantAcceleratorType;
13278
+ /**
13279
+ * The endpoint variant status which describes the current deployment stage status or operational status.
13280
+ */
13281
+ VariantStatus?: ProductionVariantStatusList;
13282
+ }
13283
+ export type PendingProductionVariantSummaryList = PendingProductionVariantSummary[];
13218
13284
  export interface Pipeline {
13219
13285
  /**
13220
13286
  * The Amazon Resource Name (ARN) of the pipeline.
@@ -13751,6 +13817,21 @@ declare namespace SageMaker {
13751
13817
  }
13752
13818
  export type ProductionVariantInstanceType = "ml.t2.medium"|"ml.t2.large"|"ml.t2.xlarge"|"ml.t2.2xlarge"|"ml.m4.xlarge"|"ml.m4.2xlarge"|"ml.m4.4xlarge"|"ml.m4.10xlarge"|"ml.m4.16xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.12xlarge"|"ml.m5.24xlarge"|"ml.m5d.large"|"ml.m5d.xlarge"|"ml.m5d.2xlarge"|"ml.m5d.4xlarge"|"ml.m5d.12xlarge"|"ml.m5d.24xlarge"|"ml.c4.large"|"ml.c4.xlarge"|"ml.c4.2xlarge"|"ml.c4.4xlarge"|"ml.c4.8xlarge"|"ml.p2.xlarge"|"ml.p2.8xlarge"|"ml.p2.16xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.c5.large"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.18xlarge"|"ml.c5d.large"|"ml.c5d.xlarge"|"ml.c5d.2xlarge"|"ml.c5d.4xlarge"|"ml.c5d.9xlarge"|"ml.c5d.18xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.r5.large"|"ml.r5.xlarge"|"ml.r5.2xlarge"|"ml.r5.4xlarge"|"ml.r5.12xlarge"|"ml.r5.24xlarge"|"ml.r5d.large"|"ml.r5d.xlarge"|"ml.r5d.2xlarge"|"ml.r5d.4xlarge"|"ml.r5d.12xlarge"|"ml.r5d.24xlarge"|"ml.inf1.xlarge"|"ml.inf1.2xlarge"|"ml.inf1.6xlarge"|"ml.inf1.24xlarge"|string;
13753
13819
  export type ProductionVariantList = ProductionVariant[];
13820
+ export interface ProductionVariantStatus {
13821
+ /**
13822
+ * The endpoint variant status which describes the current deployment stage status or operational status. Creating: Creating inference resources for the production variant. Deleting: Terminating inference resources for the production variant. Updating: Updating capacity for the production variant. ActivatingTraffic: Turning on traffic for the production variant. Baking: Waiting period to monitor the CloudWatch alarms in the automatic rollback configuration.
13823
+ */
13824
+ Status: VariantStatus;
13825
+ /**
13826
+ * A message that describes the status of the production variant.
13827
+ */
13828
+ StatusMessage?: VariantStatusMessage;
13829
+ /**
13830
+ * The start time of the current status change.
13831
+ */
13832
+ StartTime?: Timestamp;
13833
+ }
13834
+ export type ProductionVariantStatusList = ProductionVariantStatus[];
13754
13835
  export interface ProductionVariantSummary {
13755
13836
  /**
13756
13837
  * The name of the variant.
@@ -13776,6 +13857,10 @@ declare namespace SageMaker {
13776
13857
  * The number of instances requested in the UpdateEndpointWeightsAndCapacities request.
13777
13858
  */
13778
13859
  DesiredInstanceCount?: TaskCount;
13860
+ /**
13861
+ * The endpoint variant status which describes the current deployment stage status or operational status.
13862
+ */
13863
+ VariantStatus?: ProductionVariantStatusList;
13779
13864
  }
13780
13865
  export type ProductionVariantSummaryList = ProductionVariantSummary[];
13781
13866
  export interface ProfilerConfig {
@@ -14780,19 +14865,23 @@ declare namespace SageMaker {
14780
14865
  export type Timestamp = Date;
14781
14866
  export interface TrafficRoutingConfig {
14782
14867
  /**
14783
- *
14868
+ * Traffic routing strategy type. ALL_AT_ONCE: Endpoint traffic shifts to the new fleet in a single step. CANARY: Endpoint traffic shifts to the new fleet in two steps. The first step is the canary, which is a small portion of the traffic. The second step is the remainder of the traffic. LINEAR: Endpoint traffic shifts to the new fleet in n steps of a configurable size.
14784
14869
  */
14785
14870
  Type: TrafficRoutingConfigType;
14786
14871
  /**
14787
- *
14872
+ * The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet.
14788
14873
  */
14789
14874
  WaitIntervalInSeconds: WaitIntervalInSeconds;
14790
14875
  /**
14791
- *
14876
+ * Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count.
14792
14877
  */
14793
14878
  CanarySize?: CapacitySize;
14879
+ /**
14880
+ * Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count.
14881
+ */
14882
+ LinearStepSize?: CapacitySize;
14794
14883
  }
14795
- export type TrafficRoutingConfigType = "ALL_AT_ONCE"|"CANARY"|string;
14884
+ export type TrafficRoutingConfigType = "ALL_AT_ONCE"|"CANARY"|"LINEAR"|string;
14796
14885
  export type TrainingEnvironmentKey = string;
14797
14886
  export type TrainingEnvironmentMap = {[key: string]: TrainingEnvironmentValue};
14798
14887
  export type TrainingEnvironmentValue = string;
@@ -15810,9 +15899,13 @@ declare namespace SageMaker {
15810
15899
  */
15811
15900
  ExcludeRetainedVariantProperties?: VariantPropertyList;
15812
15901
  /**
15813
- * The deployment configuration for the endpoint to be updated.
15902
+ * The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
15814
15903
  */
15815
15904
  DeploymentConfig?: DeploymentConfig;
15905
+ /**
15906
+ * Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).
15907
+ */
15908
+ RetainDeploymentConfig?: Boolean;
15816
15909
  }
15817
15910
  export interface UpdateEndpointOutput {
15818
15911
  /**
@@ -16309,6 +16402,8 @@ declare namespace SageMaker {
16309
16402
  }
16310
16403
  export type VariantPropertyList = VariantProperty[];
16311
16404
  export type VariantPropertyType = "DesiredInstanceCount"|"DesiredWeight"|"DataCaptureConfig"|string;
16405
+ export type VariantStatus = "Creating"|"Updating"|"Deleting"|"ActivatingTraffic"|"Baking"|string;
16406
+ export type VariantStatusMessage = string;
16312
16407
  export type VariantWeight = number;
16313
16408
  export type VersionedArnOrName = string;
16314
16409
  export type VolumeSizeInGB = number;
@@ -12,11 +12,11 @@ declare class Translate extends Service {
12
12
  constructor(options?: Translate.Types.ClientConfiguration)
13
13
  config: Config & Translate.Types.ClientConfiguration;
14
14
  /**
15
- * Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples of source phrases and their translations from your translation memory. By adding parallel data, you can influence the style, tone, and word choice in your translation output.
15
+ * Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples that show how you want segments of text to be translated. By adding parallel data, you can influence the style, tone, and word choice in your translation output.
16
16
  */
17
17
  createParallelData(params: Translate.Types.CreateParallelDataRequest, callback?: (err: AWSError, data: Translate.Types.CreateParallelDataResponse) => void): Request<Translate.Types.CreateParallelDataResponse, AWSError>;
18
18
  /**
19
- * Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples of source phrases and their translations from your translation memory. By adding parallel data, you can influence the style, tone, and word choice in your translation output.
19
+ * Creates a parallel data resource in Amazon Translate by importing an input file from Amazon S3. Parallel data files contain examples that show how you want segments of text to be translated. By adding parallel data, you can influence the style, tone, and word choice in your translation output.
20
20
  */
21
21
  createParallelData(callback?: (err: AWSError, data: Translate.Types.CreateParallelDataResponse) => void): Request<Translate.Types.CreateParallelDataResponse, AWSError>;
22
22
  /**
@@ -36,11 +36,11 @@ declare class Translate extends Service {
36
36
  */
37
37
  deleteTerminology(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
38
38
  /**
39
- * Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.
39
+ * Gets the properties associated with an asynchronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.
40
40
  */
41
41
  describeTextTranslationJob(params: Translate.Types.DescribeTextTranslationJobRequest, callback?: (err: AWSError, data: Translate.Types.DescribeTextTranslationJobResponse) => void): Request<Translate.Types.DescribeTextTranslationJobResponse, AWSError>;
42
42
  /**
43
- * Gets the properties associated with an asycnhronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.
43
+ * Gets the properties associated with an asynchronous batch translation job including name, ID, status, source and target languages, input/output S3 buckets, and so on.
44
44
  */
45
45
  describeTextTranslationJob(callback?: (err: AWSError, data: Translate.Types.DescribeTextTranslationJobResponse) => void): Request<Translate.Types.DescribeTextTranslationJobResponse, AWSError>;
46
46
  /**
@@ -227,7 +227,7 @@ declare namespace Translate {
227
227
  */
228
228
  ParallelDataProperties?: ParallelDataProperties;
229
229
  /**
230
- * The location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30 minute expiration.
230
+ * The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30 minute expiration. Amazon Translate doesn't scan parallel data input files for the risk of CSV injection attacks. CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it. Before you download a parallel data input file from Amazon S3, ensure that you recognize the file and trust its creator.
231
231
  */
232
232
  DataLocation?: ParallelDataDataLocation;
233
233
  /**
@@ -294,7 +294,7 @@ declare namespace Translate {
294
294
  */
295
295
  S3Uri: S3Uri;
296
296
  /**
297
- * Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types: text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file. text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input. application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx). application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx). application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx). If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.
297
+ * Describes the format of the data that you submit to Amazon Translate as input. You can specify one of the following multipurpose internet mail extension (MIME) types: text/html: The input data consists of one or more HTML files. Amazon Translate translates only the text that resides in the html element in each file. text/plain: The input data consists of one or more unformatted text files. Amazon Translate translates every character in this type of input. application/vnd.openxmlformats-officedocument.wordprocessingml.document: The input data consists of one or more Word documents (.docx). application/vnd.openxmlformats-officedocument.presentationml.presentation: The input data consists of one or more PowerPoint Presentation files (.pptx). application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The input data consists of one or more Excel Workbook files (.xlsx). application/x-xliff+xml: The input data consists of one or more XML Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only XLIFF version 1.2. If you structure your input data as HTML, ensure that you set this parameter to text/html. By doing so, you cut costs by limiting the translation to the contents of the html element in each file. Otherwise, if you set this parameter to text/plain, your costs will cover the translation of every character.
298
298
  */
299
299
  ContentType: ContentType;
300
300
  }
@@ -378,7 +378,7 @@ declare namespace Translate {
378
378
  */
379
379
  TextTranslationJobPropertiesList?: TextTranslationJobPropertiesList;
380
380
  /**
381
- * The token to use to retreive the next page of results. This value is null when there are no more results to return.
381
+ * The token to use to retrieve the next page of results. This value is null when there are no more results to return.
382
382
  */
383
383
  NextToken?: NextToken;
384
384
  }
@@ -391,6 +391,7 @@ declare namespace Translate {
391
391
  * The URI of the S3 folder that contains a translation job's output file. The folder must be in the same Region as the API endpoint that you are calling.
392
392
  */
393
393
  S3Uri: S3Uri;
394
+ EncryptionKey?: EncryptionKey;
394
395
  }
395
396
  export type ParallelDataArn = string;
396
397
  export interface ParallelDataConfig {
@@ -409,7 +410,7 @@ declare namespace Translate {
409
410
  */
410
411
  RepositoryType: String;
411
412
  /**
412
- * The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30 minute expiration.
413
+ * The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30 minute expiration. Amazon Translate doesn't scan parallel data input files for the risk of CSV injection attacks. CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it. Before you download a parallel data input file from Amazon S3, ensure that you recognize the file and trust its creator.
413
414
  */
414
415
  Location: String;
415
416
  }
@@ -500,7 +501,7 @@ declare namespace Translate {
500
501
  */
501
502
  OutputDataConfig: OutputDataConfig;
502
503
  /**
503
- * The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more nformation, see identity-and-access-management.
504
+ * The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more information, see identity-and-access-management.
504
505
  */
505
506
  DataAccessRoleArn: IamRoleArn;
506
507
  /**
@@ -512,11 +513,11 @@ declare namespace Translate {
512
513
  */
513
514
  TargetLanguageCodes: TargetLanguageCodeStringList;
514
515
  /**
515
- * The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.
516
+ * The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term. This parameter accepts only one custom terminology resource. For a list of available custom terminology resources, use the ListTerminologies operation. For more information, see how-custom-terminology.
516
517
  */
517
518
  TerminologyNames?: ResourceNameList;
518
519
  /**
519
- * The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the ListParallelData operation.
520
+ * The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. When you add parallel data to a translation job, you create an Active Custom Translation job. This parameter accepts only one parallel data resource. Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing. For a list of available parallel data resources, use the ListParallelData operation. For more information, see customizing-translations-parallel-data.
520
521
  */
521
522
  ParallelDataNames?: ResourceNameList;
522
523
  /**
@@ -681,7 +682,7 @@ declare namespace Translate {
681
682
  */
682
683
  ParallelDataNames?: ResourceNameList;
683
684
  /**
684
- * An explanation of any errors that may have occured during the translation job.
685
+ * An explanation of any errors that may have occurred during the translation job.
685
686
  */
686
687
  Message?: UnboundedLengthString;
687
688
  /**
@@ -380,7 +380,7 @@ declare namespace WAFV2 {
380
380
  */
381
381
  Action: ActionValue;
382
382
  }
383
- export type ActionValue = "ALLOW"|"BLOCK"|"COUNT"|string;
383
+ export type ActionValue = "ALLOW"|"BLOCK"|"COUNT"|"CAPTCHA"|"EXCLUDED_AS_COUNT"|string;
384
384
  export interface All {
385
385
  }
386
386
  export interface AllQueryArguments {
@@ -438,6 +438,32 @@ declare namespace WAFV2 {
438
438
  PositionalConstraint: PositionalConstraint;
439
439
  }
440
440
  export type CapacityUnit = number;
441
+ export interface CaptchaAction {
442
+ /**
443
+ * Defines custom handling for the web request. For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide.
444
+ */
445
+ CustomRequestHandling?: CustomRequestHandling;
446
+ }
447
+ export interface CaptchaConfig {
448
+ /**
449
+ * Determines how long a CAPTCHA token remains valid after the client successfully solves a CAPTCHA puzzle.
450
+ */
451
+ ImmunityTimeProperty?: ImmunityTimeProperty;
452
+ }
453
+ export interface CaptchaResponse {
454
+ /**
455
+ * The HTTP response code indicating the status of the CAPTCHA token in the web request. If the token is missing, invalid, or expired, this code is 405 Method Not Allowed.
456
+ */
457
+ ResponseCode?: ResponseCode;
458
+ /**
459
+ * The time that the CAPTCHA puzzle was solved for the supplied token.
460
+ */
461
+ SolveTimestamp?: SolveTimestamp;
462
+ /**
463
+ * The reason for failure, populated when the evaluation of the token fails.
464
+ */
465
+ FailureReason?: FailureReason;
466
+ }
441
467
  export interface CheckCapacityRequest {
442
468
  /**
443
469
  * Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1. API and SDKs - For all calls, use the Region endpoint us-east-1.
@@ -609,6 +635,10 @@ declare namespace WAFV2 {
609
635
  * A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide. For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.
610
636
  */
611
637
  CustomResponseBodies?: CustomResponseBodies;
638
+ /**
639
+ * Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.
640
+ */
641
+ CaptchaConfig?: CaptchaConfig;
612
642
  }
613
643
  export interface CreateWebACLResponse {
614
644
  /**
@@ -843,11 +873,12 @@ declare namespace WAFV2 {
843
873
  export type EntityName = string;
844
874
  export interface ExcludedRule {
845
875
  /**
846
- * The name of the rule to exclude.
876
+ * The name of the rule whose action you want to override to Count.
847
877
  */
848
878
  Name: EntityName;
849
879
  }
850
880
  export type ExcludedRules = ExcludedRule[];
881
+ export type FailureReason = "TOKEN_MISSING"|"TOKEN_EXPIRED"|string;
851
882
  export type FallbackBehavior = "MATCH"|"NO_MATCH"|string;
852
883
  export interface FieldToMatch {
853
884
  /**
@@ -915,7 +946,7 @@ declare namespace WAFV2 {
915
946
  */
916
947
  FirewallManagerStatement: FirewallManagerStatement;
917
948
  /**
918
- * The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement. Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings. In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both: If the rule statement references a rule group, use this override action setting and not the action setting. If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.
949
+ * The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only. You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement. This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.
919
950
  */
920
951
  OverrideAction: OverrideAction;
921
952
  /**
@@ -1302,6 +1333,12 @@ declare namespace WAFV2 {
1302
1333
  ARN?: ResourceArn;
1303
1334
  }
1304
1335
  export type IPString = string;
1336
+ export interface ImmunityTimeProperty {
1337
+ /**
1338
+ * The amount of time, in seconds, that a CAPTCHA token is valid. The default setting is 300.
1339
+ */
1340
+ ImmunityTime: TimeWindowSecond;
1341
+ }
1305
1342
  export interface JsonBody {
1306
1343
  /**
1307
1344
  * The patterns to look for in the JSON body. WAF inspects the results of these pattern matches against the rule inspection criteria.
@@ -1446,7 +1483,7 @@ declare namespace WAFV2 {
1446
1483
  /**
1447
1484
  * Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1. API and SDKs - For all calls, use the Region endpoint us-east-1.
1448
1485
  */
1449
- Scope?: Scope;
1486
+ Scope: Scope;
1450
1487
  /**
1451
1488
  * When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
1452
1489
  */
@@ -1652,7 +1689,7 @@ declare namespace WAFV2 {
1652
1689
  */
1653
1690
  Version?: VersionKeyString;
1654
1691
  /**
1655
- * The rules whose actions are set to COUNT by the web ACL, regardless of the action that is set on the rule. This effectively excludes the rule from acting on web requests.
1692
+ * The rules in the referenced rule group whose actions are set to Count. When you exclude a rule, WAF evaluates it exactly as it would if the rule action setting were Count. This is a useful option for testing the rules in a rule group without modifying how they handle your web traffic.
1656
1693
  */
1657
1694
  ExcludedRules?: ExcludedRules;
1658
1695
  /**
@@ -1789,11 +1826,11 @@ declare namespace WAFV2 {
1789
1826
  }
1790
1827
  export interface OverrideAction {
1791
1828
  /**
1792
- * Override the rule action setting to count.
1829
+ * Override the rule group evaluation result to count only. This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.
1793
1830
  */
1794
1831
  Count?: CountAction;
1795
1832
  /**
1796
- * Don't override the rule action setting.
1833
+ * Don't override the rule group evaluation result. This is the most common setting.
1797
1834
  */
1798
1835
  None?: NoneAction;
1799
1836
  }
@@ -1975,6 +2012,7 @@ declare namespace WAFV2 {
1975
2012
  export type ResourceArn = string;
1976
2013
  export type ResourceArns = ResourceArn[];
1977
2014
  export type ResourceType = "APPLICATION_LOAD_BALANCER"|"API_GATEWAY"|"APPSYNC"|string;
2015
+ export type ResponseCode = number;
1978
2016
  export type ResponseContent = string;
1979
2017
  export type ResponseContentType = "TEXT_PLAIN"|"TEXT_HTML"|"APPLICATION_JSON"|string;
1980
2018
  export type ResponseStatusCode = number;
@@ -1996,7 +2034,7 @@ declare namespace WAFV2 {
1996
2034
  */
1997
2035
  Action?: RuleAction;
1998
2036
  /**
1999
- * The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement. Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings. In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both: If the rule statement references a rule group, use this override action setting and not the action setting. If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.
2037
+ * The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only. You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement. This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count matches, do not use this and instead exclude those rules in your rule group reference statement settings.
2000
2038
  */
2001
2039
  OverrideAction?: OverrideAction;
2002
2040
  /**
@@ -2007,6 +2045,10 @@ declare namespace WAFV2 {
2007
2045
  * Defines and enables Amazon CloudWatch metrics and web request sample collection.
2008
2046
  */
2009
2047
  VisibilityConfig: VisibilityConfig;
2048
+ /**
2049
+ * Specifies how WAF should handle CAPTCHA evaluations. If you don't specify this, WAF uses the CAPTCHA configuration that's defined for the web ACL.
2050
+ */
2051
+ CaptchaConfig?: CaptchaConfig;
2010
2052
  }
2011
2053
  export interface RuleAction {
2012
2054
  /**
@@ -2021,6 +2063,10 @@ declare namespace WAFV2 {
2021
2063
  * Instructs WAF to count the web request and allow it.
2022
2064
  */
2023
2065
  Count?: CountAction;
2066
+ /**
2067
+ * Instructs WAF to run a CAPTCHA check against the web request.
2068
+ */
2069
+ Captcha?: CaptchaAction;
2024
2070
  }
2025
2071
  export interface RuleGroup {
2026
2072
  /**
@@ -2074,7 +2120,7 @@ declare namespace WAFV2 {
2074
2120
  */
2075
2121
  ARN: ResourceArn;
2076
2122
  /**
2077
- * The names of rules that are in the referenced rule group, but that you want WAF to exclude from processing for this rule statement.
2123
+ * The rules in the referenced rule group whose actions are set to Count. When you exclude a rule, WAF evaluates it exactly as it would if the rule action setting were Count. This is a useful option for testing the rules in a rule group without modifying how they handle your web traffic.
2078
2124
  */
2079
2125
  ExcludedRules?: ExcludedRules;
2080
2126
  }
@@ -2129,7 +2175,7 @@ declare namespace WAFV2 {
2129
2175
  */
2130
2176
  Timestamp?: Timestamp;
2131
2177
  /**
2132
- * The action for the Rule that the request matched: ALLOW, BLOCK, or COUNT.
2178
+ * The action for the Rule that the request matched: Allow, Block, or Count.
2133
2179
  */
2134
2180
  Action?: Action;
2135
2181
  /**
@@ -2148,6 +2194,10 @@ declare namespace WAFV2 {
2148
2194
  * Labels applied to the web request by matching rules. WAF applies fully qualified labels to matching web requests. A fully qualified label is the concatenation of a label namespace and a rule label. The rule's rule group or web ACL defines the label namespace. For example, awswaf:111122223333:myRuleGroup:testRules:testNS1:testNS2:labelNameA or awswaf:managed:aws:managed-rule-set:header:encoding:utf8.
2149
2195
  */
2150
2196
  Labels?: Labels;
2197
+ /**
2198
+ * The CAPTCHA response for the request.
2199
+ */
2200
+ CaptchaResponse?: CaptchaResponse;
2151
2201
  }
2152
2202
  export type SampledHTTPRequests = SampledHTTPRequest[];
2153
2203
  export type Scope = "CLOUDFRONT"|"REGIONAL"|string;
@@ -2183,6 +2233,7 @@ declare namespace WAFV2 {
2183
2233
  */
2184
2234
  TextTransformations: TextTransformations;
2185
2235
  }
2236
+ export type SolveTimestamp = number;
2186
2237
  export interface SqliMatchStatement {
2187
2238
  /**
2188
2239
  * The part of a web request that you want WAF to inspect. For more information, see FieldToMatch.
@@ -2316,6 +2367,7 @@ declare namespace WAFV2 {
2316
2367
  EndTime: Timestamp;
2317
2368
  }
2318
2369
  export type TimeWindowDay = number;
2370
+ export type TimeWindowSecond = number;
2319
2371
  export type Timestamp = Date;
2320
2372
  export type URIString = string;
2321
2373
  export interface UntagResourceRequest {
@@ -2511,6 +2563,10 @@ declare namespace WAFV2 {
2511
2563
  * A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide. For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.
2512
2564
  */
2513
2565
  CustomResponseBodies?: CustomResponseBodies;
2566
+ /**
2567
+ * Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.
2568
+ */
2569
+ CaptchaConfig?: CaptchaConfig;
2514
2570
  }
2515
2571
  export interface UpdateWebACLResponse {
2516
2572
  /**
@@ -2600,6 +2656,10 @@ declare namespace WAFV2 {
2600
2656
  * A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the WAF Developer Guide. For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.
2601
2657
  */
2602
2658
  CustomResponseBodies?: CustomResponseBodies;
2659
+ /**
2660
+ * Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.
2661
+ */
2662
+ CaptchaConfig?: CaptchaConfig;
2603
2663
  }
2604
2664
  export type WebACLSummaries = WebACLSummary[];
2605
2665
  export interface WebACLSummary {