@aws-sdk/client-sns 3.413.0 → 3.418.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.
- package/dist-cjs/commands/AddPermissionCommand.js +5 -0
- package/dist-cjs/commands/CheckIfPhoneNumberIsOptedOutCommand.js +5 -0
- package/dist-cjs/commands/ConfirmSubscriptionCommand.js +5 -0
- package/dist-cjs/commands/CreatePlatformApplicationCommand.js +5 -0
- package/dist-cjs/commands/CreatePlatformEndpointCommand.js +5 -0
- package/dist-cjs/commands/CreateSMSSandboxPhoneNumberCommand.js +5 -0
- package/dist-cjs/commands/CreateTopicCommand.js +5 -0
- package/dist-cjs/commands/DeleteEndpointCommand.js +5 -0
- package/dist-cjs/commands/DeletePlatformApplicationCommand.js +5 -0
- package/dist-cjs/commands/DeleteSMSSandboxPhoneNumberCommand.js +5 -0
- package/dist-cjs/commands/DeleteTopicCommand.js +5 -0
- package/dist-cjs/commands/GetDataProtectionPolicyCommand.js +5 -0
- package/dist-cjs/commands/GetEndpointAttributesCommand.js +5 -0
- package/dist-cjs/commands/GetPlatformApplicationAttributesCommand.js +5 -0
- package/dist-cjs/commands/GetSMSAttributesCommand.js +5 -0
- package/dist-cjs/commands/GetSMSSandboxAccountStatusCommand.js +5 -0
- package/dist-cjs/commands/GetSubscriptionAttributesCommand.js +5 -0
- package/dist-cjs/commands/GetTopicAttributesCommand.js +5 -0
- package/dist-cjs/commands/ListEndpointsByPlatformApplicationCommand.js +5 -0
- package/dist-cjs/commands/ListOriginationNumbersCommand.js +5 -0
- package/dist-cjs/commands/ListPhoneNumbersOptedOutCommand.js +5 -0
- package/dist-cjs/commands/ListPlatformApplicationsCommand.js +5 -0
- package/dist-cjs/commands/ListSMSSandboxPhoneNumbersCommand.js +5 -0
- package/dist-cjs/commands/ListSubscriptionsByTopicCommand.js +5 -0
- package/dist-cjs/commands/ListSubscriptionsCommand.js +5 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-cjs/commands/ListTopicsCommand.js +5 -0
- package/dist-cjs/commands/OptInPhoneNumberCommand.js +5 -0
- package/dist-cjs/commands/PublishBatchCommand.js +5 -0
- package/dist-cjs/commands/PublishCommand.js +5 -0
- package/dist-cjs/commands/PutDataProtectionPolicyCommand.js +5 -0
- package/dist-cjs/commands/RemovePermissionCommand.js +5 -0
- package/dist-cjs/commands/SetEndpointAttributesCommand.js +5 -0
- package/dist-cjs/commands/SetPlatformApplicationAttributesCommand.js +5 -0
- package/dist-cjs/commands/SetSMSAttributesCommand.js +5 -0
- package/dist-cjs/commands/SetSubscriptionAttributesCommand.js +5 -0
- package/dist-cjs/commands/SetTopicAttributesCommand.js +5 -0
- package/dist-cjs/commands/SubscribeCommand.js +5 -0
- package/dist-cjs/commands/TagResourceCommand.js +5 -0
- package/dist-cjs/commands/UnsubscribeCommand.js +5 -0
- package/dist-cjs/commands/UntagResourceCommand.js +5 -0
- package/dist-cjs/commands/VerifySMSSandboxPhoneNumberCommand.js +5 -0
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/commands/AddPermissionCommand.js +5 -0
- package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +5 -0
- package/dist-es/commands/ConfirmSubscriptionCommand.js +5 -0
- package/dist-es/commands/CreatePlatformApplicationCommand.js +5 -0
- package/dist-es/commands/CreatePlatformEndpointCommand.js +5 -0
- package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +5 -0
- package/dist-es/commands/CreateTopicCommand.js +5 -0
- package/dist-es/commands/DeleteEndpointCommand.js +5 -0
- package/dist-es/commands/DeletePlatformApplicationCommand.js +5 -0
- package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +5 -0
- package/dist-es/commands/DeleteTopicCommand.js +5 -0
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +5 -0
- package/dist-es/commands/GetEndpointAttributesCommand.js +5 -0
- package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +5 -0
- package/dist-es/commands/GetSMSAttributesCommand.js +5 -0
- package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +5 -0
- package/dist-es/commands/GetSubscriptionAttributesCommand.js +5 -0
- package/dist-es/commands/GetTopicAttributesCommand.js +5 -0
- package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +5 -0
- package/dist-es/commands/ListOriginationNumbersCommand.js +5 -0
- package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +5 -0
- package/dist-es/commands/ListPlatformApplicationsCommand.js +5 -0
- package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +5 -0
- package/dist-es/commands/ListSubscriptionsByTopicCommand.js +5 -0
- package/dist-es/commands/ListSubscriptionsCommand.js +5 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
- package/dist-es/commands/ListTopicsCommand.js +5 -0
- package/dist-es/commands/OptInPhoneNumberCommand.js +5 -0
- package/dist-es/commands/PublishBatchCommand.js +5 -0
- package/dist-es/commands/PublishCommand.js +5 -0
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +5 -0
- package/dist-es/commands/RemovePermissionCommand.js +5 -0
- package/dist-es/commands/SetEndpointAttributesCommand.js +5 -0
- package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +5 -0
- package/dist-es/commands/SetSMSAttributesCommand.js +5 -0
- package/dist-es/commands/SetSubscriptionAttributesCommand.js +5 -0
- package/dist-es/commands/SetTopicAttributesCommand.js +5 -0
- package/dist-es/commands/SubscribeCommand.js +5 -0
- package/dist-es/commands/TagResourceCommand.js +5 -0
- package/dist-es/commands/UnsubscribeCommand.js +5 -0
- package/dist-es/commands/UntagResourceCommand.js +5 -0
- package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +5 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/package.json +31 -30
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListPlatformApplicationsCommand, se_ListPlatformApplicationsCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListPlatformApplicationsCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListPlatformApplicationsCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "ListPlatformApplications",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListSMSSandboxPhoneNumbersCommand, se_ListSMSSandboxPhoneNumbersCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListSMSSandboxPhoneNumbersCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListSMSSandboxPhoneNumbersCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "ListSMSSandboxPhoneNumbers",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListSubscriptionsByTopicCommand, se_ListSubscriptionsByTopicCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListSubscriptionsByTopicCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListSubscriptionsByTopicCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "ListSubscriptionsByTopic",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListSubscriptionsCommand, se_ListSubscriptionsCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListSubscriptionsCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListSubscriptionsCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "ListSubscriptions",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListTagsForResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "ListTagsForResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_ListTopicsCommand, se_ListTopicsCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class ListTopicsCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class ListTopicsCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "ListTopics",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_OptInPhoneNumberCommand, se_OptInPhoneNumberCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class OptInPhoneNumberCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class OptInPhoneNumberCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "OptInPhoneNumber",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PublishBatchCommand, se_PublishBatchCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PublishBatchCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class PublishBatchCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "PublishBatch",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PublishCommand, se_PublishCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PublishCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class PublishCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "Publish",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_PutDataProtectionPolicyCommand, se_PutDataProtectionPolicyCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class PutDataProtectionPolicyCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class PutDataProtectionPolicyCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "PutDataProtectionPolicy",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class RemovePermissionCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class RemovePermissionCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "RemovePermission",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_SetEndpointAttributesCommand, se_SetEndpointAttributesCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class SetEndpointAttributesCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class SetEndpointAttributesCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "SetEndpointAttributes",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_SetPlatformApplicationAttributesCommand, se_SetPlatformApplicationAttributesCommand, } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class SetPlatformApplicationAttributesCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class SetPlatformApplicationAttributesCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "SetPlatformApplicationAttributes",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_SetSMSAttributesCommand, se_SetSMSAttributesCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class SetSMSAttributesCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class SetSMSAttributesCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "SetSMSAttributes",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_SetSubscriptionAttributesCommand, se_SetSubscriptionAttributesCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class SetSubscriptionAttributesCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class SetSubscriptionAttributesCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "SetSubscriptionAttributes",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_SetTopicAttributesCommand, se_SetTopicAttributesCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class SetTopicAttributesCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class SetTopicAttributesCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "SetTopicAttributes",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_SubscribeCommand, se_SubscribeCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class SubscribeCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class SubscribeCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "Subscribe",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class TagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "TagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UnsubscribeCommand, se_UnsubscribeCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UnsubscribeCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UnsubscribeCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "Unsubscribe",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class UntagResourceCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "UntagResource",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
4
5
|
import { de_VerifySMSSandboxPhoneNumberCommand, se_VerifySMSSandboxPhoneNumberCommand } from "../protocols/Aws_query";
|
|
5
6
|
export { $Command };
|
|
6
7
|
export class VerifySMSSandboxPhoneNumberCommand extends $Command {
|
|
@@ -29,6 +30,10 @@ export class VerifySMSSandboxPhoneNumberCommand extends $Command {
|
|
|
29
30
|
commandName,
|
|
30
31
|
inputFilterSensitiveLog: (_) => _,
|
|
31
32
|
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonSimpleNotificationService",
|
|
35
|
+
operation: "VerifySMSSandboxPhoneNumber",
|
|
36
|
+
},
|
|
32
37
|
};
|
|
33
38
|
const { requestHandler } = configuration;
|
|
34
39
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
1
2
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
2
3
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
3
4
|
const asPartial = (t) => t;
|
|
4
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
5
6
|
const extensionConfiguration = {
|
|
7
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
9
|
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
8
10
|
};
|
|
9
11
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
10
12
|
return {
|
|
11
13
|
...runtimeConfig,
|
|
14
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
12
15
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
16
|
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
14
17
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
/**
|
|
4
5
|
* @internal
|
|
5
6
|
*/
|
|
6
|
-
export interface SNSExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
7
|
+
export interface SNSExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {
|
|
7
8
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
2
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
3
4
|
export interface SNSExtensionConfiguration
|
|
4
5
|
extends HttpHandlerExtensionConfiguration,
|
|
5
|
-
DefaultExtensionConfiguration
|
|
6
|
+
DefaultExtensionConfiguration,
|
|
7
|
+
AwsRegionExtensionConfiguration {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sns",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.418.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,38 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/
|
|
32
|
-
"@aws-sdk/
|
|
33
|
-
"@aws-sdk/util-
|
|
34
|
-
"@aws-sdk/util-user-agent-
|
|
35
|
-
"@
|
|
36
|
-
"@smithy/
|
|
37
|
-
"@smithy/
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/middleware-
|
|
41
|
-
"@smithy/middleware-
|
|
42
|
-
"@smithy/middleware-
|
|
43
|
-
"@smithy/middleware-
|
|
44
|
-
"@smithy/
|
|
45
|
-
"@smithy/node-
|
|
46
|
-
"@smithy/
|
|
47
|
-
"@smithy/
|
|
48
|
-
"@smithy/
|
|
49
|
-
"@smithy/
|
|
24
|
+
"@aws-sdk/client-sts": "3.418.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.418.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.418.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.418.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.418.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.418.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.418.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.418.0",
|
|
32
|
+
"@aws-sdk/types": "3.418.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.418.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.418.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.418.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.10",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.1.5",
|
|
38
|
+
"@smithy/hash-node": "^2.0.9",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.9",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.11",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.0.9",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.12",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.9",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.2",
|
|
45
|
+
"@smithy/node-config-provider": "^2.0.12",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.5",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.5",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.6",
|
|
49
|
+
"@smithy/types": "^2.3.3",
|
|
50
|
+
"@smithy/url-parser": "^2.0.9",
|
|
50
51
|
"@smithy/util-base64": "^2.0.0",
|
|
51
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.10",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.12",
|
|
56
|
+
"@smithy/util-retry": "^2.0.2",
|
|
56
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
58
|
"fast-xml-parser": "4.2.5",
|
|
58
59
|
"tslib": "^2.5.0"
|