@aws-sdk/client-sns 3.928.0 → 3.930.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 (66) hide show
  1. package/dist-cjs/index.js +1273 -3290
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/SNSClient.js +2 -0
  4. package/dist-es/commands/AddPermissionCommand.js +3 -9
  5. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +3 -10
  6. package/dist-es/commands/ConfirmSubscriptionCommand.js +3 -9
  7. package/dist-es/commands/CreatePlatformApplicationCommand.js +3 -9
  8. package/dist-es/commands/CreatePlatformEndpointCommand.js +3 -9
  9. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +3 -10
  10. package/dist-es/commands/CreateTopicCommand.js +3 -9
  11. package/dist-es/commands/DeleteEndpointCommand.js +3 -9
  12. package/dist-es/commands/DeletePlatformApplicationCommand.js +3 -9
  13. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +3 -10
  14. package/dist-es/commands/DeleteTopicCommand.js +3 -9
  15. package/dist-es/commands/GetDataProtectionPolicyCommand.js +3 -9
  16. package/dist-es/commands/GetEndpointAttributesCommand.js +3 -9
  17. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +3 -9
  18. package/dist-es/commands/GetSMSAttributesCommand.js +3 -9
  19. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +3 -9
  20. package/dist-es/commands/GetSubscriptionAttributesCommand.js +3 -9
  21. package/dist-es/commands/GetTopicAttributesCommand.js +3 -9
  22. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +3 -9
  23. package/dist-es/commands/ListOriginationNumbersCommand.js +3 -10
  24. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +3 -10
  25. package/dist-es/commands/ListPlatformApplicationsCommand.js +3 -9
  26. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +3 -10
  27. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +3 -9
  28. package/dist-es/commands/ListSubscriptionsCommand.js +3 -9
  29. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  30. package/dist-es/commands/ListTopicsCommand.js +3 -9
  31. package/dist-es/commands/OptInPhoneNumberCommand.js +3 -10
  32. package/dist-es/commands/PublishBatchCommand.js +3 -9
  33. package/dist-es/commands/PublishCommand.js +3 -10
  34. package/dist-es/commands/PutDataProtectionPolicyCommand.js +3 -9
  35. package/dist-es/commands/RemovePermissionCommand.js +3 -9
  36. package/dist-es/commands/SetEndpointAttributesCommand.js +3 -9
  37. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +3 -9
  38. package/dist-es/commands/SetSMSAttributesCommand.js +3 -9
  39. package/dist-es/commands/SetSubscriptionAttributesCommand.js +3 -9
  40. package/dist-es/commands/SetTopicAttributesCommand.js +3 -9
  41. package/dist-es/commands/SubscribeCommand.js +3 -9
  42. package/dist-es/commands/TagResourceCommand.js +3 -9
  43. package/dist-es/commands/UnsubscribeCommand.js +3 -9
  44. package/dist-es/commands/UntagResourceCommand.js +3 -9
  45. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +3 -10
  46. package/dist-es/models/models_0.js +0 -49
  47. package/dist-es/runtimeConfig.shared.js +7 -0
  48. package/dist-es/schemas/schemas_0.js +1192 -0
  49. package/dist-types/SNSClient.d.ts +10 -1
  50. package/dist-types/models/models_0.d.ts +0 -44
  51. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  52. package/dist-types/runtimeConfig.d.ts +1 -0
  53. package/dist-types/runtimeConfig.native.d.ts +1 -0
  54. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  55. package/dist-types/schemas/schemas_0.d.ts +185 -0
  56. package/dist-types/ts3.4/SNSClient.d.ts +4 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +0 -31
  58. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  59. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  60. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  61. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  62. package/dist-types/ts3.4/schemas/schemas_0.d.ts +192 -0
  63. package/package.json +33 -33
  64. package/dist-es/protocols/Aws_query.js +0 -2938
  65. package/dist-types/protocols/Aws_query.d.ts +0 -380
  66. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -509
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsQueryProtocol({
31
+ defaultNamespace: "com.amazonaws.sns",
32
+ xmlNamespace: "http://sns.amazonaws.com/doc/2010-03-31/",
33
+ version: "2010-03-31",
34
+ }),
28
35
  serviceId: config?.serviceId ?? "SNS",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class SNSClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_query";
4
+ import { AddPermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AddPermissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "AddPermission", {})
17
13
  .n("SNSClient", "AddPermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AddPermissionCommand)
20
- .de(de_AddPermissionCommand)
14
+ .sc(AddPermission)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CheckIfPhoneNumberIsOptedOutCommand, se_CheckIfPhoneNumberIsOptedOutCommand } from "../protocols/Aws_query";
4
+ import { CheckIfPhoneNumberIsOptedOut } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CheckIfPhoneNumberIsOptedOutCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonSimpleNotificationService", "CheckIfPhoneNumberIsOptedOut", {})
18
13
  .n("SNSClient", "CheckIfPhoneNumberIsOptedOutCommand")
