@aws-sdk/client-connectcampaignsv2 3.694.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 (223) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +461 -0
  3. package/dist-cjs/ConnectCampaignsV2.js +75 -0
  4. package/dist-cjs/ConnectCampaignsV2Client.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateCampaignCommand.js +27 -0
  8. package/dist-cjs/commands/DeleteCampaignChannelSubtypeConfigCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteCampaignCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteCampaignCommunicationLimitsCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteCampaignCommunicationTimeCommand.js +26 -0
  12. package/dist-cjs/commands/DeleteConnectInstanceConfigCommand.js +26 -0
  13. package/dist-cjs/commands/DeleteConnectInstanceIntegrationCommand.js +26 -0
  14. package/dist-cjs/commands/DeleteInstanceOnboardingJobCommand.js +26 -0
  15. package/dist-cjs/commands/DescribeCampaignCommand.js +27 -0
  16. package/dist-cjs/commands/GetCampaignStateBatchCommand.js +26 -0
  17. package/dist-cjs/commands/GetCampaignStateCommand.js +26 -0
  18. package/dist-cjs/commands/GetConnectInstanceConfigCommand.js +26 -0
  19. package/dist-cjs/commands/GetInstanceOnboardingJobStatusCommand.js +26 -0
  20. package/dist-cjs/commands/ListCampaignsCommand.js +26 -0
  21. package/dist-cjs/commands/ListConnectInstanceIntegrationsCommand.js +26 -0
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  23. package/dist-cjs/commands/PauseCampaignCommand.js +26 -0
  24. package/dist-cjs/commands/PutConnectInstanceIntegrationCommand.js +26 -0
  25. package/dist-cjs/commands/PutOutboundRequestBatchCommand.js +27 -0
  26. package/dist-cjs/commands/ResumeCampaignCommand.js +26 -0
  27. package/dist-cjs/commands/StartCampaignCommand.js +26 -0
  28. package/dist-cjs/commands/StartInstanceOnboardingJobCommand.js +26 -0
  29. package/dist-cjs/commands/StopCampaignCommand.js +26 -0
  30. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  31. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  32. package/dist-cjs/commands/UpdateCampaignChannelSubtypeConfigCommand.js +27 -0
  33. package/dist-cjs/commands/UpdateCampaignCommunicationLimitsCommand.js +26 -0
  34. package/dist-cjs/commands/UpdateCampaignCommunicationTimeCommand.js +26 -0
  35. package/dist-cjs/commands/UpdateCampaignFlowAssociationCommand.js +26 -0
  36. package/dist-cjs/commands/UpdateCampaignNameCommand.js +26 -0
  37. package/dist-cjs/commands/UpdateCampaignScheduleCommand.js +26 -0
  38. package/dist-cjs/commands/UpdateCampaignSourceCommand.js +26 -0
  39. package/dist-cjs/commands/index.js +35 -0
  40. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  41. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  42. package/dist-cjs/endpoint/ruleset.js +7 -0
  43. package/dist-cjs/extensionConfiguration.js +2 -0
  44. package/dist-cjs/index.js +11 -0
  45. package/dist-cjs/models/ConnectCampaignsV2ServiceException.js +12 -0
  46. package/dist-cjs/models/index.js +4 -0
  47. package/dist-cjs/models/models_0.js +409 -0
  48. package/dist-cjs/pagination/Interfaces.js +2 -0
  49. package/dist-cjs/pagination/ListCampaignsPaginator.js +7 -0
  50. package/dist-cjs/pagination/ListConnectInstanceIntegrationsPaginator.js +7 -0
  51. package/dist-cjs/pagination/index.js +6 -0
  52. package/dist-cjs/protocols/Aws_restJson1.js +1193 -0
  53. package/dist-cjs/runtimeConfig.browser.js +39 -0
  54. package/dist-cjs/runtimeConfig.js +50 -0
  55. package/dist-cjs/runtimeConfig.native.js +15 -0
  56. package/dist-cjs/runtimeConfig.shared.js +34 -0
  57. package/dist-cjs/runtimeExtensions.js +25 -0
  58. package/dist-es/ConnectCampaignsV2.js +71 -0
  59. package/dist-es/ConnectCampaignsV2Client.js +46 -0
  60. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  61. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  62. package/dist-es/commands/CreateCampaignCommand.js +23 -0
  63. package/dist-es/commands/DeleteCampaignChannelSubtypeConfigCommand.js +22 -0
  64. package/dist-es/commands/DeleteCampaignCommand.js +22 -0
  65. package/dist-es/commands/DeleteCampaignCommunicationLimitsCommand.js +22 -0
  66. package/dist-es/commands/DeleteCampaignCommunicationTimeCommand.js +22 -0
  67. package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +22 -0
  68. package/dist-es/commands/DeleteConnectInstanceIntegrationCommand.js +22 -0
  69. package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +22 -0
  70. package/dist-es/commands/DescribeCampaignCommand.js +23 -0
  71. package/dist-es/commands/GetCampaignStateBatchCommand.js +22 -0
  72. package/dist-es/commands/GetCampaignStateCommand.js +22 -0
  73. package/dist-es/commands/GetConnectInstanceConfigCommand.js +22 -0
  74. package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +22 -0
  75. package/dist-es/commands/ListCampaignsCommand.js +22 -0
  76. package/dist-es/commands/ListConnectInstanceIntegrationsCommand.js +22 -0
  77. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  78. package/dist-es/commands/PauseCampaignCommand.js +22 -0
  79. package/dist-es/commands/PutConnectInstanceIntegrationCommand.js +22 -0
  80. package/dist-es/commands/PutOutboundRequestBatchCommand.js +23 -0
  81. package/dist-es/commands/ResumeCampaignCommand.js +22 -0
  82. package/dist-es/commands/StartCampaignCommand.js +22 -0
  83. package/dist-es/commands/StartInstanceOnboardingJobCommand.js +22 -0
  84. package/dist-es/commands/StopCampaignCommand.js +22 -0
  85. package/dist-es/commands/TagResourceCommand.js +22 -0
  86. package/dist-es/commands/UntagResourceCommand.js +22 -0
  87. package/dist-es/commands/UpdateCampaignChannelSubtypeConfigCommand.js +23 -0
  88. package/dist-es/commands/UpdateCampaignCommunicationLimitsCommand.js +22 -0
  89. package/dist-es/commands/UpdateCampaignCommunicationTimeCommand.js +22 -0
  90. package/dist-es/commands/UpdateCampaignFlowAssociationCommand.js +22 -0
  91. package/dist-es/commands/UpdateCampaignNameCommand.js +22 -0
  92. package/dist-es/commands/UpdateCampaignScheduleCommand.js +22 -0
  93. package/dist-es/commands/UpdateCampaignSourceCommand.js +22 -0
  94. package/dist-es/commands/index.js +32 -0
  95. package/dist-es/endpoint/EndpointParameters.js +14 -0
  96. package/dist-es/endpoint/endpointResolver.js +14 -0
  97. package/dist-es/endpoint/ruleset.js +4 -0
  98. package/dist-es/extensionConfiguration.js +1 -0
  99. package/dist-es/index.js +6 -0
  100. package/dist-es/models/ConnectCampaignsV2ServiceException.js +8 -0
  101. package/dist-es/models/index.js +1 -0
  102. package/dist-es/models/models_0.js +384 -0
  103. package/dist-es/pagination/Interfaces.js +1 -0
  104. package/dist-es/pagination/ListCampaignsPaginator.js +4 -0
  105. package/dist-es/pagination/ListConnectInstanceIntegrationsPaginator.js +4 -0
  106. package/dist-es/pagination/index.js +3 -0
  107. package/dist-es/protocols/Aws_restJson1.js +1125 -0
  108. package/dist-es/runtimeConfig.browser.js +34 -0
  109. package/dist-es/runtimeConfig.js +45 -0
  110. package/dist-es/runtimeConfig.native.js +11 -0
  111. package/dist-es/runtimeConfig.shared.js +30 -0
  112. package/dist-es/runtimeExtensions.js +21 -0
  113. package/dist-types/ConnectCampaignsV2.d.ts +235 -0
  114. package/dist-types/ConnectCampaignsV2Client.d.ts +201 -0
  115. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  116. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  117. package/dist-types/commands/CreateCampaignCommand.d.ts +235 -0
  118. package/dist-types/commands/DeleteCampaignChannelSubtypeConfigCommand.d.ts +85 -0
  119. package/dist-types/commands/DeleteCampaignCommand.d.ts +81 -0
  120. package/dist-types/commands/DeleteCampaignCommunicationLimitsCommand.d.ts +88 -0
  121. package/dist-types/commands/DeleteCampaignCommunicationTimeCommand.d.ts +88 -0
  122. package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +88 -0
  123. package/dist-types/commands/DeleteConnectInstanceIntegrationCommand.d.ts +92 -0
  124. package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +84 -0
  125. package/dist-types/commands/DescribeCampaignCommand.d.ts +226 -0
  126. package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +96 -0
  127. package/dist-types/commands/GetCampaignStateCommand.d.ts +86 -0
  128. package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +91 -0
  129. package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +87 -0
  130. package/dist-types/commands/ListCampaignsCommand.d.ts +104 -0
  131. package/dist-types/commands/ListConnectInstanceIntegrationsCommand.d.ts +101 -0
  132. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  133. package/dist-types/commands/PauseCampaignCommand.d.ts +90 -0
  134. package/dist-types/commands/PutConnectInstanceIntegrationCommand.d.ts +98 -0
  135. package/dist-types/commands/PutOutboundRequestBatchCommand.d.ts +139 -0
  136. package/dist-types/commands/ResumeCampaignCommand.d.ts +90 -0
  137. package/dist-types/commands/StartCampaignCommand.d.ts +90 -0
  138. package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +98 -0
  139. package/dist-types/commands/StopCampaignCommand.d.ts +90 -0
  140. package/dist-types/commands/TagResourceCommand.d.ts +87 -0
  141. package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
  142. package/dist-types/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +128 -0
  143. package/dist-types/commands/UpdateCampaignCommunicationLimitsCommand.d.ts +98 -0
  144. package/dist-types/commands/UpdateCampaignCommunicationTimeCommand.d.ts +158 -0
  145. package/dist-types/commands/UpdateCampaignFlowAssociationCommand.d.ts +88 -0
  146. package/dist-types/commands/UpdateCampaignNameCommand.d.ts +85 -0
  147. package/dist-types/commands/UpdateCampaignScheduleCommand.d.ts +92 -0
  148. package/dist-types/commands/UpdateCampaignSourceCommand.d.ts +90 -0
  149. package/dist-types/commands/index.d.ts +32 -0
  150. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  151. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  152. package/dist-types/endpoint/ruleset.d.ts +2 -0
  153. package/dist-types/extensionConfiguration.d.ts +9 -0
  154. package/dist-types/index.d.ts +14 -0
  155. package/dist-types/models/ConnectCampaignsV2ServiceException.d.ts +14 -0
  156. package/dist-types/models/index.d.ts +1 -0
  157. package/dist-types/models/models_0.d.ts +2299 -0
  158. package/dist-types/pagination/Interfaces.d.ts +8 -0
  159. package/dist-types/pagination/ListCampaignsPaginator.d.ts +7 -0
  160. package/dist-types/pagination/ListConnectInstanceIntegrationsPaginator.d.ts +7 -0
  161. package/dist-types/pagination/index.d.ts +3 -0
  162. package/dist-types/protocols/Aws_restJson1.d.ts +290 -0
  163. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  164. package/dist-types/runtimeConfig.d.ts +48 -0
  165. package/dist-types/runtimeConfig.native.d.ts +47 -0
  166. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  167. package/dist-types/runtimeExtensions.d.ts +17 -0
  168. package/dist-types/ts3.4/ConnectCampaignsV2.d.ts +576 -0
  169. package/dist-types/ts3.4/ConnectCampaignsV2Client.d.ts +313 -0
  170. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  171. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  172. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +50 -0
  173. package/dist-types/ts3.4/commands/DeleteCampaignChannelSubtypeConfigCommand.d.ts +47 -0
  174. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +45 -0
  175. package/dist-types/ts3.4/commands/DeleteCampaignCommunicationLimitsCommand.d.ts +47 -0
  176. package/dist-types/ts3.4/commands/DeleteCampaignCommunicationTimeCommand.d.ts +47 -0
  177. package/dist-types/ts3.4/commands/DeleteConnectInstanceConfigCommand.d.ts +47 -0
  178. package/dist-types/ts3.4/commands/DeleteConnectInstanceIntegrationCommand.d.ts +47 -0
  179. package/dist-types/ts3.4/commands/DeleteInstanceOnboardingJobCommand.d.ts +47 -0
  180. package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +50 -0
  181. package/dist-types/ts3.4/commands/GetCampaignStateBatchCommand.d.ts +51 -0
  182. package/dist-types/ts3.4/commands/GetCampaignStateCommand.d.ts +50 -0
  183. package/dist-types/ts3.4/commands/GetConnectInstanceConfigCommand.d.ts +51 -0
  184. package/dist-types/ts3.4/commands/GetInstanceOnboardingJobStatusCommand.d.ts +51 -0
  185. package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +50 -0
  186. package/dist-types/ts3.4/commands/ListConnectInstanceIntegrationsCommand.d.ts +51 -0
  187. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  188. package/dist-types/ts3.4/commands/PauseCampaignCommand.d.ts +45 -0
  189. package/dist-types/ts3.4/commands/PutConnectInstanceIntegrationCommand.d.ts +47 -0
  190. package/dist-types/ts3.4/commands/PutOutboundRequestBatchCommand.d.ts +51 -0
  191. package/dist-types/ts3.4/commands/ResumeCampaignCommand.d.ts +45 -0
  192. package/dist-types/ts3.4/commands/StartCampaignCommand.d.ts +45 -0
  193. package/dist-types/ts3.4/commands/StartInstanceOnboardingJobCommand.d.ts +51 -0
  194. package/dist-types/ts3.4/commands/StopCampaignCommand.d.ts +45 -0
  195. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  196. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  197. package/dist-types/ts3.4/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +47 -0
  198. package/dist-types/ts3.4/commands/UpdateCampaignCommunicationLimitsCommand.d.ts +47 -0
  199. package/dist-types/ts3.4/commands/UpdateCampaignCommunicationTimeCommand.d.ts +47 -0
  200. package/dist-types/ts3.4/commands/UpdateCampaignFlowAssociationCommand.d.ts +47 -0
  201. package/dist-types/ts3.4/commands/UpdateCampaignNameCommand.d.ts +46 -0
  202. package/dist-types/ts3.4/commands/UpdateCampaignScheduleCommand.d.ts +46 -0
  203. package/dist-types/ts3.4/commands/UpdateCampaignSourceCommand.d.ts +46 -0
  204. package/dist-types/ts3.4/commands/index.d.ts +32 -0
  205. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  206. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  207. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  208. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  209. package/dist-types/ts3.4/index.d.ts +9 -0
  210. package/dist-types/ts3.4/models/ConnectCampaignsV2ServiceException.d.ts +9 -0
  211. package/dist-types/ts3.4/models/index.d.ts +1 -0
  212. package/dist-types/ts3.4/models/models_0.d.ts +827 -0
  213. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  214. package/dist-types/ts3.4/pagination/ListCampaignsPaginator.d.ts +11 -0
  215. package/dist-types/ts3.4/pagination/ListConnectInstanceIntegrationsPaginator.d.ts +11 -0
  216. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  217. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +389 -0
  218. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  219. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  220. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
  221. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  222. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  223. package/package.json +101 -0
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetConnectInstanceConfigCommand, se_GetConnectInstanceConfigCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetConnectInstanceConfigCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "GetConnectInstanceConfig", {})
17
+ .n("ConnectCampaignsV2Client", "GetConnectInstanceConfigCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetConnectInstanceConfigCommand)
20
+ .de(de_GetConnectInstanceConfigCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetInstanceOnboardingJobStatusCommand, se_GetInstanceOnboardingJobStatusCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetInstanceOnboardingJobStatusCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "GetInstanceOnboardingJobStatus", {})
17
+ .n("ConnectCampaignsV2Client", "GetInstanceOnboardingJobStatusCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetInstanceOnboardingJobStatusCommand)
20
+ .de(de_GetInstanceOnboardingJobStatusCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListCampaignsCommand, se_ListCampaignsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListCampaignsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "ListCampaigns", {})
17
+ .n("ConnectCampaignsV2Client", "ListCampaignsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListCampaignsCommand)
20
+ .de(de_ListCampaignsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListConnectInstanceIntegrationsCommand, se_ListConnectInstanceIntegrationsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListConnectInstanceIntegrationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "ListConnectInstanceIntegrations", {})
17
+ .n("ConnectCampaignsV2Client", "ListConnectInstanceIntegrationsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListConnectInstanceIntegrationsCommand)
20
+ .de(de_ListConnectInstanceIntegrationsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "ListTagsForResource", {})
17
+ .n("ConnectCampaignsV2Client", "ListTagsForResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListTagsForResourceCommand)
20
+ .de(de_ListTagsForResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_PauseCampaignCommand, se_PauseCampaignCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PauseCampaignCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "PauseCampaign", {})
17
+ .n("ConnectCampaignsV2Client", "PauseCampaignCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_PauseCampaignCommand)
20
+ .de(de_PauseCampaignCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_PutConnectInstanceIntegrationCommand, se_PutConnectInstanceIntegrationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class PutConnectInstanceIntegrationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "PutConnectInstanceIntegration", {})
17
+ .n("ConnectCampaignsV2Client", "PutConnectInstanceIntegrationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_PutConnectInstanceIntegrationCommand)
20
+ .de(de_PutConnectInstanceIntegrationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { PutOutboundRequestBatchRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_PutOutboundRequestBatchCommand, se_PutOutboundRequestBatchCommand } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class PutOutboundRequestBatchCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("AmazonConnectCampaignServiceV2", "PutOutboundRequestBatch", {})
18
+ .n("ConnectCampaignsV2Client", "PutOutboundRequestBatchCommand")
19
+ .f(PutOutboundRequestBatchRequestFilterSensitiveLog, void 0)
20
+ .ser(se_PutOutboundRequestBatchCommand)
21
+ .de(de_PutOutboundRequestBatchCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ResumeCampaignCommand, se_ResumeCampaignCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ResumeCampaignCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "ResumeCampaign", {})
17
+ .n("ConnectCampaignsV2Client", "ResumeCampaignCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ResumeCampaignCommand)
20
+ .de(de_ResumeCampaignCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartCampaignCommand, se_StartCampaignCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StartCampaignCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "StartCampaign", {})
17
+ .n("ConnectCampaignsV2Client", "StartCampaignCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartCampaignCommand)
20
+ .de(de_StartCampaignCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartInstanceOnboardingJobCommand, se_StartInstanceOnboardingJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StartInstanceOnboardingJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "StartInstanceOnboardingJob", {})
17
+ .n("ConnectCampaignsV2Client", "StartInstanceOnboardingJobCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartInstanceOnboardingJobCommand)
20
+ .de(de_StartInstanceOnboardingJobCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StopCampaignCommand, se_StopCampaignCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StopCampaignCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "StopCampaign", {})
17
+ .n("ConnectCampaignsV2Client", "StopCampaignCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StopCampaignCommand)
20
+ .de(de_StopCampaignCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "TagResource", {})
17
+ .n("ConnectCampaignsV2Client", "TagResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_TagResourceCommand)
20
+ .de(de_TagResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "UntagResource", {})
17
+ .n("ConnectCampaignsV2Client", "UntagResourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UntagResourceCommand)
20
+ .de(de_UntagResourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_UpdateCampaignChannelSubtypeConfigCommand, se_UpdateCampaignChannelSubtypeConfigCommand, } from "../protocols/Aws_restJson1";
7
+ export { $Command };
8
+ export class UpdateCampaignChannelSubtypeConfigCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("AmazonConnectCampaignServiceV2", "UpdateCampaignChannelSubtypeConfig", {})
18
+ .n("ConnectCampaignsV2Client", "UpdateCampaignChannelSubtypeConfigCommand")
19
+ .f(UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog, void 0)
20
+ .ser(se_UpdateCampaignChannelSubtypeConfigCommand)
21
+ .de(de_UpdateCampaignChannelSubtypeConfigCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateCampaignCommunicationLimitsCommand, se_UpdateCampaignCommunicationLimitsCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateCampaignCommunicationLimitsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "UpdateCampaignCommunicationLimits", {})
17
+ .n("ConnectCampaignsV2Client", "UpdateCampaignCommunicationLimitsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateCampaignCommunicationLimitsCommand)
20
+ .de(de_UpdateCampaignCommunicationLimitsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateCampaignCommunicationTimeCommand, se_UpdateCampaignCommunicationTimeCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateCampaignCommunicationTimeCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "UpdateCampaignCommunicationTime", {})
17
+ .n("ConnectCampaignsV2Client", "UpdateCampaignCommunicationTimeCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateCampaignCommunicationTimeCommand)
20
+ .de(de_UpdateCampaignCommunicationTimeCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateCampaignFlowAssociationCommand, se_UpdateCampaignFlowAssociationCommand, } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateCampaignFlowAssociationCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "UpdateCampaignFlowAssociation", {})
17
+ .n("ConnectCampaignsV2Client", "UpdateCampaignFlowAssociationCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateCampaignFlowAssociationCommand)
20
+ .de(de_UpdateCampaignFlowAssociationCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateCampaignNameCommand, se_UpdateCampaignNameCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateCampaignNameCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "UpdateCampaignName", {})
17
+ .n("ConnectCampaignsV2Client", "UpdateCampaignNameCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateCampaignNameCommand)
20
+ .de(de_UpdateCampaignNameCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateCampaignScheduleCommand, se_UpdateCampaignScheduleCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateCampaignScheduleCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "UpdateCampaignSchedule", {})
17
+ .n("ConnectCampaignsV2Client", "UpdateCampaignScheduleCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateCampaignScheduleCommand)
20
+ .de(de_UpdateCampaignScheduleCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateCampaignSourceCommand, se_UpdateCampaignSourceCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateCampaignSourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonConnectCampaignServiceV2", "UpdateCampaignSource", {})
17
+ .n("ConnectCampaignsV2Client", "UpdateCampaignSourceCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateCampaignSourceCommand)
20
+ .de(de_UpdateCampaignSourceCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,32 @@
1
+ export * from "./CreateCampaignCommand";
2
+ export * from "./DeleteCampaignChannelSubtypeConfigCommand";
3
+ export * from "./DeleteCampaignCommand";
4
+ export * from "./DeleteCampaignCommunicationLimitsCommand";
5
+ export * from "./DeleteCampaignCommunicationTimeCommand";
6
+ export * from "./DeleteConnectInstanceConfigCommand";
7
+ export * from "./DeleteConnectInstanceIntegrationCommand";
8
+ export * from "./DeleteInstanceOnboardingJobCommand";
9
+ export * from "./DescribeCampaignCommand";
10
+ export * from "./GetCampaignStateBatchCommand";
11
+ export * from "./GetCampaignStateCommand";
12
+ export * from "./GetConnectInstanceConfigCommand";
13
+ export * from "./GetInstanceOnboardingJobStatusCommand";
14
+ export * from "./ListCampaignsCommand";
15
+ export * from "./ListConnectInstanceIntegrationsCommand";
16
+ export * from "./ListTagsForResourceCommand";
17
+ export * from "./PauseCampaignCommand";
18
+ export * from "./PutConnectInstanceIntegrationCommand";
19
+ export * from "./PutOutboundRequestBatchCommand";
20
+ export * from "./ResumeCampaignCommand";
21
+ export * from "./StartCampaignCommand";
22
+ export * from "./StartInstanceOnboardingJobCommand";
23
+ export * from "./StopCampaignCommand";
24
+ export * from "./TagResourceCommand";
25
+ export * from "./UntagResourceCommand";
26
+ export * from "./UpdateCampaignChannelSubtypeConfigCommand";
27
+ export * from "./UpdateCampaignCommunicationLimitsCommand";
28
+ export * from "./UpdateCampaignCommunicationTimeCommand";
29
+ export * from "./UpdateCampaignFlowAssociationCommand";
30
+ export * from "./UpdateCampaignNameCommand";
31
+ export * from "./UpdateCampaignScheduleCommand";
32
+ export * from "./UpdateCampaignSourceCommand";
@@ -0,0 +1,14 @@
1
+ export const resolveClientEndpointParameters = (options) => {
2
+ return {
3
+ ...options,
4
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
6
+ defaultSigningName: "connect-campaigns",
7
+ };
8
+ };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -0,0 +1,14 @@
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
+ import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
8
+ export const defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
10
+ endpointParams: endpointParams,
11
+ logger: context.logger,
12
+ }));
13
+ };
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
@@ -0,0 +1,4 @@
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
+ export const ruleSet = _data;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export * from "./ConnectCampaignsV2Client";
2
+ export * from "./ConnectCampaignsV2";
3
+ export * from "./commands";
4
+ export * from "./pagination";
5
+ export * from "./models";
6
+ export { ConnectCampaignsV2ServiceException } from "./models/ConnectCampaignsV2ServiceException";
@@ -0,0 +1,8 @@
1
+ import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
2
+ export { __ServiceException };
3
+ export class ConnectCampaignsV2ServiceException extends __ServiceException {
4
+ constructor(options) {
5
+ super(options);
6
+ Object.setPrototypeOf(this, ConnectCampaignsV2ServiceException.prototype);
7
+ }
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";