@aws-sdk/client-sns 3.296.0 → 3.297.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 (58) hide show
  1. package/dist-cjs/protocols/Aws_query.js +65 -224
  2. package/dist-es/protocols/Aws_query.js +65 -224
  3. package/dist-types/SNS.d.ts +43 -0
  4. package/dist-types/SNSClient.d.ts +24 -4
  5. package/dist-types/commands/AddPermissionCommand.d.ts +16 -0
  6. package/dist-types/commands/CheckIfPhoneNumberIsOptedOutCommand.d.ts +16 -0
  7. package/dist-types/commands/ConfirmSubscriptionCommand.d.ts +16 -0
  8. package/dist-types/commands/CreatePlatformApplicationCommand.d.ts +16 -0
  9. package/dist-types/commands/CreatePlatformEndpointCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateSMSSandboxPhoneNumberCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateTopicCommand.d.ts +16 -0
  12. package/dist-types/commands/DeleteEndpointCommand.d.ts +16 -0
  13. package/dist-types/commands/DeletePlatformApplicationCommand.d.ts +16 -0
  14. package/dist-types/commands/DeleteSMSSandboxPhoneNumberCommand.d.ts +16 -0
  15. package/dist-types/commands/DeleteTopicCommand.d.ts +16 -0
  16. package/dist-types/commands/GetDataProtectionPolicyCommand.d.ts +16 -0
  17. package/dist-types/commands/GetEndpointAttributesCommand.d.ts +16 -0
  18. package/dist-types/commands/GetPlatformApplicationAttributesCommand.d.ts +16 -0
  19. package/dist-types/commands/GetSMSAttributesCommand.d.ts +16 -0
  20. package/dist-types/commands/GetSMSSandboxAccountStatusCommand.d.ts +16 -0
  21. package/dist-types/commands/GetSubscriptionAttributesCommand.d.ts +16 -0
  22. package/dist-types/commands/GetTopicAttributesCommand.d.ts +16 -0
  23. package/dist-types/commands/ListEndpointsByPlatformApplicationCommand.d.ts +16 -0
  24. package/dist-types/commands/ListOriginationNumbersCommand.d.ts +16 -0
  25. package/dist-types/commands/ListPhoneNumbersOptedOutCommand.d.ts +16 -0
  26. package/dist-types/commands/ListPlatformApplicationsCommand.d.ts +16 -0
  27. package/dist-types/commands/ListSMSSandboxPhoneNumbersCommand.d.ts +16 -0
  28. package/dist-types/commands/ListSubscriptionsByTopicCommand.d.ts +16 -0
  29. package/dist-types/commands/ListSubscriptionsCommand.d.ts +16 -0
  30. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  31. package/dist-types/commands/ListTopicsCommand.d.ts +16 -0
  32. package/dist-types/commands/OptInPhoneNumberCommand.d.ts +16 -0
  33. package/dist-types/commands/PublishBatchCommand.d.ts +16 -0
  34. package/dist-types/commands/PublishCommand.d.ts +16 -0
  35. package/dist-types/commands/PutDataProtectionPolicyCommand.d.ts +16 -0
  36. package/dist-types/commands/RemovePermissionCommand.d.ts +16 -0
  37. package/dist-types/commands/SetEndpointAttributesCommand.d.ts +16 -0
  38. package/dist-types/commands/SetPlatformApplicationAttributesCommand.d.ts +16 -0
  39. package/dist-types/commands/SetSMSAttributesCommand.d.ts +16 -0
  40. package/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +16 -0
  41. package/dist-types/commands/SetTopicAttributesCommand.d.ts +16 -0
  42. package/dist-types/commands/SubscribeCommand.d.ts +16 -0
  43. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  44. package/dist-types/commands/UnsubscribeCommand.d.ts +16 -0
  45. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  46. package/dist-types/commands/VerifySMSSandboxPhoneNumberCommand.d.ts +16 -0
  47. package/dist-types/models/SNSServiceException.d.ts +2 -0
  48. package/dist-types/models/models_0.d.ts +182 -4
  49. package/dist-types/pagination/Interfaces.d.ts +3 -0
  50. package/dist-types/pagination/ListEndpointsByPlatformApplicationPaginator.d.ts +3 -0
  51. package/dist-types/pagination/ListOriginationNumbersPaginator.d.ts +3 -0
  52. package/dist-types/pagination/ListPhoneNumbersOptedOutPaginator.d.ts +3 -0
  53. package/dist-types/pagination/ListPlatformApplicationsPaginator.d.ts +3 -0
  54. package/dist-types/pagination/ListSMSSandboxPhoneNumbersPaginator.d.ts +3 -0
  55. package/dist-types/pagination/ListSubscriptionsByTopicPaginator.d.ts +3 -0
  56. package/dist-types/pagination/ListSubscriptionsPaginator.d.ts +3 -0
  57. package/dist-types/pagination/ListTopicsPaginator.d.ts +3 -0
  58. package/package.json +3 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { VerifySMSSandboxPhoneNumberInput, VerifySMSSandboxPhoneNumberResult } from "../models/models_0";
5
5
  import { ServiceInputTypes, ServiceOutputTypes, SNSClientResolvedConfig } from "../SNSClient";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link VerifySMSSandboxPhoneNumberCommand}.
8
10
  */
9
11
  export interface VerifySMSSandboxPhoneNumberCommandInput extends VerifySMSSandboxPhoneNumberInput {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link VerifySMSSandboxPhoneNumberCommand}.
13
17
  */
14
18
  export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandboxPhoneNumberResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Verifies a destination phone number with a one-time password (OTP) for the calling
18
23
  * Amazon Web Services account.</p>
19
24
  * <p>When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the
@@ -34,6 +39,8 @@ export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandb
34
39
  * const response = await client.send(command);
35
40
  * ```
36
41
  *
42
+ * @param VerifySMSSandboxPhoneNumberCommandInput - {@link VerifySMSSandboxPhoneNumberCommandInput}
43
+ * @returns {@link VerifySMSSandboxPhoneNumberCommandOutput}
37
44
  * @see {@link VerifySMSSandboxPhoneNumberCommandInput} for command's `input` shape.
38
45
  * @see {@link VerifySMSSandboxPhoneNumberCommandOutput} for command's `response` shape.
39
46
  * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape.
@@ -63,11 +70,20 @@ export interface VerifySMSSandboxPhoneNumberCommandOutput extends VerifySMSSandb
63
70
  export declare class VerifySMSSandboxPhoneNumberCommand extends $Command<VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput, SNSClientResolvedConfig> {
64
71
  readonly input: VerifySMSSandboxPhoneNumberCommandInput;
65
72
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
+ /**
74
+ * @public
75
+ */
66
76
  constructor(input: VerifySMSSandboxPhoneNumberCommandInput);
67
77
  /**
68
78
  * @internal
69
79
  */
70
80
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SNSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<VerifySMSSandboxPhoneNumberCommandInput, VerifySMSSandboxPhoneNumberCommandOutput>;
81
+ /**
82
+ * @internal
83
+ */
71
84
  private serialize;
85
+ /**
86
+ * @internal
87
+ */
72
88
  private deserialize;
73
89
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from SNS service.
4
6
  */
5
7
  export declare class SNSServiceException extends __ServiceException {