@aws-sdk/client-pinpoint-sms-voice-v2 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.
Files changed (67) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +2 -2
  3. package/dist-es/PinpointSMSVoiceV2.js +181 -174
  4. package/dist-es/PinpointSMSVoiceV2Client.js +28 -22
  5. package/dist-es/commands/AssociateOriginationIdentityCommand.js +28 -21
  6. package/dist-es/commands/CreateConfigurationSetCommand.js +28 -21
  7. package/dist-es/commands/CreateEventDestinationCommand.js +28 -21
  8. package/dist-es/commands/CreateOptOutListCommand.js +28 -21
  9. package/dist-es/commands/CreatePoolCommand.js +28 -21
  10. package/dist-es/commands/DeleteConfigurationSetCommand.js +28 -21
  11. package/dist-es/commands/DeleteDefaultMessageTypeCommand.js +28 -21
  12. package/dist-es/commands/DeleteDefaultSenderIdCommand.js +28 -21
  13. package/dist-es/commands/DeleteEventDestinationCommand.js +28 -21
  14. package/dist-es/commands/DeleteKeywordCommand.js +28 -21
  15. package/dist-es/commands/DeleteOptOutListCommand.js +28 -21
  16. package/dist-es/commands/DeleteOptedOutNumberCommand.js +28 -21
  17. package/dist-es/commands/DeletePoolCommand.js +28 -21
  18. package/dist-es/commands/DeleteTextMessageSpendLimitOverrideCommand.js +28 -21
  19. package/dist-es/commands/DeleteVoiceMessageSpendLimitOverrideCommand.js +28 -21
  20. package/dist-es/commands/DescribeAccountAttributesCommand.js +28 -21
  21. package/dist-es/commands/DescribeAccountLimitsCommand.js +28 -21
  22. package/dist-es/commands/DescribeConfigurationSetsCommand.js +28 -21
  23. package/dist-es/commands/DescribeKeywordsCommand.js +28 -21
  24. package/dist-es/commands/DescribeOptOutListsCommand.js +28 -21
  25. package/dist-es/commands/DescribeOptedOutNumbersCommand.js +28 -21
  26. package/dist-es/commands/DescribePhoneNumbersCommand.js +28 -21
  27. package/dist-es/commands/DescribePoolsCommand.js +28 -21
  28. package/dist-es/commands/DescribeSenderIdsCommand.js +28 -21
  29. package/dist-es/commands/DescribeSpendLimitsCommand.js +28 -21
  30. package/dist-es/commands/DisassociateOriginationIdentityCommand.js +28 -21
  31. package/dist-es/commands/ListPoolOriginationIdentitiesCommand.js +28 -21
  32. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  33. package/dist-es/commands/PutKeywordCommand.js +28 -21
  34. package/dist-es/commands/PutOptedOutNumberCommand.js +28 -21
  35. package/dist-es/commands/ReleasePhoneNumberCommand.js +28 -21
  36. package/dist-es/commands/RequestPhoneNumberCommand.js +28 -21
  37. package/dist-es/commands/SendTextMessageCommand.js +28 -21
  38. package/dist-es/commands/SendVoiceMessageCommand.js +28 -21
  39. package/dist-es/commands/SetDefaultMessageTypeCommand.js +28 -21
  40. package/dist-es/commands/SetDefaultSenderIdCommand.js +28 -21
  41. package/dist-es/commands/SetTextMessageSpendLimitOverrideCommand.js +28 -21
  42. package/dist-es/commands/SetVoiceMessageSpendLimitOverrideCommand.js +28 -21
  43. package/dist-es/commands/TagResourceCommand.js +28 -21
  44. package/dist-es/commands/UntagResourceCommand.js +28 -21
  45. package/dist-es/commands/UpdateEventDestinationCommand.js +28 -21
  46. package/dist-es/commands/UpdatePhoneNumberCommand.js +28 -21
  47. package/dist-es/commands/UpdatePoolCommand.js +28 -21
  48. package/dist-es/endpoints.js +8 -8
  49. package/dist-es/models/PinpointSMSVoiceV2ServiceException.js +10 -5
  50. package/dist-es/models/models_0.js +208 -429
  51. package/dist-es/pagination/DescribeAccountAttributesPaginator.js +68 -25
  52. package/dist-es/pagination/DescribeAccountLimitsPaginator.js +68 -25
  53. package/dist-es/pagination/DescribeConfigurationSetsPaginator.js +68 -25
  54. package/dist-es/pagination/DescribeKeywordsPaginator.js +68 -25
  55. package/dist-es/pagination/DescribeOptOutListsPaginator.js +68 -25
  56. package/dist-es/pagination/DescribeOptedOutNumbersPaginator.js +68 -25
  57. package/dist-es/pagination/DescribePhoneNumbersPaginator.js +68 -25
  58. package/dist-es/pagination/DescribePoolsPaginator.js +68 -25
  59. package/dist-es/pagination/DescribeSenderIdsPaginator.js +68 -25
  60. package/dist-es/pagination/DescribeSpendLimitsPaginator.js +68 -25
  61. package/dist-es/pagination/ListPoolOriginationIdentitiesPaginator.js +68 -25
  62. package/dist-es/protocols/Aws_json1_0.js +3901 -3043
  63. package/dist-es/runtimeConfig.browser.js +12 -26
  64. package/dist-es/runtimeConfig.js +12 -30
  65. package/dist-es/runtimeConfig.native.js +5 -8
  66. package/dist-es/runtimeConfig.shared.js +11 -8
  67. package/package.json +5 -5
