@aws-sdk/client-connectcampaignsv2 3.1045.0 → 3.1047.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 (153) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +95 -91
  5. package/dist-cjs/models/ConnectCampaignsV2ServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-cjs/schemas/schemas_0.js +3 -2
  10. package/dist-es/ConnectCampaignsV2.js +1 -1
  11. package/dist-es/ConnectCampaignsV2Client.js +5 -5
  12. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  13. package/dist-es/commands/CreateCampaignCommand.js +2 -2
  14. package/dist-es/commands/DeleteCampaignChannelSubtypeConfigCommand.js +2 -2
  15. package/dist-es/commands/DeleteCampaignCommand.js +2 -2
  16. package/dist-es/commands/DeleteCampaignCommunicationLimitsCommand.js +2 -2
  17. package/dist-es/commands/DeleteCampaignCommunicationTimeCommand.js +2 -2
  18. package/dist-es/commands/DeleteCampaignEntryLimitsCommand.js +2 -2
  19. package/dist-es/commands/DeleteConnectInstanceConfigCommand.js +2 -2
  20. package/dist-es/commands/DeleteConnectInstanceIntegrationCommand.js +2 -2
  21. package/dist-es/commands/DeleteInstanceOnboardingJobCommand.js +2 -2
  22. package/dist-es/commands/DescribeCampaignCommand.js +2 -2
  23. package/dist-es/commands/GetCampaignStateBatchCommand.js +2 -2
  24. package/dist-es/commands/GetCampaignStateCommand.js +2 -2
  25. package/dist-es/commands/GetConnectInstanceConfigCommand.js +2 -2
  26. package/dist-es/commands/GetInstanceCommunicationLimitsCommand.js +2 -2
  27. package/dist-es/commands/GetInstanceOnboardingJobStatusCommand.js +2 -2
  28. package/dist-es/commands/ListCampaignsCommand.js +2 -2
  29. package/dist-es/commands/ListConnectInstanceIntegrationsCommand.js +2 -2
  30. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  31. package/dist-es/commands/PauseCampaignCommand.js +2 -2
  32. package/dist-es/commands/PutConnectInstanceIntegrationCommand.js +2 -2
  33. package/dist-es/commands/PutInstanceCommunicationLimitsCommand.js +2 -2
  34. package/dist-es/commands/PutOutboundRequestBatchCommand.js +2 -2
  35. package/dist-es/commands/PutProfileOutboundRequestBatchCommand.js +2 -2
  36. package/dist-es/commands/ResumeCampaignCommand.js +2 -2
  37. package/dist-es/commands/StartCampaignCommand.js +2 -2
  38. package/dist-es/commands/StartInstanceOnboardingJobCommand.js +2 -2
  39. package/dist-es/commands/StopCampaignCommand.js +2 -2
  40. package/dist-es/commands/TagResourceCommand.js +2 -2
  41. package/dist-es/commands/UntagResourceCommand.js +2 -2
  42. package/dist-es/commands/UpdateCampaignChannelSubtypeConfigCommand.js +2 -2
  43. package/dist-es/commands/UpdateCampaignCommunicationLimitsCommand.js +2 -2
  44. package/dist-es/commands/UpdateCampaignCommunicationTimeCommand.js +2 -2
  45. package/dist-es/commands/UpdateCampaignEntryLimitsCommand.js +2 -2
  46. package/dist-es/commands/UpdateCampaignFlowAssociationCommand.js +2 -2
  47. package/dist-es/commands/UpdateCampaignNameCommand.js +2 -2
  48. package/dist-es/commands/UpdateCampaignScheduleCommand.js +2 -2
  49. package/dist-es/commands/UpdateCampaignSourceCommand.js +2 -2
  50. package/dist-es/endpoint/bdd.js +1 -1
  51. package/dist-es/endpoint/endpointResolver.js +1 -1
  52. package/dist-es/models/ConnectCampaignsV2ServiceException.js +1 -1
  53. package/dist-es/models/enums.js +4 -0
  54. package/dist-es/runtimeConfig.browser.js +4 -6
  55. package/dist-es/runtimeConfig.js +4 -8
  56. package/dist-es/runtimeConfig.shared.js +3 -4
  57. package/dist-es/runtimeExtensions.js +2 -2
  58. package/dist-es/schemas/schemas_0.js +3 -2
  59. package/dist-types/ConnectCampaignsV2Client.d.ts +5 -5
  60. package/dist-types/commands/CreateCampaignCommand.d.ts +7 -4
  61. package/dist-types/commands/DeleteCampaignChannelSubtypeConfigCommand.d.ts +6 -4
  62. package/dist-types/commands/DeleteCampaignCommand.d.ts +6 -4
  63. package/dist-types/commands/DeleteCampaignCommunicationLimitsCommand.d.ts +6 -4
  64. package/dist-types/commands/DeleteCampaignCommunicationTimeCommand.d.ts +6 -4
  65. package/dist-types/commands/DeleteCampaignEntryLimitsCommand.d.ts +6 -4
  66. package/dist-types/commands/DeleteConnectInstanceConfigCommand.d.ts +6 -4
  67. package/dist-types/commands/DeleteConnectInstanceIntegrationCommand.d.ts +6 -4
  68. package/dist-types/commands/DeleteInstanceOnboardingJobCommand.d.ts +6 -4
  69. package/dist-types/commands/DescribeCampaignCommand.d.ts +7 -4
  70. package/dist-types/commands/GetCampaignStateBatchCommand.d.ts +6 -4
  71. package/dist-types/commands/GetCampaignStateCommand.d.ts +6 -4
  72. package/dist-types/commands/GetConnectInstanceConfigCommand.d.ts +6 -4
  73. package/dist-types/commands/GetInstanceCommunicationLimitsCommand.d.ts +6 -4
  74. package/dist-types/commands/GetInstanceOnboardingJobStatusCommand.d.ts +6 -4
  75. package/dist-types/commands/ListCampaignsCommand.d.ts +6 -4
  76. package/dist-types/commands/ListConnectInstanceIntegrationsCommand.d.ts +6 -4
  77. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  78. package/dist-types/commands/PauseCampaignCommand.d.ts +6 -4
  79. package/dist-types/commands/PutConnectInstanceIntegrationCommand.d.ts +6 -4
  80. package/dist-types/commands/PutInstanceCommunicationLimitsCommand.d.ts +6 -4
  81. package/dist-types/commands/PutOutboundRequestBatchCommand.d.ts +6 -4
  82. package/dist-types/commands/PutProfileOutboundRequestBatchCommand.d.ts +6 -4
  83. package/dist-types/commands/ResumeCampaignCommand.d.ts +6 -4
  84. package/dist-types/commands/StartCampaignCommand.d.ts +6 -4
  85. package/dist-types/commands/StartInstanceOnboardingJobCommand.d.ts +6 -4
  86. package/dist-types/commands/StopCampaignCommand.d.ts +6 -4
  87. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  88. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  89. package/dist-types/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +6 -4
  90. package/dist-types/commands/UpdateCampaignCommunicationLimitsCommand.d.ts +6 -4
  91. package/dist-types/commands/UpdateCampaignCommunicationTimeCommand.d.ts +7 -4
  92. package/dist-types/commands/UpdateCampaignEntryLimitsCommand.d.ts +6 -4
  93. package/dist-types/commands/UpdateCampaignFlowAssociationCommand.d.ts +6 -4
  94. package/dist-types/commands/UpdateCampaignNameCommand.d.ts +6 -4
  95. package/dist-types/commands/UpdateCampaignScheduleCommand.d.ts +6 -4
  96. package/dist-types/commands/UpdateCampaignSourceCommand.d.ts +6 -4
  97. package/dist-types/endpoint/bdd.d.ts +1 -1
  98. package/dist-types/extensionConfiguration.d.ts +1 -1
  99. package/dist-types/models/ConnectCampaignsV2ServiceException.d.ts +1 -1
  100. package/dist-types/models/enums.d.ts +12 -0
  101. package/dist-types/models/errors.d.ts +1 -1
  102. package/dist-types/models/models_0.d.ts +6 -1
  103. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  104. package/dist-types/runtimeConfig.d.ts +2 -2
  105. package/dist-types/runtimeConfig.native.d.ts +2 -2
  106. package/dist-types/ts3.4/ConnectCampaignsV2Client.d.ts +8 -14
  107. package/dist-types/ts3.4/commands/CreateCampaignCommand.d.ts +6 -4
  108. package/dist-types/ts3.4/commands/DeleteCampaignChannelSubtypeConfigCommand.d.ts +6 -4
  109. package/dist-types/ts3.4/commands/DeleteCampaignCommand.d.ts +6 -4
  110. package/dist-types/ts3.4/commands/DeleteCampaignCommunicationLimitsCommand.d.ts +6 -4
  111. package/dist-types/ts3.4/commands/DeleteCampaignCommunicationTimeCommand.d.ts +6 -4
  112. package/dist-types/ts3.4/commands/DeleteCampaignEntryLimitsCommand.d.ts +6 -4
  113. package/dist-types/ts3.4/commands/DeleteConnectInstanceConfigCommand.d.ts +6 -4
  114. package/dist-types/ts3.4/commands/DeleteConnectInstanceIntegrationCommand.d.ts +6 -4
  115. package/dist-types/ts3.4/commands/DeleteInstanceOnboardingJobCommand.d.ts +6 -4
  116. package/dist-types/ts3.4/commands/DescribeCampaignCommand.d.ts +6 -4
  117. package/dist-types/ts3.4/commands/GetCampaignStateBatchCommand.d.ts +6 -4
  118. package/dist-types/ts3.4/commands/GetCampaignStateCommand.d.ts +6 -4
  119. package/dist-types/ts3.4/commands/GetConnectInstanceConfigCommand.d.ts +6 -4
  120. package/dist-types/ts3.4/commands/GetInstanceCommunicationLimitsCommand.d.ts +6 -4
  121. package/dist-types/ts3.4/commands/GetInstanceOnboardingJobStatusCommand.d.ts +6 -4
  122. package/dist-types/ts3.4/commands/ListCampaignsCommand.d.ts +6 -4
  123. package/dist-types/ts3.4/commands/ListConnectInstanceIntegrationsCommand.d.ts +6 -4
  124. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  125. package/dist-types/ts3.4/commands/PauseCampaignCommand.d.ts +6 -4
  126. package/dist-types/ts3.4/commands/PutConnectInstanceIntegrationCommand.d.ts +6 -4
  127. package/dist-types/ts3.4/commands/PutInstanceCommunicationLimitsCommand.d.ts +6 -4
  128. package/dist-types/ts3.4/commands/PutOutboundRequestBatchCommand.d.ts +6 -4
  129. package/dist-types/ts3.4/commands/PutProfileOutboundRequestBatchCommand.d.ts +6 -4
  130. package/dist-types/ts3.4/commands/ResumeCampaignCommand.d.ts +6 -4
  131. package/dist-types/ts3.4/commands/StartCampaignCommand.d.ts +6 -4
  132. package/dist-types/ts3.4/commands/StartInstanceOnboardingJobCommand.d.ts +6 -4
  133. package/dist-types/ts3.4/commands/StopCampaignCommand.d.ts +6 -4
  134. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  135. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  136. package/dist-types/ts3.4/commands/UpdateCampaignChannelSubtypeConfigCommand.d.ts +6 -4
  137. package/dist-types/ts3.4/commands/UpdateCampaignCommunicationLimitsCommand.d.ts +6 -4
  138. package/dist-types/ts3.4/commands/UpdateCampaignCommunicationTimeCommand.d.ts +6 -4
  139. package/dist-types/ts3.4/commands/UpdateCampaignEntryLimitsCommand.d.ts +6 -4
  140. package/dist-types/ts3.4/commands/UpdateCampaignFlowAssociationCommand.d.ts +6 -4
  141. package/dist-types/ts3.4/commands/UpdateCampaignNameCommand.d.ts +6 -4
  142. package/dist-types/ts3.4/commands/UpdateCampaignScheduleCommand.d.ts +6 -4
  143. package/dist-types/ts3.4/commands/UpdateCampaignSourceCommand.d.ts +6 -4
  144. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  145. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  146. package/dist-types/ts3.4/models/ConnectCampaignsV2ServiceException.d.ts +1 -1
  147. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  148. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  149. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  150. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  151. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  152. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  153. package/package.json +13 -34
