aws-sdk 2.1614.0 → 2.1616.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/README.md +1 -1
  2. package/apis/budgets-2016-10-20.min.json +102 -21
  3. package/apis/cognito-idp-2016-04-18.min.json +3 -0
  4. package/apis/ec2-2016-11-15.min.json +282 -279
  5. package/apis/ecr-2015-09-21.min.json +3 -0
  6. package/apis/metadata.json +0 -6
  7. package/apis/resiliencehub-2020-04-30.min.json +63 -14
  8. package/apis/resiliencehub-2020-04-30.paginators.json +6 -0
  9. package/apis/route53profiles-2018-05-10.min.json +3 -0
  10. package/apis/sqs-2012-11-05.min.json +21 -14
  11. package/clients/all.d.ts +0 -2
  12. package/clients/all.js +0 -2
  13. package/clients/b2bi.d.ts +7 -7
  14. package/clients/budgets.d.ts +84 -1
  15. package/clients/cognitoidentityserviceprovider.d.ts +1 -1
  16. package/clients/ec2.d.ts +5 -0
  17. package/clients/ecr.d.ts +2 -2
  18. package/clients/fms.d.ts +4 -4
  19. package/clients/polly.d.ts +9 -9
  20. package/clients/resiliencehub.d.ts +80 -15
  21. package/clients/route53profiles.d.ts +4 -4
  22. package/clients/sqs.d.ts +19 -14
  23. package/dist/aws-sdk-core-react-native.js +2 -2
  24. package/dist/aws-sdk-react-native.js +1628 -1702
  25. package/dist/aws-sdk.js +312 -302
  26. package/dist/aws-sdk.min.js +64 -64
  27. package/lib/config_service_placeholders.d.ts +0 -4
  28. package/lib/core.js +1 -1
  29. package/package.json +1 -1
  30. package/apis/alexaforbusiness-2017-11-09.examples.json +0 -5
  31. package/apis/alexaforbusiness-2017-11-09.min.json +0 -2905
  32. package/apis/alexaforbusiness-2017-11-09.paginators.json +0 -94
  33. package/apis/honeycode-2020-03-01.examples.json +0 -5
  34. package/apis/honeycode-2020-03-01.min.json +0 -962
  35. package/apis/honeycode-2020-03-01.paginators.json +0 -27
  36. package/clients/alexaforbusiness.d.ts +0 -3862
  37. package/clients/alexaforbusiness.js +0 -18
  38. package/clients/honeycode.d.ts +0 -910
  39. package/clients/honeycode.js +0 -18
@@ -104,7 +104,7 @@ declare namespace Polly {
104
104
  }
105
105
  export interface DescribeVoicesInput {
106
106
  /**
107
- * Specifies the engine (standard, neural or long-form) used by Amazon Polly when processing input text for speech synthesis.
107
+ * Specifies the engine (standard, neural, long-form or generative) used by Amazon Polly when processing input text for speech synthesis.
108
108
  */
109
109
  Engine?: Engine;
110
110
  /**
@@ -130,7 +130,7 @@ declare namespace Polly {
130
130
  */
131
131
  NextToken?: NextToken;
132
132
  }
133
- export type Engine = "standard"|"neural"|"long-form"|string;
133
+ export type Engine = "standard"|"neural"|"long-form"|"generative"|string;
134
134
  export type EngineList = Engine[];
135
135
  export type Gender = "Female"|"Male"|string;
