@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.
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 +35 -40
@@ -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;