@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 { DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog, DeleteSMSSandboxPhoneNumberResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryDeleteSMSSandboxPhoneNumberCommand, serializeAws_queryDeleteSMSSandboxPhoneNumberCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteSMSSandboxPhoneNumberCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteSMSSandboxPhoneNumberCommand, _super);
|
|
8
|
+
function DeleteSMSSandboxPhoneNumberCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteSMSSandboxPhoneNumberCommand.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 = "DeleteSMSSandboxPhoneNumberCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteSMSSandboxPhoneNumberInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteSMSSandboxPhoneNumberResultFilterSensitiveLog,
|
|
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
|
+
DeleteSMSSandboxPhoneNumberCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryDeleteSMSSandboxPhoneNumberCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteSMSSandboxPhoneNumberCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryDeleteSMSSandboxPhoneNumberCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteSMSSandboxPhoneNumberCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteSMSSandboxPhoneNumberCommand };
|
|
@@ -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 { DeleteTopicInputFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryDeleteTopicCommand, serializeAws_queryDeleteTopicCommand } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteTopicCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteTopicCommand, _super);
|
|
8
|
+
function DeleteTopicCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteTopicCommand.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 = "DeleteTopicCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteTopicInputFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
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
|
+
DeleteTopicCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryDeleteTopicCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteTopicCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryDeleteTopicCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteTopicCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteTopicCommand };
|
|
@@ -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 { GetDataProtectionPolicyInputFilterSensitiveLog, GetDataProtectionPolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetDataProtectionPolicyCommand, serializeAws_queryGetDataProtectionPolicyCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDataProtectionPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(GetDataProtectionPolicyCommand, _super);
|
|
8
|
+
function GetDataProtectionPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDataProtectionPolicyCommand.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 = "GetDataProtectionPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDataProtectionPolicyInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetDataProtectionPolicyResponseFilterSensitiveLog,
|
|
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
|
+
GetDataProtectionPolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetDataProtectionPolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDataProtectionPolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetDataProtectionPolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDataProtectionPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDataProtectionPolicyCommand };
|
|
@@ -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 { GetEndpointAttributesInputFilterSensitiveLog, GetEndpointAttributesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetEndpointAttributesCommand, serializeAws_queryGetEndpointAttributesCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetEndpointAttributesCommand = (function (_super) {
|
|
7
|
+
__extends(GetEndpointAttributesCommand, _super);
|
|
8
|
+
function GetEndpointAttributesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetEndpointAttributesCommand.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 = "GetEndpointAttributesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetEndpointAttributesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetEndpointAttributesResponseFilterSensitiveLog,
|
|
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
|
+
GetEndpointAttributesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetEndpointAttributesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetEndpointAttributesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetEndpointAttributesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetEndpointAttributesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetEndpointAttributesCommand };
|
|
@@ -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 { GetPlatformApplicationAttributesInputFilterSensitiveLog, GetPlatformApplicationAttributesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetPlatformApplicationAttributesCommand, serializeAws_queryGetPlatformApplicationAttributesCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetPlatformApplicationAttributesCommand = (function (_super) {
|
|
7
|
+
__extends(GetPlatformApplicationAttributesCommand, _super);
|
|
8
|
+
function GetPlatformApplicationAttributesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetPlatformApplicationAttributesCommand.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 = "GetPlatformApplicationAttributesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetPlatformApplicationAttributesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetPlatformApplicationAttributesResponseFilterSensitiveLog,
|
|
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
|
+
GetPlatformApplicationAttributesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetPlatformApplicationAttributesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetPlatformApplicationAttributesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetPlatformApplicationAttributesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetPlatformApplicationAttributesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetPlatformApplicationAttributesCommand };
|
|
@@ -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 { GetSMSAttributesInputFilterSensitiveLog, GetSMSAttributesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetSMSAttributesCommand, serializeAws_queryGetSMSAttributesCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetSMSAttributesCommand = (function (_super) {
|
|
7
|
+
__extends(GetSMSAttributesCommand, _super);
|
|
8
|
+
function GetSMSAttributesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSMSAttributesCommand.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 = "GetSMSAttributesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSMSAttributesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetSMSAttributesResponseFilterSensitiveLog,
|
|
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
|
+
GetSMSAttributesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetSMSAttributesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSMSAttributesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetSMSAttributesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSMSAttributesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSMSAttributesCommand };
|
|
@@ -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 { GetSMSSandboxAccountStatusInputFilterSensitiveLog, GetSMSSandboxAccountStatusResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetSMSSandboxAccountStatusCommand, serializeAws_queryGetSMSSandboxAccountStatusCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetSMSSandboxAccountStatusCommand = (function (_super) {
|
|
7
|
+
__extends(GetSMSSandboxAccountStatusCommand, _super);
|
|
8
|
+
function GetSMSSandboxAccountStatusCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSMSSandboxAccountStatusCommand.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 = "GetSMSSandboxAccountStatusCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSMSSandboxAccountStatusInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetSMSSandboxAccountStatusResultFilterSensitiveLog,
|
|
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
|
+
GetSMSSandboxAccountStatusCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetSMSSandboxAccountStatusCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSMSSandboxAccountStatusCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetSMSSandboxAccountStatusCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSMSSandboxAccountStatusCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSMSSandboxAccountStatusCommand };
|
|
@@ -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 { GetSubscriptionAttributesInputFilterSensitiveLog, GetSubscriptionAttributesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetSubscriptionAttributesCommand, serializeAws_queryGetSubscriptionAttributesCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetSubscriptionAttributesCommand = (function (_super) {
|
|
7
|
+
__extends(GetSubscriptionAttributesCommand, _super);
|
|
8
|
+
function GetSubscriptionAttributesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetSubscriptionAttributesCommand.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 = "GetSubscriptionAttributesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetSubscriptionAttributesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetSubscriptionAttributesResponseFilterSensitiveLog,
|
|
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
|
+
GetSubscriptionAttributesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetSubscriptionAttributesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetSubscriptionAttributesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetSubscriptionAttributesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetSubscriptionAttributesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetSubscriptionAttributesCommand };
|
|
@@ -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 { GetTopicAttributesInputFilterSensitiveLog, GetTopicAttributesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryGetTopicAttributesCommand, serializeAws_queryGetTopicAttributesCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetTopicAttributesCommand = (function (_super) {
|
|
7
|
+
__extends(GetTopicAttributesCommand, _super);
|
|
8
|
+
function GetTopicAttributesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetTopicAttributesCommand.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 = "GetTopicAttributesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetTopicAttributesInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetTopicAttributesResponseFilterSensitiveLog,
|
|
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
|
+
GetTopicAttributesCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryGetTopicAttributesCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetTopicAttributesCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryGetTopicAttributesCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetTopicAttributesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetTopicAttributesCommand };
|
|
@@ -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 { ListEndpointsByPlatformApplicationInputFilterSensitiveLog, ListEndpointsByPlatformApplicationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_queryListEndpointsByPlatformApplicationCommand, serializeAws_queryListEndpointsByPlatformApplicationCommand, } from "../protocols/Aws_query";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListEndpointsByPlatformApplicationCommand = (function (_super) {
|
|
7
|
+
__extends(ListEndpointsByPlatformApplicationCommand, _super);
|
|
8
|
+
function ListEndpointsByPlatformApplicationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListEndpointsByPlatformApplicationCommand.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 = "ListEndpointsByPlatformApplicationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListEndpointsByPlatformApplicationInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListEndpointsByPlatformApplicationResponseFilterSensitiveLog,
|
|
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
|
+
ListEndpointsByPlatformApplicationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_queryListEndpointsByPlatformApplicationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListEndpointsByPlatformApplicationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_queryListEndpointsByPlatformApplicationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListEndpointsByPlatformApplicationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListEndpointsByPlatformApplicationCommand };
|