package/dist-cjs/index.js CHANGED
@@ -4,17 +4,16 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
18
  var errors = require('./models/errors');
20
19
  var ConnectCampaignsV2ServiceException = require('./models/ConnectCampaignsV2ServiceException');
@@ -73,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
73
72
  };
74
73
 
75
74
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
76
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
77
76
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
78
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
79
78
  };
80
79
 
81
- class ConnectCampaignsV2Client extends smithyClient.Client {
80
+ class ConnectCampaignsV2Client extends client.Client {
82
81
  config;
83
82
  constructor(...[configuration]) {
84
83
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -86,17 +85,17 @@ class ConnectCampaignsV2Client extends smithyClient.Client {
86
85
  this.initConfig = _config_0;
87
86
  const _config_1 = resolveClientEndpointParameters(_config_0);
88
87
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
89
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
90
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
88
+ const _config_3 = retry.resolveRetryConfig(_config_2);
89
+ const _config_4 = config.resolveRegionConfig(_config_3);
91
90
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
92
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
93
92
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
93
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
94
  this.config = _config_8;
96
95
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
97
96
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
98
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
99
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
98
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
100
99
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
101
100
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
102
101
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -113,11 +112,11 @@ class ConnectCampaignsV2Client extends smithyClient.Client {
113
112
  }
114
113
  }
115
114
 
116
- class CreateCampaignCommand extends smithyClient.Command
115
+ class CreateCampaignCommand extends client.Command
117
116
  .classBuilder()
118
117
  .ep(commonParams)
119
118
  .m(function (Command, cs, config, o) {
120
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
119
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
121
120
  })
122
121
  .s("AmazonConnectCampaignServiceV2", "CreateCampaign", {})
123
122
  .n("ConnectCampaignsV2Client", "CreateCampaignCommand")
@@ -125,11 +124,11 @@ class CreateCampaignCommand extends smithyClient.Command
125
124
  .build() {
126
125
  }
127
126
 
128
- class DeleteCampaignChannelSubtypeConfigCommand extends smithyClient.Command
127
+ class DeleteCampaignChannelSubtypeConfigCommand extends client.Command
129
128
  .classBuilder()
130
129
  .ep(commonParams)
131
130
  .m(function (Command, cs, config, o) {
132
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
131
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
133
132
  })
134
133
  .s("AmazonConnectCampaignServiceV2", "DeleteCampaignChannelSubtypeConfig", {})
135
134
  .n("ConnectCampaignsV2Client", "DeleteCampaignChannelSubtypeConfigCommand")
@@ -137,11 +136,11 @@ class DeleteCampaignChannelSubtypeConfigCommand extends smithyClient.Command
137
136
  .build() {
138
137
  }
139
138
 
140
- class DeleteCampaignCommand extends smithyClient.Command
139
+ class DeleteCampaignCommand extends client.Command
141
140
  .classBuilder()
142
141
  .ep(commonParams)
143
142
  .m(function (Command, cs, config, o) {
144
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
143
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
145
144
  })
146
145
  .s("AmazonConnectCampaignServiceV2", "DeleteCampaign", {})
147
146
  .n("ConnectCampaignsV2Client", "DeleteCampaignCommand")
@@ -149,11 +148,11 @@ class DeleteCampaignCommand extends smithyClient.Command
149
148
  .build() {
150
149
  }
151
150
 
152
- class DeleteCampaignCommunicationLimitsCommand extends smithyClient.Command
151
+ class DeleteCampaignCommunicationLimitsCommand extends client.Command
153
152
  .classBuilder()
154
153
  .ep(commonParams)
155
154
  .m(function (Command, cs, config, o) {
156
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
157
156
  })
158
157
  .s("AmazonConnectCampaignServiceV2", "DeleteCampaignCommunicationLimits", {})
159
158
  .n("ConnectCampaignsV2Client", "DeleteCampaignCommunicationLimitsCommand")
@@ -161,11 +160,11 @@ class DeleteCampaignCommunicationLimitsCommand extends smithyClient.Command
161
160
  .build() {
162
161
  }
163
162
 
164
- class DeleteCampaignCommunicationTimeCommand extends smithyClient.Command
163
+ class DeleteCampaignCommunicationTimeCommand extends client.Command
165
164
  .classBuilder()
166
165
  .ep(commonParams)
167
166
  .m(function (Command, cs, config, o) {
168
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
167
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
169
168
  })
170
169
  .s("AmazonConnectCampaignServiceV2", "DeleteCampaignCommunicationTime", {})
171
170
  .n("ConnectCampaignsV2Client", "DeleteCampaignCommunicationTimeCommand")
@@ -173,11 +172,11 @@ class DeleteCampaignCommunicationTimeCommand extends smithyClient.Command
173
172
  .build() {
174
173
  }
175
174
 
176
- class DeleteCampaignEntryLimitsCommand extends smithyClient.Command
175
+ class DeleteCampaignEntryLimitsCommand extends client.Command
177
176
  .classBuilder()
178
177
  .ep(commonParams)
179
178
  .m(function (Command, cs, config, o) {
180
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
179
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
181
180
  })
182
181
  .s("AmazonConnectCampaignServiceV2", "DeleteCampaignEntryLimits", {})
183
182
  .n("ConnectCampaignsV2Client", "DeleteCampaignEntryLimitsCommand")
@@ -185,11 +184,11 @@ class DeleteCampaignEntryLimitsCommand extends smithyClient.Command
185
184
  .build() {
186
185
  }
187
186
 
188
- class DeleteConnectInstanceConfigCommand extends smithyClient.Command
187
+ class DeleteConnectInstanceConfigCommand extends client.Command
189
188
  .classBuilder()
190
189
  .ep(commonParams)
191
190
  .m(function (Command, cs, config, o) {
192
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
191
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
193
192
  })
194
193
  .s("AmazonConnectCampaignServiceV2", "DeleteConnectInstanceConfig", {})
195
194
  .n("ConnectCampaignsV2Client", "DeleteConnectInstanceConfigCommand")
@@ -197,11 +196,11 @@ class DeleteConnectInstanceConfigCommand extends smithyClient.Command
197
196
  .build() {
198
197
  }
199
198
 
200
- class DeleteConnectInstanceIntegrationCommand extends smithyClient.Command
199
+ class DeleteConnectInstanceIntegrationCommand extends client.Command
201
200
  .classBuilder()
202
201
  .ep(commonParams)
203
202
  .m(function (Command, cs, config, o) {
204
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
203
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
205
204
  })
206
205
  .s("AmazonConnectCampaignServiceV2", "DeleteConnectInstanceIntegration", {})
207
206
  .n("ConnectCampaignsV2Client", "DeleteConnectInstanceIntegrationCommand")
@@ -209,11 +208,11 @@ class DeleteConnectInstanceIntegrationCommand extends smithyClient.Command
209
208
  .build() {
210
209
  }
211
210
 
212
- class DeleteInstanceOnboardingJobCommand extends smithyClient.Command
211
+ class DeleteInstanceOnboardingJobCommand extends client.Command
213
212
  .classBuilder()
214
213
  .ep(commonParams)
215
214
  .m(function (Command, cs, config, o) {
216
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
215
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
217
216
  })
218
217
  .s("AmazonConnectCampaignServiceV2", "DeleteInstanceOnboardingJob", {})
219
218
  .n("ConnectCampaignsV2Client", "DeleteInstanceOnboardingJobCommand")
@@ -221,11 +220,11 @@ class DeleteInstanceOnboardingJobCommand extends smithyClient.Command
221
220
  .build() {
222
221
  }
223
222
 
224
- class DescribeCampaignCommand extends smithyClient.Command
223
+ class DescribeCampaignCommand extends client.Command
225
224
  .classBuilder()
226
225
  .ep(commonParams)
227
226
  .m(function (Command, cs, config, o) {
228
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
227
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
229
228
  })
230
229
  .s("AmazonConnectCampaignServiceV2", "DescribeCampaign", {})
231
230
  .n("ConnectCampaignsV2Client", "DescribeCampaignCommand")
@@ -233,11 +232,11 @@ class DescribeCampaignCommand extends smithyClient.Command
233
232
  .build() {
234
233
  }
235
234
 
236
- class GetCampaignStateBatchCommand extends smithyClient.Command
235
+ class GetCampaignStateBatchCommand extends client.Command
237
236
  .classBuilder()
238
237
  .ep(commonParams)
239
238
  .m(function (Command, cs, config, o) {
240
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
239
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
241
240
  })
242
241
  .s("AmazonConnectCampaignServiceV2", "GetCampaignStateBatch", {})
243
242
  .n("ConnectCampaignsV2Client", "GetCampaignStateBatchCommand")
@@ -245,11 +244,11 @@ class GetCampaignStateBatchCommand extends smithyClient.Command
245
244
  .build() {
246
245
  }
247
246
 
248
- class GetCampaignStateCommand extends smithyClient.Command
247
+ class GetCampaignStateCommand extends client.Command
249
248
  .classBuilder()
250
249
  .ep(commonParams)
251
250
  .m(function (Command, cs, config, o) {
252
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
251
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
253
252
  })
254
253
  .s("AmazonConnectCampaignServiceV2", "GetCampaignState", {})
255
254
  .n("ConnectCampaignsV2Client", "GetCampaignStateCommand")
@@ -257,11 +256,11 @@ class GetCampaignStateCommand extends smithyClient.Command
257
256
  .build() {
258
257
  }
259
258
 
260
- class GetConnectInstanceConfigCommand extends smithyClient.Command
259
+ class GetConnectInstanceConfigCommand extends client.Command
261
260
  .classBuilder()
262
261
  .ep(commonParams)
263
262
  .m(function (Command, cs, config, o) {
264
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
263
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
265
264
  })
266
265
  .s("AmazonConnectCampaignServiceV2", "GetConnectInstanceConfig", {})
267
266
  .n("ConnectCampaignsV2Client", "GetConnectInstanceConfigCommand")
@@ -269,11 +268,11 @@ class GetConnectInstanceConfigCommand extends smithyClient.Command
269
268
  .build() {
270
269
  }
271
270
 
272
- class GetInstanceCommunicationLimitsCommand extends smithyClient.Command
271
+ class GetInstanceCommunicationLimitsCommand extends client.Command
273
272
  .classBuilder()
274
273
  .ep(commonParams)
275
274
  .m(function (Command, cs, config, o) {
276
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
275
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
277
276
  })
278
277
  .s("AmazonConnectCampaignServiceV2", "GetInstanceCommunicationLimits", {})
279
278
  .n("ConnectCampaignsV2Client", "GetInstanceCommunicationLimitsCommand")
@@ -281,11 +280,11 @@ class GetInstanceCommunicationLimitsCommand extends smithyClient.Command
281
280
  .build() {
282
281
  }
283
282
 
284
- class GetInstanceOnboardingJobStatusCommand extends smithyClient.Command
283
+ class GetInstanceOnboardingJobStatusCommand extends client.Command
285
284
  .classBuilder()
286
285
  .ep(commonParams)
287
286
  .m(function (Command, cs, config, o) {
288
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
287
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
289
288
  })
290
289
  .s("AmazonConnectCampaignServiceV2", "GetInstanceOnboardingJobStatus", {})
291
290
  .n("ConnectCampaignsV2Client", "GetInstanceOnboardingJobStatusCommand")
@@ -293,11 +292,11 @@ class GetInstanceOnboardingJobStatusCommand extends smithyClient.Command
293
292
  .build() {
294
293
  }
295
294
 
296
- class ListCampaignsCommand extends smithyClient.Command
295
+ class ListCampaignsCommand extends client.Command
297
296
  .classBuilder()
298
297
  .ep(commonParams)
299
298
  .m(function (Command, cs, config, o) {
300
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
299
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
301
300
  })
302
301
  .s("AmazonConnectCampaignServiceV2", "ListCampaigns", {})
303
302
  .n("ConnectCampaignsV2Client", "ListCampaignsCommand")
@@ -305,11 +304,11 @@ class ListCampaignsCommand extends smithyClient.Command
305
304
  .build() {
306
305
  }
307
306
 
308
- class ListConnectInstanceIntegrationsCommand extends smithyClient.Command
307
+ class ListConnectInstanceIntegrationsCommand extends client.Command
309
308
  .classBuilder()
310
309
  .ep(commonParams)
311
310
  .m(function (Command, cs, config, o) {
312
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
311
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
313
312
  })
314
313
  .s("AmazonConnectCampaignServiceV2", "ListConnectInstanceIntegrations", {})
315
314
  .n("ConnectCampaignsV2Client", "ListConnectInstanceIntegrationsCommand")
@@ -317,11 +316,11 @@ class ListConnectInstanceIntegrationsCommand extends smithyClient.Command
317
316
  .build() {
318
317
  }
319
318
 
320
- class ListTagsForResourceCommand extends smithyClient.Command
319
+ class ListTagsForResourceCommand extends client.Command
321
320
  .classBuilder()
322
321
  .ep(commonParams)
323
322
  .m(function (Command, cs, config, o) {
324
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
323
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
325
324
  })
326
325
  .s("AmazonConnectCampaignServiceV2", "ListTagsForResource", {})
327
326
  .n("ConnectCampaignsV2Client", "ListTagsForResourceCommand")
@@ -329,11 +328,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
329
328
  .build() {
330
329
  }
331
330
 
332
- class PauseCampaignCommand extends smithyClient.Command
331
+ class PauseCampaignCommand extends client.Command
333
332
  .classBuilder()
334
333
  .ep(commonParams)
335
334
  .m(function (Command, cs, config, o) {
336
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
335
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
337
336
  })
338
337
  .s("AmazonConnectCampaignServiceV2", "PauseCampaign", {})
339
338
  .n("ConnectCampaignsV2Client", "PauseCampaignCommand")
@@ -341,11 +340,11 @@ class PauseCampaignCommand extends smithyClient.Command
341
340
  .build() {
342
341
  }
343
342
 
344
- class PutConnectInstanceIntegrationCommand extends smithyClient.Command
343
+ class PutConnectInstanceIntegrationCommand extends client.Command
345
344
  .classBuilder()
346
345
  .ep(commonParams)
347
346
  .m(function (Command, cs, config, o) {
348
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
347
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
349
348
  })
350
349
  .s("AmazonConnectCampaignServiceV2", "PutConnectInstanceIntegration", {})
351
350
  .n("ConnectCampaignsV2Client", "PutConnectInstanceIntegrationCommand")
@@ -353,11 +352,11 @@ class PutConnectInstanceIntegrationCommand extends smithyClient.Command
353
352
  .build() {
354
353
  }
355
354
 
356
- class PutInstanceCommunicationLimitsCommand extends smithyClient.Command
355
+ class PutInstanceCommunicationLimitsCommand extends client.Command
357
356
  .classBuilder()
358
357
  .ep(commonParams)
359
358
  .m(function (Command, cs, config, o) {
360
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
359
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
361
360
  })
362
361
  .s("AmazonConnectCampaignServiceV2", "PutInstanceCommunicationLimits", {})
363
362
  .n("ConnectCampaignsV2Client", "PutInstanceCommunicationLimitsCommand")
@@ -365,11 +364,11 @@ class PutInstanceCommunicationLimitsCommand extends smithyClient.Command
365
364
  .build() {
366
365
  }
367
366
 
368
- class PutOutboundRequestBatchCommand extends smithyClient.Command
367
+ class PutOutboundRequestBatchCommand extends client.Command
369
368
  .classBuilder()
370
369
  .ep(commonParams)
371
370
  .m(function (Command, cs, config, o) {
372
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
371
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
373
372
  })
374
373
  .s("AmazonConnectCampaignServiceV2", "PutOutboundRequestBatch", {})
375
374
  .n("ConnectCampaignsV2Client", "PutOutboundRequestBatchCommand")
@@ -377,11 +376,11 @@ class PutOutboundRequestBatchCommand extends smithyClient.Command
377
376
  .build() {
378
377
  }
379
378
 
380
- class PutProfileOutboundRequestBatchCommand extends smithyClient.Command
379
+ class PutProfileOutboundRequestBatchCommand extends client.Command
381
380
  .classBuilder()
382
381
  .ep(commonParams)
383
382
  .m(function (Command, cs, config, o) {
384
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
383
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
385
384
  })
386
385
  .s("AmazonConnectCampaignServiceV2", "PutProfileOutboundRequestBatch", {})
387
386
  .n("ConnectCampaignsV2Client", "PutProfileOutboundRequestBatchCommand")
@@ -389,11 +388,11 @@ class PutProfileOutboundRequestBatchCommand extends smithyClient.Command
389
388
  .build() {
390
389
  }
391
390
 
392
- class ResumeCampaignCommand extends smithyClient.Command
391
+ class ResumeCampaignCommand extends client.Command
393
392
  .classBuilder()
394
393
  .ep(commonParams)
395
394
  .m(function (Command, cs, config, o) {
396
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
395
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
397
396
  })
398
397
  .s("AmazonConnectCampaignServiceV2", "ResumeCampaign", {})
399
398
  .n("ConnectCampaignsV2Client", "ResumeCampaignCommand")
@@ -401,11 +400,11 @@ class ResumeCampaignCommand extends smithyClient.Command
401
400
  .build() {
402
401
  }
403
402
 
404
- class StartCampaignCommand extends smithyClient.Command
403
+ class StartCampaignCommand extends client.Command
405
404
  .classBuilder()
406
405
  .ep(commonParams)
407
406
  .m(function (Command, cs, config, o) {
408
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
407
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
409
408
  })
410
409
  .s("AmazonConnectCampaignServiceV2", "StartCampaign", {})
411
410
  .n("ConnectCampaignsV2Client", "StartCampaignCommand")
@@ -413,11 +412,11 @@ class StartCampaignCommand extends smithyClient.Command
413
412
  .build() {
414
413
  }
415
414
 
416
- class StartInstanceOnboardingJobCommand extends smithyClient.Command
415
+ class StartInstanceOnboardingJobCommand extends client.Command
417
416
  .classBuilder()
418
417
  .ep(commonParams)
419
418
  .m(function (Command, cs, config, o) {
420
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
419
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
421
420
  })
422
421
  .s("AmazonConnectCampaignServiceV2", "StartInstanceOnboardingJob", {})
423
422
  .n("ConnectCampaignsV2Client", "StartInstanceOnboardingJobCommand")
@@ -425,11 +424,11 @@ class StartInstanceOnboardingJobCommand extends smithyClient.Command
425
424
  .build() {
426
425
  }
427
426
 
428
- class StopCampaignCommand extends smithyClient.Command
427
+ class StopCampaignCommand extends client.Command
429
428
  .classBuilder()
430
429
  .ep(commonParams)
431
430
  .m(function (Command, cs, config, o) {
432
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
431
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
433
432
  })
434
433
  .s("AmazonConnectCampaignServiceV2", "StopCampaign", {})
435
434
  .n("ConnectCampaignsV2Client", "StopCampaignCommand")
@@ -437,11 +436,11 @@ class StopCampaignCommand extends smithyClient.Command
437
436
  .build() {
438
437
  }
439
438
 
440
- class TagResourceCommand extends smithyClient.Command
439
+ class TagResourceCommand extends client.Command
441
440
  .classBuilder()
442
441
  .ep(commonParams)
443
442
  .m(function (Command, cs, config, o) {
444
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
443
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
445
444
  })
446
445
  .s("AmazonConnectCampaignServiceV2", "TagResource", {})
447
446
  .n("ConnectCampaignsV2Client", "TagResourceCommand")
@@ -449,11 +448,11 @@ class TagResourceCommand extends smithyClient.Command
449
448
  .build() {
450
449
  }
451
450
 
452
- class UntagResourceCommand extends smithyClient.Command
451
+ class UntagResourceCommand extends client.Command
453
452
  .classBuilder()
454
453
  .ep(commonParams)
455
454
  .m(function (Command, cs, config, o) {
456
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
455
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
457
456
  })
458
457
  .s("AmazonConnectCampaignServiceV2", "UntagResource", {})
459
458
  .n("ConnectCampaignsV2Client", "UntagResourceCommand")
@@ -461,11 +460,11 @@ class UntagResourceCommand extends smithyClient.Command
461
460
  .build() {
462
461
  }
463
462
 
464
- class UpdateCampaignChannelSubtypeConfigCommand extends smithyClient.Command
463
+ class UpdateCampaignChannelSubtypeConfigCommand extends client.Command
465
464
  .classBuilder()
466
465
  .ep(commonParams)
467
466
  .m(function (Command, cs, config, o) {
468
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
467
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
469
468
  })
470
469
  .s("AmazonConnectCampaignServiceV2", "UpdateCampaignChannelSubtypeConfig", {})
471
470
  .n("ConnectCampaignsV2Client", "UpdateCampaignChannelSubtypeConfigCommand")
@@ -473,11 +472,11 @@ class UpdateCampaignChannelSubtypeConfigCommand extends smithyClient.Command
473
472
  .build() {
474
473
  }
475
474
 
476
- class UpdateCampaignCommunicationLimitsCommand extends smithyClient.Command
475
+ class UpdateCampaignCommunicationLimitsCommand extends client.Command
477
476
  .classBuilder()
478
477
  .ep(commonParams)
479
478
  .m(function (Command, cs, config, o) {
480
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
479
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
481
480
  })
482
481
  .s("AmazonConnectCampaignServiceV2", "UpdateCampaignCommunicationLimits", {})
483
482
  .n("ConnectCampaignsV2Client", "UpdateCampaignCommunicationLimitsCommand")
@@ -485,11 +484,11 @@ class UpdateCampaignCommunicationLimitsCommand extends smithyClient.Command
485
484
  .build() {
486
485
  }
487
486
 
488
- class UpdateCampaignCommunicationTimeCommand extends smithyClient.Command
487
+ class UpdateCampaignCommunicationTimeCommand extends client.Command
489
488
  .classBuilder()
490
489
  .ep(commonParams)
491
490
  .m(function (Command, cs, config, o) {
492
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
491
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
493
492
  })
494
493
  .s("AmazonConnectCampaignServiceV2", "UpdateCampaignCommunicationTime", {})
495
494
  .n("ConnectCampaignsV2Client", "UpdateCampaignCommunicationTimeCommand")
@@ -497,11 +496,11 @@ class UpdateCampaignCommunicationTimeCommand extends smithyClient.Command
497
496
  .build() {
498
497
  }
499
498
 
500
- class UpdateCampaignEntryLimitsCommand extends smithyClient.Command
499
+ class UpdateCampaignEntryLimitsCommand extends client.Command
501
500
  .classBuilder()
502
501
  .ep(commonParams)
503
502
  .m(function (Command, cs, config, o) {
504
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
503
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
505
504
  })
506
505
  .s("AmazonConnectCampaignServiceV2", "UpdateCampaignEntryLimits", {})
507
506
  .n("ConnectCampaignsV2Client", "UpdateCampaignEntryLimitsCommand")
@@ -509,11 +508,11 @@ class UpdateCampaignEntryLimitsCommand extends smithyClient.Command
509
508
  .build() {
510
509
  }
511
510
 
512
- class UpdateCampaignFlowAssociationCommand extends smithyClient.Command
511
+ class UpdateCampaignFlowAssociationCommand extends client.Command
513
512
  .classBuilder()
514
513
  .ep(commonParams)
515
514
  .m(function (Command, cs, config, o) {
516
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
515
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
517
516
  })
518
517
  .s("AmazonConnectCampaignServiceV2", "UpdateCampaignFlowAssociation", {})
519
518
  .n("ConnectCampaignsV2Client", "UpdateCampaignFlowAssociationCommand")
@@ -521,11 +520,11 @@ class UpdateCampaignFlowAssociationCommand extends smithyClient.Command
521
520
  .build() {
522
521
  }
523
522
 
524
- class UpdateCampaignNameCommand extends smithyClient.Command
523
+ class UpdateCampaignNameCommand extends client.Command
525
524
  .classBuilder()
526
525
  .ep(commonParams)
527
526
  .m(function (Command, cs, config, o) {
528
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
527
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
529
528
  })
530
529
  .s("AmazonConnectCampaignServiceV2", "UpdateCampaignName", {})
531
530
  .n("ConnectCampaignsV2Client", "UpdateCampaignNameCommand")
@@ -533,11 +532,11 @@ class UpdateCampaignNameCommand extends smithyClient.Command
533
532
  .build() {
534
533
  }
535
534
 
536
- class UpdateCampaignScheduleCommand extends smithyClient.Command
535
+ class UpdateCampaignScheduleCommand extends client.Command
537
536
  .classBuilder()
538
537
  .ep(commonParams)
539
538
  .m(function (Command, cs, config, o) {
540
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
539
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
541
540
  })
542
541
  .s("AmazonConnectCampaignServiceV2", "UpdateCampaignSchedule", {})
543
542
  .n("ConnectCampaignsV2Client", "UpdateCampaignScheduleCommand")
@@ -545,11 +544,11 @@ class UpdateCampaignScheduleCommand extends smithyClient.Command
545
544
  .build() {
546
545
  }
547
546
 
548
- class UpdateCampaignSourceCommand extends smithyClient.Command
547
+ class UpdateCampaignSourceCommand extends client.Command
549
548
  .classBuilder()
550
549
  .ep(commonParams)
551
550
  .m(function (Command, cs, config, o) {
552
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
551
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
553
552
  })
554
553
  .s("AmazonConnectCampaignServiceV2", "UpdateCampaignSource", {})
555
554
  .n("ConnectCampaignsV2Client", "UpdateCampaignSourceCommand")
@@ -606,7 +605,7 @@ const paginators = {
606
605
  };
607
606
  class ConnectCampaignsV2 extends ConnectCampaignsV2Client {
608
607
  }
609
- smithyClient.createAggregatedClient(commands, ConnectCampaignsV2, { paginators });
608
+ client.createAggregatedClient(commands, ConnectCampaignsV2, { paginators });
610
609
 
611
610
  const AgentAction = {
612
611
  DISCARD: "DISCARD",
@@ -631,6 +630,10 @@ const LocalTimeZoneDetectionType = {
631
630
  AREA_CODE: "AREA_CODE",
632
631
  ZIP_CODE: "ZIP_CODE",
633
632
  };
633
+ const LocalTimeZoneDetectionScope = {
634
+ ALL_AVAILABLE: "ALL_AVAILABLE",
635
+ PRIMARY_ONLY: "PRIMARY_ONLY",
636
+ };
634
637
  const ExternalCampaignType = {
635
638
  JOURNEY: "JOURNEY",
636
639
  MANAGED: "MANAGED",
@@ -706,8 +709,8 @@ const ProfileOutboundRequestFailureCode = {
706
709
  UNKNOWN_ERROR: "UnknownError",
707
710
  };
708
711
 
709
- exports.$Command = smithyClient.Command;
710
- exports.__Client = smithyClient.Client;
712
+ exports.$Command = client.Command;
713
+ exports.__Client = client.Client;
711
714
  exports.ConnectCampaignsV2ServiceException = ConnectCampaignsV2ServiceException.ConnectCampaignsV2ServiceException;
712
715
  exports.AgentAction = AgentAction;
713
716
  exports.CampaignDeletionPolicy = CampaignDeletionPolicy;
@@ -746,6 +749,7 @@ exports.InstanceOnboardingJobStatusCode = InstanceOnboardingJobStatusCode;
746
749
  exports.ListCampaignsCommand = ListCampaignsCommand;
747
750
  exports.ListConnectInstanceIntegrationsCommand = ListConnectInstanceIntegrationsCommand;
748
751
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
752
+ exports.LocalTimeZoneDetectionScope = LocalTimeZoneDetectionScope;
749
753
  exports.LocalTimeZoneDetectionType = LocalTimeZoneDetectionType;
750
754
  exports.PauseCampaignCommand = PauseCampaignCommand;
751
755
  exports.ProfileOutboundRequestFailureCode = ProfileOutboundRequestFailureCode;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConnectCampaignsV2ServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class ConnectCampaignsV2ServiceException extends smithy_client_1.ServiceException {
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
+ class ConnectCampaignsV2ServiceException extends client_1.ServiceException {
7
7
  constructor(options) {
8
8
  super(options);
9
9
  Object.setPrototypeOf(this, ConnectCampaignsV2ServiceException.prototype);