@aws-sdk/client-connectparticipant 3.1068.0 → 3.1070.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.
@@ -1,17 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveHttpAuthSchemeConfig = exports.defaultConnectParticipantHttpAuthSchemeProvider = exports.defaultConnectParticipantHttpAuthSchemeParametersProvider = void 0;
4
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
- const client_1 = require("@smithy/core/client");
6
- const defaultConnectParticipantHttpAuthSchemeParametersProvider = async (config, context, input) => {
1
+ const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
2
+ const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
3
+ exports.defaultConnectParticipantHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
4
  return {
8
- operation: (0, client_1.getSmithyContext)(context).operation,
9
- region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
5
+ operation: getSmithyContext(context).operation,
6
+ region: await normalizeProvider(config.region)() || (() => {
10
7
  throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
11
8
  })(),
12
9
  };
13
10
  };
14
- exports.defaultConnectParticipantHttpAuthSchemeParametersProvider = defaultConnectParticipantHttpAuthSchemeParametersProvider;
15
11
  function createAwsAuthSigv4HttpAuthOption(authParameters) {
16
12
  return {
17
13
  schemeId: "aws.auth#sigv4",
@@ -27,7 +23,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
23
  }),
28
24
  };
29
25
  }
30
- const defaultConnectParticipantHttpAuthSchemeProvider = (authParameters) => {
26
+ exports.defaultConnectParticipantHttpAuthSchemeProvider = (authParameters) => {
31
27
  const options = [];
32
28
  switch (authParameters.operation) {
33
29
  default: {
@@ -36,11 +32,9 @@ const defaultConnectParticipantHttpAuthSchemeProvider = (authParameters) => {
36
32
  }
37
33
  return options;
38
34
  };
39
- exports.defaultConnectParticipantHttpAuthSchemeProvider = defaultConnectParticipantHttpAuthSchemeProvider;
40
- const resolveHttpAuthSchemeConfig = (config) => {
41
- const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
35
+ exports.resolveHttpAuthSchemeConfig = (config) => {
36
+ const config_0 = resolveAwsSdkSigV4Config(config);
42
37
  return Object.assign(config_0, {
43
- authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
38
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
44
39
  });
45
40
  };
46
- exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.bdd = void 0;
4
- const endpoints_1 = require("@smithy/core/endpoints");
1
+ const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
5
2
  const k = "ref";
6
3
  const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
7
4
  const _data = {
@@ -49,4 +46,4 @@ const nodes = new Int32Array([
49
46
  3, r + 1, 14,
50
47
  4, r + 2, r + 3,
51
48
  ]);
52
- exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
49
+ exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -1,18 +1,14 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultEndpointResolver = void 0;
4
- const client_1 = require("@aws-sdk/core/client");
5
- const endpoints_1 = require("@smithy/core/endpoints");
6
- const bdd_1 = require("./bdd");
7
- const cache = new endpoints_1.EndpointCache({
1
+ const { awsEndpointFunctions } = require("@aws-sdk/core/client");
2
+ const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
3
+ const { bdd } = require("./bdd");
4
+ const cache = new EndpointCache({
8
5
  size: 50,
9
6
  params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
10
7
  });
11
- const defaultEndpointResolver = (endpointParams, context = {}) => {
12
- return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
8
+ exports.defaultEndpointResolver = (endpointParams, context = {}) => {
9
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
13
10
  endpointParams: endpointParams,
14
11
  logger: context.logger,
15
12
  }));
16
13
  };
17
- exports.defaultEndpointResolver = defaultEndpointResolver;
18
- endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
14
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -1,18 +1,21 @@
1
- 'use strict';
2
-
3
- var client$1 = require('@aws-sdk/core/client');
4
- var core = require('@smithy/core');
5
- var client = require('@smithy/core/client');
6
- var config = require('@smithy/core/config');
7
- var endpoints = require('@smithy/core/endpoints');
8
- var protocols = require('@smithy/core/protocols');
9
- var retry = require('@smithy/core/retry');
10
- var schema = require('@smithy/core/schema');
11
- var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
12
- var runtimeConfig = require('./runtimeConfig');
13
- var schemas_0 = require('./schemas/schemas_0');
14
- var errors = require('./models/errors');
15
- var ConnectParticipantServiceException = require('./models/ConnectParticipantServiceException');
1
+ var __exportStar = (m, e) => { Object.assign(e, m); };
2
+ const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
+ const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
+ exports.$Command = Command;
6
+ exports.__Client = Client;
7
+ const { resolveRegionConfig } = require("@smithy/core/config");
8
+ const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
+ const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
+ const { resolveRetryConfig, getOmitRetryHeadersPlugin, getRetryPlugin } = require("@smithy/core/retry");
11
+ const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
+ const { resolveHttpAuthSchemeConfig, defaultConnectParticipantHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
+ const { getRuntimeConfig } = require("./runtimeConfig");
14
+ const { CancelParticipantAuthentication$, CompleteAttachmentUpload$, CreateParticipantConnection$, DescribeView$, DisconnectParticipant$, GetAttachment$, GetAuthenticationUrl$, GetTranscript$, SendEvent$, SendMessage$, StartAttachmentUpload$ } = require("./schemas/schemas_0");
15
+ __exportStar(require("./schemas/schemas_0"), exports);
16
+ __exportStar(require("./models/errors"), exports);
17
+ const { ConnectParticipantServiceException } = require("./models/ConnectParticipantServiceException");
18
+ exports.ConnectParticipantServiceException = ConnectParticipantServiceException;
16
19
 
17
20
  const resolveClientEndpointParameters = (options) => {
18
21
  return Object.assign(options, {
@@ -68,180 +71,180 @@ const resolveHttpAuthRuntimeConfig = (config) => {
68
71
  };
69
72
 
70
73
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
71
- const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
74
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
72
75
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
73
- return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
74
77
  };
75
78
 
76
- class ConnectParticipantClient extends client.Client {
79
+ class ConnectParticipantClient extends Client {
77
80
  config;
78
81
  constructor(...[configuration]) {
79
- const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
82
+ const _config_0 = getRuntimeConfig(configuration || {});
80
83
  super(_config_0);
81
84
  this.initConfig = _config_0;
82
85
  const _config_1 = resolveClientEndpointParameters(_config_0);
83
- const _config_2 = client$1.resolveUserAgentConfig(_config_1);
84
- const _config_3 = retry.resolveRetryConfig(_config_2);
85
- const _config_4 = config.resolveRegionConfig(_config_3);
86
- const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
87
- const _config_6 = endpoints.resolveEndpointConfig(_config_5);
88
- const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
86
+ const _config_2 = resolveUserAgentConfig(_config_1);
87
+ const _config_3 = resolveRetryConfig(_config_2);
88
+ const _config_4 = resolveRegionConfig(_config_3);
89
+ const _config_5 = resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = resolveEndpointConfig(_config_5);
91
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
89
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
90
93
  this.config = _config_8;
91
- this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
92
- this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
93
- this.middlewareStack.use(retry.getOmitRetryHeadersPlugin(this.config));
94
- this.middlewareStack.use(retry.getRetryPlugin(this.config));
95
- this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
96
- this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
97
- this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
98
- this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
99
- this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
100
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultConnectParticipantHttpAuthSchemeParametersProvider,
101
- identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
94
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
95
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(getOmitRetryHeadersPlugin(this.config));
97
+ this.middlewareStack.use(getRetryPlugin(this.config));
98
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
99
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
100
+ this.middlewareStack.use(getLoggerPlugin(this.config));
101
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
102
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
103
+ httpAuthSchemeParametersProvider: defaultConnectParticipantHttpAuthSchemeParametersProvider,
104
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
102
105
  "aws.auth#sigv4": config.credentials,
103
106
  }),
104
107
  }));
105
- this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
108
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
106
109
  }
107
110
  destroy() {
108
111
  super.destroy();
109
112
  }
110
113
  }
111
114
 
112
- class CancelParticipantAuthenticationCommand extends client.Command
115
+ class CancelParticipantAuthenticationCommand extends Command
113
116
  .classBuilder()
114
117
  .ep(commonParams)
115
118
  .m(function (Command, cs, config, o) {
116
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
119
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
117
120
  })
118
121
  .s("AmazonConnectParticipantServiceLambda", "CancelParticipantAuthentication", {})
119
122
  .n("ConnectParticipantClient", "CancelParticipantAuthenticationCommand")
120
- .sc(schemas_0.CancelParticipantAuthentication$)
123
+ .sc(CancelParticipantAuthentication$)
121
124
  .build() {
122
125
  }
123
126
 
124
- class CompleteAttachmentUploadCommand extends client.Command
127
+ class CompleteAttachmentUploadCommand extends Command
125
128
  .classBuilder()
126
129
  .ep(commonParams)
127
130
  .m(function (Command, cs, config, o) {
128
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
131
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
129
132
  })
130
133
  .s("AmazonConnectParticipantServiceLambda", "CompleteAttachmentUpload", {})
131
134
  .n("ConnectParticipantClient", "CompleteAttachmentUploadCommand")
132
- .sc(schemas_0.CompleteAttachmentUpload$)
135
+ .sc(CompleteAttachmentUpload$)
133
136
  .build() {
134
137
  }
135
138
 
136
- class CreateParticipantConnectionCommand extends client.Command
139
+ class CreateParticipantConnectionCommand extends Command
137
140
  .classBuilder()
138
141
  .ep(commonParams)
139
142
  .m(function (Command, cs, config, o) {
140
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
143
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
141
144
  })
142
145
  .s("AmazonConnectParticipantServiceLambda", "CreateParticipantConnection", {})
143
146
  .n("ConnectParticipantClient", "CreateParticipantConnectionCommand")
144
- .sc(schemas_0.CreateParticipantConnection$)
147
+ .sc(CreateParticipantConnection$)
145
148
  .build() {
146
149
  }
147
150
 
148
- class DescribeViewCommand extends client.Command
151
+ class DescribeViewCommand extends Command
149
152
  .classBuilder()
150
153
  .ep(commonParams)
151
154
  .m(function (Command, cs, config, o) {
152
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
153
156
  })
154
157
  .s("AmazonConnectParticipantServiceLambda", "DescribeView", {})
155
158
  .n("ConnectParticipantClient", "DescribeViewCommand")
156
- .sc(schemas_0.DescribeView$)
159
+ .sc(DescribeView$)
157
160
  .build() {
158
161
  }
159
162
 
160
- class DisconnectParticipantCommand extends client.Command
163
+ class DisconnectParticipantCommand extends Command
161
164
  .classBuilder()
162
165
  .ep(commonParams)
163
166
  .m(function (Command, cs, config, o) {
164
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
167
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
165
168
  })
166
169
  .s("AmazonConnectParticipantServiceLambda", "DisconnectParticipant", {})
167
170
  .n("ConnectParticipantClient", "DisconnectParticipantCommand")
168
- .sc(schemas_0.DisconnectParticipant$)
171
+ .sc(DisconnectParticipant$)
169
172
  .build() {
170
173
  }
171
174
 
172
- class GetAttachmentCommand extends client.Command
175
+ class GetAttachmentCommand extends Command
173
176
  .classBuilder()
174
177
  .ep(commonParams)
175
178
  .m(function (Command, cs, config, o) {
176
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
179
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
177
180
  })
178
181
  .s("AmazonConnectParticipantServiceLambda", "GetAttachment", {})
179
182
  .n("ConnectParticipantClient", "GetAttachmentCommand")
180
- .sc(schemas_0.GetAttachment$)
183
+ .sc(GetAttachment$)
181
184
  .build() {
182
185
  }
183
186
 
184
- class GetAuthenticationUrlCommand extends client.Command
187
+ class GetAuthenticationUrlCommand extends Command
185
188
  .classBuilder()
186
189
  .ep(commonParams)
187
190
  .m(function (Command, cs, config, o) {
188
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
191
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
189
192
  })
190
193
  .s("AmazonConnectParticipantServiceLambda", "GetAuthenticationUrl", {})
191
194
  .n("ConnectParticipantClient", "GetAuthenticationUrlCommand")
192
- .sc(schemas_0.GetAuthenticationUrl$)
195
+ .sc(GetAuthenticationUrl$)
193
196
  .build() {
194
197
  }
195
198
 
196
- class GetTranscriptCommand extends client.Command
199
+ class GetTranscriptCommand extends Command
197
200
  .classBuilder()
198
201
  .ep(commonParams)
199
202
  .m(function (Command, cs, config, o) {
200
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
203
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
201
204
  })
202
205
  .s("AmazonConnectParticipantServiceLambda", "GetTranscript", {})
203
206
  .n("ConnectParticipantClient", "GetTranscriptCommand")
204
- .sc(schemas_0.GetTranscript$)
207
+ .sc(GetTranscript$)
205
208
  .build() {
206
209
  }
207
210
 
208
- class SendEventCommand extends client.Command
211
+ class SendEventCommand extends Command
209
212
  .classBuilder()
210
213
  .ep(commonParams)
211
214
  .m(function (Command, cs, config, o) {
212
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
215
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
213
216
  })
214
217
  .s("AmazonConnectParticipantServiceLambda", "SendEvent", {})
215
218
  .n("ConnectParticipantClient", "SendEventCommand")
216
- .sc(schemas_0.SendEvent$)
219
+ .sc(SendEvent$)
217
220
  .build() {
218
221
  }
219
222
 
220
- class SendMessageCommand extends client.Command
223
+ class SendMessageCommand extends Command
221
224
  .classBuilder()
222
225
  .ep(commonParams)
223
226
  .m(function (Command, cs, config, o) {
224
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
227
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
225
228
  })
226
229
  .s("AmazonConnectParticipantServiceLambda", "SendMessage", {})
227
230
  .n("ConnectParticipantClient", "SendMessageCommand")
228
- .sc(schemas_0.SendMessage$)
231
+ .sc(SendMessage$)
229
232
  .build() {
230
233
  }
231
234
 
232
- class StartAttachmentUploadCommand extends client.Command
235
+ class StartAttachmentUploadCommand extends Command
233
236
  .classBuilder()
234
237
  .ep(commonParams)
235
238
  .m(function (Command, cs, config, o) {
236
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
239
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
237
240
  })
238
241
  .s("AmazonConnectParticipantServiceLambda", "StartAttachmentUpload", {})
239
242
  .n("ConnectParticipantClient", "StartAttachmentUploadCommand")
240
- .sc(schemas_0.StartAttachmentUpload$)
243
+ .sc(StartAttachmentUpload$)
241
244
  .build() {
242
245
  }
243
246
 
244
- const paginateGetTranscript = core.createPaginator(ConnectParticipantClient, GetTranscriptCommand, "NextToken", "NextToken", "MaxResults");
247
+ const paginateGetTranscript = createPaginator(ConnectParticipantClient, GetTranscriptCommand, "NextToken", "NextToken", "MaxResults");
245
248
 
246
249
  const commands = {
247
250
  CancelParticipantAuthenticationCommand,
@@ -261,7 +264,7 @@ const paginators = {
261
264
  };
262
265
  class ConnectParticipant extends ConnectParticipantClient {
263
266
  }
264
- client.createAggregatedClient(commands, ConnectParticipant, { paginators });
267
+ createAggregatedClient(commands, ConnectParticipant, { paginators });
265
268
 
266
269
  const ConnectionType = {
267
270
  CONNECTION_CREDENTIALS: "CONNECTION_CREDENTIALS",
@@ -322,9 +325,6 @@ const ChatItemType = {
322
325
  TYPING: "TYPING",
323
326
  };
324
327
 
325
- exports.$Command = client.Command;
326
- exports.__Client = client.Client;
327
- exports.ConnectParticipantServiceException = ConnectParticipantServiceException.ConnectParticipantServiceException;
328
328
  exports.ArtifactStatus = ArtifactStatus;
329
329
  exports.CancelParticipantAuthenticationCommand = CancelParticipantAuthenticationCommand;
330
330
  exports.ChatItemType = ChatItemType;
@@ -348,23 +348,3 @@ exports.SendMessageCommand = SendMessageCommand;
348
348
  exports.SortKey = SortKey;
349
349
  exports.StartAttachmentUploadCommand = StartAttachmentUploadCommand;
350
350
  exports.paginateGetTranscript = paginateGetTranscript;
351
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
352
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
353
- Object.defineProperty(exports, '__proto__', {
354
- enumerable: true,
355
- value: schemas_0['__proto__']
356
- });
357
-
358
- Object.keys(schemas_0).forEach(function (k) {
359
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
360
- });
361
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
362
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
363
- Object.defineProperty(exports, '__proto__', {
364
- enumerable: true,
365
- value: errors['__proto__']
366
- });
367
-
368
- Object.keys(errors).forEach(function (k) {
369
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
370
- });
@@ -1,12 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConnectParticipantServiceException = exports.__ServiceException = void 0;
4
- const client_1 = require("@smithy/core/client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
- class ConnectParticipantServiceException extends client_1.ServiceException {
1
+ const { ServiceException: __ServiceException } = require("@smithy/core/client");
2
+ exports.__ServiceException = __ServiceException;
3
+ exports.ConnectParticipantServiceException = class ConnectParticipantServiceException extends __ServiceException {
7
4
  constructor(options) {
8
5
  super(options);
9
6
  Object.setPrototypeOf(this, ConnectParticipantServiceException.prototype);
10
7
  }
11
- }
12
- exports.ConnectParticipantServiceException = ConnectParticipantServiceException;
8
+ };
@@ -1,8 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceNotFoundException = exports.ServiceQuotaExceededException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
- const ConnectParticipantServiceException_1 = require("./ConnectParticipantServiceException");
5
- class AccessDeniedException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
1
+ const { ConnectParticipantServiceException: __BaseException } = require("./ConnectParticipantServiceException");
2
+ exports.AccessDeniedException = class AccessDeniedException extends __BaseException {
6
3
  name = "AccessDeniedException";
7
4
  $fault = "client";
8
5
  Message;
@@ -15,9 +12,8 @@ class AccessDeniedException extends ConnectParticipantServiceException_1.Connect
15
12
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
13
  this.Message = opts.Message;
17
14
  }
18
- }
19
- exports.AccessDeniedException = AccessDeniedException;
20
- class InternalServerException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
15
+ };
16
+ exports.InternalServerException = class InternalServerException extends __BaseException {
21
17
  name = "InternalServerException";
22
18
  $fault = "server";
23
19
  Message;
@@ -30,9 +26,8 @@ class InternalServerException extends ConnectParticipantServiceException_1.Conne
30
26
  Object.setPrototypeOf(this, InternalServerException.prototype);
31
27
  this.Message = opts.Message;
32
28
  }
33
- }
34
- exports.InternalServerException = InternalServerException;
35
- class ThrottlingException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
29
+ };
30
+ exports.ThrottlingException = class ThrottlingException extends __BaseException {
36
31
  name = "ThrottlingException";
37
32
  $fault = "client";
38
33
  Message;
@@ -45,9 +40,8 @@ class ThrottlingException extends ConnectParticipantServiceException_1.ConnectPa
45
40
  Object.setPrototypeOf(this, ThrottlingException.prototype);
46
41
  this.Message = opts.Message;
47
42
  }
48
- }
49
- exports.ThrottlingException = ThrottlingException;
50
- class ValidationException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
43
+ };
44
+ exports.ValidationException = class ValidationException extends __BaseException {
51
45
  name = "ValidationException";
52
46
  $fault = "client";
53
47
  Message;
@@ -60,9 +54,8 @@ class ValidationException extends ConnectParticipantServiceException_1.ConnectPa
60
54
  Object.setPrototypeOf(this, ValidationException.prototype);
61
55
  this.Message = opts.Message;
62
56
  }
63
- }
64
- exports.ValidationException = ValidationException;
65
- class ConflictException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
57
+ };
58
+ exports.ConflictException = class ConflictException extends __BaseException {
66
59
  name = "ConflictException";
67
60
  $fault = "client";
68
61
  Message;
@@ -75,9 +68,8 @@ class ConflictException extends ConnectParticipantServiceException_1.ConnectPart
75
68
  Object.setPrototypeOf(this, ConflictException.prototype);
76
69
  this.Message = opts.Message;
77
70
  }
