@aws-sdk/client-pinpoint 3.183.0 → 3.186.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 (134) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/endpoints.js +14 -0
  3. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  4. package/dist-es/Pinpoint.js +485 -478
  5. package/dist-es/PinpointClient.js +28 -22
  6. package/dist-es/commands/CreateAppCommand.js +28 -21
  7. package/dist-es/commands/CreateCampaignCommand.js +28 -21
  8. package/dist-es/commands/CreateEmailTemplateCommand.js +28 -21
  9. package/dist-es/commands/CreateExportJobCommand.js +28 -21
  10. package/dist-es/commands/CreateImportJobCommand.js +28 -21
  11. package/dist-es/commands/CreateInAppTemplateCommand.js +28 -21
  12. package/dist-es/commands/CreateJourneyCommand.js +28 -21
  13. package/dist-es/commands/CreatePushTemplateCommand.js +28 -21
  14. package/dist-es/commands/CreateRecommenderConfigurationCommand.js +28 -21
  15. package/dist-es/commands/CreateSegmentCommand.js +28 -21
  16. package/dist-es/commands/CreateSmsTemplateCommand.js +28 -21
  17. package/dist-es/commands/CreateVoiceTemplateCommand.js +28 -21
  18. package/dist-es/commands/DeleteAdmChannelCommand.js +28 -21
  19. package/dist-es/commands/DeleteApnsChannelCommand.js +28 -21
  20. package/dist-es/commands/DeleteApnsSandboxChannelCommand.js +28 -21
  21. package/dist-es/commands/DeleteApnsVoipChannelCommand.js +28 -21
  22. package/dist-es/commands/DeleteApnsVoipSandboxChannelCommand.js +28 -21
  23. package/dist-es/commands/DeleteAppCommand.js +28 -21
  24. package/dist-es/commands/DeleteBaiduChannelCommand.js +28 -21
  25. package/dist-es/commands/DeleteCampaignCommand.js +28 -21
  26. package/dist-es/commands/DeleteEmailChannelCommand.js +28 -21
  27. package/dist-es/commands/DeleteEmailTemplateCommand.js +28 -21
  28. package/dist-es/commands/DeleteEndpointCommand.js +28 -21
  29. package/dist-es/commands/DeleteEventStreamCommand.js +28 -21
  30. package/dist-es/commands/DeleteGcmChannelCommand.js +28 -21
  31. package/dist-es/commands/DeleteInAppTemplateCommand.js +28 -21
  32. package/dist-es/commands/DeleteJourneyCommand.js +28 -21
  33. package/dist-es/commands/DeletePushTemplateCommand.js +28 -21
  34. package/dist-es/commands/DeleteRecommenderConfigurationCommand.js +28 -21
  35. package/dist-es/commands/DeleteSegmentCommand.js +28 -21
  36. package/dist-es/commands/DeleteSmsChannelCommand.js +28 -21
  37. package/dist-es/commands/DeleteSmsTemplateCommand.js +28 -21
  38. package/dist-es/commands/DeleteUserEndpointsCommand.js +28 -21
  39. package/dist-es/commands/DeleteVoiceChannelCommand.js +28 -21
  40. package/dist-es/commands/DeleteVoiceTemplateCommand.js +28 -21
  41. package/dist-es/commands/GetAdmChannelCommand.js +28 -21
  42. package/dist-es/commands/GetApnsChannelCommand.js +28 -21
  43. package/dist-es/commands/GetApnsSandboxChannelCommand.js +28 -21
  44. package/dist-es/commands/GetApnsVoipChannelCommand.js +28 -21
  45. package/dist-es/commands/GetApnsVoipSandboxChannelCommand.js +28 -21
  46. package/dist-es/commands/GetAppCommand.js +28 -21
  47. package/dist-es/commands/GetApplicationDateRangeKpiCommand.js +28 -21
  48. package/dist-es/commands/GetApplicationSettingsCommand.js +28 -21
  49. package/dist-es/commands/GetAppsCommand.js +28 -21
  50. package/dist-es/commands/GetBaiduChannelCommand.js +28 -21
  51. package/dist-es/commands/GetCampaignActivitiesCommand.js +28 -21
  52. package/dist-es/commands/GetCampaignCommand.js +28 -21
  53. package/dist-es/commands/GetCampaignDateRangeKpiCommand.js +28 -21
  54. package/dist-es/commands/GetCampaignVersionCommand.js +28 -21
  55. package/dist-es/commands/GetCampaignVersionsCommand.js +28 -21
  56. package/dist-es/commands/GetCampaignsCommand.js +28 -21
  57. package/dist-es/commands/GetChannelsCommand.js +28 -21
  58. package/dist-es/commands/GetEmailChannelCommand.js +28 -21
  59. package/dist-es/commands/GetEmailTemplateCommand.js +28 -21
  60. package/dist-es/commands/GetEndpointCommand.js +28 -21
  61. package/dist-es/commands/GetEventStreamCommand.js +28 -21
  62. package/dist-es/commands/GetExportJobCommand.js +28 -21
  63. package/dist-es/commands/GetExportJobsCommand.js +28 -21
  64. package/dist-es/commands/GetGcmChannelCommand.js +28 -21
  65. package/dist-es/commands/GetImportJobCommand.js +28 -21
  66. package/dist-es/commands/GetImportJobsCommand.js +28 -21
  67. package/dist-es/commands/GetInAppMessagesCommand.js +28 -21
  68. package/dist-es/commands/GetInAppTemplateCommand.js +28 -21
  69. package/dist-es/commands/GetJourneyCommand.js +28 -21
  70. package/dist-es/commands/GetJourneyDateRangeKpiCommand.js +28 -21
  71. package/dist-es/commands/GetJourneyExecutionActivityMetricsCommand.js +28 -21
  72. package/dist-es/commands/GetJourneyExecutionMetricsCommand.js +28 -21
  73. package/dist-es/commands/GetPushTemplateCommand.js +28 -21
  74. package/dist-es/commands/GetRecommenderConfigurationCommand.js +28 -21
  75. package/dist-es/commands/GetRecommenderConfigurationsCommand.js +28 -21
  76. package/dist-es/commands/GetSegmentCommand.js +28 -21
  77. package/dist-es/commands/GetSegmentExportJobsCommand.js +28 -21
  78. package/dist-es/commands/GetSegmentImportJobsCommand.js +28 -21
  79. package/dist-es/commands/GetSegmentVersionCommand.js +28 -21
  80. package/dist-es/commands/GetSegmentVersionsCommand.js +28 -21
  81. package/dist-es/commands/GetSegmentsCommand.js +28 -21
  82. package/dist-es/commands/GetSmsChannelCommand.js +28 -21
  83. package/dist-es/commands/GetSmsTemplateCommand.js +28 -21
  84. package/dist-es/commands/GetUserEndpointsCommand.js +28 -21
  85. package/dist-es/commands/GetVoiceChannelCommand.js +28 -21
  86. package/dist-es/commands/GetVoiceTemplateCommand.js +28 -21
  87. package/dist-es/commands/ListJourneysCommand.js +28 -21
  88. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  89. package/dist-es/commands/ListTemplateVersionsCommand.js +28 -21
  90. package/dist-es/commands/ListTemplatesCommand.js +28 -21
  91. package/dist-es/commands/PhoneNumberValidateCommand.js +28 -21
  92. package/dist-es/commands/PutEventStreamCommand.js +28 -21
  93. package/dist-es/commands/PutEventsCommand.js +28 -21
  94. package/dist-es/commands/RemoveAttributesCommand.js +28 -21
  95. package/dist-es/commands/SendMessagesCommand.js +28 -21
  96. package/dist-es/commands/SendOTPMessageCommand.js +28 -21
  97. package/dist-es/commands/SendUsersMessagesCommand.js +28 -21
  98. package/dist-es/commands/TagResourceCommand.js +29 -22
  99. package/dist-es/commands/UntagResourceCommand.js +29 -22
  100. package/dist-es/commands/UpdateAdmChannelCommand.js +28 -21
  101. package/dist-es/commands/UpdateApnsChannelCommand.js +28 -21
  102. package/dist-es/commands/UpdateApnsSandboxChannelCommand.js +28 -21
  103. package/dist-es/commands/UpdateApnsVoipChannelCommand.js +28 -21
  104. package/dist-es/commands/UpdateApnsVoipSandboxChannelCommand.js +28 -21
  105. package/dist-es/commands/UpdateApplicationSettingsCommand.js +28 -21
  106. package/dist-es/commands/UpdateBaiduChannelCommand.js +28 -21
  107. package/dist-es/commands/UpdateCampaignCommand.js +28 -21
  108. package/dist-es/commands/UpdateEmailChannelCommand.js +28 -21
  109. package/dist-es/commands/UpdateEmailTemplateCommand.js +28 -21
  110. package/dist-es/commands/UpdateEndpointCommand.js +28 -21
  111. package/dist-es/commands/UpdateEndpointsBatchCommand.js +28 -21
  112. package/dist-es/commands/UpdateGcmChannelCommand.js +28 -21
  113. package/dist-es/commands/UpdateInAppTemplateCommand.js +28 -21
  114. package/dist-es/commands/UpdateJourneyCommand.js +28 -21
  115. package/dist-es/commands/UpdateJourneyStateCommand.js +28 -21
  116. package/dist-es/commands/UpdatePushTemplateCommand.js +28 -21
  117. package/dist-es/commands/UpdateRecommenderConfigurationCommand.js +28 -21
  118. package/dist-es/commands/UpdateSegmentCommand.js +28 -21
  119. package/dist-es/commands/UpdateSmsChannelCommand.js +28 -21
  120. package/dist-es/commands/UpdateSmsTemplateCommand.js +28 -21
  121. package/dist-es/commands/UpdateTemplateActiveVersionCommand.js +28 -21
  122. package/dist-es/commands/UpdateVoiceChannelCommand.js +28 -21
  123. package/dist-es/commands/UpdateVoiceTemplateCommand.js +28 -21
  124. package/dist-es/commands/VerifyOTPMessageCommand.js +28 -21
  125. package/dist-es/endpoints.js +22 -8
  126. package/dist-es/models/PinpointServiceException.js +10 -5
  127. package/dist-es/models/models_0.js +371 -902
  128. package/dist-es/models/models_1.js +173 -516
  129. package/dist-es/protocols/Aws_restJson1.js +13421 -10181
  130. package/dist-es/runtimeConfig.browser.js +12 -26
  131. package/dist-es/runtimeConfig.js +12 -30
  132. package/dist-es/runtimeConfig.native.js +5 -8
  133. package/dist-es/runtimeConfig.shared.js +11 -8
  134. package/package.json +33 -33