136
136
  export interface GetLexiconInput {
@@ -284,7 +284,7 @@ declare namespace Polly {
284
284
  export type SpeechMarkTypeList = SpeechMarkType[];
285
285
  export interface StartSpeechSynthesisTaskInput {
286
286
  /**
287
- * Specifies the engine (standard, neural or long-form) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
287
+ * Specifies the engine (standard, neural, long-form or generative) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
288
288
  */
289
289
  Engine?: Engine;
290
290
  /**
@@ -308,7 +308,7 @@ declare namespace Polly {
308
308
  */
309
309
  OutputS3KeyPrefix?: OutputS3KeyPrefix;
310
310
  /**
311
- * The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". Valid values for pcm are "8000" and "16000" The default value is "16000".
311
+ * The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". The default value for generative voices is "24000". Valid values for pcm are "8000" and "16000" The default value is "16000".
312
312
  */
313
313
  SampleRate?: SampleRate;
314
314
  /**
@@ -340,7 +340,7 @@ declare namespace Polly {
340
340
  }
341
341
  export interface SynthesisTask {
342
342
  /**
343
- * Specifies the engine (standard, neural or long-form) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
343
+ * Specifies the engine (standard, neural, long-form or generative) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
344
344
  */
345
345
  Engine?: Engine;
346
346
  /**
@@ -380,7 +380,7 @@ declare namespace Polly {
380
380
  */
381
381
  OutputFormat?: OutputFormat;
382
382
  /**
383
- * The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". Valid values for pcm are "8000" and "16000" The default value is "16000".
383
+ * The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". The default value for generative voices is "24000". Valid values for pcm are "8000" and "16000" The default value is "16000".
384
384
  */
385
385
  SampleRate?: SampleRate;
386
386
  /**
@@ -403,7 +403,7 @@ declare namespace Polly {
403
403
  export type SynthesisTasks = SynthesisTask[];
404
404
  export interface SynthesizeSpeechInput {
405
405
  /**
406
- * Specifies the engine (standard, neural or long-form) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available for each engine, see Available Voices. NTTS-only voices When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural. If the engine is not specified, or is set to standard, this will result in an error. long-form-only voices When using long-form-only voices such as Danielle (en-US), this parameter is required and must be set to long-form. If the engine is not specified, or is set to standard or neural, this will result in an error. Type: String Valid Values: standard | neural | long-form Required: Yes Standard voices For standard voices, this is not required; the engine parameter defaults to standard. If the engine is not specified, or is set to standard and an NTTS-only voice is selected, this will result in an error.
406
+ * Specifies the engine (standard, neural, long-form, or generative) for Amazon Polly to use when processing input text for speech synthesis. Provide an engine that is supported by the voice you select. If you don't provide an engine, the standard engine is selected by default. If a chosen voice isn't supported by the standard engine, this will result in an error. For information on Amazon Polly voices and which voices are available for each engine, see Available Voices. Type: String Valid Values: standard | neural | long-form | generative Required: Yes
407
407
  */
408
408
  Engine?: Engine;
409
409
  /**
@@ -419,7 +419,7 @@ declare namespace Polly {
419
419
  */
420
420
  OutputFormat: OutputFormat;
421
421
  /**
422
- * The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". Valid values for pcm are "8000" and "16000" The default value is "16000".
422
+ * The audio frequency specified in Hz. The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000". The default value for generative voices is "24000". Valid values for pcm are "8000" and "16000" The default value is "16000".
423
423
  */
424
424
  SampleRate?: SampleRate;
425
425
  /**
@@ -484,7 +484,7 @@ declare namespace Polly {
484
484
  */
485
485
  AdditionalLanguageCodes?: LanguageCodeList;
486
486
  /**
487
- * Specifies which engines (standard, neural or long-form) are supported by a given voice.
487
+ * Specifies which engines (standard, neural, long-form or generative) are supported by a given voice.
488
488
  */
489
489
  SupportedEngines?: EngineList;
490
490
  }
@@ -219,6 +219,14 @@ declare class Resiliencehub extends Service {
219
219
  * List of compliance drifts that were detected while running an assessment.
220
220
  */
221
221
  listAppAssessmentComplianceDrifts(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppAssessmentComplianceDriftsResponse) => void): Request<Resiliencehub.Types.ListAppAssessmentComplianceDriftsResponse, AWSError>;
222
+ /**
223
+ * Indicates the list of resource drifts that were detected while running an assessment.
224
+ */
225
+ listAppAssessmentResourceDrifts(params: Resiliencehub.Types.ListAppAssessmentResourceDriftsRequest, callback?: (err: AWSError, data: Resiliencehub.Types.ListAppAssessmentResourceDriftsResponse) => void): Request<Resiliencehub.Types.ListAppAssessmentResourceDriftsResponse, AWSError>;
226
+ /**
227
+ * Indicates the list of resource drifts that were detected while running an assessment.
228
+ */
229
+ listAppAssessmentResourceDrifts(callback?: (err: AWSError, data: Resiliencehub.Types.ListAppAssessmentResourceDriftsResponse) => void): Request<Resiliencehub.Types.ListAppAssessmentResourceDriftsResponse, AWSError>;
222
230
  /**
223
231
  * Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
224
232
  */
@@ -1672,7 +1680,7 @@ declare namespace Resiliencehub {
1672
1680
  */
1673
1681
  policy: ResiliencyPolicy;
1674
1682
  }
1675
- export type DifferenceType = "NotEqual"|string;
1683
+ export type DifferenceType = "NotEqual"|"Added"|"Removed"|string;
1676
1684
  export interface DisruptionCompliance {
1677
1685
  /**
1678
1686
  * The Recovery Point Objective (RPO) that is achievable, in seconds.
@@ -1721,7 +1729,7 @@ declare namespace Resiliencehub {
1721
1729
  export type DocumentName = string;
1722
1730
  export type Double = number;
1723
1731
  export type DriftStatus = "NotChecked"|"NotDetected"|"Detected"|string;
1724
- export type DriftType = "ApplicationCompliance"|string;
1732
+ export type DriftType = "ApplicationCompliance"|"AppComponentResiliencyComplianceStatus"|string;
1725
1733
  export type EksNamespace = string;
1726
1734
  export type EksNamespaceList = EksNamespace[];
1727
1735
  export interface EksSource {
@@ -1881,6 +1889,30 @@ declare namespace Resiliencehub {
1881
1889
  */
1882
1890
  nextToken?: NextToken;
1883
1891
  }
1892
+ export interface ListAppAssessmentResourceDriftsRequest {
1893
+ /**
1894
+ * Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
1895
+ */
1896
+ assessmentArn: Arn;
1897
+ /**
1898
+ * Indicates the maximum number of drift results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
1899
+ */
1900
+ maxResults?: MaxResults;
1901
+ /**
1902
+ * Null, or the token from a previous call to get the next set of results.
1903
+ */
1904
+ nextToken?: NextToken;
1905
+ }
1906
+ export interface ListAppAssessmentResourceDriftsResponse {
1907
+ /**
1908
+ * Null, or the token from a previous call to get the next set of results.
1909
+ */
1910
+ nextToken?: NextToken;
1911
+ /**
1912
+ * Indicates all the resource drifts detected for an assessed entity.
1913
+ */
1914
+ resourceDrifts: ResourceDriftList;
1915
+ }
1884
1916
  export interface ListAppAssessmentsRequest {
1885
1917
  /**
1886
1918
  * Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
@@ -2177,7 +2209,7 @@ declare namespace Resiliencehub {
2177
2209
  /**
2178
2210
  * Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
2179
2211
  */
2180
- assessmentArn: Arn;
2212
+ assessmentArn?: Arn;
2181
2213
  /**
2182
2214
  * Maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
2183
2215
  */
@@ -2425,7 +2457,7 @@ declare namespace Resiliencehub {
2425
2457
  */
2426
2458
  resourceName?: EntityName;
2427
2459
  /**
2428
- * The type of resource.
2460
+ * Type of resource.
2429
2461
  */
2430
2462
  resourceType: String255;
2431
2463
  /**
@@ -2739,6 +2771,29 @@ declare namespace Resiliencehub {
2739
2771
  */
2740
2772
  status: ResourceResolutionStatusType;
2741
2773
  }
2774
+ export interface ResourceDrift {
2775
+ /**
2776
+ * Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:partition:resiliencehub:region:account:app-assessment/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
2777
+ */
2778
+ appArn?: Arn;
2779
+ /**
2780
+ * Version of the application whose resources have drifted.
2781
+ */
2782
+ appVersion?: EntityVersion;
2783
+ /**
2784
+ * Indicates if the resource was added or removed.
2785
+ */
2786
+ diffType?: DifferenceType;
2787
+ /**
2788
+ * Reference identifier of the resource drift.
2789
+ */
2790
+ referenceId?: EntityId;
2791
+ /**
2792
+ * Identifier of the drifted resource.
2793
+ */
2794
+ resourceIdentifier?: ResourceIdentifier;
2795
+ }
2796
+ export type ResourceDriftList = ResourceDrift[];
2742
2797
  export interface ResourceError {
2743
2798
  /**
2744
2799
  * Identifier of the logical resource.
@@ -2764,23 +2819,33 @@ declare namespace Resiliencehub {
2764
2819
  */
2765
2820
  resourceErrors?: ResourceErrorList;
2766
2821
  }
2822
+ export interface ResourceIdentifier {
2823
+ /**
2824
+ * Logical identifier of the drifted resource.
2825
+ */
2826
+ logicalResourceId?: LogicalResourceId;
2827
+ /**
2828
+ * Type of the drifted resource.
2829
+ */
2830
+ resourceType?: String255;
2831
+ }
2767
2832
  export type ResourceImportStatusType = "Pending"|"InProgress"|"Failed"|"Success"|string;
2768
2833
  export type ResourceImportStrategyType = "AddOnly"|"ReplaceAll"|string;
2769
2834
  export interface ResourceMapping {
2770
2835
  /**
2771
- * The name of the application this resource is mapped to.
2836
+ * Name of the application this resource is mapped to when the mappingType is AppRegistryApp.
2772
2837
  */
2773
2838
  appRegistryAppName?: EntityName;
2774
2839
  /**
2775
- * Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to. This parameter accepts values in "eks-cluster/namespace" format.
2840
+ * Name of the Amazon Elastic Kubernetes Service cluster and namespace that this resource is mapped to when the mappingType is EKS. This parameter accepts values in "eks-cluster/namespace" format.
2776
2841
  */
2777
2842
  eksSourceName?: String255;
2778
2843
  /**
2779
- * The name of the CloudFormation stack this resource is mapped to.
2844
+ * Name of the CloudFormation stack this resource is mapped to when the mappingType is CfnStack.
2780
2845
  */
2781
2846
  logicalStackName?: String255;
2782
2847
  /**
2783
- * Specifies the type of resource mapping. AppRegistryApp The resource is mapped to another application. The name of the application is contained in the appRegistryAppName property. CfnStack The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the logicalStackName property. Resource The resource is mapped to another resource. The name of the resource is contained in the resourceName property. ResourceGroup The resource is mapped to Resource Groups. The name of the resource group is contained in the resourceGroupName property.
2848
+ * Specifies the type of resource mapping.
2784
2849
  */
2785
2850
  mappingType: ResourceMappingType;
2786
2851
  /**
@@ -2788,15 +2853,15 @@ declare namespace Resiliencehub {
2788
2853
  */
2789
2854
  physicalResourceId: PhysicalResourceId;
2790
2855
  /**
2791
- * Name of the resource group that the resource is mapped to.
2856
+ * Name of the Resource Groups that this resource is mapped to when the mappingType is ResourceGroup.
2792
2857
  */
2793
2858
  resourceGroupName?: EntityName;
2794
2859
  /**
2795
- * Name of the resource that the resource is mapped to.
2860
+ * Name of the resource that this resource is mapped to when the mappingType is Resource.
2796
2861
  */
2797
2862
  resourceName?: EntityName;
2798
2863
  /**
2799
- * The short name of the Terraform source.
2864
+ * Name of the Terraform source that this resource is mapped to when the mappingType is Terraform.
2800
2865
  */
2801
2866
  terraformSourceName?: String255;
2802
2867
  }
@@ -2817,19 +2882,19 @@ declare namespace Resiliencehub {
2817
2882
  export type S3Url = string;
2818
2883
  export interface ScoringComponentResiliencyScore {
2819
2884
  /**
2820
- * Number of recommendations that were excluded from the assessment. For example, if the Excluded count for Resilience Hub recommended Amazon CloudWatch alarms is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.
2885
+ * Number of recommendations that were excluded from the assessment. For example, if the excludedCount for Alarms coverage scoring component is 7, it indicates that 7 Amazon CloudWatch alarms are excluded from the assessment.
2821
2886
  */
2822
2887
  excludedCount?: Long;
2823
2888
  /**
2824
- * Number of issues that must be resolved to obtain the maximum possible score for the scoring component. For SOPs, alarms, and FIS experiments, these are the number of recommendations that must be implemented. For compliance, it is the number of Application Components that has breached the resiliency policy. For example, if the Outstanding count for Resilience Hub recommended Amazon CloudWatch alarms is 5, it indicates that 5 Amazon CloudWatch alarms must be fixed to achieve the maximum possible score.
2889
+ * Number of recommendations that must be implemented to obtain the maximum possible score for the scoring component. For SOPs, alarms, and tests, these are the number of recommendations that must be implemented. For compliance, these are the number of Application Components that have breached the resiliency policy. For example, if the outstandingCount for Alarms coverage scoring component is 5, it indicates that 5 Amazon CloudWatch alarms need to be implemented to achieve the maximum possible score.
2825
2890
  */
2826
2891
  outstandingCount?: Long;
2827
2892
  /**
2828
- * Maximum possible score that can be obtained for the scoring component. If the Possible score is 20 points, it indicates the maximum possible score you can achieve for your application when you run a new assessment after implementing all the Resilience Hub recommendations.
2893
+ * Maximum possible score that can be obtained for the scoring component. For example, if the possibleScore is 20 points, it indicates the maximum possible score you can achieve for the scoring component when you run a new assessment after implementing all the Resilience Hub recommendations.
2829
2894
  */
2830
2895
  possibleScore?: Double;
2831
2896
  /**
2832
- * Resiliency score of your application.
2897
+ * Resiliency score points given for the scoring component. The score is always less than or equal to the possibleScore.
2833
2898
  */
2834
2899
  score?: Double;
2835
2900
  }
@@ -12,11 +12,11 @@ declare class Route53Profiles extends Service {
12
12
  constructor(options?: Route53Profiles.Types.ClientConfiguration)
13
13
  config: Config & Route53Profiles.Types.ClientConfiguration;
14
14
  /**
15
- * Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with up to 5000 VPCs.
15
+ * Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities.
16
16
  */
17
17
  associateProfile(params: Route53Profiles.Types.AssociateProfileRequest, callback?: (err: AWSError, data: Route53Profiles.Types.AssociateProfileResponse) => void): Request<Route53Profiles.Types.AssociateProfileResponse, AWSError>;
18
18
  /**
19
- * Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with up to 5000 VPCs.
19
+ * Associates a Route 53 Profiles profile with a VPC. A VPC can have only one Profile associated with it, but a Profile can be associated with 1000 of VPCs (and you can request a higher quota). For more information, see https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities.
20
20
  */
21
21
  associateProfile(callback?: (err: AWSError, data: Route53Profiles.Types.AssociateProfileResponse) => void): Request<Route53Profiles.Types.AssociateProfileResponse, AWSError>;
22
22
  /**
@@ -181,7 +181,7 @@ declare namespace Route53Profiles {
181
181
  */
182
182
  ResourceArn: Arn;
183
183
  /**
184
- * If you are adding a DNS Firewall rule group, include also a priority in this format: Key=FirewallRuleGroupPriority,Value=100
184
+ * If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value. The allowed values for priority are between 100 and 9900.
185
185
  */
186
186
  ResourceProperties?: ResourceProperties;
187
187
  }
@@ -585,7 +585,7 @@ declare namespace Route53Profiles {
585
585
  */
586
586
  ProfileResourceAssociationId: ResourceId;
587
587
  /**
588
- * If you are adding a DNS Firewall rule group, include also a priority in this format: Key=FirewallRuleGroupPriority,Value=100.
588
+ * If you are adding a DNS Firewall rule group, include also a priority. The priority indicates the processing order for the rule groups, starting with the priority assinged the lowest value. The allowed values for priority are between 100 and 9900.
589
589
  */
590
590
  ResourceProperties?: ResourceProperties;
591
591
  }
package/clients/sqs.d.ts CHANGED
@@ -20,11 +20,11 @@ declare class SQS extends Service {
20
20
  */
21
21
  addPermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22
22
  /**
23
- * Cancels a specified message movement task. A message movement can only be cancelled when the current status is RUNNING. Cancelling a message movement task does not revert the messages that have already been moved. It can only stop the messages that have not been moved yet. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Currently, only standard queues are supported. Only one active message movement task is supported per queue at any given time.
23
+ * Cancels a specified message movement task. A message movement can only be cancelled when the current status is RUNNING. Cancelling a message movement task does not revert the messages that have already been moved. It can only stop the messages that have not been moved yet. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
24
24
  */
25
25
  cancelMessageMoveTask(params: SQS.Types.CancelMessageMoveTaskRequest, callback?: (err: AWSError, data: SQS.Types.CancelMessageMoveTaskResult) => void): Request<SQS.Types.CancelMessageMoveTaskResult, AWSError>;
26
26
  /**
27
- * Cancels a specified message movement task. A message movement can only be cancelled when the current status is RUNNING. Cancelling a message movement task does not revert the messages that have already been moved. It can only stop the messages that have not been moved yet. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Currently, only standard queues are supported. Only one active message movement task is supported per queue at any given time.
27
+ * Cancels a specified message movement task. A message movement can only be cancelled when the current status is RUNNING. Cancelling a message movement task does not revert the messages that have already been moved. It can only stop the messages that have not been moved yet. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
28
28
  */
29
29
  cancelMessageMoveTask(callback?: (err: AWSError, data: SQS.Types.CancelMessageMoveTaskResult) => void): Request<SQS.Types.CancelMessageMoveTaskResult, AWSError>;
30
30
  /**
@@ -100,11 +100,11 @@ declare class SQS extends Service {
100
100
  */
101
101
  listDeadLetterSourceQueues(callback?: (err: AWSError, data: SQS.Types.ListDeadLetterSourceQueuesResult) => void): Request<SQS.Types.ListDeadLetterSourceQueuesResult, AWSError>;
102
102
  /**
103
- * Gets the most recent message movement tasks (up to 10) under a specific source queue. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Currently, only standard queues are supported. Only one active message movement task is supported per queue at any given time.
103
+ * Gets the most recent message movement tasks (up to 10) under a specific source queue. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
104
104
  */
105
105
  listMessageMoveTasks(params: SQS.Types.ListMessageMoveTasksRequest, callback?: (err: AWSError, data: SQS.Types.ListMessageMoveTasksResult) => void): Request<SQS.Types.ListMessageMoveTasksResult, AWSError>;
106
106
  /**
107
- * Gets the most recent message movement tasks (up to 10) under a specific source queue. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Currently, only standard queues are supported. Only one active message movement task is supported per queue at any given time.
107
+ * Gets the most recent message movement tasks (up to 10) under a specific source queue. This action is currently limited to supporting message redrive from dead-letter queues (DLQs) only. In this context, the source queue is the dead-letter queue (DLQ), while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
108
108
  */
109
109
  listMessageMoveTasks(callback?: (err: AWSError, data: SQS.Types.ListMessageMoveTasksResult) => void): Request<SQS.Types.ListMessageMoveTasksResult, AWSError>;
110
110
  /**
@@ -164,19 +164,19 @@ declare class SQS extends Service {
164
164
  */
165
165
  sendMessageBatch(callback?: (err: AWSError, data: SQS.Types.SendMessageBatchResult) => void): Request<SQS.Types.SendMessageBatchResult, AWSError>;
166
166
  /**
167
- * Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system. Changes made to the MessageRetentionPeriod attribute can take up to 15 minutes and will impact existing messages in the queue potentially causing them to be expired and deleted if the MessageRetentionPeriod is reduced below the age of existing messages. In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide. To remove the ability to change queue permissions, you must deny permission to the AddPermission, RemovePermission, and SetQueueAttributes actions in your IAM policy.
167
+ * Sets the value of one or more queue attributes, like a policy. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system. Changes made to the MessageRetentionPeriod attribute can take up to 15 minutes and will impact existing messages in the queue potentially causing them to be expired and deleted if the MessageRetentionPeriod is reduced below the age of existing messages. In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide. To remove the ability to change queue permissions, you must deny permission to the AddPermission, RemovePermission, and SetQueueAttributes actions in your IAM policy.
168
168
  */
169
169
  setQueueAttributes(params: SQS.Types.SetQueueAttributesRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
170
170
  /**
171
- * Sets the value of one or more queue attributes. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system. Changes made to the MessageRetentionPeriod attribute can take up to 15 minutes and will impact existing messages in the queue potentially causing them to be expired and deleted if the MessageRetentionPeriod is reduced below the age of existing messages. In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide. To remove the ability to change queue permissions, you must deny permission to the AddPermission, RemovePermission, and SetQueueAttributes actions in your IAM policy.
171
+ * Sets the value of one or more queue attributes, like a policy. When you change a queue's attributes, the change can take up to 60 seconds for most of the attributes to propagate throughout the Amazon SQS system. Changes made to the MessageRetentionPeriod attribute can take up to 15 minutes and will impact existing messages in the queue potentially causing them to be expired and deleted if the MessageRetentionPeriod is reduced below the age of existing messages. In the future, new attributes might be added. If you write code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully. Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide. To remove the ability to change queue permissions, you must deny permission to the AddPermission, RemovePermission, and SetQueueAttributes actions in your IAM policy.
172
172
  */
173
173
  setQueueAttributes(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
174
174
  /**
175
- * Starts an asynchronous task to move messages from a specified source queue to a specified destination queue. This action is currently limited to supporting message redrive from queues that are configured as dead-letter queues (DLQs) of other Amazon SQS queues only. Non-SQS queue sources of dead-letter queues, such as Lambda or Amazon SNS topics, are currently not supported. In dead-letter queues redrive context, the StartMessageMoveTask the source queue is the DLQ, while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Currently, only standard queues support redrive. FIFO queues don't support redrive. Only one active message movement task is supported per queue at any given time.
175
+ * Starts an asynchronous task to move messages from a specified source queue to a specified destination queue. This action is currently limited to supporting message redrive from queues that are configured as dead-letter queues (DLQs) of other Amazon SQS queues only. Non-SQS queue sources of dead-letter queues, such as Lambda or Amazon SNS topics, are currently not supported. In dead-letter queues redrive context, the StartMessageMoveTask the source queue is the DLQ, while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
176
176
  */
177
177
  startMessageMoveTask(params: SQS.Types.StartMessageMoveTaskRequest, callback?: (err: AWSError, data: SQS.Types.StartMessageMoveTaskResult) => void): Request<SQS.Types.StartMessageMoveTaskResult, AWSError>;
178
178
  /**
179
- * Starts an asynchronous task to move messages from a specified source queue to a specified destination queue. This action is currently limited to supporting message redrive from queues that are configured as dead-letter queues (DLQs) of other Amazon SQS queues only. Non-SQS queue sources of dead-letter queues, such as Lambda or Amazon SNS topics, are currently not supported. In dead-letter queues redrive context, the StartMessageMoveTask the source queue is the DLQ, while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Currently, only standard queues support redrive. FIFO queues don't support redrive. Only one active message movement task is supported per queue at any given time.
179
+ * Starts an asynchronous task to move messages from a specified source queue to a specified destination queue. This action is currently limited to supporting message redrive from queues that are configured as dead-letter queues (DLQs) of other Amazon SQS queues only. Non-SQS queue sources of dead-letter queues, such as Lambda or Amazon SNS topics, are currently not supported. In dead-letter queues redrive context, the StartMessageMoveTask the source queue is the DLQ, while the destination queue can be the original source queue (from which the messages were driven to the dead-letter-queue), or a custom destination queue. Only one active message movement task is supported per queue at any given time.
180
180
  */
181
181
  startMessageMoveTask(callback?: (err: AWSError, data: SQS.Types.StartMessageMoveTaskResult) => void): Request<SQS.Types.StartMessageMoveTaskResult, AWSError>;
182
182
  /**
@@ -481,7 +481,7 @@ declare namespace SQS {
481
481
  */
482
482
  ApproximateNumberOfMessagesMoved?: Long;
483
483
  /**
484
- * The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task.
484
+ * The number of messages to be moved from the source queue. This number is obtained at the time of starting the message movement task and is only included after the message movement task is selected to start.
485
485
  */
486
486
  ApproximateNumberOfMessagesToMove?: NullableLong;
487
487
  /**
@@ -588,8 +588,9 @@ declare namespace SQS {
588
588
  export type MessageBodyAttributeMap = {[key: string]: MessageAttributeValue};
589
589
  export type MessageBodySystemAttributeMap = {[key: string]: MessageSystemAttributeValue};
590
590
  export type MessageList = Message[];
591
+ export type MessageSystemAttributeList = MessageSystemAttributeName[];
591
592
  export type MessageSystemAttributeMap = {[key: string]: String};
592
- export type MessageSystemAttributeName = "SenderId"|"SentTimestamp"|"ApproximateReceiveCount"|"ApproximateFirstReceiveTimestamp"|"SequenceNumber"|"MessageDeduplicationId"|"MessageGroupId"|"AWSTraceHeader"|"DeadLetterQueueSourceArn"|string;
593
+ export type MessageSystemAttributeName = "All"|"SenderId"|"SentTimestamp"|"ApproximateReceiveCount"|"ApproximateFirstReceiveTimestamp"|"SequenceNumber"|"MessageDeduplicationId"|"MessageGroupId"|"AWSTraceHeader"|"DeadLetterQueueSourceArn"|string;
593
594
  export type MessageSystemAttributeNameForSends = "AWSTraceHeader"|string;
594
595
  export interface MessageSystemAttributeValue {
595
596
  /**
@@ -630,9 +631,13 @@ declare namespace SQS {
630
631
  */
631
632
  QueueUrl: String;
632
633
  /**
633
- * A list of attributes that need to be returned along with each message. These attributes include: All – Returns all values. ApproximateFirstReceiveTimestamp – Returns the time the message was first received from the queue (epoch time in milliseconds). ApproximateReceiveCount – Returns the number of times a message has been received across all queues but not deleted. AWSTraceHeader – Returns the X-Ray trace header string. SenderId For a user, returns the user ID, for example ABCDEFGHI1JKLMNOPQ23R. For an IAM role, returns the IAM role ID, for example ABCDE1F2GH3I4JK5LMNOP:i-a123b456. SentTimestamp – Returns the time the message was sent to the queue (epoch time in milliseconds). SqsManagedSseEnabled – Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (for example, SSE-KMS or SSE-SQS). MessageDeduplicationId – Returns the value provided by the producer that calls the SendMessage action. MessageGroupId – Returns the value provided by the producer that calls the SendMessage action. Messages with the same MessageGroupId are returned in sequence. SequenceNumber – Returns the value provided by Amazon SQS.
634
+ * This parameter has been deprecated but will be supported for backward compatibility. To provide attribute names, you are encouraged to use MessageSystemAttributeNames. A list of attributes that need to be returned along with each message. These attributes include: All – Returns all values. ApproximateFirstReceiveTimestamp – Returns the time the message was first received from the queue (epoch time in milliseconds). ApproximateReceiveCount – Returns the number of times a message has been received across all queues but not deleted. AWSTraceHeader – Returns the X-Ray trace header string. SenderId For a user, returns the user ID, for example ABCDEFGHI1JKLMNOPQ23R. For an IAM role, returns the IAM role ID, for example ABCDE1F2GH3I4JK5LMNOP:i-a123b456. SentTimestamp – Returns the time the message was sent to the queue (epoch time in milliseconds). SqsManagedSseEnabled – Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (for example, SSE-KMS or SSE-SQS). MessageDeduplicationId – Returns the value provided by the producer that calls the SendMessage action. MessageGroupId – Returns the value provided by the producer that calls the SendMessage action. Messages with the same MessageGroupId are returned in sequence. SequenceNumber – Returns the value provided by Amazon SQS.
634
635
  */
635
636
  AttributeNames?: AttributeNameList;
637
+ /**
638
+ * A list of attributes that need to be returned along with each message. These attributes include: All – Returns all values. ApproximateFirstReceiveTimestamp – Returns the time the message was first received from the queue (epoch time in milliseconds). ApproximateReceiveCount – Returns the number of times a message has been received across all queues but not deleted. AWSTraceHeader – Returns the X-Ray trace header string. SenderId For a user, returns the user ID, for example ABCDEFGHI1JKLMNOPQ23R. For an IAM role, returns the IAM role ID, for example ABCDE1F2GH3I4JK5LMNOP:i-a123b456. SentTimestamp – Returns the time the message was sent to the queue (epoch time in milliseconds). SqsManagedSseEnabled – Enables server-side queue encryption using SQS owned encryption keys. Only one server-side encryption option is supported per queue (for example, SSE-KMS or SSE-SQS). MessageDeduplicationId – Returns the value provided by the producer that calls the SendMessage action. MessageGroupId – Returns the value provided by the producer that calls the SendMessage action. Messages with the same MessageGroupId are returned in sequence. SequenceNumber – Returns the value provided by Amazon SQS.
639
+ */
640
+ MessageSystemAttributeNames?: MessageSystemAttributeList;
636
641
  /**
637
642
  * The name of the message attribute, where N is the index. The name can contain alphanumeric characters and the underscore (_), hyphen (-), and period (.). The name is case-sensitive and must be unique among all attribute names for the message. The name must not start with AWS-reserved prefixes such as AWS. or Amazon. (or any casing variants). The name must not start or end with a period (.), and it should not have periods in succession (..). The name can be up to 256 characters long. When using ReceiveMessage, you can send a list of attribute names to receive, or you can return all of the attributes by specifying All or .* in your request. You can also use all message attributes starting with a prefix, for example bar.*.
638
643
  */
@@ -646,11 +651,11 @@ declare namespace SQS {
646
651
  */
647
652
  VisibilityTimeout?: NullableInteger;
648
653
  /**
649
- * The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. If a message is available, the call returns sooner than WaitTimeSeconds. If no messages are available and the wait time expires, the call returns successfully with an empty list of messages. To avoid HTTP errors, ensure that the HTTP response timeout for ReceiveMessage requests is longer than the WaitTimeSeconds parameter. For example, with the Java SDK, you can set HTTP transport settings using the NettyNioAsyncHttpClient for asynchronous clients, or the ApacheHttpClient for synchronous clients.
654
+ * The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. If a message is available, the call returns sooner than WaitTimeSeconds. If no messages are available and the wait time expires, the call does not return a message list. To avoid HTTP errors, ensure that the HTTP response timeout for ReceiveMessage requests is longer than the WaitTimeSeconds parameter. For example, with the Java SDK, you can set HTTP transport settings using the NettyNioAsyncHttpClient for asynchronous clients, or the ApacheHttpClient for synchronous clients.
650
655
  */
651
656
  WaitTimeSeconds?: NullableInteger;
652
657
  /**
653
- * This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of ReceiveMessage calls. If a networking issue occurs after a ReceiveMessage action, and instead of a response you receive a generic error, it is possible to retry the same action with an identical ReceiveRequestAttemptId to retrieve the same set of messages, even if their visibility timeout has not yet expired. You can use ReceiveRequestAttemptId only for 5 minutes after a ReceiveMessage action. When you set FifoQueue, a caller of the ReceiveMessage action can provide a ReceiveRequestAttemptId explicitly. If a caller of the ReceiveMessage action doesn't provide a ReceiveRequestAttemptId, Amazon SQS generates a ReceiveRequestAttemptId. It is possible to retry the ReceiveMessage action with the same ReceiveRequestAttemptId if none of the messages have been modified (deleted or had their visibility changes). During a visibility timeout, subsequent calls with the same ReceiveRequestAttemptId return the same messages and receipt handles. If a retry occurs within the deduplication interval, it resets the visibility timeout. For more information, see Visibility Timeout in the Amazon SQS Developer Guide. If a caller of the ReceiveMessage action still processes messages when the visibility timeout expires and messages become visible, another worker consuming from the same queue can receive the same messages and therefore process duplicates. Also, if a consumer whose message processing time is longer than the visibility timeout tries to delete the processed messages, the action fails with an error. To mitigate this effect, ensure that your application observes a safe threshold before the visibility timeout expires and extend the visibility timeout as necessary. While messages with a particular MessageGroupId are invisible, no more messages belonging to the same MessageGroupId are returned until the visibility timeout expires. You can still receive messages with another MessageGroupId as long as it is also visible. If a caller of ReceiveMessage can't track the ReceiveRequestAttemptId, no retries work until the original visibility timeout expires. As a result, delays might occur but the messages in the queue remain in a strict order. The maximum length of ReceiveRequestAttemptId is 128 characters. ReceiveRequestAttemptId can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^_`{|}~). For best practices of using ReceiveRequestAttemptId, see Using the ReceiveRequestAttemptId Request Parameter in the Amazon SQS Developer Guide.
658
+ * This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of ReceiveMessage calls. If a networking issue occurs after a ReceiveMessage action, and instead of a response you receive a generic error, it is possible to retry the same action with an identical ReceiveRequestAttemptId to retrieve the same set of messages, even if their visibility timeout has not yet expired. You can use ReceiveRequestAttemptId only for 5 minutes after a ReceiveMessage action. When you set FifoQueue, a caller of the ReceiveMessage action can provide a ReceiveRequestAttemptId explicitly. It is possible to retry the ReceiveMessage action with the same ReceiveRequestAttemptId if none of the messages have been modified (deleted or had their visibility changes). During a visibility timeout, subsequent calls with the same ReceiveRequestAttemptId return the same messages and receipt handles. If a retry occurs within the deduplication interval, it resets the visibility timeout. For more information, see Visibility Timeout in the Amazon SQS Developer Guide. If a caller of the ReceiveMessage action still processes messages when the visibility timeout expires and messages become visible, another worker consuming from the same queue can receive the same messages and therefore process duplicates. Also, if a consumer whose message processing time is longer than the visibility timeout tries to delete the processed messages, the action fails with an error. To mitigate this effect, ensure that your application observes a safe threshold before the visibility timeout expires and extend the visibility timeout as necessary. While messages with a particular MessageGroupId are invisible, no more messages belonging to the same MessageGroupId are returned until the visibility timeout expires. You can still receive messages with another MessageGroupId as long as it is also visible. If a caller of ReceiveMessage can't track the ReceiveRequestAttemptId, no retries work until the original visibility timeout expires. As a result, delays might occur but the messages in the queue remain in a strict order. The maximum length of ReceiveRequestAttemptId is 128 characters. ReceiveRequestAttemptId can contain alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^_`{|}~). For best practices of using ReceiveRequestAttemptId, see Using the ReceiveRequestAttemptId Request Parameter in the Amazon SQS Developer Guide.
654
659
  */
655
660
  ReceiveRequestAttemptId?: String;
656
661
  }
@@ -774,7 +779,7 @@ declare namespace SQS {
774
779
  */
775
780
  MessageDeduplicationId?: String;
776
781
  /**
777
- * This parameter applies only to FIFO (first-in-first-out) queues. The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use MessageGroupId values (for example, session data for multiple users). In this scenario, multiple consumers can process the queue, but the session data of each user is processed in a FIFO fashion. You must associate a non-empty MessageGroupId with a message. If you don't provide a MessageGroupId, the action fails. ReceiveMessage might return messages with multiple MessageGroupId values. For each MessageGroupId, the messages are sorted by time sent. The caller can't specify a MessageGroupId. The length of MessageGroupId is 128 characters. Valid values: alphanumeric characters and punctuation (!"#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^_`{|}~). For best practices of using MessageGroupId, see Using the MessageGroupId Property in the Amazon SQS Developer Guide. MessageGroupId is required for FIFO queues. You can't use it for Standard queues.
782
+ * This parameter applies only to FIFO (first-in-first-out) queues. The tag that specifies that a message belongs to a specific message group. Messages that belong to the same message group are processed in a FIFO manner (however, messages in different message groups might be processed out of order). To interleave multiple ordered streams within a single queue, use MessageGroupId values (for example, session data for multiple users). In this scenario, multiple consumers can process the queue, but the session data of each user is processed in a FIFO fashion. You must associate a non-empty MessageGroupId with a message. If you don't provide a MessageGroupId, the action fails. ReceiveMessage might return messages with multiple MessageGroupId values. For each MessageGroupId, the messages are sorted by time sent. The caller can't specify a MessageGroupId. The maximum length of MessageGroupId is 128 characters. Valid values: alphanumeric characters and punctuation (!"#$%&amp;'()*+,-./:;&lt;=&gt;?@[\]^_`{|}~). For best practices of using MessageGroupId, see Using the MessageGroupId Property in the Amazon SQS Developer Guide. MessageGroupId is required for FIFO queues. You can't use it for Standard queues.
778
783
  */
779
784
  MessageGroupId?: String;
780
785
  }