@aws-sdk/client-sns 3.289.0 → 3.290.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 (43) hide show
  1. package/dist-types/commands/AddPermissionCommand.d.ts +14 -0
  2. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +14 -0
  3. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +23 -0
  4. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +11 -0
  5. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +14 -0
  6. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +22 -0
  7. package/dist-types/commands/CreateTopicCommand.d.ts +33 -0
  8. package/dist-types/commands/DeleteEndpointCommand.d.ts +11 -0
  9. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +11 -0
  10. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +22 -0
  11. package/dist-types/commands/DeleteTopicCommand.d.ts +26 -0
  12. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +18 -0
  13. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +14 -0
  14. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +14 -0
  15. package/dist-types/commands/GetSMSAttributesCommand.d.ts +14 -0
  16. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +10 -0
  17. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +14 -0
  18. package/dist-types/commands/GetTopicAttributesCommand.d.ts +18 -0
  19. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +14 -0
  20. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +17 -0
  21. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +14 -0
  22. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +11 -0
  23. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +18 -0
  24. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +14 -0
  25. package/dist-types/commands/ListSubscriptionsCommand.d.ts +11 -0
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +20 -0
  27. package/dist-types/commands/ListTopicsCommand.d.ts +11 -0
  28. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +14 -0
  29. package/dist-types/commands/PublishBatchCommand.d.ts +72 -0
  30. package/dist-types/commands/PublishCommand.d.ts +57 -0
  31. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +18 -0
  32. package/dist-types/commands/RemovePermissionCommand.d.ts +14 -0
  33. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +14 -0
  34. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +14 -0
  35. package/dist-types/commands/SetSMSAttributesCommand.d.ts +14 -0
  36. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +19 -0
  37. package/dist-types/commands/SetTopicAttributesCommand.d.ts +18 -0
  38. package/dist-types/commands/SubscribeCommand.d.ts +27 -0
  39. package/dist-types/commands/TagResourceCommand.d.ts +27 -0
  40. package/dist-types/commands/UnsubscribeCommand.d.ts +18 -0
  41. package/dist-types/commands/UntagResourceCommand.d.ts +27 -0
  42. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +21 -0
  43. package/package.json +29 -29
@@ -35,6 +35,20 @@ export interface AddPermissionCommandOutput extends __MetadataBearer {
35
35
  * @see {@link AddPermissionCommandOutput} for command's `response` shape.
36
36
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
37
37
  *
38
+ * @throws {@link AuthorizationErrorException} (client fault)
39
+ * <p>Indicates that the user has been denied access to the requested resource.</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
+ *
38
52
  */
39
53
  export declare class AddPermissionCommand extends $Command<AddPermissionCommandInput, AddPermissionCommandOutput, SNSClientResolvedConfig> {
40
54
  readonly input: AddPermissionCommandInput;
@@ -33,6 +33,20 @@ export interface CheckIfPhoneNumberIsOptedOutCommandOutput extends CheckIfPhoneN
33
33
  * @see {@link CheckIfPhoneNumberIsOptedOutCommandOutput} 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 ThrottledException} (client fault)
47
+ * <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
48
+ *
49
+ *
36
50
  */
37
51
  export declare class CheckIfPhoneNumberIsOptedOutCommand extends $Command<CheckIfPhoneNumberIsOptedOutCommandInput, CheckIfPhoneNumberIsOptedOutCommandOutput, SNSClientResolvedConfig> {
38
52
  readonly input: CheckIfPhoneNumberIsOptedOutCommandInput;
@@ -33,6 +33,29 @@ export interface ConfirmSubscriptionCommandOutput extends ConfirmSubscriptionRes
33
33
  * @see {@link ConfirmSubscriptionCommandOutput} 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 FilterPolicyLimitExceededException} (client fault)
40
+ * <p>Indicates that the number of filter polices in your Amazon Web Services account exceeds the limit. To
41
+ * add more filter polices, submit an Amazon SNS Limit Increase case in the Amazon Web Services Support
42
+ * Center.</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 NotFoundException} (client fault)
52
+ * <p>Indicates that the requested resource does not exist.</p>
53
+ *
54
+ * @throws {@link SubscriptionLimitExceededException} (client fault)
55
+ * <p>Indicates that the customer already owns the maximum allowed number of
56
+ * subscriptions.</p>
57
+ *
58
+ *
36
59
  */