@@ -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 { DeleteSegmentRequestFilterSensitiveLog, DeleteSegmentResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteSegmentCommand, serializeAws_restJson1DeleteSegmentCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteSegmentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSegmentCommand = (function (_super) {
7
+ __extends(DeleteSegmentCommand, _super);
8
+ function DeleteSegmentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSegmentCommand.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 = "PinpointClient";
15
- const commandName = "DeleteSegmentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "DeleteSegmentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSegmentRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSegmentResponseFilterSensitiveLog,
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
+ DeleteSegmentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteSegmentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSegmentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteSegmentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSegmentCommand;
38
+ }($Command));
39
+ export { DeleteSegmentCommand };
@@ -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 { DeleteSmsChannelRequestFilterSensitiveLog, DeleteSmsChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteSmsChannelCommand, serializeAws_restJson1DeleteSmsChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteSmsChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSmsChannelCommand = (function (_super) {
7
+ __extends(DeleteSmsChannelCommand, _super);
8
+ function DeleteSmsChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSmsChannelCommand.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 = "PinpointClient";
15
- const commandName = "DeleteSmsChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "DeleteSmsChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSmsChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSmsChannelResponseFilterSensitiveLog,
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
+ DeleteSmsChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteSmsChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSmsChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteSmsChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSmsChannelCommand;
38
+ }($Command));
39
+ export { DeleteSmsChannelCommand };
@@ -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 { DeleteSmsTemplateRequestFilterSensitiveLog, DeleteSmsTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteSmsTemplateCommand, serializeAws_restJson1DeleteSmsTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteSmsTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSmsTemplateCommand = (function (_super) {
7
+ __extends(DeleteSmsTemplateCommand, _super);
8
+ function DeleteSmsTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSmsTemplateCommand.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 = "PinpointClient";
15
- const commandName = "DeleteSmsTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "DeleteSmsTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSmsTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSmsTemplateResponseFilterSensitiveLog,
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
+ DeleteSmsTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteSmsTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSmsTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteSmsTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSmsTemplateCommand;
38
+ }($Command));
39
+ export { DeleteSmsTemplateCommand };
@@ -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 { DeleteUserEndpointsRequestFilterSensitiveLog, DeleteUserEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteUserEndpointsCommand, serializeAws_restJson1DeleteUserEndpointsCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteUserEndpointsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteUserEndpointsCommand = (function (_super) {
7
+ __extends(DeleteUserEndpointsCommand, _super);
8
+ function DeleteUserEndpointsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteUserEndpointsCommand.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 = "PinpointClient";
15
- const commandName = "DeleteUserEndpointsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "DeleteUserEndpointsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteUserEndpointsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteUserEndpointsResponseFilterSensitiveLog,
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
+ DeleteUserEndpointsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteUserEndpointsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteUserEndpointsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteUserEndpointsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteUserEndpointsCommand;
38
+ }($Command));
39
+ export { DeleteUserEndpointsCommand };
@@ -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 { DeleteVoiceChannelRequestFilterSensitiveLog, DeleteVoiceChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteVoiceChannelCommand, serializeAws_restJson1DeleteVoiceChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteVoiceChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteVoiceChannelCommand = (function (_super) {
7
+ __extends(DeleteVoiceChannelCommand, _super);
8
+ function DeleteVoiceChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteVoiceChannelCommand.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 = "PinpointClient";
15
- const commandName = "DeleteVoiceChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "DeleteVoiceChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteVoiceChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteVoiceChannelResponseFilterSensitiveLog,
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
+ DeleteVoiceChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteVoiceChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteVoiceChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteVoiceChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteVoiceChannelCommand;
38
+ }($Command));
39
+ export { DeleteVoiceChannelCommand };
@@ -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 { DeleteVoiceTemplateRequestFilterSensitiveLog, DeleteVoiceTemplateResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteVoiceTemplateCommand, serializeAws_restJson1DeleteVoiceTemplateCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteVoiceTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteVoiceTemplateCommand = (function (_super) {
7
+ __extends(DeleteVoiceTemplateCommand, _super);
8
+ function DeleteVoiceTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteVoiceTemplateCommand.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 = "PinpointClient";
15
- const commandName = "DeleteVoiceTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "DeleteVoiceTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteVoiceTemplateRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteVoiceTemplateResponseFilterSensitiveLog,
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
+ DeleteVoiceTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteVoiceTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteVoiceTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteVoiceTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteVoiceTemplateCommand;
38
+ }($Command));
39
+ export { DeleteVoiceTemplateCommand };
@@ -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 { GetAdmChannelRequestFilterSensitiveLog, GetAdmChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetAdmChannelCommand, serializeAws_restJson1GetAdmChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class GetAdmChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetAdmChannelCommand = (function (_super) {
7
+ __extends(GetAdmChannelCommand, _super);
8
+ function GetAdmChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetAdmChannelCommand.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 = "PinpointClient";
15
- const commandName = "GetAdmChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "GetAdmChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetAdmChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetAdmChannelResponseFilterSensitiveLog,
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
+ GetAdmChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetAdmChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetAdmChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetAdmChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetAdmChannelCommand;
38
+ }($Command));
39
+ export { GetAdmChannelCommand };
@@ -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 { GetApnsChannelRequestFilterSensitiveLog, GetApnsChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApnsChannelCommand, serializeAws_restJson1GetApnsChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApnsChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApnsChannelCommand = (function (_super) {
7
+ __extends(GetApnsChannelCommand, _super);
8
+ function GetApnsChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApnsChannelCommand.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 = "PinpointClient";
15
- const commandName = "GetApnsChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "GetApnsChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApnsChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApnsChannelResponseFilterSensitiveLog,
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
+ GetApnsChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetApnsChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApnsChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApnsChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApnsChannelCommand;
38
+ }($Command));
39
+ export { GetApnsChannelCommand };
@@ -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 { GetApnsSandboxChannelRequestFilterSensitiveLog, GetApnsSandboxChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApnsSandboxChannelCommand, serializeAws_restJson1GetApnsSandboxChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApnsSandboxChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApnsSandboxChannelCommand = (function (_super) {
7
+ __extends(GetApnsSandboxChannelCommand, _super);
8
+ function GetApnsSandboxChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApnsSandboxChannelCommand.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 = "PinpointClient";
15
- const commandName = "GetApnsSandboxChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "GetApnsSandboxChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApnsSandboxChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApnsSandboxChannelResponseFilterSensitiveLog,
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
+ GetApnsSandboxChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetApnsSandboxChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApnsSandboxChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApnsSandboxChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApnsSandboxChannelCommand;
38
+ }($Command));
39
+ export { GetApnsSandboxChannelCommand };
@@ -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 { GetApnsVoipChannelRequestFilterSensitiveLog, GetApnsVoipChannelResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetApnsVoipChannelCommand, serializeAws_restJson1GetApnsVoipChannelCommand, } from "../protocols/Aws_restJson1";
5
- export class GetApnsVoipChannelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetApnsVoipChannelCommand = (function (_super) {
7
+ __extends(GetApnsVoipChannelCommand, _super);
8
+ function GetApnsVoipChannelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetApnsVoipChannelCommand.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 = "PinpointClient";
15
- const commandName = "GetApnsVoipChannelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "PinpointClient";
18
+ var commandName = "GetApnsVoipChannelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetApnsVoipChannelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetApnsVoipChannelResponseFilterSensitiveLog,
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
+ GetApnsVoipChannelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetApnsVoipChannelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetApnsVoipChannelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetApnsVoipChannelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetApnsVoipChannelCommand;
38
+ }($Command));
39
+ export { GetApnsVoipChannelCommand };