@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,409 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog = exports.PutOutboundRequestBatchRequestFilterSensitiveLog = exports.OutboundRequestFilterSensitiveLog = exports.ChannelSubtypeParametersFilterSensitiveLog = exports.TelephonyChannelSubtypeParametersFilterSensitiveLog = exports.SmsChannelSubtypeParametersFilterSensitiveLog = exports.EmailChannelSubtypeParametersFilterSensitiveLog = exports.DescribeCampaignResponseFilterSensitiveLog = exports.CampaignFilterSensitiveLog = exports.CreateCampaignRequestFilterSensitiveLog = exports.ChannelSubtypeConfigFilterSensitiveLog = exports.EmailChannelSubtypeConfigFilterSensitiveLog = exports.EmailOutboundConfigFilterSensitiveLog = exports.FailureCode = exports.ChannelSubtypeParameters = exports.IntegrationConfig = exports.IntegrationSummary = exports.EventType = exports.InstanceIdFilterOperator = exports.InstanceOnboardingJobStatusCode = exports.InstanceOnboardingJobFailureCode = exports.EncryptionType = exports.GetCampaignStateBatchFailureCode = exports.IntegrationIdentifier = exports.InvalidStateException = exports.CampaignDeletionPolicy = exports.CommunicationTimeConfigType = exports.InvalidCampaignStateException = exports.CampaignState = exports.CommunicationLimitsConfigType = exports.ChannelSubtype = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.Source = exports.LocalTimeZoneDetectionType = exports.RestrictedPeriods = exports.OpenHours = exports.DayOfWeek = exports.CommunicationLimits = exports.CommunicationLimitTimeUnit = exports.TelephonyOutboundMode = exports.SmsOutboundMode = exports.EmailOutboundMode = exports.ConflictException = exports.AccessDeniedException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ const ConnectCampaignsV2ServiceException_1 = require("./ConnectCampaignsV2ServiceException");
6
+ class AccessDeniedException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
7
+ constructor(opts) {
8
+ super({
9
+ name: "AccessDeniedException",
10
+ $fault: "client",
11
+ ...opts,
12
+ });
13
+ this.name = "AccessDeniedException";
14
+ this.$fault = "client";
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.xAmzErrorType = opts.xAmzErrorType;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class ConflictException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
21
+ constructor(opts) {
22
+ super({
23
+ name: "ConflictException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ this.name = "ConflictException";
28
+ this.$fault = "client";
29
+ Object.setPrototypeOf(this, ConflictException.prototype);
30
+ this.xAmzErrorType = opts.xAmzErrorType;
31
+ }
32
+ }
33
+ exports.ConflictException = ConflictException;
34
+ var EmailOutboundMode;
35
+ (function (EmailOutboundMode) {
36
+ EmailOutboundMode.visit = (value, visitor) => {
37
+ if (value.agentless !== undefined)
38
+ return visitor.agentless(value.agentless);
39
+ return visitor._(value.$unknown[0], value.$unknown[1]);
40
+ };
41
+ })(EmailOutboundMode = exports.EmailOutboundMode || (exports.EmailOutboundMode = {}));
42
+ var SmsOutboundMode;
43
+ (function (SmsOutboundMode) {
44
+ SmsOutboundMode.visit = (value, visitor) => {
45
+ if (value.agentless !== undefined)
46
+ return visitor.agentless(value.agentless);
47
+ return visitor._(value.$unknown[0], value.$unknown[1]);
48
+ };
49
+ })(SmsOutboundMode = exports.SmsOutboundMode || (exports.SmsOutboundMode = {}));
50
+ var TelephonyOutboundMode;
51
+ (function (TelephonyOutboundMode) {
52
+ TelephonyOutboundMode.visit = (value, visitor) => {
53
+ if (value.progressive !== undefined)
54
+ return visitor.progressive(value.progressive);
55
+ if (value.predictive !== undefined)
56
+ return visitor.predictive(value.predictive);
57
+ if (value.agentless !== undefined)
58
+ return visitor.agentless(value.agentless);
59
+ return visitor._(value.$unknown[0], value.$unknown[1]);
60
+ };
61
+ })(TelephonyOutboundMode = exports.TelephonyOutboundMode || (exports.TelephonyOutboundMode = {}));
62
+ exports.CommunicationLimitTimeUnit = {
63
+ DAY: "DAY",
64
+ };
65
+ var CommunicationLimits;
66
+ (function (CommunicationLimits) {
67
+ CommunicationLimits.visit = (value, visitor) => {
68
+ if (value.communicationLimitsList !== undefined)
69
+ return visitor.communicationLimitsList(value.communicationLimitsList);
70
+ return visitor._(value.$unknown[0], value.$unknown[1]);
71
+ };
72
+ })(CommunicationLimits = exports.CommunicationLimits || (exports.CommunicationLimits = {}));
73
+ exports.DayOfWeek = {
74
+ FRIDAY: "FRIDAY",
75
+ MONDAY: "MONDAY",
76
+ SATURDAY: "SATURDAY",
77
+ SUNDAY: "SUNDAY",
78
+ THURSDAY: "THURSDAY",
79
+ TUESDAY: "TUESDAY",
80
+ WEDNESDAY: "WEDNESDAY",
81
+ };
82
+ var OpenHours;
83
+ (function (OpenHours) {
84
+ OpenHours.visit = (value, visitor) => {
85
+ if (value.dailyHours !== undefined)
86
+ return visitor.dailyHours(value.dailyHours);
87
+ return visitor._(value.$unknown[0], value.$unknown[1]);
88
+ };
89
+ })(OpenHours = exports.OpenHours || (exports.OpenHours = {}));
90
+ var RestrictedPeriods;
91
+ (function (RestrictedPeriods) {
92
+ RestrictedPeriods.visit = (value, visitor) => {
93
+ if (value.restrictedPeriodList !== undefined)
94
+ return visitor.restrictedPeriodList(value.restrictedPeriodList);
95
+ return visitor._(value.$unknown[0], value.$unknown[1]);
96
+ };
97
+ })(RestrictedPeriods = exports.RestrictedPeriods || (exports.RestrictedPeriods = {}));
98
+ exports.LocalTimeZoneDetectionType = {
99
+ AREA_CODE: "AREA_CODE",
100
+ ZIP_CODE: "ZIP_CODE",
101
+ };
102
+ var Source;
103
+ (function (Source) {
104
+ Source.visit = (value, visitor) => {
105
+ if (value.customerProfilesSegmentArn !== undefined)
106
+ return visitor.customerProfilesSegmentArn(value.customerProfilesSegmentArn);
107
+ return visitor._(value.$unknown[0], value.$unknown[1]);
108
+ };
109
+ })(Source = exports.Source || (exports.Source = {}));
110
+ class InternalServerException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
111
+ constructor(opts) {
112
+ super({
113
+ name: "InternalServerException",
114
+ $fault: "server",
115
+ ...opts,
116
+ });
117
+ this.name = "InternalServerException";
118
+ this.$fault = "server";
119
+ this.$retryable = {};
120
+ Object.setPrototypeOf(this, InternalServerException.prototype);
121
+ this.xAmzErrorType = opts.xAmzErrorType;
122
+ }
123
+ }
124
+ exports.InternalServerException = InternalServerException;
125
+ class ResourceNotFoundException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
126
+ constructor(opts) {
127
+ super({
128
+ name: "ResourceNotFoundException",
129
+ $fault: "client",
130
+ ...opts,
131
+ });
132
+ this.name = "ResourceNotFoundException";
133
+ this.$fault = "client";
134
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
135
+ this.xAmzErrorType = opts.xAmzErrorType;
136
+ }
137
+ }
138
+ exports.ResourceNotFoundException = ResourceNotFoundException;
139
+ class ServiceQuotaExceededException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
140
+ constructor(opts) {
141
+ super({
142
+ name: "ServiceQuotaExceededException",
143
+ $fault: "client",
144
+ ...opts,
145
+ });
146
+ this.name = "ServiceQuotaExceededException";
147
+ this.$fault = "client";
148
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
149
+ this.xAmzErrorType = opts.xAmzErrorType;
150
+ }
151
+ }
152
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
153
+ class ThrottlingException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
154
+ constructor(opts) {
155
+ super({
156
+ name: "ThrottlingException",
157
+ $fault: "client",
158
+ ...opts,
159
+ });
160
+ this.name = "ThrottlingException";
161
+ this.$fault = "client";
162
+ this.$retryable = {};
163
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
164
+ this.xAmzErrorType = opts.xAmzErrorType;
165
+ }
166
+ }
167
+ exports.ThrottlingException = ThrottlingException;
168
+ class ValidationException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
169
+ constructor(opts) {
170
+ super({
171
+ name: "ValidationException",
172
+ $fault: "client",
173
+ ...opts,
174
+ });
175
+ this.name = "ValidationException";
176
+ this.$fault = "client";
177
+ Object.setPrototypeOf(this, ValidationException.prototype);
178
+ this.xAmzErrorType = opts.xAmzErrorType;
179
+ }
180
+ }
181
+ exports.ValidationException = ValidationException;
182
+ exports.ChannelSubtype = {
183
+ EMAIL: "EMAIL",
184
+ SMS: "SMS",
185
+ TELEPHONY: "TELEPHONY",
186
+ };
187
+ exports.CommunicationLimitsConfigType = {
188
+ ALL_CHANNEL_SUBTYPES: "ALL_CHANNEL_SUBTYPES",
189
+ };
190
+ exports.CampaignState = {
191
+ COMPLETED: "Completed",
192
+ FAILED: "Failed",
193
+ INITIALIZED: "Initialized",
194
+ PAUSED: "Paused",
195
+ RUNNING: "Running",
196
+ STOPPED: "Stopped",
197
+ };
198
+ class InvalidCampaignStateException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
199
+ constructor(opts) {
200
+ super({
201
+ name: "InvalidCampaignStateException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ this.name = "InvalidCampaignStateException";
206
+ this.$fault = "client";
207
+ Object.setPrototypeOf(this, InvalidCampaignStateException.prototype);
208
+ this.state = opts.state;
209
+ this.xAmzErrorType = opts.xAmzErrorType;
210
+ }
211
+ }
212
+ exports.InvalidCampaignStateException = InvalidCampaignStateException;
213
+ exports.CommunicationTimeConfigType = {
214
+ EMAIL: "EMAIL",
215
+ SMS: "SMS",
216
+ TELEPHONY: "TELEPHONY",
217
+ };
218
+ exports.CampaignDeletionPolicy = {
219
+ DELETE_ALL: "DELETE_ALL",
220
+ RETAIN_ALL: "RETAIN_ALL",
221
+ };
222
+ class InvalidStateException extends ConnectCampaignsV2ServiceException_1.ConnectCampaignsV2ServiceException {
223
+ constructor(opts) {
224
+ super({
225
+ name: "InvalidStateException",
226
+ $fault: "client",
227
+ ...opts,
228
+ });
229
+ this.name = "InvalidStateException";
230
+ this.$fault = "client";
231
+ Object.setPrototypeOf(this, InvalidStateException.prototype);
232
+ this.xAmzErrorType = opts.xAmzErrorType;
233
+ }
234
+ }
235
+ exports.InvalidStateException = InvalidStateException;
236
+ var IntegrationIdentifier;
237
+ (function (IntegrationIdentifier) {
238
+ IntegrationIdentifier.visit = (value, visitor) => {
239
+ if (value.customerProfiles !== undefined)
240
+ return visitor.customerProfiles(value.customerProfiles);
241
+ if (value.qConnect !== undefined)
242
+ return visitor.qConnect(value.qConnect);
243
+ return visitor._(value.$unknown[0], value.$unknown[1]);
244
+ };
245
+ })(IntegrationIdentifier = exports.IntegrationIdentifier || (exports.IntegrationIdentifier = {}));
246
+ exports.GetCampaignStateBatchFailureCode = {
247
+ RESOURCE_NOT_FOUND: "ResourceNotFound",
248
+ UNKNOWN_ERROR: "UnknownError",
249
+ };
250
+ exports.EncryptionType = {
251
+ KMS: "KMS",
252
+ };
253
+ exports.InstanceOnboardingJobFailureCode = {
254
+ EVENT_BRIDGE_ACCESS_DENIED: "EVENT_BRIDGE_ACCESS_DENIED",
255
+ EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED: "EVENT_BRIDGE_MANAGED_RULE_LIMIT_EXCEEDED",
256
+ IAM_ACCESS_DENIED: "IAM_ACCESS_DENIED",
257
+ INTERNAL_FAILURE: "INTERNAL_FAILURE",
258
+ KMS_ACCESS_DENIED: "KMS_ACCESS_DENIED",
259
+ KMS_KEY_NOT_FOUND: "KMS_KEY_NOT_FOUND",
260
+ };
261
+ exports.InstanceOnboardingJobStatusCode = {
262
+ FAILED: "FAILED",
263
+ IN_PROGRESS: "IN_PROGRESS",
264
+ SUCCEEDED: "SUCCEEDED",
265
+ };
266
+ exports.InstanceIdFilterOperator = {
267
+ EQ: "Eq",
268
+ };
269
+ exports.EventType = {
270
+ CAMPAIGN_EMAIL: "Campaign-Email",
271
+ CAMPAIGN_ORCHESTRATION: "Campaign-Orchestration",
272
+ CAMPAIGN_SMS: "Campaign-SMS",
273
+ CAMPAIGN_TELEPHONY: "Campaign-Telephony",
274
+ };
275
+ var IntegrationSummary;
276
+ (function (IntegrationSummary) {
277
+ IntegrationSummary.visit = (value, visitor) => {
278
+ if (value.customerProfiles !== undefined)
279
+ return visitor.customerProfiles(value.customerProfiles);
280
+ if (value.qConnect !== undefined)
281
+ return visitor.qConnect(value.qConnect);
282
+ return visitor._(value.$unknown[0], value.$unknown[1]);
283
+ };
284
+ })(IntegrationSummary = exports.IntegrationSummary || (exports.IntegrationSummary = {}));
285
+ var IntegrationConfig;
286
+ (function (IntegrationConfig) {
287
+ IntegrationConfig.visit = (value, visitor) => {
288
+ if (value.customerProfiles !== undefined)
289
+ return visitor.customerProfiles(value.customerProfiles);
290
+ if (value.qConnect !== undefined)
291
+ return visitor.qConnect(value.qConnect);
292
+ return visitor._(value.$unknown[0], value.$unknown[1]);
293
+ };
294
+ })(IntegrationConfig = exports.IntegrationConfig || (exports.IntegrationConfig = {}));
295
+ var ChannelSubtypeParameters;
296
+ (function (ChannelSubtypeParameters) {
297
+ ChannelSubtypeParameters.visit = (value, visitor) => {
298
+ if (value.telephony !== undefined)
299
+ return visitor.telephony(value.telephony);
300
+ if (value.sms !== undefined)
301
+ return visitor.sms(value.sms);
302
+ if (value.email !== undefined)
303
+ return visitor.email(value.email);
304
+ return visitor._(value.$unknown[0], value.$unknown[1]);
305
+ };
306
+ })(ChannelSubtypeParameters = exports.ChannelSubtypeParameters || (exports.ChannelSubtypeParameters = {}));
307
+ exports.FailureCode = {
308
+ BUFFER_LIMIT_EXCEEDED: "BufferLimitExceeded",
309
+ INVALID_INPUT: "InvalidInput",
310
+ REQUEST_THROTTLED: "RequestThrottled",
311
+ UNKNOWN_ERROR: "UnknownError",
312
+ };
313
+ const EmailOutboundConfigFilterSensitiveLog = (obj) => ({
314
+ ...obj,
315
+ ...(obj.connectSourceEmailAddress && { connectSourceEmailAddress: smithy_client_1.SENSITIVE_STRING }),
316
+ ...(obj.sourceEmailAddressDisplayName && { sourceEmailAddressDisplayName: smithy_client_1.SENSITIVE_STRING }),
317
+ });
318
+ exports.EmailOutboundConfigFilterSensitiveLog = EmailOutboundConfigFilterSensitiveLog;
319
+ const EmailChannelSubtypeConfigFilterSensitiveLog = (obj) => ({
320
+ ...obj,
321
+ ...(obj.outboundMode && { outboundMode: obj.outboundMode }),
322
+ ...(obj.defaultOutboundConfig && {
323
+ defaultOutboundConfig: (0, exports.EmailOutboundConfigFilterSensitiveLog)(obj.defaultOutboundConfig),
324
+ }),
325
+ });
326
+ exports.EmailChannelSubtypeConfigFilterSensitiveLog = EmailChannelSubtypeConfigFilterSensitiveLog;
327
+ const ChannelSubtypeConfigFilterSensitiveLog = (obj) => ({
328
+ ...obj,
329
+ ...(obj.telephony && { telephony: obj.telephony }),
330
+ ...(obj.sms && { sms: obj.sms }),
331
+ ...(obj.email && { email: (0, exports.EmailChannelSubtypeConfigFilterSensitiveLog)(obj.email) }),
332
+ });
333
+ exports.ChannelSubtypeConfigFilterSensitiveLog = ChannelSubtypeConfigFilterSensitiveLog;
334
+ const CreateCampaignRequestFilterSensitiveLog = (obj) => ({
335
+ ...obj,
336
+ ...(obj.channelSubtypeConfig && {
337
+ channelSubtypeConfig: (0, exports.ChannelSubtypeConfigFilterSensitiveLog)(obj.channelSubtypeConfig),
338
+ }),
339
+ ...(obj.source && { source: obj.source }),
340
+ ...(obj.communicationTimeConfig && { communicationTimeConfig: obj.communicationTimeConfig }),
341
+ ...(obj.communicationLimitsOverride && { communicationLimitsOverride: obj.communicationLimitsOverride }),
342
+ });
343
+ exports.CreateCampaignRequestFilterSensitiveLog = CreateCampaignRequestFilterSensitiveLog;
344
+ const CampaignFilterSensitiveLog = (obj) => ({
345
+ ...obj,
346
+ ...(obj.channelSubtypeConfig && {
347
+ channelSubtypeConfig: (0, exports.ChannelSubtypeConfigFilterSensitiveLog)(obj.channelSubtypeConfig),
348
+ }),
349
+ ...(obj.source && { source: obj.source }),
350
+ ...(obj.communicationTimeConfig && { communicationTimeConfig: obj.communicationTimeConfig }),
351
+ ...(obj.communicationLimitsOverride && { communicationLimitsOverride: obj.communicationLimitsOverride }),
352
+ });
353
+ exports.CampaignFilterSensitiveLog = CampaignFilterSensitiveLog;
354
+ const DescribeCampaignResponseFilterSensitiveLog = (obj) => ({
355
+ ...obj,
356
+ ...(obj.campaign && { campaign: (0, exports.CampaignFilterSensitiveLog)(obj.campaign) }),
357
+ });
358
+ exports.DescribeCampaignResponseFilterSensitiveLog = DescribeCampaignResponseFilterSensitiveLog;
359
+ const EmailChannelSubtypeParametersFilterSensitiveLog = (obj) => ({
360
+ ...obj,
361
+ ...(obj.destinationEmailAddress && { destinationEmailAddress: smithy_client_1.SENSITIVE_STRING }),
362
+ ...(obj.connectSourceEmailAddress && { connectSourceEmailAddress: smithy_client_1.SENSITIVE_STRING }),
363
+ ...(obj.templateParameters && { templateParameters: smithy_client_1.SENSITIVE_STRING }),
364
+ });
365
+ exports.EmailChannelSubtypeParametersFilterSensitiveLog = EmailChannelSubtypeParametersFilterSensitiveLog;
366
+ const SmsChannelSubtypeParametersFilterSensitiveLog = (obj) => ({
367
+ ...obj,
368
+ ...(obj.destinationPhoneNumber && { destinationPhoneNumber: smithy_client_1.SENSITIVE_STRING }),
369
+ ...(obj.templateParameters && { templateParameters: smithy_client_1.SENSITIVE_STRING }),
370
+ });
371
+ exports.SmsChannelSubtypeParametersFilterSensitiveLog = SmsChannelSubtypeParametersFilterSensitiveLog;
372
+ const TelephonyChannelSubtypeParametersFilterSensitiveLog = (obj) => ({
373
+ ...obj,
374
+ ...(obj.destinationPhoneNumber && { destinationPhoneNumber: smithy_client_1.SENSITIVE_STRING }),
375
+ ...(obj.attributes && { attributes: smithy_client_1.SENSITIVE_STRING }),
376
+ });
377
+ exports.TelephonyChannelSubtypeParametersFilterSensitiveLog = TelephonyChannelSubtypeParametersFilterSensitiveLog;
378
+ const ChannelSubtypeParametersFilterSensitiveLog = (obj) => {
379
+ if (obj.telephony !== undefined)
380
+ return { telephony: (0, exports.TelephonyChannelSubtypeParametersFilterSensitiveLog)(obj.telephony) };
381
+ if (obj.sms !== undefined)
382
+ return { sms: (0, exports.SmsChannelSubtypeParametersFilterSensitiveLog)(obj.sms) };
383
+ if (obj.email !== undefined)
384
+ return { email: (0, exports.EmailChannelSubtypeParametersFilterSensitiveLog)(obj.email) };
385
+ if (obj.$unknown !== undefined)
386
+ return { [obj.$unknown[0]]: "UNKNOWN" };
387
+ };
388
+ exports.ChannelSubtypeParametersFilterSensitiveLog = ChannelSubtypeParametersFilterSensitiveLog;
389
+ const OutboundRequestFilterSensitiveLog = (obj) => ({
390
+ ...obj,
391
+ ...(obj.channelSubtypeParameters && {
392
+ channelSubtypeParameters: (0, exports.ChannelSubtypeParametersFilterSensitiveLog)(obj.channelSubtypeParameters),
393
+ }),
394
+ });
395
+ exports.OutboundRequestFilterSensitiveLog = OutboundRequestFilterSensitiveLog;
396
+ const PutOutboundRequestBatchRequestFilterSensitiveLog = (obj) => ({
397
+ ...obj,
398
+ ...(obj.outboundRequests && {
399
+ outboundRequests: obj.outboundRequests.map((item) => (0, exports.OutboundRequestFilterSensitiveLog)(item)),
400
+ }),
401
+ });
402
+ exports.PutOutboundRequestBatchRequestFilterSensitiveLog = PutOutboundRequestBatchRequestFilterSensitiveLog;
403
+ const UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog = (obj) => ({
404
+ ...obj,
405
+ ...(obj.channelSubtypeConfig && {
406
+ channelSubtypeConfig: (0, exports.ChannelSubtypeConfigFilterSensitiveLog)(obj.channelSubtypeConfig),
407
+ }),
408
+ });
409
+ exports.UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog = UpdateCampaignChannelSubtypeConfigRequestFilterSensitiveLog;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListCampaigns = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListCampaignsCommand_1 = require("../commands/ListCampaignsCommand");
6
+ const ConnectCampaignsV2Client_1 = require("../ConnectCampaignsV2Client");
7
+ exports.paginateListCampaigns = (0, core_1.createPaginator)(ConnectCampaignsV2Client_1.ConnectCampaignsV2Client, ListCampaignsCommand_1.ListCampaignsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListConnectInstanceIntegrations = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListConnectInstanceIntegrationsCommand_1 = require("../commands/ListConnectInstanceIntegrationsCommand");
6
+ const ConnectCampaignsV2Client_1 = require("../ConnectCampaignsV2Client");
7
+ exports.paginateListConnectInstanceIntegrations = (0, core_1.createPaginator)(ConnectCampaignsV2Client_1.ConnectCampaignsV2Client, ListConnectInstanceIntegrationsCommand_1.ListConnectInstanceIntegrationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListCampaignsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListConnectInstanceIntegrationsPaginator"), exports);