19
- .f(CheckIfPhoneNumberIsOptedOutInputFilterSensitiveLog, void 0)
20
- .ser(se_CheckIfPhoneNumberIsOptedOutCommand)
21
- .de(de_CheckIfPhoneNumberIsOptedOutCommand)
14
+ .sc(CheckIfPhoneNumberIsOptedOut)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ConfirmSubscriptionCommand, se_ConfirmSubscriptionCommand } from "../protocols/Aws_query";
4
+ import { ConfirmSubscription } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ConfirmSubscriptionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "ConfirmSubscription", {})
17
13
  .n("SNSClient", "ConfirmSubscriptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ConfirmSubscriptionCommand)
20
- .de(de_ConfirmSubscriptionCommand)
14
+ .sc(ConfirmSubscription)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreatePlatformApplicationCommand, se_CreatePlatformApplicationCommand } from "../protocols/Aws_query";
4
+ import { CreatePlatformApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePlatformApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "CreatePlatformApplication", {})
17
13
  .n("SNSClient", "CreatePlatformApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePlatformApplicationCommand)
20
- .de(de_CreatePlatformApplicationCommand)
14
+ .sc(CreatePlatformApplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreatePlatformEndpointCommand, se_CreatePlatformEndpointCommand } from "../protocols/Aws_query";
4
+ import { CreatePlatformEndpoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreatePlatformEndpointCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "CreatePlatformEndpoint", {})
17
13
  .n("SNSClient", "CreatePlatformEndpointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreatePlatformEndpointCommand)
20
- .de(de_CreatePlatformEndpointCommand)
14
+ .sc(CreatePlatformEndpoint)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateSMSSandboxPhoneNumberInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_CreateSMSSandboxPhoneNumberCommand, se_CreateSMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
4
+ import { CreateSMSSandboxPhoneNumber } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateSMSSandboxPhoneNumberCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonSimpleNotificationService", "CreateSMSSandboxPhoneNumber", {})
18
13
  .n("SNSClient", "CreateSMSSandboxPhoneNumberCommand")
19
- .f(CreateSMSSandboxPhoneNumberInputFilterSensitiveLog, void 0)
20
- .ser(se_CreateSMSSandboxPhoneNumberCommand)
21
- .de(de_CreateSMSSandboxPhoneNumberCommand)
14
+ .sc(CreateSMSSandboxPhoneNumber)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateTopicCommand, se_CreateTopicCommand } from "../protocols/Aws_query";
4
+ import { CreateTopic } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTopicCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "CreateTopic", {})
17
13
  .n("SNSClient", "CreateTopicCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTopicCommand)
20
- .de(de_CreateTopicCommand)
14
+ .sc(CreateTopic)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteEndpointCommand, se_DeleteEndpointCommand } from "../protocols/Aws_query";
4
+ import { DeleteEndpoint } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteEndpointCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "DeleteEndpoint", {})
17
13
  .n("SNSClient", "DeleteEndpointCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteEndpointCommand)
20
- .de(de_DeleteEndpointCommand)
14
+ .sc(DeleteEndpoint)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeletePlatformApplicationCommand, se_DeletePlatformApplicationCommand } from "../protocols/Aws_query";
4
+ import { DeletePlatformApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeletePlatformApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "DeletePlatformApplication", {})
17
13
  .n("SNSClient", "DeletePlatformApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeletePlatformApplicationCommand)
20
- .de(de_DeletePlatformApplicationCommand)
14
+ .sc(DeletePlatformApplication)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog, } from "../models/models_0";
6
- import { de_DeleteSMSSandboxPhoneNumberCommand, se_DeleteSMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
4
+ import { DeleteSMSSandboxPhoneNumber } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class DeleteSMSSandboxPhoneNumberCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonSimpleNotificationService", "DeleteSMSSandboxPhoneNumber", {})
18
13
  .n("SNSClient", "DeleteSMSSandboxPhoneNumberCommand")
19
- .f(DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog, void 0)
20
- .ser(se_DeleteSMSSandboxPhoneNumberCommand)
21
- .de(de_DeleteSMSSandboxPhoneNumberCommand)
14
+ .sc(DeleteSMSSandboxPhoneNumber)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteTopicCommand, se_DeleteTopicCommand } from "../protocols/Aws_query";
4
+ import { DeleteTopic } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTopicCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "DeleteTopic", {})
17
13
  .n("SNSClient", "DeleteTopicCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTopicCommand)
20
- .de(de_DeleteTopicCommand)
14
+ .sc(DeleteTopic)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetDataProtectionPolicyCommand, se_GetDataProtectionPolicyCommand } from "../protocols/Aws_query";
4
+ import { GetDataProtectionPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetDataProtectionPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "GetDataProtectionPolicy", {})
17
13
  .n("SNSClient", "GetDataProtectionPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetDataProtectionPolicyCommand)
20
- .de(de_GetDataProtectionPolicyCommand)
14
+ .sc(GetDataProtectionPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetEndpointAttributesCommand, se_GetEndpointAttributesCommand } from "../protocols/Aws_query";
4
+ import { GetEndpointAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetEndpointAttributesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "GetEndpointAttributes", {})
17
13
  .n("SNSClient", "GetEndpointAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetEndpointAttributesCommand)
20
- .de(de_GetEndpointAttributesCommand)
14
+ .sc(GetEndpointAttributes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetPlatformApplicationAttributesCommand, se_GetPlatformApplicationAttributesCommand, } from "../protocols/Aws_query";
4
+ import { GetPlatformApplicationAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetPlatformApplicationAttributesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "GetPlatformApplicationAttributes", {})
17
13
  .n("SNSClient", "GetPlatformApplicationAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetPlatformApplicationAttributesCommand)
20
- .de(de_GetPlatformApplicationAttributesCommand)
14
+ .sc(GetPlatformApplicationAttributes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetSMSAttributesCommand, se_GetSMSAttributesCommand } from "../protocols/Aws_query";
4
+ import { GetSMSAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSMSAttributesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "GetSMSAttributes", {})
17
13
  .n("SNSClient", "GetSMSAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSMSAttributesCommand)
20
- .de(de_GetSMSAttributesCommand)
14
+ .sc(GetSMSAttributes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetSMSSandboxAccountStatusCommand, se_GetSMSSandboxAccountStatusCommand } from "../protocols/Aws_query";
4
+ import { GetSMSSandboxAccountStatus } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSMSSandboxAccountStatusCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "GetSMSSandboxAccountStatus", {})
17
13
  .n("SNSClient", "GetSMSSandboxAccountStatusCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSMSSandboxAccountStatusCommand)
20
- .de(de_GetSMSSandboxAccountStatusCommand)
14
+ .sc(GetSMSSandboxAccountStatus)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetSubscriptionAttributesCommand, se_GetSubscriptionAttributesCommand } from "../protocols/Aws_query";
4
+ import { GetSubscriptionAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSubscriptionAttributesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "GetSubscriptionAttributes", {})
17
13
  .n("SNSClient", "GetSubscriptionAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSubscriptionAttributesCommand)
20
- .de(de_GetSubscriptionAttributesCommand)
14
+ .sc(GetSubscriptionAttributes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetTopicAttributesCommand, se_GetTopicAttributesCommand } from "../protocols/Aws_query";
4
+ import { GetTopicAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetTopicAttributesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "GetTopicAttributes", {})
17
13
  .n("SNSClient", "GetTopicAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetTopicAttributesCommand)
20
- .de(de_GetTopicAttributesCommand)
14
+ .sc(GetTopicAttributes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListEndpointsByPlatformApplicationCommand, se_ListEndpointsByPlatformApplicationCommand, } from "../protocols/Aws_query";
4
+ import { ListEndpointsByPlatformApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListEndpointsByPlatformApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "ListEndpointsByPlatformApplication", {})
17
13
  .n("SNSClient", "ListEndpointsByPlatformApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListEndpointsByPlatformApplicationCommand)
20
- .de(de_ListEndpointsByPlatformApplicationCommand)
14
+ .sc(ListEndpointsByPlatformApplication)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListOriginationNumbersResultFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListOriginationNumbersCommand, se_ListOriginationNumbersCommand } from "../protocols/Aws_query";
4
+ import { ListOriginationNumbers } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListOriginationNumbersCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonSimpleNotificationService", "ListOriginationNumbers", {})
18
13
  .n("SNSClient", "ListOriginationNumbersCommand")
19
- .f(void 0, ListOriginationNumbersResultFilterSensitiveLog)
20
- .ser(se_ListOriginationNumbersCommand)
21
- .de(de_ListOriginationNumbersCommand)
14
+ .sc(ListOriginationNumbers)
22
15
  .build() {
23
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { ListPhoneNumbersOptedOutResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_ListPhoneNumbersOptedOutCommand, se_ListPhoneNumbersOptedOutCommand } from "../protocols/Aws_query";
4
+ import { ListPhoneNumbersOptedOut } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class ListPhoneNumbersOptedOutCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("AmazonSimpleNotificationService", "ListPhoneNumbersOptedOut", {})
18
13
  .n("SNSClient", "ListPhoneNumbersOptedOutCommand")
19
- .f(void 0, ListPhoneNumbersOptedOutResponseFilterSensitiveLog)
20
- .ser(se_ListPhoneNumbersOptedOutCommand)
21
- .de(de_ListPhoneNumbersOptedOutCommand)
14
+ .sc(ListPhoneNumbersOptedOut)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListPlatformApplicationsCommand, se_ListPlatformApplicationsCommand } from "../protocols/Aws_query";
4
+ import { ListPlatformApplications } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListPlatformApplicationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSimpleNotificationService", "ListPlatformApplications", {})
17
13
  .n("SNSClient", "ListPlatformApplicationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListPlatformApplicationsCommand)
20
- .de(de_ListPlatformApplicationsCommand)
14
+ .sc(ListPlatformApplications)
21
15
  .build() {
22
16
  }