@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,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 { DescribeOptOutListsRequestFilterSensitiveLog, DescribeOptOutListsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeOptOutListsCommand, serializeAws_json1_0DescribeOptOutListsCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeOptOutListsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeOptOutListsCommand = (function (_super) {
7
+ __extends(DescribeOptOutListsCommand, _super);
8
+ function DescribeOptOutListsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeOptOutListsCommand.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 = "DescribeOptOutListsCommand";
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 = "DescribeOptOutListsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeOptOutListsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeOptOutListsResultFilterSensitiveLog,
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
+ DescribeOptOutListsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeOptOutListsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeOptOutListsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeOptOutListsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeOptOutListsCommand;
38
+ }($Command));
39
+ export { DescribeOptOutListsCommand };
@@ -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 { DescribeOptedOutNumbersRequestFilterSensitiveLog, DescribeOptedOutNumbersResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeOptedOutNumbersCommand, serializeAws_json1_0DescribeOptedOutNumbersCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeOptedOutNumbersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeOptedOutNumbersCommand = (function (_super) {
7
+ __extends(DescribeOptedOutNumbersCommand, _super);
8
+ function DescribeOptedOutNumbersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeOptedOutNumbersCommand.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 = "DescribeOptedOutNumbersCommand";
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 = "DescribeOptedOutNumbersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeOptedOutNumbersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeOptedOutNumbersResultFilterSensitiveLog,
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
+ DescribeOptedOutNumbersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeOptedOutNumbersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeOptedOutNumbersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeOptedOutNumbersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeOptedOutNumbersCommand;
38
+ }($Command));
39
+ export { DescribeOptedOutNumbersCommand };
@@ -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 { DescribePhoneNumbersRequestFilterSensitiveLog, DescribePhoneNumbersResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribePhoneNumbersCommand, serializeAws_json1_0DescribePhoneNumbersCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribePhoneNumbersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribePhoneNumbersCommand = (function (_super) {
7
+ __extends(DescribePhoneNumbersCommand, _super);
8
+ function DescribePhoneNumbersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribePhoneNumbersCommand.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 = "DescribePhoneNumbersCommand";
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 = "DescribePhoneNumbersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribePhoneNumbersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribePhoneNumbersResultFilterSensitiveLog,
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
+ DescribePhoneNumbersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribePhoneNumbersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribePhoneNumbersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribePhoneNumbersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribePhoneNumbersCommand;
38
+ }($Command));
39
+ export { DescribePhoneNumbersCommand };
@@ -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 { DescribePoolsRequestFilterSensitiveLog, DescribePoolsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribePoolsCommand, serializeAws_json1_0DescribePoolsCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribePoolsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribePoolsCommand = (function (_super) {
7
+ __extends(DescribePoolsCommand, _super);
8
+ function DescribePoolsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribePoolsCommand.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 = "DescribePoolsCommand";
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 = "DescribePoolsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribePoolsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribePoolsResultFilterSensitiveLog,
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
+ DescribePoolsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribePoolsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribePoolsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribePoolsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribePoolsCommand;
38
+ }($Command));
39
+ export { DescribePoolsCommand };
@@ -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 { DescribeSenderIdsRequestFilterSensitiveLog, DescribeSenderIdsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeSenderIdsCommand, serializeAws_json1_0DescribeSenderIdsCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeSenderIdsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeSenderIdsCommand = (function (_super) {
7
+ __extends(DescribeSenderIdsCommand, _super);
8
+ function DescribeSenderIdsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSenderIdsCommand.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 = "DescribeSenderIdsCommand";
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 = "DescribeSenderIdsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeSenderIdsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSenderIdsResultFilterSensitiveLog,
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
+ DescribeSenderIdsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeSenderIdsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSenderIdsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeSenderIdsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSenderIdsCommand;
38
+ }($Command));
39
+ export { DescribeSenderIdsCommand };
@@ -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 { DescribeSpendLimitsRequestFilterSensitiveLog, DescribeSpendLimitsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeSpendLimitsCommand, serializeAws_json1_0DescribeSpendLimitsCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeSpendLimitsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeSpendLimitsCommand = (function (_super) {
7
+ __extends(DescribeSpendLimitsCommand, _super);
8
+ function DescribeSpendLimitsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSpendLimitsCommand.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 = "DescribeSpendLimitsCommand";
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 = "DescribeSpendLimitsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeSpendLimitsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSpendLimitsResultFilterSensitiveLog,
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
+ DescribeSpendLimitsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeSpendLimitsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSpendLimitsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeSpendLimitsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSpendLimitsCommand;
38
+ }($Command));
39
+ export { DescribeSpendLimitsCommand };
@@ -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 { DisassociateOriginationIdentityRequestFilterSensitiveLog, DisassociateOriginationIdentityResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DisassociateOriginationIdentityCommand, serializeAws_json1_0DisassociateOriginationIdentityCommand, } from "../protocols/Aws_json1_0";
5
- export class DisassociateOriginationIdentityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DisassociateOriginationIdentityCommand = (function (_super) {
7
+ __extends(DisassociateOriginationIdentityCommand, _super);
8
+ function DisassociateOriginationIdentityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DisassociateOriginationIdentityCommand.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 = "DisassociateOriginationIdentityCommand";
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 = "DisassociateOriginationIdentityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DisassociateOriginationIdentityRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DisassociateOriginationIdentityResultFilterSensitiveLog,
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
+ DisassociateOriginationIdentityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DisassociateOriginationIdentityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DisassociateOriginationIdentityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DisassociateOriginationIdentityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DisassociateOriginationIdentityCommand;
38
+ }($Command));
39
+ export { DisassociateOriginationIdentityCommand };
@@ -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 { ListPoolOriginationIdentitiesRequestFilterSensitiveLog, ListPoolOriginationIdentitiesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListPoolOriginationIdentitiesCommand, serializeAws_json1_0ListPoolOriginationIdentitiesCommand, } from "../protocols/Aws_json1_0";
5
- export class ListPoolOriginationIdentitiesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPoolOriginationIdentitiesCommand = (function (_super) {
7
+ __extends(ListPoolOriginationIdentitiesCommand, _super);
8
+ function ListPoolOriginationIdentitiesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPoolOriginationIdentitiesCommand.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 = "ListPoolOriginationIdentitiesCommand";
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 = "ListPoolOriginationIdentitiesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPoolOriginationIdentitiesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPoolOriginationIdentitiesResultFilterSensitiveLog,
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
+ ListPoolOriginationIdentitiesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListPoolOriginationIdentitiesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPoolOriginationIdentitiesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListPoolOriginationIdentitiesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPoolOriginationIdentitiesCommand;
38
+ }($Command));
39
+ export { ListPoolOriginationIdentitiesCommand };
@@ -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, ListTagsForResourceResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ListTagsForResourceCommand, serializeAws_json1_0ListTagsForResourceCommand, } from "../protocols/Aws_json1_0";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "PinpointSMSVoiceV2Client";
15
- const commandName = "ListTagsForResourceCommand";
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 = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResultFilterSensitiveLog,
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
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ListTagsForResourceCommand(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 { PutKeywordRequestFilterSensitiveLog, PutKeywordResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0PutKeywordCommand, serializeAws_json1_0PutKeywordCommand, } from "../protocols/Aws_json1_0";
5
- export class PutKeywordCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutKeywordCommand = (function (_super) {
7
+ __extends(PutKeywordCommand, _super);
8
+ function PutKeywordCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutKeywordCommand.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 = "PutKeywordCommand";
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 = "PutKeywordCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutKeywordRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutKeywordResultFilterSensitiveLog,
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
+ PutKeywordCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0PutKeywordCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutKeywordCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0PutKeywordCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutKeywordCommand;
38
+ }($Command));
39
+ export { PutKeywordCommand };