aws-sdk 2.1615.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.
- package/README.md +1 -1
- package/apis/cognito-idp-2016-04-18.min.json +3 -0
- package/apis/ec2-2016-11-15.min.json +282 -279
- package/apis/ecr-2015-09-21.min.json +3 -0
- package/apis/metadata.json +0 -6
- package/apis/sqs-2012-11-05.min.json +21 -14
- package/clients/all.d.ts +0 -2
- package/clients/all.js +0 -2
- package/clients/cognitoidentityserviceprovider.d.ts +1 -1
- package/clients/ec2.d.ts +5 -0
- package/clients/ecr.d.ts +2 -2
- package/clients/fms.d.ts +4 -4
- package/clients/polly.d.ts +9 -9
- package/clients/sqs.d.ts +19 -14
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +1624 -1698
- package/dist/aws-sdk.js +312 -302
- package/dist/aws-sdk.min.js +64 -64
- package/lib/config_service_placeholders.d.ts +0 -4
- package/lib/core.js +1 -1
- package/package.json +1 -1
- package/apis/alexaforbusiness-2017-11-09.examples.json +0 -5
- package/apis/alexaforbusiness-2017-11-09.min.json +0 -2905
- package/apis/alexaforbusiness-2017-11-09.paginators.json +0 -94
- package/apis/honeycode-2020-03-01.examples.json +0 -5
- package/apis/honeycode-2020-03-01.min.json +0 -962
- package/apis/honeycode-2020-03-01.paginators.json +0 -27
- package/clients/alexaforbusiness.d.ts +0 -3862
- package/clients/alexaforbusiness.js +0 -18
- package/clients/honeycode.d.ts +0 -910
- package/clients/honeycode.js +0 -18
package/apis/metadata.json
CHANGED
@@ -544,9 +544,6 @@
|
|
544
544
|
"name": "ResourceGroups",
|
545
545
|
"cors": true
|
546
546
|
},
|
547
|
-
"alexaforbusiness": {
|
548
|
-
"name": "AlexaForBusiness"
|
549
|
-
},
|
550
547
|
"cloud9": {
|
551
548
|
"name": "Cloud9"
|
552
549
|
},
|
@@ -879,9 +876,6 @@
|
|
879
876
|
"codeartifact": {
|
880
877
|
"name": "CodeArtifact"
|
881
878
|
},
|
882
|
-
"honeycode": {
|
883
|
-
"name": "Honeycode"
|
884
|
-
},
|
885
879
|
"ivs": {
|
886
880
|
"name": "IVS"
|
887
881
|
},
|
@@ -401,7 +401,14 @@
|
|
401
401
|
"members": {
|
402
402
|
"QueueUrl": {},
|
403
403
|
"AttributeNames": {
|
404
|
-
"shape": "Sz"
|
404
|
+
"shape": "Sz",
|
405
|
+
"deprecated": true,
|
406
|
+
"deprecatedMessage": "AttributeNames has been replaced by MessageSystemAttributeNames"
|
407
|
+
},
|
408
|
+
"MessageSystemAttributeNames": {
|
409
|
+
"type": "list",
|
410
|
+
"member": {},
|
411
|
+
"flattened": true
|
405
412
|
},
|
406
413
|
"MessageAttributeNames": {
|
407
414
|
"type": "list",
|
@@ -440,7 +447,7 @@
|
|
440
447
|
},
|
441
448
|
"MD5OfMessageAttributes": {},
|
442
449
|
"MessageAttributes": {
|
443
|
-
"shape": "
|
450
|
+
"shape": "S1r"
|
444
451
|
}
|
445
452
|
}
|
446
453
|
},
|
@@ -476,10 +483,10 @@
|
|
476
483
|
"type": "integer"
|
477
484
|
},
|
478
485
|
"MessageAttributes": {
|
479
|
-
"shape": "
|
486
|
+
"shape": "S1r"
|
480
487
|
},
|
481
488
|
"MessageSystemAttributes": {
|
482
|
-
"shape": "
|
489
|
+
"shape": "S1y"
|
483
490
|
},
|
484
491
|
"MessageDeduplicationId": {},
|
485
492
|
"MessageGroupId": {}
|
@@ -520,10 +527,10 @@
|
|
520
527
|
"type": "integer"
|
521
528
|
},
|
522
529
|
"MessageAttributes": {
|
523
|
-
"shape": "
|
530
|
+
"shape": "S1r"
|
524
531
|
},
|
525
532
|
"MessageSystemAttributes": {
|
526
|
-
"shape": "
|
533
|
+
"shape": "S1y"
|
527
534
|
},
|
528
535
|
"MessageDeduplicationId": {},
|
529
536
|
"MessageGroupId": {}
|
@@ -678,7 +685,7 @@
|
|
678
685
|
"member": {},
|
679
686
|
"flattened": true
|
680
687
|
},
|
681
|
-
"
|
688
|
+
"S1r": {
|
682
689
|
"type": "map",
|
683
690
|
"key": {},
|
684
691
|
"value": {
|
@@ -692,11 +699,11 @@
|
|
692
699
|
"type": "blob"
|
693
700
|
},
|
694
701
|
"StringListValues": {
|
695
|
-
"shape": "
|
702
|
+
"shape": "S1u",
|
696
703
|
"flattened": true
|
697
704
|
},
|
698
705
|
"BinaryListValues": {
|
699
|
-
"shape": "
|
706
|
+
"shape": "S1v",
|
700
707
|
"flattened": true
|
701
708
|
},
|
702
709
|
"DataType": {}
|
@@ -704,17 +711,17 @@
|
|
704
711
|
},
|
705
712
|
"flattened": true
|
706
713
|
},
|
707
|
-
"
|
714
|
+
"S1u": {
|
708
715
|
"type": "list",
|
709
716
|
"member": {}
|
710
717
|
},
|
711
|
-
"
|
718
|
+
"S1v": {
|
712
719
|
"type": "list",
|
713
720
|
"member": {
|
714
721
|
"type": "blob"
|
715
722
|
}
|
716
723
|
},
|
717
|
-
"
|
724
|
+
"S1y": {
|
718
725
|
"type": "map",
|
719
726
|
"key": {},
|
720
727
|
"value": {
|
@@ -728,11 +735,11 @@
|
|
728
735
|
"type": "blob"
|
729
736
|
},
|
730
737
|
"StringListValues": {
|
731
|
-
"shape": "
|
738
|
+
"shape": "S1u",
|
732
739
|
"flattened": true
|
733
740
|
},
|
734
741
|
"BinaryListValues": {
|
735
|
-
"shape": "
|
742
|
+
"shape": "S1v",
|
736
743
|
"flattened": true
|
737
744
|
},
|
738
745
|
"DataType": {}
|
package/clients/all.d.ts
CHANGED
@@ -124,7 +124,6 @@ export import SageMakerRuntime = require('./sagemakerruntime');
|
|
124
124
|
export import SageMaker = require('./sagemaker');
|
125
125
|
export import Translate = require('./translate');
|
126
126
|
export import ResourceGroups = require('./resourcegroups');
|
127
|
-
export import AlexaForBusiness = require('./alexaforbusiness');
|
128
127
|
export import Cloud9 = require('./cloud9');
|
129
128
|
export import ServerlessApplicationRepository = require('./serverlessapplicationrepository');
|
130
129
|
export import ServiceDiscovery = require('./servicediscovery');
|
@@ -221,7 +220,6 @@ export import Synthetics = require('./synthetics');
|
|
221
220
|
export import IoTSiteWise = require('./iotsitewise');
|
222
221
|
export import Macie2 = require('./macie2');
|
223
222
|
export import CodeArtifact = require('./codeartifact');
|
224
|
-
export import Honeycode = require('./honeycode');
|
225
223
|
export import IVS = require('./ivs');
|
226
224
|
export import Braket = require('./braket');
|
227
225
|
export import IdentityStore = require('./identitystore');
|
package/clients/all.js
CHANGED
@@ -126,7 +126,6 @@ module.exports = {
|
|
126
126
|
SageMaker: require('./sagemaker'),
|
127
127
|
Translate: require('./translate'),
|
128
128
|
ResourceGroups: require('./resourcegroups'),
|
129
|
-
AlexaForBusiness: require('./alexaforbusiness'),
|
130
129
|
Cloud9: require('./cloud9'),
|
131
130
|
ServerlessApplicationRepository: require('./serverlessapplicationrepository'),
|
132
131
|
ServiceDiscovery: require('./servicediscovery'),
|
@@ -223,7 +222,6 @@ module.exports = {
|
|
223
222
|
IoTSiteWise: require('./iotsitewise'),
|
224
223
|
Macie2: require('./macie2'),
|
225
224
|
CodeArtifact: require('./codeartifact'),
|
226
|
-
Honeycode: require('./honeycode'),
|
227
225
|
IVS: require('./ivs'),
|
228
226
|
Braket: require('./braket'),
|
229
227
|
IdentityStore: require('./identitystore'),
|
@@ -4658,7 +4658,7 @@ declare namespace CognitoIdentityServiceProvider {
|
|
4658
4658
|
*/
|
4659
4659
|
AccountRecoverySetting?: AccountRecoverySettingType;
|
4660
4660
|
}
|
4661
|
-
export type UserStatusType = "UNCONFIRMED"|"CONFIRMED"|"ARCHIVED"|"COMPROMISED"|"UNKNOWN"|"RESET_REQUIRED"|"FORCE_CHANGE_PASSWORD"|string;
|
4661
|
+
export type UserStatusType = "UNCONFIRMED"|"CONFIRMED"|"ARCHIVED"|"COMPROMISED"|"UNKNOWN"|"RESET_REQUIRED"|"FORCE_CHANGE_PASSWORD"|"EXTERNAL_PROVIDER"|string;
|
4662
4662
|
export interface UserType {
|
4663
4663
|
/**
|
4664
4664
|
* The user name of the user you want to describe.
|
package/clients/ec2.d.ts
CHANGED
@@ -25456,6 +25456,10 @@ declare namespace EC2 {
|
|
25456
25456
|
* Describes the Neuron accelerator settings for the instance type.
|
25457
25457
|
*/
|
25458
25458
|
NeuronInfo?: NeuronInfo;
|
25459
|
+
/**
|
25460
|
+
* Indicates whether a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.
|
25461
|
+
*/
|
25462
|
+
PhcSupport?: PhcSupport;
|
25459
25463
|
}
|
25460
25464
|
export interface InstanceTypeInfoFromInstanceRequirements {
|
25461
25465
|
/**
|
@@ -31746,6 +31750,7 @@ declare namespace EC2 {
|
|
31746
31750
|
*/
|
31747
31751
|
Value?: String;
|
31748
31752
|
}
|
31753
|
+
export type PhcSupport = "unsupported"|"supported"|string;
|
31749
31754
|
export interface Placement {
|
31750
31755
|
/**
|
31751
31756
|
* The Availability Zone of the instance. If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region. This parameter is not supported for CreateFleet.
|
package/clients/ecr.d.ts
CHANGED
@@ -577,7 +577,7 @@ declare namespace ECR {
|
|
577
577
|
*/
|
578
578
|
ecrRepositoryPrefix: PullThroughCacheRuleRepositoryPrefix;
|
579
579
|
/**
|
580
|
-
* The registry URL of the upstream public registry to use as the source for the pull through cache rule. The following is the syntax to use for each supported upstream registry. Amazon ECR Public (ecr-public) - public.ecr.aws Docker Hub (docker-hub) - registry-1.docker.io Quay (quay) - quay.io Kubernetes (k8s) - registry.k8s.io GitHub Container Registry (github-container-registry) - ghcr.io Microsoft Azure Container Registry (azure-container-registry) - <custom>.azurecr.io
|
580
|
+
* The registry URL of the upstream public registry to use as the source for the pull through cache rule. The following is the syntax to use for each supported upstream registry. Amazon ECR Public (ecr-public) - public.ecr.aws Docker Hub (docker-hub) - registry-1.docker.io Quay (quay) - quay.io Kubernetes (k8s) - registry.k8s.io GitHub Container Registry (github-container-registry) - ghcr.io Microsoft Azure Container Registry (azure-container-registry) - <custom>.azurecr.io GitLab Container Registry (gitlab-container-registry) - registry.gitlab.com
|
581
581
|
*/
|
582
582
|
upstreamRegistryUrl: Url;
|
583
583
|
/**
|
@@ -2288,7 +2288,7 @@ declare namespace ECR {
|
|
2288
2288
|
*/
|
2289
2289
|
lastByteReceived?: PartSize;
|
2290
2290
|
}
|
2291
|
-
export type UpstreamRegistry = "ecr-public"|"quay"|"k8s"|"docker-hub"|"github-container-registry"|"azure-container-registry"|string;
|
2291
|
+
export type UpstreamRegistry = "ecr-public"|"quay"|"k8s"|"docker-hub"|"github-container-registry"|"azure-container-registry"|"gitlab-container-registry"|string;
|
2292
2292
|
export type Url = string;
|
2293
2293
|
export interface ValidatePullThroughCacheRuleRequest {
|
2294
2294
|
/**
|
package/clients/fms.d.ts
CHANGED
@@ -1607,7 +1607,7 @@ declare namespace FMS {
|
|
1607
1607
|
*/
|
1608
1608
|
FirstEntries?: NetworkAclEntries;
|
1609
1609
|
/**
|
1610
|
-
* Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries. If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see
|
1610
|
+
* Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries. If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the Firewall Manager Developer Guide.
|
1611
1611
|
*/
|
1612
1612
|
ForceRemediateForFirstEntries: BooleanObject;
|
1613
1613
|
/**
|
@@ -1615,7 +1615,7 @@ declare namespace FMS {
|
|
1615
1615
|
*/
|
1616
1616
|
LastEntries?: NetworkAclEntries;
|
1617
1617
|
/**
|
1618
|
-
* Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries. If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see
|
1618
|
+
* Applies only when remediation is enabled for the policy as a whole. Firewall Manager uses this setting when it finds policy violations that involve conflicts between the custom entries and the policy entries. If forced remediation is disabled, Firewall Manager marks the network ACL as noncompliant and does not try to remediate. For more information about the remediation behavior, see Remediation for managed network ACLs in the Firewall Manager Developer Guide.
|
1619
1619
|
*/
|
1620
1620
|
ForceRemediateForLastEntries: BooleanObject;
|
1621
1621
|
}
|
@@ -2043,7 +2043,7 @@ declare namespace FMS {
|
|
2043
2043
|
*/
|
2044
2044
|
ResourceSetIds?: ResourceSetIds;
|
2045
2045
|
/**
|
2046
|
-
*
|
2046
|
+
* Your description of the Firewall Manager policy.
|
2047
2047
|
*/
|
2048
2048
|
PolicyDescription?: ResourceDescription;
|
2049
2049
|
/**
|
@@ -2525,7 +2525,7 @@ declare namespace FMS {
|
|
2525
2525
|
*/
|
2526
2526
|
Key: ResourceTagKey;
|
2527
2527
|
/**
|
2528
|
-
* The resource tag value.
|
2528
|
+
* The resource tag value. To specify an empty string value, either don't provide this or specify it as "".
|
2529
2529
|
*/
|
2530
2530
|
Value?: ResourceTagValue;
|
2531
2531
|
}
|
package/clients/polly.d.ts
CHANGED
@@ -104,7 +104,7 @@ declare namespace Polly {
|
|
104
104
|
}
|
105
105
|
export interface DescribeVoicesInput {
|
106
106
|
/**
|
107
|
-
* Specifies the engine (standard, neural
|
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
|
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
|
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
|
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
|
487
|
+
* Specifies which engines (standard, neural, long-form or generative) are supported by a given voice.
|
488
488
|
*/
|
489
489
|
SupportedEngines?: EngineList;
|
490
490
|
}
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|
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.
|
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 (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). 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 (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). 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 (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~). 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
|
}
|