@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,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
4
+ import { GetConnectInstanceConfigRequest, GetConnectInstanceConfigResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetConnectInstanceConfigCommand}.
14
+ */
15
+ export interface GetConnectInstanceConfigCommandInput extends GetConnectInstanceConfigRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetConnectInstanceConfigCommand}.
21
+ */
22
+ export interface GetConnectInstanceConfigCommandOutput extends GetConnectInstanceConfigResponse, __MetadataBearer {
23
+ }
24
+ declare const GetConnectInstanceConfigCommand_base: {
25
+ new (input: GetConnectInstanceConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectInstanceConfigCommandInput, GetConnectInstanceConfigCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetConnectInstanceConfigCommandInput): import("@smithy/smithy-client").CommandImpl<GetConnectInstanceConfigCommandInput, GetConnectInstanceConfigCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Get the specific Connect instance config.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectCampaignsV2Client, GetConnectInstanceConfigCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
35
+ * // const { ConnectCampaignsV2Client, GetConnectInstanceConfigCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
36
+ * const client = new ConnectCampaignsV2Client(config);
37
+ * const input = { // GetConnectInstanceConfigRequest
38
+ * connectInstanceId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetConnectInstanceConfigCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetConnectInstanceConfigResponse
43
+ * // connectInstanceConfig: { // InstanceConfig
44
+ * // connectInstanceId: "STRING_VALUE", // required
45
+ * // serviceLinkedRoleArn: "STRING_VALUE", // required
46
+ * // encryptionConfig: { // EncryptionConfig
47
+ * // enabled: true || false, // required
48
+ * // encryptionType: "STRING_VALUE",
49
+ * // keyArn: "STRING_VALUE",
50
+ * // },
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param GetConnectInstanceConfigCommandInput - {@link GetConnectInstanceConfigCommandInput}
57
+ * @returns {@link GetConnectInstanceConfigCommandOutput}
58
+ * @see {@link GetConnectInstanceConfigCommandInput} for command's `input` shape.
59
+ * @see {@link GetConnectInstanceConfigCommandOutput} for command's `response` shape.
60
+ * @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * You do not have sufficient access to perform this action.
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * Request processing failed because of an error or failure with the service.
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * The specified resource was not found.
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * The input fails to satisfy the constraints specified by an AWS service.
73
+ *
74
+ * @throws {@link ConnectCampaignsV2ServiceException}
75
+ * <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class GetConnectInstanceConfigCommand extends GetConnectInstanceConfigCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: GetConnectInstanceConfigRequest;
84
+ output: GetConnectInstanceConfigResponse;
85
+ };
86
+ sdk: {
87
+ input: GetConnectInstanceConfigCommandInput;
88
+ output: GetConnectInstanceConfigCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,87 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
4
+ import { GetInstanceOnboardingJobStatusRequest, GetInstanceOnboardingJobStatusResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetInstanceOnboardingJobStatusCommand}.
14
+ */
15
+ export interface GetInstanceOnboardingJobStatusCommandInput extends GetInstanceOnboardingJobStatusRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetInstanceOnboardingJobStatusCommand}.
21
+ */
22
+ export interface GetInstanceOnboardingJobStatusCommandOutput extends GetInstanceOnboardingJobStatusResponse, __MetadataBearer {
23
+ }
24
+ declare const GetInstanceOnboardingJobStatusCommand_base: {
25
+ new (input: GetInstanceOnboardingJobStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetInstanceOnboardingJobStatusCommandInput, GetInstanceOnboardingJobStatusCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetInstanceOnboardingJobStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetInstanceOnboardingJobStatusCommandInput, GetInstanceOnboardingJobStatusCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Get the specific instance onboarding job status.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectCampaignsV2Client, GetInstanceOnboardingJobStatusCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
35
+ * // const { ConnectCampaignsV2Client, GetInstanceOnboardingJobStatusCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
36
+ * const client = new ConnectCampaignsV2Client(config);
37
+ * const input = { // GetInstanceOnboardingJobStatusRequest
38
+ * connectInstanceId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetInstanceOnboardingJobStatusCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetInstanceOnboardingJobStatusResponse
43
+ * // connectInstanceOnboardingJobStatus: { // InstanceOnboardingJobStatus
44
+ * // connectInstanceId: "STRING_VALUE", // required
45
+ * // status: "STRING_VALUE", // required
46
+ * // failureCode: "STRING_VALUE",
47
+ * // },
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param GetInstanceOnboardingJobStatusCommandInput - {@link GetInstanceOnboardingJobStatusCommandInput}
53
+ * @returns {@link GetInstanceOnboardingJobStatusCommandOutput}
54
+ * @see {@link GetInstanceOnboardingJobStatusCommandInput} for command's `input` shape.
55
+ * @see {@link GetInstanceOnboardingJobStatusCommandOutput} for command's `response` shape.
56
+ * @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * You do not have sufficient access to perform this action.
60
+ *
61
+ * @throws {@link InternalServerException} (server fault)
62
+ * Request processing failed because of an error or failure with the service.
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * The specified resource was not found.
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * The input fails to satisfy the constraints specified by an AWS service.
69
+ *
70
+ * @throws {@link ConnectCampaignsV2ServiceException}
71
+ * <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
72
+ *
73
+ * @public
74
+ */
75
+ export declare class GetInstanceOnboardingJobStatusCommand extends GetInstanceOnboardingJobStatusCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: GetInstanceOnboardingJobStatusRequest;
80
+ output: GetInstanceOnboardingJobStatusResponse;
81
+ };
82
+ sdk: {
83
+ input: GetInstanceOnboardingJobStatusCommandInput;
84
+ output: GetInstanceOnboardingJobStatusCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -0,0 +1,104 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
4
+ import { ListCampaignsRequest, ListCampaignsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListCampaignsCommand}.
14
+ */
15
+ export interface ListCampaignsCommandInput extends ListCampaignsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListCampaignsCommand}.
21
+ */
22
+ export interface ListCampaignsCommandOutput extends ListCampaignsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListCampaignsCommand_base: {
25
+ new (input: ListCampaignsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCampaignsCommandInput, ListCampaignsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListCampaignsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListCampaignsCommandInput, ListCampaignsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Provides summary information about the campaigns under the specified Amazon Connect account.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectCampaignsV2Client, ListCampaignsCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
35
+ * // const { ConnectCampaignsV2Client, ListCampaignsCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
36
+ * const client = new ConnectCampaignsV2Client(config);
37
+ * const input = { // ListCampaignsRequest
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * filters: { // CampaignFilters
41
+ * instanceIdFilter: { // InstanceIdFilter
42
+ * value: "STRING_VALUE", // required
43
+ * operator: "STRING_VALUE", // required
44
+ * },
45
+ * },
46
+ * };
47
+ * const command = new ListCampaignsCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // ListCampaignsResponse
50
+ * // nextToken: "STRING_VALUE",
51
+ * // campaignSummaryList: [ // CampaignSummaryList
52
+ * // { // CampaignSummary
53
+ * // id: "STRING_VALUE", // required
54
+ * // arn: "STRING_VALUE", // required
55
+ * // name: "STRING_VALUE", // required
56
+ * // connectInstanceId: "STRING_VALUE", // required
57
+ * // channelSubtypes: [ // ChannelSubtypeList // required
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // schedule: { // Schedule
61
+ * // startTime: new Date("TIMESTAMP"), // required
62
+ * // endTime: new Date("TIMESTAMP"), // required
63
+ * // refreshFrequency: "STRING_VALUE",
64
+ * // },
65
+ * // connectCampaignFlowArn: "STRING_VALUE",
66
+ * // },
67
+ * // ],
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param ListCampaignsCommandInput - {@link ListCampaignsCommandInput}
73
+ * @returns {@link ListCampaignsCommandOutput}
74
+ * @see {@link ListCampaignsCommandInput} for command's `input` shape.
75
+ * @see {@link ListCampaignsCommandOutput} for command's `response` shape.
76
+ * @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * You do not have sufficient access to perform this action.
80
+ *
81
+ * @throws {@link InternalServerException} (server fault)
82
+ * Request processing failed because of an error or failure with the service.
83
+ *
84
+ * @throws {@link ValidationException} (client fault)
85
+ * The input fails to satisfy the constraints specified by an AWS service.
86
+ *
87
+ * @throws {@link ConnectCampaignsV2ServiceException}
88
+ * <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
89
+ *
90
+ * @public
91
+ */
92
+ export declare class ListCampaignsCommand extends ListCampaignsCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: ListCampaignsRequest;
97
+ output: ListCampaignsResponse;
98
+ };
99
+ sdk: {
100
+ input: ListCampaignsCommandInput;
101
+ output: ListCampaignsCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
4
+ import { ListConnectInstanceIntegrationsRequest, ListConnectInstanceIntegrationsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListConnectInstanceIntegrationsCommand}.
14
+ */
15
+ export interface ListConnectInstanceIntegrationsCommandInput extends ListConnectInstanceIntegrationsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListConnectInstanceIntegrationsCommand}.
21
+ */
22
+ export interface ListConnectInstanceIntegrationsCommandOutput extends ListConnectInstanceIntegrationsResponse, __MetadataBearer {
23
+ }
24
+ declare const ListConnectInstanceIntegrationsCommand_base: {
25
+ new (input: ListConnectInstanceIntegrationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectInstanceIntegrationsCommandInput, ListConnectInstanceIntegrationsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListConnectInstanceIntegrationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListConnectInstanceIntegrationsCommandInput, ListConnectInstanceIntegrationsCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Provides summary information about the integration under the specified Connect instance.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectCampaignsV2Client, ListConnectInstanceIntegrationsCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
35
+ * // const { ConnectCampaignsV2Client, ListConnectInstanceIntegrationsCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
36
+ * const client = new ConnectCampaignsV2Client(config);
37
+ * const input = { // ListConnectInstanceIntegrationsRequest
38
+ * connectInstanceId: "STRING_VALUE", // required
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListConnectInstanceIntegrationsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListConnectInstanceIntegrationsResponse
45
+ * // nextToken: "STRING_VALUE",
46
+ * // integrationSummaryList: [ // IntegrationSummaryList
47
+ * // { // IntegrationSummary Union: only one key present
48
+ * // customerProfiles: { // CustomerProfilesIntegrationSummary
49
+ * // domainArn: "STRING_VALUE", // required
50
+ * // objectTypeNames: { // ObjectTypeNamesMap // required
51
+ * // "<keys>": "STRING_VALUE",
52
+ * // },
53
+ * // },
54
+ * // qConnect: { // QConnectIntegrationSummary
55
+ * // knowledgeBaseArn: "STRING_VALUE", // required
56
+ * // },
57
+ * // },
58
+ * // ],
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListConnectInstanceIntegrationsCommandInput - {@link ListConnectInstanceIntegrationsCommandInput}
64
+ * @returns {@link ListConnectInstanceIntegrationsCommandOutput}
65
+ * @see {@link ListConnectInstanceIntegrationsCommandInput} for command's `input` shape.
66
+ * @see {@link ListConnectInstanceIntegrationsCommandOutput} for command's `response` shape.
67
+ * @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * You do not have sufficient access to perform this action.
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * Request processing failed because of an error or failure with the service.
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * The specified resource was not found.
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * The request was denied due to request throttling.
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * The input fails to satisfy the constraints specified by an AWS service.
83
+ *
84
+ * @throws {@link ConnectCampaignsV2ServiceException}
85
+ * <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListConnectInstanceIntegrationsCommand extends ListConnectInstanceIntegrationsCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListConnectInstanceIntegrationsRequest;
94
+ output: ListConnectInstanceIntegrationsResponse;
95
+ };
96
+ sdk: {
97
+ input: ListConnectInstanceIntegrationsCommandInput;
98
+ output: ListConnectInstanceIntegrationsCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * List tags for a resource.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectCampaignsV2Client, ListTagsForResourceCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
35
+ * // const { ConnectCampaignsV2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
36
+ * const client = new ConnectCampaignsV2Client(config);
37
+ * const input = { // ListTagsForResourceRequest
38
+ * arn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new ListTagsForResourceCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListTagsForResourceResponse
43
+ * // tags: { // TagMap
44
+ * // "<keys>": "STRING_VALUE",
45
+ * // },
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
51
+ * @returns {@link ListTagsForResourceCommandOutput}
52
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
53
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
54
+ * @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * You do not have sufficient access to perform this action.
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * Request processing failed because of an error or failure with the service.
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * The specified resource was not found.
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * The request was denied due to request throttling.
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * The input fails to satisfy the constraints specified by an AWS service.
70
+ *
71
+ * @throws {@link ConnectCampaignsV2ServiceException}
72
+ * <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: ListTagsForResourceRequest;
81
+ output: ListTagsForResourceResponse;
82
+ };
83
+ sdk: {
84
+ input: ListTagsForResourceCommandInput;
85
+ output: ListTagsForResourceCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,90 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
4
+ import { PauseCampaignRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PauseCampaignCommand}.
14
+ */
15
+ export interface PauseCampaignCommandInput extends PauseCampaignRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PauseCampaignCommand}.
21
+ */
22
+ export interface PauseCampaignCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const PauseCampaignCommand_base: {
25
+ new (input: PauseCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<PauseCampaignCommandInput, PauseCampaignCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PauseCampaignCommandInput): import("@smithy/smithy-client").CommandImpl<PauseCampaignCommandInput, PauseCampaignCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Pauses a campaign for the specified Amazon Connect account.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectCampaignsV2Client, PauseCampaignCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
35
+ * // const { ConnectCampaignsV2Client, PauseCampaignCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
36
+ * const client = new ConnectCampaignsV2Client(config);
37
+ * const input = { // PauseCampaignRequest
38
+ * id: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new PauseCampaignCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param PauseCampaignCommandInput - {@link PauseCampaignCommandInput}
47
+ * @returns {@link PauseCampaignCommandOutput}
48
+ * @see {@link PauseCampaignCommandInput} for command's `input` shape.
49
+ * @see {@link PauseCampaignCommandOutput} for command's `response` shape.
50
+ * @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * You do not have sufficient access to perform this action.
54
+ *
55
+ * @throws {@link ConflictException} (client fault)
56
+ * The request could not be processed because of conflict in the current state of the resource.
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * Request processing failed because of an error or failure with the service.
60
+ *
61
+ * @throws {@link InvalidCampaignStateException} (client fault)
62
+ * The request could not be processed because of conflict in the current state of the campaign.
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * The specified resource was not found.
66
+ *
67
+ * @throws {@link ThrottlingException} (client fault)
68
+ * The request was denied due to request throttling.
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * The input fails to satisfy the constraints specified by an AWS service.
72
+ *
73
+ * @throws {@link ConnectCampaignsV2ServiceException}
74
+ * <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
75
+ *
76
+ * @public
77
+ */
78
+ export declare class PauseCampaignCommand extends PauseCampaignCommand_base {
79
+ /** @internal type navigation helper, not in runtime. */
80
+ protected static __types: {
81
+ api: {
82
+ input: PauseCampaignRequest;
83
+ output: {};
84
+ };
85
+ sdk: {
86
+ input: PauseCampaignCommandInput;
87
+ output: PauseCampaignCommandOutput;
88
+ };
89
+ };
90
+ }
@@ -0,0 +1,98 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectCampaignsV2Client";
4
+ import { PutConnectInstanceIntegrationRequest } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PutConnectInstanceIntegrationCommand}.
14
+ */
15
+ export interface PutConnectInstanceIntegrationCommandInput extends PutConnectInstanceIntegrationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PutConnectInstanceIntegrationCommand}.
21
+ */
22
+ export interface PutConnectInstanceIntegrationCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const PutConnectInstanceIntegrationCommand_base: {
25
+ new (input: PutConnectInstanceIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<PutConnectInstanceIntegrationCommandInput, PutConnectInstanceIntegrationCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: PutConnectInstanceIntegrationCommandInput): import("@smithy/smithy-client").CommandImpl<PutConnectInstanceIntegrationCommandInput, PutConnectInstanceIntegrationCommandOutput, ConnectCampaignsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Put or update the integration for the specified Amazon Connect instance.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ConnectCampaignsV2Client, PutConnectInstanceIntegrationCommand } from "@aws-sdk/client-connectcampaignsv2"; // ES Modules import
35
+ * // const { ConnectCampaignsV2Client, PutConnectInstanceIntegrationCommand } = require("@aws-sdk/client-connectcampaignsv2"); // CommonJS import
36
+ * const client = new ConnectCampaignsV2Client(config);
37
+ * const input = { // PutConnectInstanceIntegrationRequest
38
+ * connectInstanceId: "STRING_VALUE", // required
39
+ * integrationConfig: { // IntegrationConfig Union: only one key present
40
+ * customerProfiles: { // CustomerProfilesIntegrationConfig
41
+ * domainArn: "STRING_VALUE", // required
42
+ * objectTypeNames: { // ObjectTypeNamesMap // required
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * },
46
+ * qConnect: { // QConnectIntegrationConfig
47
+ * knowledgeBaseArn: "STRING_VALUE", // required
48
+ * },
49
+ * },
50
+ * };
51
+ * const command = new PutConnectInstanceIntegrationCommand(input);
52
+ * const response = await client.send(command);
53
+ * // {};
54
+ *
55
+ * ```
56
+ *
57
+ * @param PutConnectInstanceIntegrationCommandInput - {@link PutConnectInstanceIntegrationCommandInput}
58
+ * @returns {@link PutConnectInstanceIntegrationCommandOutput}
59
+ * @see {@link PutConnectInstanceIntegrationCommandInput} for command's `input` shape.
60
+ * @see {@link PutConnectInstanceIntegrationCommandOutput} for command's `response` shape.
61
+ * @see {@link ConnectCampaignsV2ClientResolvedConfig | config} for ConnectCampaignsV2Client's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * You do not have sufficient access to perform this action.
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * The request could not be processed because of conflict in the current state of the resource.
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * Request processing failed because of an error or failure with the service.
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * The specified resource was not found.
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * The request was denied due to request throttling.
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * The input fails to satisfy the constraints specified by an AWS service.
80
+ *
81
+ * @throws {@link ConnectCampaignsV2ServiceException}
82
+ * <p>Base exception class for all service exceptions from ConnectCampaignsV2 service.</p>
83
+ *
84
+ * @public
85
+ */
86
+ export declare class PutConnectInstanceIntegrationCommand extends PutConnectInstanceIntegrationCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: PutConnectInstanceIntegrationRequest;
91
+ output: {};
92
+ };
93
+ sdk: {
94
+ input: PutConnectInstanceIntegrationCommandInput;
95
+ output: PutConnectInstanceIntegrationCommandOutput;
96
+ };
97
+ };
98
+ }