@@ -1,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class PinpointSMSVoiceV2Client extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var PinpointSMSVoiceV2Client = (function (_super) {
13
+ __extends(PinpointSMSVoiceV2Client, _super);
14
+ function PinpointSMSVoiceV2Client(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ PinpointSMSVoiceV2Client.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return PinpointSMSVoiceV2Client;
38
+ }(__Client));
39
+ export { PinpointSMSVoiceV2Client };
@@ -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 { AssociateOriginationIdentityRequestFilterSensitiveLog, AssociateOriginationIdentityResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0AssociateOriginationIdentityCommand, serializeAws_json1_0AssociateOriginationIdentityCommand, } from "../protocols/Aws_json1_0";
5
- export class AssociateOriginationIdentityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AssociateOriginationIdentityCommand = (function (_super) {
7
+ __extends(AssociateOriginationIdentityCommand, _super);
8
+ function AssociateOriginationIdentityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AssociateOriginationIdentityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "AssociateOriginationIdentityCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointSMSVoiceV2Client";
18
+ var commandName = "AssociateOriginationIdentityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AssociateOriginationIdentityRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AssociateOriginationIdentityResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ AssociateOriginationIdentityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0AssociateOriginationIdentityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AssociateOriginationIdentityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0AssociateOriginationIdentityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AssociateOriginationIdentityCommand;
38
+ }($Command));
39
+ export { AssociateOriginationIdentityCommand };
@@ -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 { CreateConfigurationSetRequestFilterSensitiveLog, CreateConfigurationSetResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CreateConfigurationSetCommand, serializeAws_json1_0CreateConfigurationSetCommand, } from "../protocols/Aws_json1_0";
5
- export class CreateConfigurationSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateConfigurationSetCommand = (function (_super) {
7
+ __extends(CreateConfigurationSetCommand, _super);
8
+ function CreateConfigurationSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateConfigurationSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "CreateConfigurationSetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointSMSVoiceV2Client";
18
+ var commandName = "CreateConfigurationSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateConfigurationSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateConfigurationSetResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateConfigurationSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0CreateConfigurationSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateConfigurationSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CreateConfigurationSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateConfigurationSetCommand;
38
+ }($Command));
39
+ export { CreateConfigurationSetCommand };
@@ -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 { CreateEventDestinationRequestFilterSensitiveLog, CreateEventDestinationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CreateEventDestinationCommand, serializeAws_json1_0CreateEventDestinationCommand, } from "../protocols/Aws_json1_0";
5
- export class CreateEventDestinationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEventDestinationCommand = (function (_super) {
7
+ __extends(CreateEventDestinationCommand, _super);
8
+ function CreateEventDestinationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEventDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "CreateEventDestinationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointSMSVoiceV2Client";
18
+ var commandName = "CreateEventDestinationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEventDestinationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEventDestinationResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateEventDestinationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0CreateEventDestinationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEventDestinationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CreateEventDestinationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEventDestinationCommand;
38
+ }($Command));
39
+ export { CreateEventDestinationCommand };
@@ -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 { CreateOptOutListRequestFilterSensitiveLog, CreateOptOutListResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CreateOptOutListCommand, serializeAws_json1_0CreateOptOutListCommand, } from "../protocols/Aws_json1_0";
5
- export class CreateOptOutListCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateOptOutListCommand = (function (_super) {
7
+ __extends(CreateOptOutListCommand, _super);
8
+ function CreateOptOutListCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateOptOutListCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "CreateOptOutListCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointSMSVoiceV2Client";
18
+ var commandName = "CreateOptOutListCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateOptOutListRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateOptOutListResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateOptOutListCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0CreateOptOutListCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateOptOutListCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CreateOptOutListCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateOptOutListCommand;
38
+ }($Command));
39
+ export { CreateOptOutListCommand };
@@ -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 { CreatePoolRequestFilterSensitiveLog, CreatePoolResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0CreatePoolCommand, serializeAws_json1_0CreatePoolCommand, } from "../protocols/Aws_json1_0";
5
- export class CreatePoolCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreatePoolCommand = (function (_super) {
7
+ __extends(CreatePoolCommand, _super);
8
+ function CreatePoolCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreatePoolCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "CreatePoolCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointSMSVoiceV2Client";
18
+ var commandName = "CreatePoolCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreatePoolRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreatePoolResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreatePoolCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0CreatePoolCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreatePoolCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0CreatePoolCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreatePoolCommand;
38
+ }($Command));
39
+ export { CreatePoolCommand };
@@ -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 { DeleteConfigurationSetRequestFilterSensitiveLog, DeleteConfigurationSetResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteConfigurationSetCommand, serializeAws_json1_0DeleteConfigurationSetCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteConfigurationSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteConfigurationSetCommand = (function (_super) {
7
+ __extends(DeleteConfigurationSetCommand, _super);
8
+ function DeleteConfigurationSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteConfigurationSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "DeleteConfigurationSetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointSMSVoiceV2Client";
18
+ var commandName = "DeleteConfigurationSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteConfigurationSetRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteConfigurationSetResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteConfigurationSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteConfigurationSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteConfigurationSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteConfigurationSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteConfigurationSetCommand;
38
+ }($Command));
39
+ export { DeleteConfigurationSetCommand };
@@ -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 { DeleteDefaultMessageTypeRequestFilterSensitiveLog, DeleteDefaultMessageTypeResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteDefaultMessageTypeCommand, serializeAws_json1_0DeleteDefaultMessageTypeCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteDefaultMessageTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDefaultMessageTypeCommand = (function (_super) {
7
+ __extends(DeleteDefaultMessageTypeCommand, _super);
8
+ function DeleteDefaultMessageTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDefaultMessageTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "DeleteDefaultMessageTypeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointSMSVoiceV2Client";
18
+ var commandName = "DeleteDefaultMessageTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDefaultMessageTypeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDefaultMessageTypeResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteDefaultMessageTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteDefaultMessageTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDefaultMessageTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteDefaultMessageTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDefaultMessageTypeCommand;
38
+ }($Command));
39
+ export { DeleteDefaultMessageTypeCommand };
@@ -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 { DeleteDefaultSenderIdRequestFilterSensitiveLog, DeleteDefaultSenderIdResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteDefaultSenderIdCommand, serializeAws_json1_0DeleteDefaultSenderIdCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteDefaultSenderIdCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDefaultSenderIdCommand = (function (_super) {
7
+ __extends(DeleteDefaultSenderIdCommand, _super);
8
+ function DeleteDefaultSenderIdCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDefaultSenderIdCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "DeleteDefaultSenderIdCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointSMSVoiceV2Client";
18
+ var commandName = "DeleteDefaultSenderIdCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDefaultSenderIdRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDefaultSenderIdResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteDefaultSenderIdCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteDefaultSenderIdCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDefaultSenderIdCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteDefaultSenderIdCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDefaultSenderIdCommand;
38
+ }($Command));
39
+ export { DeleteDefaultSenderIdCommand };
@@ -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 { DeleteEventDestinationRequestFilterSensitiveLog, DeleteEventDestinationResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteEventDestinationCommand, serializeAws_json1_0DeleteEventDestinationCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteEventDestinationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteEventDestinationCommand = (function (_super) {
7
+ __extends(DeleteEventDestinationCommand, _super);
8
+ function DeleteEventDestinationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEventDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "DeleteEventDestinationCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointSMSVoiceV2Client";
18
+ var commandName = "DeleteEventDestinationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEventDestinationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteEventDestinationResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteEventDestinationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteEventDestinationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEventDestinationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteEventDestinationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEventDestinationCommand;
38
+ }($Command));
39
+ export { DeleteEventDestinationCommand };