37
60
  export declare class ConfirmSubscriptionCommand extends $Command<ConfirmSubscriptionCommandInput, ConfirmSubscriptionCommandOutput, SNSClientResolvedConfig> {
38
61
  readonly input: ConfirmSubscriptionCommandInput;
@@ -73,6 +73,17 @@ export interface CreatePlatformApplicationCommandOutput extends CreatePlatformAp
73
73
  * @see {@link CreatePlatformApplicationCommandOutput} for command's `response` shape.
74
74
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
75
75
  *
76
+ * @throws {@link AuthorizationErrorException} (client fault)
77
+ * <p>Indicates that the user has been denied access to the requested resource.</p>
78
+ *
79
+ * @throws {@link InternalErrorException} (server fault)
80
+ * <p>Indicates an internal service error.</p>
81
+ *
82
+ * @throws {@link InvalidParameterException} (client fault)
83
+ * <p>Indicates that a request parameter does not comply with the associated
84
+ * constraints.</p>
85
+ *
86
+ *
76
87
  */
77
88
  export declare class CreatePlatformApplicationCommand extends $Command<CreatePlatformApplicationCommandInput, CreatePlatformApplicationCommandOutput, SNSClientResolvedConfig> {
78
89
  readonly input: CreatePlatformApplicationCommandInput;
@@ -42,6 +42,20 @@ export interface CreatePlatformEndpointCommandOutput extends CreateEndpointRespo
42
42
  * @see {@link CreatePlatformEndpointCommandOutput} for command's `response` shape.
43
43
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
44
44
  *
45
+ * @throws {@link AuthorizationErrorException} (client fault)
46
+ * <p>Indicates that the user has been denied access to the requested resource.</p>
47
+ *
48
+ * @throws {@link InternalErrorException} (server fault)
49
+ * <p>Indicates an internal service error.</p>
50
+ *
51
+ * @throws {@link InvalidParameterException} (client fault)
52
+ * <p>Indicates that a request parameter does not comply with the associated
53
+ * constraints.</p>
54
+ *
55
+ * @throws {@link NotFoundException} (client fault)
56
+ * <p>Indicates that the requested resource does not exist.</p>
57
+ *
58
+ *
45
59
  */
46
60
  export declare class CreatePlatformEndpointCommand extends $Command<CreatePlatformEndpointCommandInput, CreatePlatformEndpointCommandOutput, SNSClientResolvedConfig> {
47
61
  readonly input: CreatePlatformEndpointCommandInput;
@@ -38,6 +38,28 @@ export interface CreateSMSSandboxPhoneNumberCommandOutput extends CreateSMSSandb
38
38
  * @see {@link CreateSMSSandboxPhoneNumberCommandOutput} 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 OptedOutException} (client fault)
52
+ * <p>Indicates that the specified phone number opted out of receiving SMS messages from
53
+ * your Amazon Web Services account. You can't send SMS messages to phone numbers that opt out.</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 UserErrorException} (client fault)
59
+ * <p>Indicates that a request parameter does not comply with the associated
60
+ * constraints.</p>
61
+ *
62
+ *
41
63
  */
42
64
  export declare class CreateSMSSandboxPhoneNumberCommand extends $Command<CreateSMSSandboxPhoneNumberCommandInput, CreateSMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
43
65
  readonly input: CreateSMSSandboxPhoneNumberCommandInput;
@@ -33,6 +33,39 @@ export interface CreateTopicCommandOutput extends CreateTopicResponse, __Metadat
33
33
  * @see {@link CreateTopicCommandOutput} 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 ConcurrentAccessException} (client fault)
40
+ * <p>Can't perform multiple operations on a tag simultaneously. Perform the operations
41
+ * sequentially.</p>
42
+ *
43
+ * @throws {@link InternalErrorException} (server fault)
44
+ * <p>Indicates an internal service error.</p>
45
+ *
46
+ * @throws {@link InvalidParameterException} (client fault)
47
+ * <p>Indicates that a request parameter does not comply with the associated
48
+ * constraints.</p>
49
+ *
50
+ * @throws {@link InvalidSecurityException} (client fault)
51
+ * <p>The credential signature isn't valid. You must use an HTTPS endpoint and sign your
52
+ * request using Signature Version 4.</p>
53
+ *
54
+ * @throws {@link StaleTagException} (client fault)
55
+ * <p>A tag has been added to a resource with the same ARN as a deleted resource. Wait a
56
+ * short while and then retry the operation.</p>
57
+ *
58
+ * @throws {@link TagLimitExceededException} (client fault)
59
+ * <p>Can't add more than 50 tags to a topic.</p>
60
+ *
61
+ * @throws {@link TagPolicyException} (client fault)
62
+ * <p>The request doesn't comply with the IAM tag policy. Correct your request and then
63
+ * retry it.</p>
64
+ *
65
+ * @throws {@link TopicLimitExceededException} (client fault)
66
+ * <p>Indicates that the customer already owns the maximum allowed number of topics.</p>
67
+ *
68
+ *
36
69
  */
37
70
  export declare class CreateTopicCommand extends $Command<CreateTopicCommandInput, CreateTopicCommandOutput, SNSClientResolvedConfig> {
38
71
  readonly input: CreateTopicCommandInput;
@@ -33,6 +33,17 @@ export interface DeleteEndpointCommandOutput extends __MetadataBearer {
33
33
  * @see {@link DeleteEndpointCommandOutput} 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
+ *
36
47
  */
37
48
  export declare class DeleteEndpointCommand extends $Command<DeleteEndpointCommandInput, DeleteEndpointCommandOutput, SNSClientResolvedConfig> {
38
49
  readonly input: DeleteEndpointCommandInput;
@@ -32,6 +32,17 @@ export interface DeletePlatformApplicationCommandOutput extends __MetadataBearer
32
32
  * @see {@link DeletePlatformApplicationCommandOutput} for command's `response` shape.
33
33
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
34
34
  *
35
+ * @throws {@link AuthorizationErrorException} (client fault)
36
+ * <p>Indicates that the user has been denied access to the requested resource.</p>
37
+ *
38
+ * @throws {@link InternalErrorException} (server fault)
39
+ * <p>Indicates an internal service error.</p>
40
+ *
41
+ * @throws {@link InvalidParameterException} (client fault)
42
+ * <p>Indicates that a request parameter does not comply with the associated
43
+ * constraints.</p>
44
+ *
45
+ *
35
46
  */
36
47
  export declare class DeletePlatformApplicationCommand extends $Command<DeletePlatformApplicationCommandInput, DeletePlatformApplicationCommandOutput, SNSClientResolvedConfig> {
37
48
  readonly input: DeletePlatformApplicationCommandInput;
@@ -38,6 +38,28 @@ export interface DeleteSMSSandboxPhoneNumberCommandOutput extends DeleteSMSSandb
38
38
  * @see {@link DeleteSMSSandboxPhoneNumberCommandOutput} 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 UserErrorException} (client fault)
59
+ * <p>Indicates that a request parameter does not comply with the associated
60
+ * constraints.</p>
61
+ *
62
+ *
41
63
  */
42
64
  export declare class DeleteSMSSandboxPhoneNumberCommand extends $Command<DeleteSMSSandboxPhoneNumberCommandInput, DeleteSMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
43
65
  readonly input: DeleteSMSSandboxPhoneNumberCommandInput;
@@ -32,6 +32,32 @@ export interface DeleteTopicCommandOutput extends __MetadataBearer {
32
32
  * @see {@link DeleteTopicCommandOutput} for command's `response` shape.
33
33
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
34
34
  *
35
+ * @throws {@link AuthorizationErrorException} (client fault)
36
+ * <p>Indicates that the user has been denied access to the requested resource.</p>
37
+ *
38
+ * @throws {@link ConcurrentAccessException} (client fault)
39
+ * <p>Can't perform multiple operations on a tag simultaneously. Perform the operations
40
+ * sequentially.</p>
41
+ *
42
+ * @throws {@link InternalErrorException} (server fault)
43
+ * <p>Indicates an internal service error.</p>
44
+ *
45
+ * @throws {@link InvalidParameterException} (client fault)
46
+ * <p>Indicates that a request parameter does not comply with the associated
47
+ * constraints.</p>
48
+ *
49
+ * @throws {@link NotFoundException} (client fault)
50
+ * <p>Indicates that the requested resource does not exist.</p>
51
+ *
52
+ * @throws {@link StaleTagException} (client fault)
53
+ * <p>A tag has been added to a resource with the same ARN as a deleted resource. Wait a
54
+ * short while and then retry the operation.</p>
55
+ *
56
+ * @throws {@link TagPolicyException} (client fault)
57
+ * <p>The request doesn't comply with the IAM tag policy. Correct your request and then
58
+ * retry it.</p>
59
+ *
60
+ *
35
61
  */
36
62
  export declare class DeleteTopicCommand extends $Command<DeleteTopicCommandInput, DeleteTopicCommandOutput, SNSClientResolvedConfig> {
37
63
  readonly input: DeleteTopicCommandInput;
@@ -30,6 +30,24 @@ export interface GetDataProtectionPolicyCommandOutput extends GetDataProtectionP
30
30
  * @see {@link GetDataProtectionPolicyCommandOutput} 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 GetDataProtectionPolicyCommand extends $Command<GetDataProtectionPolicyCommandInput, GetDataProtectionPolicyCommandOutput, SNSClientResolvedConfig> {
35
53
  readonly input: GetDataProtectionPolicyCommandInput;
@@ -31,6 +31,20 @@ export interface GetEndpointAttributesCommandOutput extends GetEndpointAttribute
31
31
  * @see {@link GetEndpointAttributesCommandOutput} 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 GetEndpointAttributesCommand extends $Command<GetEndpointAttributesCommandInput, GetEndpointAttributesCommandOutput, SNSClientResolvedConfig> {
36
50
  readonly input: GetEndpointAttributesCommandInput;
@@ -31,6 +31,20 @@ export interface GetPlatformApplicationAttributesCommandOutput extends GetPlatfo
31
31
  * @see {@link GetPlatformApplicationAttributesCommandOutput} 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 GetPlatformApplicationAttributesCommand extends $Command<GetPlatformApplicationAttributesCommandInput, GetPlatformApplicationAttributesCommandOutput, SNSClientResolvedConfig> {
36
50
  readonly input: GetPlatformApplicationAttributesCommandInput;
@@ -30,6 +30,20 @@ export interface GetSMSAttributesCommandOutput extends GetSMSAttributesResponse,
30
30
  * @see {@link GetSMSAttributesCommandOutput} 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 ThrottledException} (client fault)
44
+ * <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
45
+ *
46
+ *
33
47
  */
34
48
  export declare class GetSMSAttributesCommand extends $Command<GetSMSAttributesCommandInput, GetSMSAttributesCommandOutput, SNSClientResolvedConfig> {
35
49
  readonly input: GetSMSAttributesCommandInput;
@@ -38,6 +38,16 @@ export interface GetSMSSandboxAccountStatusCommandOutput extends GetSMSSandboxAc
38
38
  * @see {@link GetSMSSandboxAccountStatusCommandOutput} 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 ThrottledException} (client fault)
48
+ * <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
49
+ *
50
+ *
41
51
  */
42
52
  export declare class GetSMSSandboxAccountStatusCommand extends $Command<GetSMSSandboxAccountStatusCommandInput, GetSMSSandboxAccountStatusCommandOutput, SNSClientResolvedConfig> {
43
53
  readonly input: GetSMSSandboxAccountStatusCommandInput;
@@ -29,6 +29,20 @@ export interface GetSubscriptionAttributesCommandOutput extends GetSubscriptionA
29
29
  * @see {@link GetSubscriptionAttributesCommandOutput} for command's `response` shape.
30
30
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
31
31
  *
32
+ * @throws {@link AuthorizationErrorException} (client fault)
33
+ * <p>Indicates that the user has been denied access to the requested resource.</p>
34
+ *
35
+ * @throws {@link InternalErrorException} (server fault)
36
+ * <p>Indicates an internal service error.</p>
37
+ *
38
+ * @throws {@link InvalidParameterException} (client fault)
39
+ * <p>Indicates that a request parameter does not comply with the associated
40
+ * constraints.</p>
41
+ *
42
+ * @throws {@link NotFoundException} (client fault)
43
+ * <p>Indicates that the requested resource does not exist.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class GetSubscriptionAttributesCommand extends $Command<GetSubscriptionAttributesCommandInput, GetSubscriptionAttributesCommandOutput, SNSClientResolvedConfig> {
34
48
  readonly input: GetSubscriptionAttributesCommandInput;
@@ -30,6 +30,24 @@ export interface GetTopicAttributesCommandOutput extends GetTopicAttributesRespo
30
30
  * @see {@link GetTopicAttributesCommandOutput} 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 GetTopicAttributesCommand extends $Command<GetTopicAttributesCommandInput, GetTopicAttributesCommandOutput, SNSClientResolvedConfig> {
35
53
  readonly input: GetTopicAttributesCommandInput;
@@ -38,6 +38,20 @@ export interface ListEndpointsByPlatformApplicationCommandOutput extends ListEnd
38
38
  * @see {@link ListEndpointsByPlatformApplicationCommandOutput} 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 NotFoundException} (client fault)
52
+ * <p>Indicates that the requested resource does not exist.</p>
53
+ *
54
+ *
41
55
  */
42
56
  export declare class ListEndpointsByPlatformApplicationCommand extends $Command<ListEndpointsByPlatformApplicationCommandInput, ListEndpointsByPlatformApplicationCommandOutput, SNSClientResolvedConfig> {
43
57
  readonly input: ListEndpointsByPlatformApplicationCommandInput;
@@ -31,6 +31,23 @@ export interface ListOriginationNumbersCommandOutput extends ListOriginationNumb
31
31
  * @see {@link ListOriginationNumbersCommandOutput} 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
+ * @throws {@link ValidationException} (client fault)
48
+ * <p>Indicates that a parameter in the request is invalid.</p>
49
+ *
50
+ *
34
51
  */
35
52
  export declare class ListOriginationNumbersCommand extends $Command<ListOriginationNumbersCommandInput, ListOriginationNumbersCommandOutput, SNSClientResolvedConfig> {
36
53
  readonly input: ListOriginationNumbersCommandInput;
@@ -36,6 +36,20 @@ export interface ListPhoneNumbersOptedOutCommandOutput extends ListPhoneNumbersO
36
36
  * @see {@link ListPhoneNumbersOptedOutCommandOutput} for command's `response` shape.
37
37
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
38
38
  *
39
+ * @throws {@link AuthorizationErrorException} (client fault)
40
+ * <p>Indicates that the user has been denied access to the requested resource.</p>
41
+ *
42
+ * @throws {@link InternalErrorException} (server fault)
43
+ * <p>Indicates an internal service error.</p>
44
+ *
45
+ * @throws {@link InvalidParameterException} (client fault)
46
+ * <p>Indicates that a request parameter does not comply with the associated
47
+ * constraints.</p>
48
+ *
49
+ * @throws {@link ThrottledException} (client fault)
50
+ * <p>Indicates that the rate at which requests have been submitted for this action exceeds the limit for your Amazon Web Services account.</p>
51
+ *
52
+ *
39
53
  */
40
54
  export declare class ListPhoneNumbersOptedOutCommand extends $Command<ListPhoneNumbersOptedOutCommandInput, ListPhoneNumbersOptedOutCommandOutput, SNSClientResolvedConfig> {
41
55
  readonly input: ListPhoneNumbersOptedOutCommandInput;
@@ -38,6 +38,17 @@ export interface ListPlatformApplicationsCommandOutput extends ListPlatformAppli
38
38
  * @see {@link ListPlatformApplicationsCommandOutput} 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
+ *
41
52
  */
42
53
  export declare class ListPlatformApplicationsCommand extends $Command<ListPlatformApplicationsCommandInput, ListPlatformApplicationsCommandOutput, SNSClientResolvedConfig> {
43
54
  readonly input: ListPlatformApplicationsCommandInput;
@@ -38,6 +38,24 @@ export interface ListSMSSandboxPhoneNumbersCommandOutput extends ListSMSSandboxP
38
38
  * @see {@link ListSMSSandboxPhoneNumbersCommandOutput} 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
+ *
41
59
  */
42
60
  export declare class ListSMSSandboxPhoneNumbersCommand extends $Command<ListSMSSandboxPhoneNumbersCommandInput, ListSMSSandboxPhoneNumbersCommandOutput, SNSClientResolvedConfig> {
43
61
  readonly input: ListSMSSandboxPhoneNumbersCommandInput;
@@ -33,6 +33,20 @@ export interface ListSubscriptionsByTopicCommandOutput extends ListSubscriptions
33
33
  * @see {@link ListSubscriptionsByTopicCommandOutput} 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 ListSubscriptionsByTopicCommand extends $Command<ListSubscriptionsByTopicCommandInput, ListSubscriptionsByTopicCommandOutput, SNSClientResolvedConfig> {
38
52
  readonly input: ListSubscriptionsByTopicCommandInput;
@@ -33,6 +33,17 @@ export interface ListSubscriptionsCommandOutput extends ListSubscriptionsRespons
33
33
  * @see {@link ListSubscriptionsCommandOutput} 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
+ *
36
47
  */
37
48
  export declare class ListSubscriptionsCommand extends $Command<ListSubscriptionsCommandInput, ListSubscriptionsCommandOutput, SNSClientResolvedConfig> {
38
49
  readonly input: ListSubscriptionsCommandInput;
@@ -30,6 +30,26 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
30
30
  * @see {@link ListTagsForResourceCommandOutput} 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 TagPolicyException} (client fault)
49
+ * <p>The request doesn't comply with the IAM tag policy. Correct your request and then
50
+ * retry it.</p>
51
+ *
52
+ *
33
53
  */
34
54
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SNSClientResolvedConfig> {
35
55
  readonly input: ListTagsForResourceCommandInput;
@@ -33,6 +33,17 @@ export interface ListTopicsCommandOutput extends ListTopicsResponse, __MetadataB
33
33
  * @see {@link ListTopicsCommandOutput} 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
+ *
36
47
  */
37
48
  export declare class ListTopicsCommand extends $Command<ListTopicsCommandInput, ListTopicsCommandOutput, SNSClientResolvedConfig> {
38
49
  readonly input: ListTopicsCommandInput;
@@ -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.289.0",
4
+ "version": "3.290.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,37 +20,37 @@
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.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "fast-xml-parser": "4.1.2",
56
56
  "tslib": "^2.3.1"