@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 { DeleteKeywordRequestFilterSensitiveLog, DeleteKeywordResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteKeywordCommand, serializeAws_json1_0DeleteKeywordCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteKeywordCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteKeywordCommand = (function (_super) {
7
+ __extends(DeleteKeywordCommand, _super);
8
+ function DeleteKeywordCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteKeywordCommand.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 = "DeleteKeywordCommand";
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 = "DeleteKeywordCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteKeywordRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteKeywordResultFilterSensitiveLog,
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
+ DeleteKeywordCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteKeywordCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteKeywordCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteKeywordCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteKeywordCommand;
38
+ }($Command));
39
+ export { DeleteKeywordCommand };
@@ -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 { DeleteOptOutListRequestFilterSensitiveLog, DeleteOptOutListResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteOptOutListCommand, serializeAws_json1_0DeleteOptOutListCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteOptOutListCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteOptOutListCommand = (function (_super) {
7
+ __extends(DeleteOptOutListCommand, _super);
8
+ function DeleteOptOutListCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteOptOutListCommand.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 = "DeleteOptOutListCommand";
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 = "DeleteOptOutListCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteOptOutListRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteOptOutListResultFilterSensitiveLog,
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
+ DeleteOptOutListCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteOptOutListCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteOptOutListCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteOptOutListCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteOptOutListCommand;
38
+ }($Command));
39
+ export { DeleteOptOutListCommand };
@@ -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 { DeleteOptedOutNumberRequestFilterSensitiveLog, DeleteOptedOutNumberResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteOptedOutNumberCommand, serializeAws_json1_0DeleteOptedOutNumberCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteOptedOutNumberCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteOptedOutNumberCommand = (function (_super) {
7
+ __extends(DeleteOptedOutNumberCommand, _super);
8
+ function DeleteOptedOutNumberCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteOptedOutNumberCommand.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 = "DeleteOptedOutNumberCommand";
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 = "DeleteOptedOutNumberCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteOptedOutNumberRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteOptedOutNumberResultFilterSensitiveLog,
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
+ DeleteOptedOutNumberCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteOptedOutNumberCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteOptedOutNumberCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteOptedOutNumberCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteOptedOutNumberCommand;
38
+ }($Command));
39
+ export { DeleteOptedOutNumberCommand };
@@ -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 { DeletePoolRequestFilterSensitiveLog, DeletePoolResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeletePoolCommand, serializeAws_json1_0DeletePoolCommand, } from "../protocols/Aws_json1_0";
5
- export class DeletePoolCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeletePoolCommand = (function (_super) {
7
+ __extends(DeletePoolCommand, _super);
8
+ function DeletePoolCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeletePoolCommand.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 = "DeletePoolCommand";
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 = "DeletePoolCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeletePoolRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeletePoolResultFilterSensitiveLog,
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
+ DeletePoolCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeletePoolCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeletePoolCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeletePoolCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeletePoolCommand;
38
+ }($Command));
39
+ export { DeletePoolCommand };
@@ -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 { DeleteTextMessageSpendLimitOverrideRequestFilterSensitiveLog, DeleteTextMessageSpendLimitOverrideResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteTextMessageSpendLimitOverrideCommand, serializeAws_json1_0DeleteTextMessageSpendLimitOverrideCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteTextMessageSpendLimitOverrideCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteTextMessageSpendLimitOverrideCommand = (function (_super) {
7
+ __extends(DeleteTextMessageSpendLimitOverrideCommand, _super);
8
+ function DeleteTextMessageSpendLimitOverrideCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteTextMessageSpendLimitOverrideCommand.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 = "DeleteTextMessageSpendLimitOverrideCommand";
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 = "DeleteTextMessageSpendLimitOverrideCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteTextMessageSpendLimitOverrideRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteTextMessageSpendLimitOverrideResultFilterSensitiveLog,
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
+ DeleteTextMessageSpendLimitOverrideCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteTextMessageSpendLimitOverrideCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteTextMessageSpendLimitOverrideCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteTextMessageSpendLimitOverrideCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteTextMessageSpendLimitOverrideCommand;
38
+ }($Command));
39
+ export { DeleteTextMessageSpendLimitOverrideCommand };
@@ -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 { DeleteVoiceMessageSpendLimitOverrideRequestFilterSensitiveLog, DeleteVoiceMessageSpendLimitOverrideResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DeleteVoiceMessageSpendLimitOverrideCommand, serializeAws_json1_0DeleteVoiceMessageSpendLimitOverrideCommand, } from "../protocols/Aws_json1_0";
5
- export class DeleteVoiceMessageSpendLimitOverrideCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteVoiceMessageSpendLimitOverrideCommand = (function (_super) {
7
+ __extends(DeleteVoiceMessageSpendLimitOverrideCommand, _super);
8
+ function DeleteVoiceMessageSpendLimitOverrideCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteVoiceMessageSpendLimitOverrideCommand.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 = "DeleteVoiceMessageSpendLimitOverrideCommand";
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 = "DeleteVoiceMessageSpendLimitOverrideCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteVoiceMessageSpendLimitOverrideRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteVoiceMessageSpendLimitOverrideResultFilterSensitiveLog,
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
+ DeleteVoiceMessageSpendLimitOverrideCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DeleteVoiceMessageSpendLimitOverrideCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteVoiceMessageSpendLimitOverrideCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DeleteVoiceMessageSpendLimitOverrideCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteVoiceMessageSpendLimitOverrideCommand;
38
+ }($Command));
39
+ export { DeleteVoiceMessageSpendLimitOverrideCommand };
@@ -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 { DescribeAccountAttributesRequestFilterSensitiveLog, DescribeAccountAttributesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeAccountAttributesCommand, serializeAws_json1_0DescribeAccountAttributesCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeAccountAttributesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAccountAttributesCommand = (function (_super) {
7
+ __extends(DescribeAccountAttributesCommand, _super);
8
+ function DescribeAccountAttributesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAccountAttributesCommand.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 = "DescribeAccountAttributesCommand";
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 = "DescribeAccountAttributesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAccountAttributesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAccountAttributesResultFilterSensitiveLog,
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
+ DescribeAccountAttributesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeAccountAttributesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAccountAttributesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeAccountAttributesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAccountAttributesCommand;
38
+ }($Command));
39
+ export { DescribeAccountAttributesCommand };
@@ -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 { DescribeAccountLimitsRequestFilterSensitiveLog, DescribeAccountLimitsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeAccountLimitsCommand, serializeAws_json1_0DescribeAccountLimitsCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeAccountLimitsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAccountLimitsCommand = (function (_super) {
7
+ __extends(DescribeAccountLimitsCommand, _super);
8
+ function DescribeAccountLimitsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAccountLimitsCommand.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 = "DescribeAccountLimitsCommand";
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 = "DescribeAccountLimitsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAccountLimitsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAccountLimitsResultFilterSensitiveLog,
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
+ DescribeAccountLimitsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeAccountLimitsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAccountLimitsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeAccountLimitsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAccountLimitsCommand;
38
+ }($Command));
39
+ export { DescribeAccountLimitsCommand };
@@ -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 { DescribeConfigurationSetsRequestFilterSensitiveLog, DescribeConfigurationSetsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeConfigurationSetsCommand, serializeAws_json1_0DescribeConfigurationSetsCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeConfigurationSetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeConfigurationSetsCommand = (function (_super) {
7
+ __extends(DescribeConfigurationSetsCommand, _super);
8
+ function DescribeConfigurationSetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeConfigurationSetsCommand.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 = "DescribeConfigurationSetsCommand";
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 = "DescribeConfigurationSetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeConfigurationSetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeConfigurationSetsResultFilterSensitiveLog,
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
+ DescribeConfigurationSetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeConfigurationSetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeConfigurationSetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeConfigurationSetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeConfigurationSetsCommand;
38
+ }($Command));
39
+ export { DescribeConfigurationSetsCommand };
@@ -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 { DescribeKeywordsRequestFilterSensitiveLog, DescribeKeywordsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeKeywordsCommand, serializeAws_json1_0DescribeKeywordsCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeKeywordsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeKeywordsCommand = (function (_super) {
7
+ __extends(DescribeKeywordsCommand, _super);
8
+ function DescribeKeywordsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeKeywordsCommand.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 = "DescribeKeywordsCommand";
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 = "DescribeKeywordsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeKeywordsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeKeywordsResultFilterSensitiveLog,
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
+ DescribeKeywordsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeKeywordsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeKeywordsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeKeywordsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeKeywordsCommand;
38
+ }($Command));
39
+ export { DescribeKeywordsCommand };