@aws-sdk/client-connectcampaigns 3.113.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 (156) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +205 -0
  4. package/dist-cjs/ConnectCampaigns.js +337 -0
  5. package/dist-cjs/ConnectCampaignsClient.js +37 -0
  6. package/dist-cjs/commands/CreateCampaignCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteCampaignCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteConnectInstanceConfigCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteInstanceOnboardingJobCommand.js +36 -0
  10. package/dist-cjs/commands/DescribeCampaignCommand.js +36 -0
  11. package/dist-cjs/commands/GetCampaignStateBatchCommand.js +36 -0
  12. package/dist-cjs/commands/GetCampaignStateCommand.js +36 -0
  13. package/dist-cjs/commands/GetConnectInstanceConfigCommand.js +36 -0
  14. package/dist-cjs/commands/GetInstanceOnboardingJobStatusCommand.js +36 -0
  15. package/dist-cjs/commands/ListCampaignsCommand.js +36 -0
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  17. package/dist-cjs/commands/PauseCampaignCommand.js +36 -0
  18. package/dist-cjs/commands/PutDialRequestBatchCommand.js +36 -0
  19. package/dist-cjs/commands/ResumeCampaignCommand.js +36 -0
  20. package/dist-cjs/commands/StartCampaignCommand.js +36 -0
  21. package/dist-cjs/commands/StartInstanceOnboardingJobCommand.js +36 -0
  22. package/dist-cjs/commands/StopCampaignCommand.js +36 -0
  23. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  24. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  25. package/dist-cjs/commands/UpdateCampaignDialerConfigCommand.js +36 -0
  26. package/dist-cjs/commands/UpdateCampaignNameCommand.js +36 -0
  27. package/dist-cjs/commands/UpdateCampaignOutboundCallConfigCommand.js +36 -0
  28. package/dist-cjs/commands/index.js +25 -0
  29. package/dist-cjs/endpoints.js +131 -0
  30. package/dist-cjs/index.js +11 -0
  31. package/dist-cjs/models/ConnectCampaignsServiceException.js +11 -0
  32. package/dist-cjs/models/index.js +4 -0
  33. package/dist-cjs/models/models_0.js +490 -0
  34. package/dist-cjs/pagination/Interfaces.js +2 -0
  35. package/dist-cjs/pagination/ListCampaignsPaginator.js +36 -0
  36. package/dist-cjs/pagination/index.js +5 -0
  37. package/dist-cjs/protocols/Aws_restJson1.js +2174 -0
  38. package/dist-cjs/runtimeConfig.browser.js +45 -0
  39. package/dist-cjs/runtimeConfig.js +52 -0
  40. package/dist-cjs/runtimeConfig.native.js +16 -0
  41. package/dist-cjs/runtimeConfig.shared.js +17 -0
  42. package/dist-es/ConnectCampaigns.js +340 -0
  43. package/dist-es/ConnectCampaignsClient.js +39 -0
  44. package/dist-es/commands/CreateCampaignCommand.js +39 -0
  45. package/dist-es/commands/DeleteCampaignCommand.js +39 -0
  46. package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +39 -0
  47. package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +39 -0
  48. package/dist-es/commands/DescribeCampaignCommand.js +39 -0
  49. package/dist-es/commands/GetCampaignStateBatchCommand.js +39 -0
  50. package/dist-es/commands/GetCampaignStateCommand.js +39 -0
  51. package/dist-es/commands/GetConnectInstanceConfigCommand.js +39 -0
  52. package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +39 -0
  53. package/dist-es/commands/ListCampaignsCommand.js +39 -0
  54. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  55. package/dist-es/commands/PauseCampaignCommand.js +39 -0
  56. package/dist-es/commands/PutDialRequestBatchCommand.js +39 -0
  57. package/dist-es/commands/ResumeCampaignCommand.js +39 -0
  58. package/dist-es/commands/StartCampaignCommand.js +39 -0
  59. package/dist-es/commands/StartInstanceOnboardingJobCommand.js +39 -0
  60. package/dist-es/commands/StopCampaignCommand.js +39 -0
  61. package/dist-es/commands/TagResourceCommand.js +39 -0
  62. package/dist-es/commands/UntagResourceCommand.js +39 -0
  63. package/dist-es/commands/UpdateCampaignDialerConfigCommand.js +39 -0
  64. package/dist-es/commands/UpdateCampaignNameCommand.js +39 -0
  65. package/dist-es/commands/UpdateCampaignOutboundCallConfigCommand.js +39 -0
  66. package/dist-es/commands/index.js +22 -0
  67. package/dist-es/endpoints.js +127 -0
  68. package/dist-es/index.js +6 -0
  69. package/dist-es/models/ConnectCampaignsServiceException.js +12 -0
  70. package/dist-es/models/index.js +1 -0
  71. package/dist-es/models/models_0.js +376 -0
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/dist-es/pagination/ListCampaignsPaginator.js +75 -0
  74. package/dist-es/pagination/index.js +2 -0
  75. package/dist-es/protocols/Aws_restJson1.js +2718 -0
  76. package/dist-es/runtimeConfig.browser.js +26 -0
  77. package/dist-es/runtimeConfig.js +30 -0
  78. package/dist-es/runtimeConfig.native.js +8 -0
  79. package/dist-es/runtimeConfig.shared.js +13 -0
  80. package/dist-types/ConnectCampaigns.d.ts +161 -0
  81. package/dist-types/ConnectCampaignsClient.d.ts +166 -0
  82. package/dist-types/commands/CreateCampaignCommand.d.ts +35 -0
  83. package/dist-types/commands/DeleteCampaignCommand.d.ts +35 -0
  84. package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +35 -0
  85. package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +35 -0
  86. package/dist-types/commands/DescribeCampaignCommand.d.ts +35 -0
  87. package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +35 -0
  88. package/dist-types/commands/GetCampaignStateCommand.d.ts +35 -0
  89. package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +35 -0
  90. package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +35 -0
  91. package/dist-types/commands/ListCampaignsCommand.d.ts +35 -0
  92. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  93. package/dist-types/commands/PauseCampaignCommand.d.ts +35 -0
  94. package/dist-types/commands/PutDialRequestBatchCommand.d.ts +35 -0
  95. package/dist-types/commands/ResumeCampaignCommand.d.ts +35 -0
  96. package/dist-types/commands/StartCampaignCommand.d.ts +35 -0
  97. package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +35 -0
  98. package/dist-types/commands/StopCampaignCommand.d.ts +35 -0
  99. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  100. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  101. package/dist-types/commands/UpdateCampaignDialerConfigCommand.d.ts +35 -0
  102. package/dist-types/commands/UpdateCampaignNameCommand.d.ts +35 -0
  103. package/dist-types/commands/UpdateCampaignOutboundCallConfigCommand.d.ts +35 -0
  104. package/dist-types/commands/index.d.ts +22 -0
  105. package/dist-types/endpoints.d.ts +2 -0
  106. package/dist-types/index.d.ts +6 -0
  107. package/dist-types/models/ConnectCampaignsServiceException.d.ts +10 -0
  108. package/dist-types/models/index.d.ts +1 -0
  109. package/dist-types/models/models_0.d.ts +1165 -0
  110. package/dist-types/pagination/Interfaces.d.ts +6 -0
  111. package/dist-types/pagination/ListCampaignsPaginator.d.ts +4 -0
  112. package/dist-types/pagination/index.d.ts +2 -0
  113. package/dist-types/protocols/Aws_restJson1.d.ts +68 -0
  114. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  115. package/dist-types/runtimeConfig.d.ts +40 -0
  116. package/dist-types/runtimeConfig.native.d.ts +39 -0
  117. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  118. package/dist-types/ts3.4/ConnectCampaigns.d.ts +115 -0
  119. package/dist-types/ts3.4/ConnectCampaignsClient.d.ts +95 -0
  120. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/DeleteConnectInstanceConfigCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/DeleteInstanceOnboardingJobCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/GetCampaignStateBatchCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/GetCampaignStateCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/GetConnectInstanceConfigCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/GetInstanceOnboardingJobStatusCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/PauseCampaignCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/PutDialRequestBatchCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/ResumeCampaignCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/StartCampaignCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/StartInstanceOnboardingJobCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/StopCampaignCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/UpdateCampaignDialerConfigCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/UpdateCampaignNameCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/UpdateCampaignOutboundCallConfigCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/index.d.ts +22 -0
  143. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  144. package/dist-types/ts3.4/index.d.ts +6 -0
  145. package/dist-types/ts3.4/models/ConnectCampaignsServiceException.d.ts +6 -0
  146. package/dist-types/ts3.4/models/index.d.ts +1 -0
  147. package/dist-types/ts3.4/models/models_0.d.ts +691 -0
  148. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  149. package/dist-types/ts3.4/pagination/ListCampaignsPaginator.d.ts +4 -0
  150. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  151. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +68 -0
  152. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  153. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  154. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  155. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  156. package/package.json +94 -0
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DeleteInstanceOnboardingJobRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1DeleteInstanceOnboardingJobCommand, serializeAws_restJson1DeleteInstanceOnboardingJobCommand, } from "../protocols/Aws_restJson1";
6
+ var DeleteInstanceOnboardingJobCommand = (function (_super) {
7
+ __extends(DeleteInstanceOnboardingJobCommand, _super);
8
+ function DeleteInstanceOnboardingJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DeleteInstanceOnboardingJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "DeleteInstanceOnboardingJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DeleteInstanceOnboardingJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteInstanceOnboardingJobCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DeleteInstanceOnboardingJobCommand(input, context);
33
+ };
34
+ DeleteInstanceOnboardingJobCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DeleteInstanceOnboardingJobCommand(output, context);
36
+ };
37
+ return DeleteInstanceOnboardingJobCommand;
38
+ }($Command));
39
+ export { DeleteInstanceOnboardingJobCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeCampaignRequest, DescribeCampaignResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1DescribeCampaignCommand, serializeAws_restJson1DescribeCampaignCommand, } from "../protocols/Aws_restJson1";
6
+ var DescribeCampaignCommand = (function (_super) {
7
+ __extends(DescribeCampaignCommand, _super);
8
+ function DescribeCampaignCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeCampaignCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "DescribeCampaignCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeCampaignRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeCampaignResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeCampaignCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1DescribeCampaignCommand(input, context);
33
+ };
34
+ DescribeCampaignCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1DescribeCampaignCommand(output, context);
36
+ };
37
+ return DescribeCampaignCommand;
38
+ }($Command));
39
+ export { DescribeCampaignCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetCampaignStateBatchRequest, GetCampaignStateBatchResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetCampaignStateBatchCommand, serializeAws_restJson1GetCampaignStateBatchCommand, } from "../protocols/Aws_restJson1";
6
+ var GetCampaignStateBatchCommand = (function (_super) {
7
+ __extends(GetCampaignStateBatchCommand, _super);
8
+ function GetCampaignStateBatchCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetCampaignStateBatchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "GetCampaignStateBatchCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetCampaignStateBatchRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetCampaignStateBatchResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetCampaignStateBatchCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetCampaignStateBatchCommand(input, context);
33
+ };
34
+ GetCampaignStateBatchCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetCampaignStateBatchCommand(output, context);
36
+ };
37
+ return GetCampaignStateBatchCommand;
38
+ }($Command));
39
+ export { GetCampaignStateBatchCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetCampaignStateRequest, GetCampaignStateResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetCampaignStateCommand, serializeAws_restJson1GetCampaignStateCommand, } from "../protocols/Aws_restJson1";
6
+ var GetCampaignStateCommand = (function (_super) {
7
+ __extends(GetCampaignStateCommand, _super);
8
+ function GetCampaignStateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetCampaignStateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "GetCampaignStateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetCampaignStateRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetCampaignStateResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetCampaignStateCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetCampaignStateCommand(input, context);
33
+ };
34
+ GetCampaignStateCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetCampaignStateCommand(output, context);
36
+ };
37
+ return GetCampaignStateCommand;
38
+ }($Command));
39
+ export { GetCampaignStateCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetConnectInstanceConfigRequest, GetConnectInstanceConfigResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetConnectInstanceConfigCommand, serializeAws_restJson1GetConnectInstanceConfigCommand, } from "../protocols/Aws_restJson1";
6
+ var GetConnectInstanceConfigCommand = (function (_super) {
7
+ __extends(GetConnectInstanceConfigCommand, _super);
8
+ function GetConnectInstanceConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetConnectInstanceConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "GetConnectInstanceConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetConnectInstanceConfigRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetConnectInstanceConfigResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetConnectInstanceConfigCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetConnectInstanceConfigCommand(input, context);
33
+ };
34
+ GetConnectInstanceConfigCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetConnectInstanceConfigCommand(output, context);
36
+ };
37
+ return GetConnectInstanceConfigCommand;
38
+ }($Command));
39
+ export { GetConnectInstanceConfigCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetInstanceOnboardingJobStatusRequest, GetInstanceOnboardingJobStatusResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetInstanceOnboardingJobStatusCommand, serializeAws_restJson1GetInstanceOnboardingJobStatusCommand, } from "../protocols/Aws_restJson1";
6
+ var GetInstanceOnboardingJobStatusCommand = (function (_super) {
7
+ __extends(GetInstanceOnboardingJobStatusCommand, _super);
8
+ function GetInstanceOnboardingJobStatusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetInstanceOnboardingJobStatusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "GetInstanceOnboardingJobStatusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetInstanceOnboardingJobStatusRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetInstanceOnboardingJobStatusResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetInstanceOnboardingJobStatusCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetInstanceOnboardingJobStatusCommand(input, context);
33
+ };
34
+ GetInstanceOnboardingJobStatusCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetInstanceOnboardingJobStatusCommand(output, context);
36
+ };
37
+ return GetInstanceOnboardingJobStatusCommand;
38
+ }($Command));
39
+ export { GetInstanceOnboardingJobStatusCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListCampaignsRequest, ListCampaignsResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListCampaignsCommand, serializeAws_restJson1ListCampaignsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListCampaignsCommand = (function (_super) {
7
+ __extends(ListCampaignsCommand, _super);
8
+ function ListCampaignsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListCampaignsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "ListCampaignsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListCampaignsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListCampaignsResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListCampaignsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListCampaignsCommand(input, context);
33
+ };
34
+ ListCampaignsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListCampaignsCommand(output, context);
36
+ };
37
+ return ListCampaignsCommand;
38
+ }($Command));
39
+ export { ListCampaignsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
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;
12
+ }
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_restJson1ListTagsForResourceCommand(input, context);
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { PauseCampaignRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1PauseCampaignCommand, serializeAws_restJson1PauseCampaignCommand, } from "../protocols/Aws_restJson1";
6
+ var PauseCampaignCommand = (function (_super) {
7
+ __extends(PauseCampaignCommand, _super);
8
+ function PauseCampaignCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ PauseCampaignCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "PauseCampaignCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: PauseCampaignRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PauseCampaignCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1PauseCampaignCommand(input, context);
33
+ };
34
+ PauseCampaignCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1PauseCampaignCommand(output, context);
36
+ };
37
+ return PauseCampaignCommand;
38
+ }($Command));
39
+ export { PauseCampaignCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { PutDialRequestBatchRequest, PutDialRequestBatchResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1PutDialRequestBatchCommand, serializeAws_restJson1PutDialRequestBatchCommand, } from "../protocols/Aws_restJson1";
6
+ var PutDialRequestBatchCommand = (function (_super) {
7
+ __extends(PutDialRequestBatchCommand, _super);
8
+ function PutDialRequestBatchCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ PutDialRequestBatchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "PutDialRequestBatchCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: PutDialRequestBatchRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: PutDialRequestBatchResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ PutDialRequestBatchCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1PutDialRequestBatchCommand(input, context);
33
+ };
34
+ PutDialRequestBatchCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1PutDialRequestBatchCommand(output, context);
36
+ };
37
+ return PutDialRequestBatchCommand;
38
+ }($Command));
39
+ export { PutDialRequestBatchCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ResumeCampaignRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1ResumeCampaignCommand, serializeAws_restJson1ResumeCampaignCommand, } from "../protocols/Aws_restJson1";
6
+ var ResumeCampaignCommand = (function (_super) {
7
+ __extends(ResumeCampaignCommand, _super);
8
+ function ResumeCampaignCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ResumeCampaignCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "ResumeCampaignCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ResumeCampaignRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ResumeCampaignCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ResumeCampaignCommand(input, context);
33
+ };
34
+ ResumeCampaignCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ResumeCampaignCommand(output, context);
36
+ };
37
+ return ResumeCampaignCommand;
38
+ }($Command));
39
+ export { ResumeCampaignCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { StartCampaignRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1StartCampaignCommand, serializeAws_restJson1StartCampaignCommand, } from "../protocols/Aws_restJson1";
6
+ var StartCampaignCommand = (function (_super) {
7
+ __extends(StartCampaignCommand, _super);
8
+ function StartCampaignCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ StartCampaignCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "StartCampaignCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: StartCampaignRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartCampaignCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1StartCampaignCommand(input, context);
33
+ };
34
+ StartCampaignCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1StartCampaignCommand(output, context);
36
+ };
37
+ return StartCampaignCommand;
38
+ }($Command));
39
+ export { StartCampaignCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { StartInstanceOnboardingJobRequest, StartInstanceOnboardingJobResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1StartInstanceOnboardingJobCommand, serializeAws_restJson1StartInstanceOnboardingJobCommand, } from "../protocols/Aws_restJson1";
6
+ var StartInstanceOnboardingJobCommand = (function (_super) {
7
+ __extends(StartInstanceOnboardingJobCommand, _super);
8
+ function StartInstanceOnboardingJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ StartInstanceOnboardingJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "StartInstanceOnboardingJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: StartInstanceOnboardingJobRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: StartInstanceOnboardingJobResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartInstanceOnboardingJobCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1StartInstanceOnboardingJobCommand(input, context);
33
+ };
34
+ StartInstanceOnboardingJobCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1StartInstanceOnboardingJobCommand(output, context);
36
+ };
37
+ return StartInstanceOnboardingJobCommand;
38
+ }($Command));
39
+ export { StartInstanceOnboardingJobCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { StopCampaignRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1StopCampaignCommand, serializeAws_restJson1StopCampaignCommand, } from "../protocols/Aws_restJson1";
6
+ var StopCampaignCommand = (function (_super) {
7
+ __extends(StopCampaignCommand, _super);
8
+ function StopCampaignCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ StopCampaignCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "StopCampaignCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: StopCampaignRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StopCampaignCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1StopCampaignCommand(input, context);
33
+ };
34
+ StopCampaignCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1StopCampaignCommand(output, context);
36
+ };
37
+ return StopCampaignCommand;
38
+ }($Command));
39
+ export { StopCampaignCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { TagResourceRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1TagResourceCommand(input, context);
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1TagResourceCommand(output, context);
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UntagResourceRequest } from "../models/models_0";
5
+ import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "ConnectCampaignsClient";
18
+ var commandName = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: function (output) { return output; },
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UntagResourceCommand(input, context);
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UntagResourceCommand(output, context);
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };