@aws-sdk/client-sns 3.128.0 → 3.137.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 (86) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/commands/AddPermissionCommand.js +1 -1
  3. package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +2 -2
  4. package/dist-cjs/commands/ConfirmSubscriptionCommand.js +2 -2
  5. package/dist-cjs/commands/CreatePlatformApplicationCommand.js +2 -2
  6. package/dist-cjs/commands/CreatePlatformEndpointCommand.js +2 -2
  7. package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +2 -2
  8. package/dist-cjs/commands/CreateTopicCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteEndpointCommand.js +1 -1
  10. package/dist-cjs/commands/DeletePlatformApplicationCommand.js +1 -1
  11. package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteTopicCommand.js +1 -1
  13. package/dist-cjs/commands/GetEndpointAttributesCommand.js +2 -2
  14. package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +2 -2
  15. package/dist-cjs/commands/GetSMSAttributesCommand.js +2 -2
  16. package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +2 -2
  17. package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +2 -2
  18. package/dist-cjs/commands/GetTopicAttributesCommand.js +2 -2
  19. package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +2 -2
  20. package/dist-cjs/commands/ListOriginationNumbersCommand.js +2 -2
  21. package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +2 -2
  22. package/dist-cjs/commands/ListPlatformApplicationsCommand.js +2 -2
  23. package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +2 -2
  24. package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +2 -2
  25. package/dist-cjs/commands/ListSubscriptionsCommand.js +2 -2
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  27. package/dist-cjs/commands/ListTopicsCommand.js +2 -2
  28. package/dist-cjs/commands/OptInPhoneNumberCommand.js +2 -2
  29. package/dist-cjs/commands/PublishBatchCommand.js +2 -2
  30. package/dist-cjs/commands/PublishCommand.js +2 -2
  31. package/dist-cjs/commands/RemovePermissionCommand.js +1 -1
  32. package/dist-cjs/commands/SetEndpointAttributesCommand.js +1 -1
  33. package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +1 -1
  34. package/dist-cjs/commands/SetSMSAttributesCommand.js +2 -2
  35. package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +1 -1
  36. package/dist-cjs/commands/SetTopicAttributesCommand.js +1 -1
  37. package/dist-cjs/commands/SubscribeCommand.js +2 -2
  38. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  39. package/dist-cjs/commands/UnsubscribeCommand.js +1 -1
  40. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  41. package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +2 -2
  42. package/dist-cjs/models/models_0.js +327 -489
  43. package/dist-es/commands/AddPermissionCommand.js +2 -2
  44. package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +3 -3
  45. package/dist-es/commands/ConfirmSubscriptionCommand.js +3 -3
  46. package/dist-es/commands/CreatePlatformApplicationCommand.js +3 -3
  47. package/dist-es/commands/CreatePlatformEndpointCommand.js +3 -3
  48. package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +3 -3
  49. package/dist-es/commands/CreateTopicCommand.js +3 -3
  50. package/dist-es/commands/DeleteEndpointCommand.js +2 -2
  51. package/dist-es/commands/DeletePlatformApplicationCommand.js +2 -2
  52. package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +3 -3
  53. package/dist-es/commands/DeleteTopicCommand.js +2 -2
  54. package/dist-es/commands/GetEndpointAttributesCommand.js +3 -3
  55. package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +3 -3
  56. package/dist-es/commands/GetSMSAttributesCommand.js +3 -3
  57. package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +3 -3
  58. package/dist-es/commands/GetSubscriptionAttributesCommand.js +3 -3
  59. package/dist-es/commands/GetTopicAttributesCommand.js +3 -3
  60. package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +3 -3
  61. package/dist-es/commands/ListOriginationNumbersCommand.js +3 -3
  62. package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +3 -3
  63. package/dist-es/commands/ListPlatformApplicationsCommand.js +3 -3
  64. package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +3 -3
  65. package/dist-es/commands/ListSubscriptionsByTopicCommand.js +3 -3
  66. package/dist-es/commands/ListSubscriptionsCommand.js +3 -3
  67. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  68. package/dist-es/commands/ListTopicsCommand.js +3 -3
  69. package/dist-es/commands/OptInPhoneNumberCommand.js +3 -3
  70. package/dist-es/commands/PublishBatchCommand.js +3 -3
  71. package/dist-es/commands/PublishCommand.js +3 -3
  72. package/dist-es/commands/RemovePermissionCommand.js +2 -2
  73. package/dist-es/commands/SetEndpointAttributesCommand.js +2 -2
  74. package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +2 -2
  75. package/dist-es/commands/SetSMSAttributesCommand.js +3 -3
  76. package/dist-es/commands/SetSubscriptionAttributesCommand.js +2 -2
  77. package/dist-es/commands/SetTopicAttributesCommand.js +2 -2
  78. package/dist-es/commands/SubscribeCommand.js +3 -3
  79. package/dist-es/commands/TagResourceCommand.js +3 -3
  80. package/dist-es/commands/UnsubscribeCommand.js +2 -2
  81. package/dist-es/commands/UntagResourceCommand.js +3 -3
  82. package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +3 -3
  83. package/dist-es/models/models_0.js +81 -324
  84. package/dist-types/models/models_0.d.ts +324 -486
  85. package/dist-types/ts3.4/models/models_0.d.ts +162 -324
  86. package/package.json +9 -9
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SetEndpointAttributesInput } from "../models/models_0";
4
+ import { SetEndpointAttributesInputFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_querySetEndpointAttributesCommand, serializeAws_querySetEndpointAttributesCommand, } from "../protocols/Aws_query";
6
6
  var SetEndpointAttributesCommand = (function (_super) {
7
7
  __extends(SetEndpointAttributesCommand, _super);
@@ -20,7 +20,7 @@ var SetEndpointAttributesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SetEndpointAttributesInput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SetEndpointAttributesInputFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SetPlatformApplicationAttributesInput } from "../models/models_0";
4
+ import { SetPlatformApplicationAttributesInputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_querySetPlatformApplicationAttributesCommand, serializeAws_querySetPlatformApplicationAttributesCommand, } from "../protocols/Aws_query";
6
6
  var SetPlatformApplicationAttributesCommand = (function (_super) {
7
7
  __extends(SetPlatformApplicationAttributesCommand, _super);
@@ -20,7 +20,7 @@ var SetPlatformApplicationAttributesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SetPlatformApplicationAttributesInput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SetPlatformApplicationAttributesInputFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SetSMSAttributesInput, SetSMSAttributesResponse } from "../models/models_0";
4
+ import { SetSMSAttributesInputFilterSensitiveLog, SetSMSAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_querySetSMSAttributesCommand, serializeAws_querySetSMSAttributesCommand, } from "../protocols/Aws_query";
6
6
  var SetSMSAttributesCommand = (function (_super) {
7
7
  __extends(SetSMSAttributesCommand, _super);
@@ -20,8 +20,8 @@ var SetSMSAttributesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SetSMSAttributesInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: SetSMSAttributesResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SetSMSAttributesInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: SetSMSAttributesResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SetSubscriptionAttributesInput } from "../models/models_0";
4
+ import { SetSubscriptionAttributesInputFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_querySetSubscriptionAttributesCommand, serializeAws_querySetSubscriptionAttributesCommand, } from "../protocols/Aws_query";
6
6
  var SetSubscriptionAttributesCommand = (function (_super) {
7
7
  __extends(SetSubscriptionAttributesCommand, _super);
@@ -20,7 +20,7 @@ var SetSubscriptionAttributesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SetSubscriptionAttributesInput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SetSubscriptionAttributesInputFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SetTopicAttributesInput } from "../models/models_0";
4
+ import { SetTopicAttributesInputFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_querySetTopicAttributesCommand, serializeAws_querySetTopicAttributesCommand, } from "../protocols/Aws_query";
6
6
  var SetTopicAttributesCommand = (function (_super) {
7
7
  __extends(SetTopicAttributesCommand, _super);
@@ -20,7 +20,7 @@ var SetTopicAttributesCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SetTopicAttributesInput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SetTopicAttributesInputFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { SubscribeInput, SubscribeResponse } from "../models/models_0";
4
+ import { SubscribeInputFilterSensitiveLog, SubscribeResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_querySubscribeCommand, serializeAws_querySubscribeCommand } from "../protocols/Aws_query";
6
6
  var SubscribeCommand = (function (_super) {
7
7
  __extends(SubscribeCommand, _super);
@@ -20,8 +20,8 @@ var SubscribeCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: SubscribeInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: SubscribeResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: SubscribeInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: SubscribeResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_queryTagResourceCommand, serializeAws_queryTagResourceCommand } from "../protocols/Aws_query";
6
6
  var TagResourceCommand = (function (_super) {
7
7
  __extends(TagResourceCommand, _super);
@@ -20,8 +20,8 @@ var TagResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UnsubscribeInput } from "../models/models_0";
4
+ import { UnsubscribeInputFilterSensitiveLog } from "../models/models_0";
5
5
  import { deserializeAws_queryUnsubscribeCommand, serializeAws_queryUnsubscribeCommand } from "../protocols/Aws_query";
6
6
  var UnsubscribeCommand = (function (_super) {
7
7
  __extends(UnsubscribeCommand, _super);
@@ -20,7 +20,7 @@ var UnsubscribeCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UnsubscribeInput.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UnsubscribeInputFilterSensitiveLog,
24
24
  outputFilterSensitiveLog: function (output) { return output; },
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_queryUntagResourceCommand, serializeAws_queryUntagResourceCommand, } from "../protocols/Aws_query";
6
6
  var UntagResourceCommand = (function (_super) {
7
7
  __extends(UntagResourceCommand, _super);
@@ -20,8 +20,8 @@ var UntagResourceCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
24
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
23
+ inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
+ outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {
@@ -1,7 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { VerifySMSSandboxPhoneNumberInput, VerifySMSSandboxPhoneNumberResult } from "../models/models_0";
4
+ import { VerifySMSSandboxPhoneNumberInputFilterSensitiveLog, VerifySMSSandboxPhoneNumberResultFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_queryVerifySMSSandboxPhoneNumberCommand, serializeAws_queryVerifySMSSandboxPhoneNumberCommand, } from "../protocols/Aws_query";
6
6
  var VerifySMSSandboxPhoneNumberCommand = (function (_super) {
7
7
  __extends(VerifySMSSandboxPhoneNumberCommand, _super);
@@ -20,8 +20,8 @@ var VerifySMSSandboxPhoneNumberCommand = (function (_super) {
20
20
  logger: logger,
21
21
  clientName: clientName,
22
22
  commandName: commandName,
23
- inputFilterSensitiveLog: VerifySMSSandboxPhoneNumberInput.filterSensitiveLog,
24
- outputFilterSensitiveLog: VerifySMSSandboxPhoneNumberResult.filterSensitiveLog,
23
+ inputFilterSensitiveLog: VerifySMSSandboxPhoneNumberInputFilterSensitiveLog,
24
+ outputFilterSensitiveLog: VerifySMSSandboxPhoneNumberResultFilterSensitiveLog,
25
25
  };
26
26
  var requestHandler = configuration.requestHandler;
27
27
  return stack.resolve(function (request) {