@aws-sdk/client-sns 3.289.0 → 3.292.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/dist-types/commands/AddPermissionCommand.d.ts +14 -0
- package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +14 -0
- package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +23 -0
- package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +11 -0
- package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +14 -0
- package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +22 -0
- package/dist-types/commands/CreateTopicCommand.d.ts +33 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +11 -0
- package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +11 -0
- package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +22 -0
- package/dist-types/commands/DeleteTopicCommand.d.ts +26 -0
- package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +18 -0
- package/dist-types/commands/GetEndpointAttributesCommand.d.ts +14 -0
- package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +14 -0
- package/dist-types/commands/GetSMSAttributesCommand.d.ts +14 -0
- package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +10 -0
- package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +14 -0
- package/dist-types/commands/GetTopicAttributesCommand.d.ts +18 -0
- package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +14 -0
- package/dist-types/commands/ListOriginationNumbersCommand.d.ts +17 -0
- package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +14 -0
- package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +11 -0
- package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +18 -0
- package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +14 -0
- package/dist-types/commands/ListSubscriptionsCommand.d.ts +11 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +20 -0
- package/dist-types/commands/ListTopicsCommand.d.ts +11 -0
- package/dist-types/commands/OptInPhoneNumberCommand.d.ts +14 -0
- package/dist-types/commands/PublishBatchCommand.d.ts +72 -0
- package/dist-types/commands/PublishCommand.d.ts +57 -0
- package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +18 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +14 -0
- package/dist-types/commands/SetEndpointAttributesCommand.d.ts +14 -0
- package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +14 -0
- package/dist-types/commands/SetSMSAttributesCommand.d.ts +14 -0
- package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +19 -0
- package/dist-types/commands/SetTopicAttributesCommand.d.ts +18 -0
- package/dist-types/commands/SubscribeCommand.d.ts +27 -0
- package/dist-types/commands/TagResourceCommand.d.ts +27 -0
- package/dist-types/commands/UnsubscribeCommand.d.ts +18 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +27 -0
- package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +21 -0
- package/package.json +35 -40
|
@@ -31,6 +31,20 @@ export interface OptInPhoneNumberCommandOutput extends OptInPhoneNumberResponse,
|
|
|
31
31
|
* @see {@link OptInPhoneNumberCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
35
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
38
|
+
* <p>Indicates an internal service error.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
41
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
42
|
+
* constraints.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ThrottledException} (client fault)
|
|
45
|
+
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
34
48
|
*/
|
|
35
49
|
export declare class OptInPhoneNumberCommand extends $Command<OptInPhoneNumberCommandInput, OptInPhoneNumberCommandOutput, SNSClientResolvedConfig> {
|
|
36
50
|
readonly input: OptInPhoneNumberCommandInput;
|
|
@@ -49,6 +49,78 @@ export interface PublishBatchCommandOutput extends PublishBatchResponse, __Metad
|
|
|
49
49
|
* @see {@link PublishBatchCommandOutput} for command's `response` shape.
|
|
50
50
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
51
51
|
*
|
|
52
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
53
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link BatchEntryIdsNotDistinctException} (client fault)
|
|
56
|
+
* <p>Two or more batch entries in the request have the same <code>Id</code>.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link BatchRequestTooLongException} (client fault)
|
|
59
|
+
* <p>The length of all the batch messages put together is more than the limit.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link EmptyBatchRequestException} (client fault)
|
|
62
|
+
* <p>The batch request doesn't contain any entries.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link EndpointDisabledException} (client fault)
|
|
65
|
+
* <p>Exception error indicating endpoint disabled.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
68
|
+
* <p>Indicates an internal service error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InvalidBatchEntryIdException} (client fault)
|
|
71
|
+
* <p>The <code>Id</code> of a batch entry in a batch request doesn't abide by the specification. </p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
74
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
75
|
+
* constraints.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
78
|
+
* <p>Indicates that a request parameter does not comply with the associated constraints.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InvalidSecurityException} (client fault)
|
|
81
|
+
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
82
|
+
* request using Signature Version 4.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link KMSAccessDeniedException} (client fault)
|
|
85
|
+
* <p>The ciphertext references a key that doesn't exist or that you don't have access
|
|
86
|
+
* to.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link KMSDisabledException} (client fault)
|
|
89
|
+
* <p>The request was rejected because the specified customer master key (CMK) isn't
|
|
90
|
+
* enabled.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link KMSInvalidStateException} (client fault)
|
|
93
|
+
* <p>The request was rejected because the state of the specified resource isn't valid for
|
|
94
|
+
* this request. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects Use of a
|
|
95
|
+
* Customer Master Key</a> in the <i>Key Management Service Developer
|
|
96
|
+
* Guide</i>.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link KMSNotFoundException} (client fault)
|
|
99
|
+
* <p>The request was rejected because the specified entity or resource can't be
|
|
100
|
+
* found.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link KMSOptInRequired} (client fault)
|
|
103
|
+
* <p>The Amazon Web Services access key ID needs a subscription for the service.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link KMSThrottlingException} (client fault)
|
|
106
|
+
* <p>The request was denied due to request throttling. For more information about
|
|
107
|
+
* throttling, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second">Limits</a> in
|
|
108
|
+
* the <i>Key Management Service Developer Guide.</i>
|
|
109
|
+
* </p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link NotFoundException} (client fault)
|
|
112
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link PlatformApplicationDisabledException} (client fault)
|
|
115
|
+
* <p>Exception error indicating platform application disabled.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link TooManyEntriesInBatchRequestException} (client fault)
|
|
118
|
+
* <p>The batch request contains more entries than permissible.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ValidationException} (client fault)
|
|
121
|
+
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
122
|
+
*
|
|
123
|
+
*
|
|
52
124
|
*/
|
|
53
125
|
export declare class PublishBatchCommand extends $Command<PublishBatchCommandInput, PublishBatchCommandOutput, SNSClientResolvedConfig> {
|
|
54
126
|
readonly input: PublishBatchCommandInput;
|
|
@@ -46,6 +46,63 @@ export interface PublishCommandOutput extends PublishResponse, __MetadataBearer
|
|
|
46
46
|
* @see {@link PublishCommandOutput} for command's `response` shape.
|
|
47
47
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
48
48
|
*
|
|
49
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
50
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link EndpointDisabledException} (client fault)
|
|
53
|
+
* <p>Exception error indicating endpoint disabled.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
56
|
+
* <p>Indicates an internal service error.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
59
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
60
|
+
* constraints.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
63
|
+
* <p>Indicates that a request parameter does not comply with the associated constraints.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidSecurityException} (client fault)
|
|
66
|
+
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
67
|
+
* request using Signature Version 4.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link KMSAccessDeniedException} (client fault)
|
|
70
|
+
* <p>The ciphertext references a key that doesn't exist or that you don't have access
|
|
71
|
+
* to.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link KMSDisabledException} (client fault)
|
|
74
|
+
* <p>The request was rejected because the specified customer master key (CMK) isn't
|
|
75
|
+
* enabled.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link KMSInvalidStateException} (client fault)
|
|
78
|
+
* <p>The request was rejected because the state of the specified resource isn't valid for
|
|
79
|
+
* this request. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects Use of a
|
|
80
|
+
* Customer Master Key</a> in the <i>Key Management Service Developer
|
|
81
|
+
* Guide</i>.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link KMSNotFoundException} (client fault)
|
|
84
|
+
* <p>The request was rejected because the specified entity or resource can't be
|
|
85
|
+
* found.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link KMSOptInRequired} (client fault)
|
|
88
|
+
* <p>The Amazon Web Services access key ID needs a subscription for the service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link KMSThrottlingException} (client fault)
|
|
91
|
+
* <p>The request was denied due to request throttling. For more information about
|
|
92
|
+
* throttling, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second">Limits</a> in
|
|
93
|
+
* the <i>Key Management Service Developer Guide.</i>
|
|
94
|
+
* </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link NotFoundException} (client fault)
|
|
97
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link PlatformApplicationDisabledException} (client fault)
|
|
100
|
+
* <p>Exception error indicating platform application disabled.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ValidationException} (client fault)
|
|
103
|
+
* <p>Indicates that a parameter in the request is invalid.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
49
106
|
*/
|
|
50
107
|
export declare class PublishCommand extends $Command<PublishCommandInput, PublishCommandOutput, SNSClientResolvedConfig> {
|
|
51
108
|
readonly input: PublishCommandInput;
|
|
@@ -30,6 +30,24 @@ export interface PutDataProtectionPolicyCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* @see {@link PutDataProtectionPolicyCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
34
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
37
|
+
* <p>Indicates an internal service error.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
40
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
41
|
+
* constraints.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidSecurityException} (client fault)
|
|
44
|
+
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
45
|
+
* request using Signature Version 4.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NotFoundException} (client fault)
|
|
48
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
33
51
|
*/
|
|
34
52
|
export declare class PutDataProtectionPolicyCommand extends $Command<PutDataProtectionPolicyCommandInput, PutDataProtectionPolicyCommandOutput, SNSClientResolvedConfig> {
|
|
35
53
|
readonly input: PutDataProtectionPolicyCommandInput;
|
|
@@ -34,6 +34,20 @@ export interface RemovePermissionCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link RemovePermissionCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
38
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
41
|
+
* <p>Indicates an internal service error.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
44
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
45
|
+
* constraints.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link NotFoundException} (client fault)
|
|
48
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
37
51
|
*/
|
|
38
52
|
export declare class RemovePermissionCommand extends $Command<RemovePermissionCommandInput, RemovePermissionCommandOutput, SNSClientResolvedConfig> {
|
|
39
53
|
readonly input: RemovePermissionCommandInput;
|
|
@@ -31,6 +31,20 @@ export interface SetEndpointAttributesCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* @see {@link SetEndpointAttributesCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
35
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
38
|
+
* <p>Indicates an internal service error.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
41
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
42
|
+
* constraints.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link NotFoundException} (client fault)
|
|
45
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
46
|
+
*
|
|
47
|
+
*
|
|
34
48
|
*/
|
|
35
49
|
export declare class SetEndpointAttributesCommand extends $Command<SetEndpointAttributesCommandInput, SetEndpointAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
36
50
|
readonly input: SetEndpointAttributesCommandInput;
|
|
@@ -33,6 +33,20 @@ export interface SetPlatformApplicationAttributesCommandOutput extends __Metadat
|
|
|
33
33
|
* @see {@link SetPlatformApplicationAttributesCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
37
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
40
|
+
* <p>Indicates an internal service error.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
43
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
44
|
+
* constraints.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link NotFoundException} (client fault)
|
|
47
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
48
|
+
*
|
|
49
|
+
*
|
|
36
50
|
*/
|
|
37
51
|
export declare class SetPlatformApplicationAttributesCommand extends $Command<SetPlatformApplicationAttributesCommandInput, SetPlatformApplicationAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
38
52
|
readonly input: SetPlatformApplicationAttributesCommandInput;
|
|
@@ -39,6 +39,20 @@ export interface SetSMSAttributesCommandOutput extends SetSMSAttributesResponse,
|
|
|
39
39
|
* @see {@link SetSMSAttributesCommandOutput} for command's `response` shape.
|
|
40
40
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
41
41
|
*
|
|
42
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
43
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
46
|
+
* <p>Indicates an internal service error.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
49
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
50
|
+
* constraints.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ThrottledException} (client fault)
|
|
53
|
+
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
42
56
|
*/
|
|
43
57
|
export declare class SetSMSAttributesCommand extends $Command<SetSMSAttributesCommandInput, SetSMSAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
44
58
|
readonly input: SetSMSAttributesCommandInput;
|
|
@@ -30,6 +30,25 @@ export interface SetSubscriptionAttributesCommandOutput extends __MetadataBearer
|
|
|
30
30
|
* @see {@link SetSubscriptionAttributesCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
34
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link FilterPolicyLimitExceededException} (client fault)
|
|
37
|
+
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
38
|
+
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web Services Support
|
|
39
|
+
* Center.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
42
|
+
* <p>Indicates an internal service error.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
45
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
46
|
+
* constraints.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link NotFoundException} (client fault)
|
|
49
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
33
52
|
*/
|
|
34
53
|
export declare class SetSubscriptionAttributesCommand extends $Command<SetSubscriptionAttributesCommandInput, SetSubscriptionAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
35
54
|
readonly input: SetSubscriptionAttributesCommandInput;
|
|
@@ -34,6 +34,24 @@ export interface SetTopicAttributesCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* @see {@link SetTopicAttributesCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
38
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
41
|
+
* <p>Indicates an internal service error.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
44
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
45
|
+
* constraints.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link InvalidSecurityException} (client fault)
|
|
48
|
+
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
49
|
+
* request using Signature Version 4.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link NotFoundException} (client fault)
|
|
52
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
37
55
|
*/
|
|
38
56
|
export declare class SetTopicAttributesCommand extends $Command<SetTopicAttributesCommandInput, SetTopicAttributesCommandOutput, SNSClientResolvedConfig> {
|
|
39
57
|
readonly input: SetTopicAttributesCommandInput;
|
|
@@ -34,6 +34,33 @@ export interface SubscribeCommandOutput extends SubscribeResponse, __MetadataBea
|
|
|
34
34
|
* @see {@link SubscribeCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
38
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link FilterPolicyLimitExceededException} (client fault)
|
|
41
|
+
* <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
|
|
42
|
+
* add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web Services Support
|
|
43
|
+
* Center.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
46
|
+
* <p>Indicates an internal service error.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
49
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
50
|
+
* constraints.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InvalidSecurityException} (client fault)
|
|
53
|
+
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
54
|
+
* request using Signature Version 4.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link NotFoundException} (client fault)
|
|
57
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link SubscriptionLimitExceededException} (client fault)
|
|
60
|
+
* <p>Indicates that the customer already owns the maximum allowed number of
|
|
61
|
+
* subscriptions.</p>
|
|
62
|
+
*
|
|
63
|
+
*
|
|
37
64
|
*/
|
|
38
65
|
export declare class SubscribeCommand extends $Command<SubscribeCommandInput, SubscribeCommandOutput, SNSClientResolvedConfig> {
|
|
39
66
|
readonly input: SubscribeCommandInput;
|
|
@@ -51,6 +51,33 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
51
51
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
52
52
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
53
53
|
*
|
|
54
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
55
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConcurrentAccessException} (client fault)
|
|
58
|
+
* <p>Can't perform multiple operations on a tag simultaneously. Perform the operations
|
|
59
|
+
* sequentially.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
62
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
63
|
+
* constraints.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>Can’t perform the action on the specified resource. Make sure that the resource
|
|
67
|
+
* exists.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link StaleTagException} (client fault)
|
|
70
|
+
* <p>A tag has been added to a resource with the same ARN as a deleted resource. Wait a
|
|
71
|
+
* short while and then retry the operation.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link TagLimitExceededException} (client fault)
|
|
74
|
+
* <p>Can't add more than 50 tags to a topic.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link TagPolicyException} (client fault)
|
|
77
|
+
* <p>The request doesn't comply with the IAM tag policy. Correct your request and then
|
|
78
|
+
* retry it.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
54
81
|
*/
|
|
55
82
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SNSClientResolvedConfig> {
|
|
56
83
|
readonly input: TagResourceCommandInput;
|
|
@@ -40,6 +40,24 @@ export interface UnsubscribeCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* @see {@link UnsubscribeCommandOutput} for command's `response` shape.
|
|
41
41
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
42
42
|
*
|
|
43
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
44
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
47
|
+
* <p>Indicates an internal service error.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
50
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
51
|
+
* constraints.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidSecurityException} (client fault)
|
|
54
|
+
* <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
|
|
55
|
+
* request using Signature Version 4.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link NotFoundException} (client fault)
|
|
58
|
+
* <p>Indicates that the requested resource does not exist.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
43
61
|
*/
|
|
44
62
|
export declare class UnsubscribeCommand extends $Command<UnsubscribeCommandInput, UnsubscribeCommandOutput, SNSClientResolvedConfig> {
|
|
45
63
|
readonly input: UnsubscribeCommandInput;
|
|
@@ -30,6 +30,33 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
30
30
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
34
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link ConcurrentAccessException} (client fault)
|
|
37
|
+
* <p>Can't perform multiple operations on a tag simultaneously. Perform the operations
|
|
38
|
+
* sequentially.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
41
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
42
|
+
* constraints.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
45
|
+
* <p>Can’t perform the action on the specified resource. Make sure that the resource
|
|
46
|
+
* exists.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link StaleTagException} (client fault)
|
|
49
|
+
* <p>A tag has been added to a resource with the same ARN as a deleted resource. Wait a
|
|
50
|
+
* short while and then retry the operation.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link TagLimitExceededException} (client fault)
|
|
53
|
+
* <p>Can't add more than 50 tags to a topic.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link TagPolicyException} (client fault)
|
|
56
|
+
* <p>The request doesn't comply with the IAM tag policy. Correct your request and then
|
|
57
|
+
* retry it.</p>
|
|
58
|
+
*
|
|
59
|
+
*
|
|
33
60
|
*/
|
|
34
61
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SNSClientResolvedConfig> {
|
|
35
62
|
readonly input: UntagResourceCommandInput;
|
|
@@ -38,6 +38,27 @@ export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandb
|
|
|
38
38
|
* @see {@link VerifySMSSandboxPhoneNumberCommandOutput} for command's `response` shape.
|
|
39
39
|
* @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
|
|
40
40
|
*
|
|
41
|
+
* @throws {@link AuthorizationErrorException} (client fault)
|
|
42
|
+
* <p>Indicates that the user has been denied access to the requested resource.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link InternalErrorException} (server fault)
|
|
45
|
+
* <p>Indicates an internal service error.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
48
|
+
* <p>Indicates that a request parameter does not comply with the associated
|
|
49
|
+
* constraints.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
52
|
+
* <p>Can’t perform the action on the specified resource. Make sure that the resource
|
|
53
|
+
* exists.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ThrottledException} (client fault)
|
|
56
|
+
* <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link VerificationException} (client fault)
|
|
59
|
+
* <p>Indicates that the one-time password (OTP) used for verification is invalid.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
41
62
|
*/
|
|
42
63
|
export declare class VerifySMSSandboxPhoneNumberCommand extends $Command<VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
|
|
43
64
|
readonly input: VerifySMSSandboxPhoneNumberCommandInput;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.292.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,56 +20,51 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.292.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.292.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.292.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.292.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.292.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.292.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.292.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.292.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.292.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.292.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.292.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.292.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.292.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.292.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.292.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.292.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.292.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.292.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.292.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.292.0",
|
|
43
|
+
"@aws-sdk/types": "3.292.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.292.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.292.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.292.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.292.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.292.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.292.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.292.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.292.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.292.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.292.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.292.0",
|
|
55
55
|
"fast-xml-parser": "4.1.2",
|
|
56
56
|
"tslib": "^2.3.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.292.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|
|
63
63
|
"downlevel-dts": "0.10.1",
|
|
64
64
|
"rimraf": "3.0.2",
|
|
65
|
-
"typedoc": "0.
|
|
65
|
+
"typedoc": "0.23.23",
|
|
66
66
|
"typescript": "~4.6.2"
|
|
67
67
|
},
|
|
68
|
-
"overrides": {
|
|
69
|
-
"typedoc": {
|
|
70
|
-
"typescript": "~4.6.2"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
68
|
"engines": {
|
|
74
69
|
"node": ">=14.0.0"
|
|
75
70
|
},
|