78
- }
79
- exports.ConflictException = ConflictException;
80
- class ServiceQuotaExceededException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
71
+ };
72
+ exports.ServiceQuotaExceededException = class ServiceQuotaExceededException extends __BaseException {
81
73
  name = "ServiceQuotaExceededException";
82
74
  $fault = "client";
83
75
  Message;
@@ -90,9 +82,8 @@ class ServiceQuotaExceededException extends ConnectParticipantServiceException_1
90
82
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
91
83
  this.Message = opts.Message;
92
84
  }
93
- }
94
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
95
- class ResourceNotFoundException extends ConnectParticipantServiceException_1.ConnectParticipantServiceException {
85
+ };
86
+ exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException {
96
87
  name = "ResourceNotFoundException";
97
88
  $fault = "client";
98
89
  Message;
@@ -109,5 +100,4 @@ class ResourceNotFoundException extends ConnectParticipantServiceException_1.Con
109
100
  this.ResourceId = opts.ResourceId;
110
101
  this.ResourceType = opts.ResourceType;
111
102
  }
112
- }
113
- exports.ResourceNotFoundException = ResourceNotFoundException;
103
+ };
@@ -1,36 +1,32 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
- const client_1 = require("@aws-sdk/core/client");
8
- const client_2 = require("@smithy/core/client");
9
- const config_1 = require("@smithy/core/config");
10
- const retry_1 = require("@smithy/core/retry");
11
- const serde_1 = require("@smithy/core/serde");
12
- const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
13
- const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
1
+ const packageInfo = require("../package.json");
2
+ const { Sha256 } = require("@aws-crypto/sha256-browser");
3
+ const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client");
4
+ const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client");
5
+ const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config");
6
+ const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry");
7
+ const { calculateBodyLength } = require("@smithy/core/serde");
8
+ const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler");
9
+ const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
14
10
  const getRuntimeConfig = (config) => {
15
- const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
16
- const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
17
- const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
11
+ const defaultsMode = resolveDefaultsModeConfig(config);
12
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
13
+ const clientSharedValues = getSharedRuntimeConfig(config);
18
14
  return {
19
15
  ...clientSharedValues,
20
16
  ...config,
21
17
  runtime: "browser",
22
18
  defaultsMode,
23
- bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
19
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
24
20
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
25
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
26
- maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
27
- region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
28
- requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
29
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
30
- sha256: config?.sha256 ?? sha256_browser_1.Sha256,
31
- streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
32
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
33
- useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
21
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
22
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
23
+ region: config?.region ?? invalidProvider("Region is missing"),
24
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
+ sha256: config?.sha256 ?? Sha256,
27
+ streamCollector: config?.streamCollector ?? streamCollector,
28
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
34
30
  };
35
31
  };
