@aws-sdk/client-sns 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_query.js +2 -2
- package/dist-es/SNS.js +177 -170
- package/dist-es/SNSClient.js +28 -22
- package/dist-es/commands/AddPermissionCommand.js +29 -22
- package/dist-es/commands/CheckIfPhoneNumberIsOptedOutCommand.js +28 -21
- package/dist-es/commands/ConfirmSubscriptionCommand.js +28 -21
- package/dist-es/commands/CreatePlatformApplicationCommand.js +28 -21
- package/dist-es/commands/CreatePlatformEndpointCommand.js +28 -21
- package/dist-es/commands/CreateSMSSandboxPhoneNumberCommand.js +28 -21
- package/dist-es/commands/CreateTopicCommand.js +28 -21
- package/dist-es/commands/DeleteEndpointCommand.js +29 -22
- package/dist-es/commands/DeletePlatformApplicationCommand.js +29 -22
- package/dist-es/commands/DeleteSMSSandboxPhoneNumberCommand.js +28 -21
- package/dist-es/commands/DeleteTopicCommand.js +29 -22
- package/dist-es/commands/GetDataProtectionPolicyCommand.js +28 -21
- package/dist-es/commands/GetEndpointAttributesCommand.js +28 -21
- package/dist-es/commands/GetPlatformApplicationAttributesCommand.js +28 -21
- package/dist-es/commands/GetSMSAttributesCommand.js +28 -21
- package/dist-es/commands/GetSMSSandboxAccountStatusCommand.js +28 -21
- package/dist-es/commands/GetSubscriptionAttributesCommand.js +28 -21
- package/dist-es/commands/GetTopicAttributesCommand.js +28 -21
- package/dist-es/commands/ListEndpointsByPlatformApplicationCommand.js +28 -21
- package/dist-es/commands/ListOriginationNumbersCommand.js +28 -21
- package/dist-es/commands/ListPhoneNumbersOptedOutCommand.js +28 -21
- package/dist-es/commands/ListPlatformApplicationsCommand.js +28 -21
- package/dist-es/commands/ListSMSSandboxPhoneNumbersCommand.js +28 -21
- package/dist-es/commands/ListSubscriptionsByTopicCommand.js +28 -21
- package/dist-es/commands/ListSubscriptionsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTopicsCommand.js +28 -21
- package/dist-es/commands/OptInPhoneNumberCommand.js +28 -21
- package/dist-es/commands/PublishBatchCommand.js +28 -21
- package/dist-es/commands/PublishCommand.js +28 -21
- package/dist-es/commands/PutDataProtectionPolicyCommand.js +29 -22
- package/dist-es/commands/RemovePermissionCommand.js +29 -22
- package/dist-es/commands/SetEndpointAttributesCommand.js +29 -22
- package/dist-es/commands/SetPlatformApplicationAttributesCommand.js +29 -22
- package/dist-es/commands/SetSMSAttributesCommand.js +28 -21
- package/dist-es/commands/SetSubscriptionAttributesCommand.js +29 -22
- package/dist-es/commands/SetTopicAttributesCommand.js +29 -22
- package/dist-es/commands/SubscribeCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UnsubscribeCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/VerifySMSSandboxPhoneNumberCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SNSServiceException.js +10 -5
- package/dist-es/models/models_0.js +472 -639
- package/dist-es/pagination/ListEndpointsByPlatformApplicationPaginator.js +67 -24
- package/dist-es/pagination/ListOriginationNumbersPaginator.js +68 -25
- package/dist-es/pagination/ListPhoneNumbersOptedOutPaginator.js +67 -24
- package/dist-es/pagination/ListPlatformApplicationsPaginator.js +67 -24
- package/dist-es/pagination/ListSMSSandboxPhoneNumbersPaginator.js +68 -25
- package/dist-es/pagination/ListSubscriptionsByTopicPaginator.js +67 -24
- package/dist-es/pagination/ListSubscriptionsPaginator.js +67 -24
- package/dist-es/pagination/ListTopicsPaginator.js +67 -24
- package/dist-es/protocols/Aws_query.js +4117 -3124
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListOriginationNumbersRequestFilterSensitiveLog, ListOriginationNumbersResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryListOriginationNumbersCommand, serializeAws_queryListOriginationNumbersCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListOriginationNumbersCommand = (function (_super) {
|
|
7
|
+
__extends(ListOriginationNumbersCommand, _super);
|
|
8
|
+
function ListOriginationNumbersCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListOriginationNumbersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "ListOriginationNumbersCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListOriginationNumbersRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListOriginationNumbersResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListOriginationNumbersCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryListOriginationNumbersCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListOriginationNumbersCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryListOriginationNumbersCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListOriginationNumbersCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListOriginationNumbersCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListPhoneNumbersOptedOutInputFilterSensitiveLog, ListPhoneNumbersOptedOutResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryListPhoneNumbersOptedOutCommand, serializeAws_queryListPhoneNumbersOptedOutCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListPhoneNumbersOptedOutCommand = (function (_super) {
|
|
7
|
+
__extends(ListPhoneNumbersOptedOutCommand, _super);
|
|
8
|
+
function ListPhoneNumbersOptedOutCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListPhoneNumbersOptedOutCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "ListPhoneNumbersOptedOutCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListPhoneNumbersOptedOutInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListPhoneNumbersOptedOutResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListPhoneNumbersOptedOutCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryListPhoneNumbersOptedOutCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListPhoneNumbersOptedOutCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryListPhoneNumbersOptedOutCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListPhoneNumbersOptedOutCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPhoneNumbersOptedOutCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListPlatformApplicationsInputFilterSensitiveLog, ListPlatformApplicationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryListPlatformApplicationsCommand, serializeAws_queryListPlatformApplicationsCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListPlatformApplicationsCommand = (function (_super) {
|
|
7
|
+
__extends(ListPlatformApplicationsCommand, _super);
|
|
8
|
+
function ListPlatformApplicationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListPlatformApplicationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "ListPlatformApplicationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListPlatformApplicationsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListPlatformApplicationsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListPlatformApplicationsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryListPlatformApplicationsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListPlatformApplicationsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryListPlatformApplicationsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListPlatformApplicationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListPlatformApplicationsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListSMSSandboxPhoneNumbersInputFilterSensitiveLog, ListSMSSandboxPhoneNumbersResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryListSMSSandboxPhoneNumbersCommand, serializeAws_queryListSMSSandboxPhoneNumbersCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListSMSSandboxPhoneNumbersCommand = (function (_super) {
|
|
7
|
+
__extends(ListSMSSandboxPhoneNumbersCommand, _super);
|
|
8
|
+
function ListSMSSandboxPhoneNumbersCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListSMSSandboxPhoneNumbersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "ListSMSSandboxPhoneNumbersCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListSMSSandboxPhoneNumbersInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListSMSSandboxPhoneNumbersResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListSMSSandboxPhoneNumbersCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryListSMSSandboxPhoneNumbersCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListSMSSandboxPhoneNumbersCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryListSMSSandboxPhoneNumbersCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListSMSSandboxPhoneNumbersCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSMSSandboxPhoneNumbersCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListSubscriptionsByTopicInputFilterSensitiveLog, ListSubscriptionsByTopicResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryListSubscriptionsByTopicCommand, serializeAws_queryListSubscriptionsByTopicCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListSubscriptionsByTopicCommand = (function (_super) {
|
|
7
|
+
__extends(ListSubscriptionsByTopicCommand, _super);
|
|
8
|
+
function ListSubscriptionsByTopicCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListSubscriptionsByTopicCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "ListSubscriptionsByTopicCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListSubscriptionsByTopicInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListSubscriptionsByTopicResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListSubscriptionsByTopicCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryListSubscriptionsByTopicCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListSubscriptionsByTopicCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryListSubscriptionsByTopicCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListSubscriptionsByTopicCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSubscriptionsByTopicCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListSubscriptionsInputFilterSensitiveLog, ListSubscriptionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryListSubscriptionsCommand, serializeAws_queryListSubscriptionsCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListSubscriptionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListSubscriptionsCommand, _super);
|
|
8
|
+
function ListSubscriptionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListSubscriptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "ListSubscriptionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListSubscriptionsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListSubscriptionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListSubscriptionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryListSubscriptionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListSubscriptionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryListSubscriptionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListSubscriptionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSubscriptionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryListTagsForResourceCommand, serializeAws_queryListTagsForResourceCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListTagsForResourceCommand = (function (_super) {
|
|
7
|
+
__extends(ListTagsForResourceCommand, _super);
|
|
8
|
+
function ListTagsForResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "ListTagsForResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListTagsForResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryListTagsForResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryListTagsForResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListTagsForResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTagsForResourceCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTopicsInputFilterSensitiveLog, ListTopicsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryListTopicsCommand, serializeAws_queryListTopicsCommand } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListTopicsCommand = (function (_super) {
|
|
7
|
+
__extends(ListTopicsCommand, _super);
|
|
8
|
+
function ListTopicsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListTopicsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "ListTopicsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListTopicsInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListTopicsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListTopicsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryListTopicsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListTopicsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryListTopicsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListTopicsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListTopicsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { OptInPhoneNumberInputFilterSensitiveLog, OptInPhoneNumberResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryOptInPhoneNumberCommand, serializeAws_queryOptInPhoneNumberCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var OptInPhoneNumberCommand = (function (_super) {
|
|
7
|
+
__extends(OptInPhoneNumberCommand, _super);
|
|
8
|
+
function OptInPhoneNumberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
OptInPhoneNumberCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "OptInPhoneNumberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: OptInPhoneNumberInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: OptInPhoneNumberResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
OptInPhoneNumberCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryOptInPhoneNumberCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
OptInPhoneNumberCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryOptInPhoneNumberCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return OptInPhoneNumberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { OptInPhoneNumberCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PublishBatchInputFilterSensitiveLog, PublishBatchResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryPublishBatchCommand, serializeAws_queryPublishBatchCommand } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var PublishBatchCommand = (function (_super) {
|
|
7
|
+
__extends(PublishBatchCommand, _super);
|
|
8
|
+
function PublishBatchCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PublishBatchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SNSClient";
|
|
18
|
+
var commandName = "PublishBatchCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: PublishBatchInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: PublishBatchResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PublishBatchCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryPublishBatchCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PublishBatchCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryPublishBatchCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PublishBatchCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PublishBatchCommand };
|