36
32
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,23 +1,19 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
- const client_1 = require("@aws-sdk/core/client");
7
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
8
- const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
- const client_2 = require("@smithy/core/client");
10
- const config_1 = require("@smithy/core/config");
11
- const retry_1 = require("@smithy/core/retry");
12
- const serde_1 = require("@smithy/core/serde");
13
- const node_http_handler_1 = require("@smithy/node-http-handler");
14
- const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
1
+ const packageInfo = require("../package.json");
2
+ const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client");
3
+ const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
4
+ const { defaultProvider: credentialDefaultProvider } = require("@aws-sdk/credential-provider-node");
5
+ const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client");
6
+ const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config");
7
+ const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry");
8
+ const { calculateBodyLength, Hash } = require("@smithy/core/serde");
9
+ const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler");
10
+ const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared");
15
11
  const getRuntimeConfig = (config) => {
16
- (0, client_2.emitWarningIfUnsupportedVersion)(process.version);
17
- const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
18
- const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
19
- const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
- (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
12
+ emitWarningIfUnsupportedVersion(process.version);
13
+ const defaultsMode = resolveDefaultsModeConfig(config);
14
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
15
+ const clientSharedValues = getSharedRuntimeConfig(config);
16
+ awsCheckVersion(process.version);
21
17
  const loaderConfig = {
22
18
  profile: config?.profile,
23
19
  logger: clientSharedValues.logger,
@@ -27,23 +23,23 @@ const getRuntimeConfig = (config) => {
27
23
  ...config,
28
24
  runtime: "node",
29
25
  defaultsMode,
30
- authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
31
- bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
32
- credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
- defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
34
- maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
35
- region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
36
- requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
26
+ authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
27
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
31
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
32
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
37
33
  retryMode: config?.retryMode ??
38
- (0, config_1.loadConfig)({
39
- ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
- default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
34
+ loadNodeConfig({
35
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
41
37
  }, config),
42
- sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
43
- streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
45
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
46
- userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
38
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
+ streamCollector: config?.streamCollector ?? streamCollector,
40
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
42
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
47
43
  };
48
44
  };
49
45
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,15 +1,12 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const sha256_js_1 = require("@aws-crypto/sha256-js");
5
- const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
1
+ const { Sha256 } = require("@aws-crypto/sha256-js");
2
+ const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser");
6
3
  const getRuntimeConfig = (config) => {
7
- const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
8
5
  return {
9
6
  ...browserDefaults,
10
7
  ...config,
11
8
  runtime: "react-native",
12
- sha256: config?.sha256 ?? sha256_js_1.Sha256,
9
+ sha256: config?.sha256 ?? Sha256,
13
10
  };
14
11
  };
15
12
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,42 +1,38 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRuntimeConfig = void 0;
4
- const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
- const protocols_1 = require("@aws-sdk/core/protocols");
6
- const client_1 = require("@smithy/core/client");
7
- const protocols_2 = require("@smithy/core/protocols");
8
- const serde_1 = require("@smithy/core/serde");
9
- const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
10
- const endpointResolver_1 = require("./endpoint/endpointResolver");
11
- const schemas_0_1 = require("./schemas/schemas_0");
12
- const getRuntimeConfig = (config) => {
1
+ const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes");
2
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
3
+ const { NoOpLogger } = require("@smithy/core/client");
4
+ const { parseUrl } = require("@smithy/core/protocols");
5
+ const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde");
6
+ const { defaultConnectParticipantHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider");
7
+ const { defaultEndpointResolver } = require("./endpoint/endpointResolver");
8
+ const { errorTypeRegistries } = require("./schemas/schemas_0");
9
+ exports.getRuntimeConfig = (config) => {
13
10
  return {
14
11
  apiVersion: "2018-09-07",
15
- base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
16
- base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
12
+ base64Decoder: config?.base64Decoder ?? fromBase64,
13
+ base64Encoder: config?.base64Encoder ?? toBase64,
17
14
  disableHostPrefix: config?.disableHostPrefix ?? false,
18
- endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
15
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
19
16
  extensions: config?.extensions ?? [],
20
- httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultConnectParticipantHttpAuthSchemeProvider,
17
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultConnectParticipantHttpAuthSchemeProvider,
21
18
  httpAuthSchemes: config?.httpAuthSchemes ?? [
22
19
  {
23
20
  schemeId: "aws.auth#sigv4",
24
21
  identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
25
- signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
22
+ signer: new AwsSdkSigV4Signer(),
26
23
  },
27
24
  ],
28
- logger: config?.logger ?? new client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
25
+ logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
30
27
  protocolSettings: config?.protocolSettings ?? {
31
28
  defaultNamespace: "com.amazonaws.connectparticipant",
32
- errorTypeRegistries: schemas_0_1.errorTypeRegistries,
29
+ errorTypeRegistries,
33
30
  version: "2018-09-07",
34
31
  serviceTarget: "AmazonConnectParticipantServiceLambda",
35
32
  },
36
33
  serviceId: config?.serviceId ?? "ConnectParticipant",
37
- urlParser: config?.urlParser ?? protocols_2.parseUrl,
38
- utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
39
- utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
34
+ urlParser: config?.urlParser ?? parseUrl,
35
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
40
37
  };
41
38
  };
42
- exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,7 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CompleteAttachmentUpload$ = exports.CancelParticipantAuthentication$ = exports.Websocket$ = exports.WebRTCMeeting$ = exports.WebRTCMediaPlacement$ = exports.WebRTCConnection$ = exports.ViewContent$ = exports.View$ = exports.UploadMetadata$ = exports.StartPosition$ = exports.StartAttachmentUploadResponse$ = exports.StartAttachmentUploadRequest$ = exports.SendMessageResponse$ = exports.SendMessageRequest$ = exports.SendEventResponse$ = exports.SendEventRequest$ = exports.Receipt$ = exports.MessageProcessingMetadata$ = exports.MessageMetadata$ = exports.MeetingFeaturesConfiguration$ = exports.Item$ = exports.GetTranscriptResponse$ = exports.GetTranscriptRequest$ = exports.GetAuthenticationUrlResponse$ = exports.GetAuthenticationUrlRequest$ = exports.GetAttachmentResponse$ = exports.GetAttachmentRequest$ = exports.DisconnectParticipantResponse$ = exports.DisconnectParticipantRequest$ = exports.DescribeViewResponse$ = exports.DescribeViewRequest$ = exports.CreateParticipantConnectionResponse$ = exports.CreateParticipantConnectionRequest$ = exports.ConnectionCredentials$ = exports.CompleteAttachmentUploadResponse$ = exports.CompleteAttachmentUploadRequest$ = exports.CancelParticipantAuthenticationResponse$ = exports.CancelParticipantAuthenticationRequest$ = exports.AudioFeatures$ = exports.Attendee$ = exports.AttachmentItem$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.ConnectParticipantServiceException$ = void 0;
4
- exports.StartAttachmentUpload$ = exports.SendMessage$ = exports.SendEvent$ = exports.GetTranscript$ = exports.GetAuthenticationUrl$ = exports.GetAttachment$ = exports.DisconnectParticipant$ = exports.DescribeView$ = exports.CreateParticipantConnection$ = void 0;
5
1
  const _A = "Attendee";
6
2
  const _ADE = "AccessDeniedException";
7
3
  const _AF = "AudioFeatures";
@@ -137,55 +133,63 @@ const _hH = "httpHeader";
137
133
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.connectparticipant";
138
134
  const _se = "server";
139
135
  const n0 = "com.amazonaws.connectparticipant";
140
- const schema_1 = require("@smithy/core/schema");
141
- const ConnectParticipantServiceException_1 = require("../models/ConnectParticipantServiceException");
142
- const errors_1 = require("../models/errors");
143
- const _s_registry = schema_1.TypeRegistry.for(_s);
144
- exports.ConnectParticipantServiceException$ = [-3, _s, "ConnectParticipantServiceException", 0, [], []];
145
- _s_registry.registerError(exports.ConnectParticipantServiceException$, ConnectParticipantServiceException_1.ConnectParticipantServiceException);
146
- const n0_registry = schema_1.TypeRegistry.for(n0);
147
- exports.AccessDeniedException$ = [-3, n0, _ADE,
136
+ const { TypeRegistry } = require("@smithy/core/schema");
137
+ const { ConnectParticipantServiceException } = require("../models/ConnectParticipantServiceException");
138
+ const { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException } = require("../models/errors");
139
+ const _s_registry = TypeRegistry.for(_s);
140
+ const ConnectParticipantServiceException$ = [-3, _s, "ConnectParticipantServiceException", 0, [], []];
141
+ exports.ConnectParticipantServiceException$ = ConnectParticipantServiceException$;
142
+ _s_registry.registerError(ConnectParticipantServiceException$, ConnectParticipantServiceException);
143
+ const n0_registry = TypeRegistry.for(n0);
144
+ const AccessDeniedException$ = [-3, n0, _ADE,
148
145
  { [_e]: _c, [_hE]: 403 },
149
146
  [_M],
150
147
  [0], 1
151
148
  ];
152
- n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
153
- exports.ConflictException$ = [-3, n0, _CE,
149
+ exports.AccessDeniedException$ = AccessDeniedException$;
150
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
151
+ const ConflictException$ = [-3, n0, _CE,
154
152
  { [_e]: _c, [_hE]: 409 },
155
153
  [_M],
156
154
  [0], 1
157
155
  ];
158
- n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
159
- exports.InternalServerException$ = [-3, n0, _ISE,
156
+ exports.ConflictException$ = ConflictException$;
157
+ n0_registry.registerError(ConflictException$, ConflictException);
158
+ const InternalServerException$ = [-3, n0, _ISE,
160
159
  { [_e]: _se, [_hE]: 500 },
161
160
  [_M],
162
161
  [0], 1
163
162
  ];
164
- n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
165
- exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
163
+ exports.InternalServerException$ = InternalServerException$;
164
+ n0_registry.registerError(InternalServerException$, InternalServerException);
165
+ const ResourceNotFoundException$ = [-3, n0, _RNFE,
166
166
  { [_e]: _c, [_hE]: 404 },
167
167
  [_M, _RI, _RT],
168
168
  [0, 0, 0]
169
169
  ];
170
- n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
171
- exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
170
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
171
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
172
+ const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
172
173
  { [_e]: _c, [_hE]: 402 },
173
174
  [_M],
174
175
  [0], 1
175
176
  ];
176
- n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
177
- exports.ThrottlingException$ = [-3, n0, _TE,
177
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
178
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
179
+ const ThrottlingException$ = [-3, n0, _TE,
178
180
  { [_e]: _c, [_hE]: 429 },
179
181
  [_M],
180
182
  [0], 1
181
183
  ];
182
- n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
183
- exports.ValidationException$ = [-3, n0, _VE,
184
+ exports.ThrottlingException$ = ThrottlingException$;
185
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
186
+ const ValidationException$ = [-3, n0, _VE,
184
187
  { [_e]: _c, [_hE]: 400 },
185
188
  [_M],
186
189
  [0], 1
187
190
  ];
188
- n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
191
+ exports.ValidationException$ = ValidationException$;
192
+ n0_registry.registerError(ValidationException$, ValidationException);
189
193
  exports.errorTypeRegistries = [
190
194
  _s_registry,
191
195
  n0_registry,
@@ -195,211 +199,250 @@ var ViewAction = [0, n0, _VA, 8, 0];
195
199
  var ViewInputSchema = [0, n0, _VIS, 8, 0];
196
200
  var ViewName = [0, n0, _VN, 8, 0];
197
201
  var ViewTemplate = [0, n0, _VT, 8, 0];
198
- exports.AttachmentItem$ = [3, n0, _AI,
202
+ const AttachmentItem$ = [3, n0, _AI,
199
203
  0,
200
204
  [_CT, _AIt, _AN, _S],
201
205
  [0, 0, 0, 0]
202
206
  ];
203
- exports.Attendee$ = [3, n0, _A,
207
+ exports.AttachmentItem$ = AttachmentItem$;
208
+ const Attendee$ = [3, n0, _A,
204
209
  0,
205
210
  [_AItt, _JT],
206
211
  [0, [() => JoinToken, 0]]
207
212
  ];
208
- exports.AudioFeatures$ = [3, n0, _AF,
213
+ exports.Attendee$ = Attendee$;
214
+ const AudioFeatures$ = [3, n0, _AF,
209
215
  0,
210
216
  [_ER],
211
217
  [0]
212
218
  ];
213
- exports.CancelParticipantAuthenticationRequest$ = [3, n0, _CPAR,
219
+ exports.AudioFeatures$ = AudioFeatures$;
220
+ const CancelParticipantAuthenticationRequest$ = [3, n0, _CPAR,
214
221
  0,
215
222
  [_SI, _CTo],
216
223
  [0, [0, { [_hH]: _XAB }]], 2
217
224
  ];
218
- exports.CancelParticipantAuthenticationResponse$ = [3, n0, _CPARa,
225
+ exports.CancelParticipantAuthenticationRequest$ = CancelParticipantAuthenticationRequest$;
226
+ const CancelParticipantAuthenticationResponse$ = [3, n0, _CPARa,
219
227
  0,
220
228
  [],
221
229
  []
222
230
  ];
223
- exports.CompleteAttachmentUploadRequest$ = [3, n0, _CAUR,
231
+ exports.CancelParticipantAuthenticationResponse$ = CancelParticipantAuthenticationResponse$;
232
+ const CompleteAttachmentUploadRequest$ = [3, n0, _CAUR,
224
233
  0,
225
234
  [_AItta, _CTo, _CTl],
226
235
  [64 | 0, [0, { [_hH]: _XAB }], [0, 4]], 2
227
236
  ];
228
- exports.CompleteAttachmentUploadResponse$ = [3, n0, _CAURo,
237
+ exports.CompleteAttachmentUploadRequest$ = CompleteAttachmentUploadRequest$;
238
+ const CompleteAttachmentUploadResponse$ = [3, n0, _CAURo,
229
239
  0,
230
240
  [],
231
241
  []
232
242
  ];
233
- exports.ConnectionCredentials$ = [3, n0, _CC,
243
+ exports.CompleteAttachmentUploadResponse$ = CompleteAttachmentUploadResponse$;
244
+ const ConnectionCredentials$ = [3, n0, _CC,
234
245
  0,
235
246
  [_CTo, _E],
236
247
  [0, 0]
237
248
  ];
238
- exports.CreateParticipantConnectionRequest$ = [3, n0, _CPCR,
249
+ exports.ConnectionCredentials$ = ConnectionCredentials$;
250
+ const CreateParticipantConnectionRequest$ = [3, n0, _CPCR,
239
251
  0,
240
252
  [_PT, _T, _CP],
241
253
  [[0, { [_hH]: _XAB }], 64 | 0, 2], 1
242
254
  ];
243
- exports.CreateParticipantConnectionResponse$ = [3, n0, _CPCRr,
255
+ exports.CreateParticipantConnectionRequest$ = CreateParticipantConnectionRequest$;
256
+ const CreateParticipantConnectionResponse$ = [3, n0, _CPCRr,
244
257
  0,
245
258
  [_W, _CC, _WRTCC],
246
- [() => exports.Websocket$, () => exports.ConnectionCredentials$, [() => exports.WebRTCConnection$, 0]]
259
+ [() => Websocket$, () => ConnectionCredentials$, [() => WebRTCConnection$, 0]]
247
260
  ];
248
- exports.DescribeViewRequest$ = [3, n0, _DVR,
261
+ exports.CreateParticipantConnectionResponse$ = CreateParticipantConnectionResponse$;
262
+ const DescribeViewRequest$ = [3, n0, _DVR,
249
263
  0,
250
264
  [_VTi, _CTo],
251
265
  [[0, 1], [0, { [_hH]: _XAB }]], 2
252
266
  ];
253
- exports.DescribeViewResponse$ = [3, n0, _DVRe,
267
+ exports.DescribeViewRequest$ = DescribeViewRequest$;
268
+ const DescribeViewResponse$ = [3, n0, _DVRe,
254
269
  0,
255
270
  [_V],
256
- [[() => exports.View$, 0]]
271
+ [[() => View$, 0]]
257
272
  ];
258
- exports.DisconnectParticipantRequest$ = [3, n0, _DPR,
273
+ exports.DescribeViewResponse$ = DescribeViewResponse$;
274
+ const DisconnectParticipantRequest$ = [3, n0, _DPR,
259
275
  0,
260
276
  [_CTo, _CTl],
261
277
  [[0, { [_hH]: _XAB }], [0, 4]], 1
262
278
  ];
263
- exports.DisconnectParticipantResponse$ = [3, n0, _DPRi,
279
+ exports.DisconnectParticipantRequest$ = DisconnectParticipantRequest$;
280
+ const DisconnectParticipantResponse$ = [3, n0, _DPRi,
264
281
  0,
265
282
  [],
266
283
  []
267
284
  ];
268
- exports.GetAttachmentRequest$ = [3, n0, _GAR,
285
+ exports.DisconnectParticipantResponse$ = DisconnectParticipantResponse$;
286
+ const GetAttachmentRequest$ = [3, n0, _GAR,
269
287
  0,
270
288
  [_AIt, _CTo, _UEIS],
271
289
  [0, [0, { [_hH]: _XAB }], 1], 2
272
290
  ];
273
- exports.GetAttachmentResponse$ = [3, n0, _GARe,
291
+ exports.GetAttachmentRequest$ = GetAttachmentRequest$;
292
+ const GetAttachmentResponse$ = [3, n0, _GARe,
274
293
  0,
275
294
  [_ASIB, _U, _UE],
276
295
  [1, 0, 0], 1
277
296
  ];
278
- exports.GetAuthenticationUrlRequest$ = [3, n0, _GAUR,
297
+ exports.GetAttachmentResponse$ = GetAttachmentResponse$;
298
+ const GetAuthenticationUrlRequest$ = [3, n0, _GAUR,
279
299
  0,
280
300
  [_SI, _RU, _CTo],
281
301
  [0, 0, [0, { [_hH]: _XAB }]], 3
282
302
  ];
283
- exports.GetAuthenticationUrlResponse$ = [3, n0, _GAURe,
303
+ exports.GetAuthenticationUrlRequest$ = GetAuthenticationUrlRequest$;
304
+ const GetAuthenticationUrlResponse$ = [3, n0, _GAURe,
284
305
  0,
285
306
  [_AU],
286
307
  [0]
287
308
  ];
288
- exports.GetTranscriptRequest$ = [3, n0, _GTR,
309
+ exports.GetAuthenticationUrlResponse$ = GetAuthenticationUrlResponse$;
310
+ const GetTranscriptRequest$ = [3, n0, _GTR,
289
311
  0,
290
312
  [_CTo, _CI, _MR, _NT, _SD, _SO, _SP],
291
- [[0, { [_hH]: _XAB }], 0, 1, 0, 0, 0, () => exports.StartPosition$], 1
313
+ [[0, { [_hH]: _XAB }], 0, 1, 0, 0, 0, () => StartPosition$], 1
292
314
  ];
293
- exports.GetTranscriptResponse$ = [3, n0, _GTRe,
315
+ exports.GetTranscriptRequest$ = GetTranscriptRequest$;
316
+ const GetTranscriptResponse$ = [3, n0, _GTRe,
294
317
  0,
295
318
  [_ICI, _Tr, _NT],
296
319
  [0, () => Transcript, 0]
297
320
  ];
298
- exports.Item$ = [3, n0, _I,
321
+ exports.GetTranscriptResponse$ = GetTranscriptResponse$;
322
+ const Item$ = [3, n0, _I,
299
323
  0,
300
324
  [_AT, _C, _CT, _Id, _T, _PI, _DN, _PR, _At, _MM, _RCI, _CI],
301
- [0, 0, 0, 0, 0, 0, 0, 0, () => Attachments, () => exports.MessageMetadata$, 0, 0]
325
+ [0, 0, 0, 0, 0, 0, 0, 0, () => Attachments, () => MessageMetadata$, 0, 0]
302
326
  ];
303
- exports.MeetingFeaturesConfiguration$ = [3, n0, _MFC,
327
+ exports.Item$ = Item$;
328
+ const MeetingFeaturesConfiguration$ = [3, n0, _MFC,
304
329
  0,
305
330
  [_Au],
306
- [() => exports.AudioFeatures$]
331
+ [() => AudioFeatures$]
307
332
  ];
308
- exports.MessageMetadata$ = [3, n0, _MM,
333
+ exports.MeetingFeaturesConfiguration$ = MeetingFeaturesConfiguration$;
334
+ const MessageMetadata$ = [3, n0, _MM,
309
335
  0,
310
336
  [_MI, _R, _MPS],
311
337
  [0, () => Receipts, 0]
312
338
  ];
313
- exports.MessageProcessingMetadata$ = [3, n0, _MPM,
339
+ exports.MessageMetadata$ = MessageMetadata$;
340
+ const MessageProcessingMetadata$ = [3, n0, _MPM,
314
341
  0,
315
342
  [_MPS],
316
343
  [0]
317
344
  ];
318
- exports.Receipt$ = [3, n0, _Re,
345
+ exports.MessageProcessingMetadata$ = MessageProcessingMetadata$;
346
+ const Receipt$ = [3, n0, _Re,
319
347
  0,
320
348
  [_DT, _RTe, _RPI],
321
349
  [0, 0, 0]
322
350
  ];
323
- exports.SendEventRequest$ = [3, n0, _SER,
351
+ exports.Receipt$ = Receipt$;
352
+ const SendEventRequest$ = [3, n0, _SER,
324
353
  0,
325
354
  [_CT, _CTo, _C, _CTl],
326
355
  [0, [0, { [_hH]: _XAB }], 0, [0, 4]], 2
327
356
  ];
328
- exports.SendEventResponse$ = [3, n0, _SERe,
357
+ exports.SendEventRequest$ = SendEventRequest$;
358
+ const SendEventResponse$ = [3, n0, _SERe,
329
359
  0,
330
360
  [_Id, _AT],
331
361
  [0, 0]
332
362
  ];
333
- exports.SendMessageRequest$ = [3, n0, _SMR,
363
+ exports.SendEventResponse$ = SendEventResponse$;
364
+ const SendMessageRequest$ = [3, n0, _SMR,
334
365
  0,
335
366
  [_CT, _C, _CTo, _CTl],
336
367
  [0, 0, [0, { [_hH]: _XAB }], [0, 4]], 3
337
368
  ];
338
- exports.SendMessageResponse$ = [3, n0, _SMRe,
369
+ exports.SendMessageRequest$ = SendMessageRequest$;
370
+ const SendMessageResponse$ = [3, n0, _SMRe,
339
371
  0,
340
372
  [_Id, _AT, _MM],
341
- [0, 0, () => exports.MessageProcessingMetadata$]
373
+ [0, 0, () => MessageProcessingMetadata$]
342
374
  ];
343
- exports.StartAttachmentUploadRequest$ = [3, n0, _SAUR,
375
+ exports.SendMessageResponse$ = SendMessageResponse$;
376
+ const StartAttachmentUploadRequest$ = [3, n0, _SAUR,
344
377
  0,
345
378
  [_CT, _ASIB, _AN, _CTo, _CTl],
346
379
  [0, 1, 0, [0, { [_hH]: _XAB }], [0, 4]], 4
347
380
  ];
348
- exports.StartAttachmentUploadResponse$ = [3, n0, _SAURt,
381
+ exports.StartAttachmentUploadRequest$ = StartAttachmentUploadRequest$;
382
+ const StartAttachmentUploadResponse$ = [3, n0, _SAURt,
349
383
  0,
350
384
  [_AIt, _UM],
351
- [0, () => exports.UploadMetadata$]
385
+ [0, () => UploadMetadata$]
352
386
  ];
353
- exports.StartPosition$ = [3, n0, _SP,
387
+ exports.StartAttachmentUploadResponse$ = StartAttachmentUploadResponse$;
388
+ const StartPosition$ = [3, n0, _SP,
354
389
  0,
355
390
  [_Id, _AT, _MRo],
356
391
  [0, 0, 1]
357
392
  ];
358
- exports.UploadMetadata$ = [3, n0, _UM,
393
+ exports.StartPosition$ = StartPosition$;
394
+ const UploadMetadata$ = [3, n0, _UM,
359
395
  0,
360
396
  [_U, _UE, _HTI],
361
397
  [0, 0, 128 | 0]
362
398
  ];
363
- exports.View$ = [3, n0, _V,
399
+ exports.UploadMetadata$ = UploadMetadata$;
400
+ const View$ = [3, n0, _V,
364
401
  0,
365
402
  [_Id, _Ar, _N, _Ve, _C],
366
- [0, 0, [() => ViewName, 0], 1, [() => exports.ViewContent$, 0]]
403
+ [0, 0, [() => ViewName, 0], 1, [() => ViewContent$, 0]]
367
404
  ];
368
- exports.ViewContent$ = [3, n0, _VC,
405
+ exports.View$ = View$;
406
+ const ViewContent$ = [3, n0, _VC,
369
407
  0,
370
408
  [_IS, _Te, _Ac],
371
409
  [[() => ViewInputSchema, 0], [() => ViewTemplate, 0], [() => ViewActions, 0]]
372
410
  ];
373
- exports.WebRTCConnection$ = [3, n0, _WRTCC,
411
+ exports.ViewContent$ = ViewContent$;
412
+ const WebRTCConnection$ = [3, n0, _WRTCC,
374
413
  0,
375
414
  [_A, _Me],
376
- [[() => exports.Attendee$, 0], () => exports.WebRTCMeeting$]
415
+ [[() => Attendee$, 0], () => WebRTCMeeting$]
377
416
  ];
378
- exports.WebRTCMediaPlacement$ = [3, n0, _WRTCMP,
417
+ exports.WebRTCConnection$ = WebRTCConnection$;
418
+ const WebRTCMediaPlacement$ = [3, n0, _WRTCMP,
379
419
  0,
380
420
  [_AHU, _AFU, _SU, _EIU],
381
421
  [0, 0, 0, 0]
382
422
  ];
383
- exports.WebRTCMeeting$ = [3, n0, _WRTCM,
423
+ exports.WebRTCMediaPlacement$ = WebRTCMediaPlacement$;
424
+ const WebRTCMeeting$ = [3, n0, _WRTCM,
384
425
  0,
385
426
  [_MP, _MF, _MIe],
386
- [() => exports.WebRTCMediaPlacement$, () => exports.MeetingFeaturesConfiguration$, 0]
427
+ [() => WebRTCMediaPlacement$, () => MeetingFeaturesConfiguration$, 0]
387
428
  ];
388
- exports.Websocket$ = [3, n0, _W,
429
+ exports.WebRTCMeeting$ = WebRTCMeeting$;
430
+ const Websocket$ = [3, n0, _W,
389
431
  0,
390
432
  [_U, _CEo],
391
433
  [0, 0]
392
434
  ];
435
+ exports.Websocket$ = Websocket$;
393
436
  var AttachmentIdList = 64 | 0;
394
437
  var Attachments = [1, n0, _At,
395
- 0, () => exports.AttachmentItem$
438
+ 0, () => AttachmentItem$
396
439
  ];
397
440
  var ConnectionTypeList = 64 | 0;
398
441
  var Receipts = [1, n0, _R,
399
- 0, () => exports.Receipt$
442
+ 0, () => Receipt$
400
443
  ];
401
444
  var Transcript = [1, n0, _Tr,
402
- 0, () => exports.Item$
445
+ 0, () => Item$
403
446
  ];
404
447
  var ViewActions = [1, n0, _VAi,
405
448
  0, [() => ViewAction,
@@ -407,35 +450,35 @@ var ViewActions = [1, n0, _VAi,
407
450
  ];
408
451
  var UploadMetadataSignedHeaders = 128 | 0;
409
452
  exports.CancelParticipantAuthentication$ = [9, n0, _CPA,
410
- { [_h]: ["POST", "/participant/cancel-authentication", 200] }, () => exports.CancelParticipantAuthenticationRequest$, () => exports.CancelParticipantAuthenticationResponse$
453
+ { [_h]: ["POST", "/participant/cancel-authentication", 200] }, () => CancelParticipantAuthenticationRequest$, () => CancelParticipantAuthenticationResponse$
411
454
  ];
412
455
  exports.CompleteAttachmentUpload$ = [9, n0, _CAU,
413
- { [_h]: ["POST", "/participant/complete-attachment-upload", 200] }, () => exports.CompleteAttachmentUploadRequest$, () => exports.CompleteAttachmentUploadResponse$
456
+ { [_h]: ["POST", "/participant/complete-attachment-upload", 200] }, () => CompleteAttachmentUploadRequest$, () => CompleteAttachmentUploadResponse$
414
457
  ];
415
458
  exports.CreateParticipantConnection$ = [9, n0, _CPC,
416
- { [_h]: ["POST", "/participant/connection", 200] }, () => exports.CreateParticipantConnectionRequest$, () => exports.CreateParticipantConnectionResponse$
459
+ { [_h]: ["POST", "/participant/connection", 200] }, () => CreateParticipantConnectionRequest$, () => CreateParticipantConnectionResponse$
417
460
  ];
418
461
  exports.DescribeView$ = [9, n0, _DV,
419
- { [_h]: ["GET", "/participant/views/{ViewToken}", 200] }, () => exports.DescribeViewRequest$, () => exports.DescribeViewResponse$
462
+ { [_h]: ["GET", "/participant/views/{ViewToken}", 200] }, () => DescribeViewRequest$, () => DescribeViewResponse$
420
463
  ];
421
464
  exports.DisconnectParticipant$ = [9, n0, _DP,
422
- { [_h]: ["POST", "/participant/disconnect", 200] }, () => exports.DisconnectParticipantRequest$, () => exports.DisconnectParticipantResponse$
465
+ { [_h]: ["POST", "/participant/disconnect", 200] }, () => DisconnectParticipantRequest$, () => DisconnectParticipantResponse$
423
466
  ];
424
467
  exports.GetAttachment$ = [9, n0, _GA,
425
- { [_h]: ["POST", "/participant/attachment", 200] }, () => exports.GetAttachmentRequest$, () => exports.GetAttachmentResponse$
468
+ { [_h]: ["POST", "/participant/attachment", 200] }, () => GetAttachmentRequest$, () => GetAttachmentResponse$
426
469
  ];
427
470
  exports.GetAuthenticationUrl$ = [9, n0, _GAU,
428
- { [_h]: ["POST", "/participant/authentication-url", 200] }, () => exports.GetAuthenticationUrlRequest$, () => exports.GetAuthenticationUrlResponse$
471
+ { [_h]: ["POST", "/participant/authentication-url", 200] }, () => GetAuthenticationUrlRequest$, () => GetAuthenticationUrlResponse$
429
472
  ];
430
473
  exports.GetTranscript$ = [9, n0, _GT,
431
- { [_h]: ["POST", "/participant/transcript", 200] }, () => exports.GetTranscriptRequest$, () => exports.GetTranscriptResponse$
474
+ { [_h]: ["POST", "/participant/transcript", 200] }, () => GetTranscriptRequest$, () => GetTranscriptResponse$
432
475
  ];
433
476
  exports.SendEvent$ = [9, n0, _SE,
434
- { [_h]: ["POST", "/participant/event", 200] }, () => exports.SendEventRequest$, () => exports.SendEventResponse$
477
+ { [_h]: ["POST", "/participant/event", 200] }, () => SendEventRequest$, () => SendEventResponse$
435
478
  ];
436
479
  exports.SendMessage$ = [9, n0, _SM,
437
- { [_h]: ["POST", "/participant/message", 200] }, () => exports.SendMessageRequest$, () => exports.SendMessageResponse$
480
+ { [_h]: ["POST", "/participant/message", 200] }, () => SendMessageRequest$, () => SendMessageResponse$
438
481
  ];
439
482
  exports.StartAttachmentUpload$ = [9, n0, _SAU,
440
- { [_h]: ["POST", "/participant/start-attachment-upload", 200] }, () => exports.StartAttachmentUploadRequest$, () => exports.StartAttachmentUploadResponse$
483
+ { [_h]: ["POST", "/participant/start-attachment-upload", 200] }, () => StartAttachmentUploadRequest$, () => StartAttachmentUploadResponse$
441
484
  ];
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-connectparticipant",
3
3
  "description": "AWS SDK for JavaScript Connectparticipant Client for Node.js, Browser and React Native",
4
- "version": "3.1068.0",
4
+ "version": "3.1070.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
8
- "build:es": "tsc -p tsconfig.es.json",
8
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
- "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo connectparticipant",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service",
15
15
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
16
  },
17
17
  "main": "./dist-cjs/index.js",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.20",
25
- "@aws-sdk/credential-provider-node": "^3.972.55",
26
- "@aws-sdk/types": "^3.973.12",
24
+ "@aws-sdk/core": "^3.974.21",
25
+ "@aws-sdk/credential-provider-node": "^3.972.56",
26
+ "@aws-sdk/types": "^3.973.13",
27
27
  "@smithy/core": "^3.24.6",
28
28
  "@smithy/fetch-http-handler": "^5.4.6",
29
29
  "@smithy/node-http-handler": "^4.7.6",