@aws-sdk/client-identitystore 3.54.1 → 3.55.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-identitystore
9
+
10
+
11
+
12
+
13
+
6
14
  ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-identitystore
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class IdentitystoreClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class DescribeGroupCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "IdentitystoreClient";
@@ -27,10 +27,10 @@ class DescribeGroupCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeGroupCommand = DescribeGroupCommand;
@@ -11,7 +11,7 @@ class DescribeUserCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "IdentitystoreClient";
@@ -27,10 +27,10 @@ class DescribeUserCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeUserCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeUserCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeUserCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeUserCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeUserCommand = DescribeUserCommand;
@@ -11,7 +11,7 @@ class ListGroupsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "IdentitystoreClient";
@@ -27,10 +27,10 @@ class ListGroupsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListGroupsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListGroupsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListGroupsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListGroupsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListGroupsCommand = ListGroupsCommand;
@@ -11,7 +11,7 @@ class ListUsersCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "IdentitystoreClient";
@@ -27,10 +27,10 @@ class ListUsersCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1ListUsersCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListUsersCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListUsersCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListUsersCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListUsersCommand = ListUsersCommand;
@@ -139,7 +139,7 @@ const partitionHash = {
139
139
  ],
140
140
  },
141
141
  };
142
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
142
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
143
143
  ...options,
144
144
  signingService: "identitystore",
145
145
  regionHash,
@@ -90,7 +90,7 @@ const deserializeAws_json1_1DescribeGroupCommandError = async (output, context)
90
90
  $fault: "client",
91
91
  $metadata: deserializeMetadata(output),
92
92
  });
93
- throw smithy_client_1.decorateServiceException(response, parsedBody);
93
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
94
94
  }
95
95
  };
96
96
  const deserializeAws_json1_1DescribeUserCommand = async (output, context) => {
@@ -138,7 +138,7 @@ const deserializeAws_json1_1DescribeUserCommandError = async (output, context) =
138
138
  $fault: "client",
139
139
  $metadata: deserializeMetadata(output),
140
140
  });
141
- throw smithy_client_1.decorateServiceException(response, parsedBody);
141
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
142
142
  }
143
143
  };
144
144
  const deserializeAws_json1_1ListGroupsCommand = async (output, context) => {
@@ -186,7 +186,7 @@ const deserializeAws_json1_1ListGroupsCommandError = async (output, context) =>
186
186
  $fault: "client",
187
187
  $metadata: deserializeMetadata(output),
188
188
  });
189
- throw smithy_client_1.decorateServiceException(response, parsedBody);
189
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
190
190
  }
191
191
  };
192
192
  const deserializeAws_json1_1ListUsersCommand = async (output, context) => {
@@ -234,7 +234,7 @@ const deserializeAws_json1_1ListUsersCommandError = async (output, context) => {
234
234
  $fault: "client",
235
235
  $metadata: deserializeMetadata(output),
236
236
  });
237
- throw smithy_client_1.decorateServiceException(response, parsedBody);
237
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
238
238
  }
239
239
  };
240
240
  const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
@@ -244,7 +244,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
244
244
  $metadata: deserializeMetadata(parsedOutput),
245
245
  ...deserialized,
246
246
  });
247
- return smithy_client_1.decorateServiceException(exception, body);
247
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
248
248
  };
249
249
  const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutput, context) => {
250
250
  const body = parsedOutput.body;
@@ -253,7 +253,7 @@ const deserializeAws_json1_1InternalServerExceptionResponse = async (parsedOutpu
253
253
  $metadata: deserializeMetadata(parsedOutput),
254
254
  ...deserialized,
255
255
  });
256
- return smithy_client_1.decorateServiceException(exception, body);
256
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
257
257
  };
258
258
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
259
259
  const body = parsedOutput.body;
@@ -262,7 +262,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
262
262
  $metadata: deserializeMetadata(parsedOutput),
263
263
  ...deserialized,
264
264
  });
265
- return smithy_client_1.decorateServiceException(exception, body);
265
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
266
266
  };
267
267
  const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, context) => {
268
268
  const body = parsedOutput.body;
@@ -271,7 +271,7 @@ const deserializeAws_json1_1ThrottlingExceptionResponse = async (parsedOutput, c
271
271
  $metadata: deserializeMetadata(parsedOutput),
272
272
  ...deserialized,
273
273
  });
274
- return smithy_client_1.decorateServiceException(exception, body);
274
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
275
275
  };
276
276
  const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
277
277
  const body = parsedOutput.body;
@@ -280,7 +280,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
280
280
  $metadata: deserializeMetadata(parsedOutput),
281
281
  ...deserialized,
282
282
  });
283
- return smithy_client_1.decorateServiceException(exception, body);
283
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
284
284
  };
285
285
  const serializeAws_json1_1DescribeGroupRequest = (input, context) => {
286
286
  return {
@@ -335,26 +335,26 @@ const serializeAws_json1_1ListUsersRequest = (input, context) => {
335
335
  };
336
336
  const deserializeAws_json1_1AccessDeniedException = (output, context) => {
337
337
  return {
338
- Message: smithy_client_1.expectString(output.Message),
339
- RequestId: smithy_client_1.expectString(output.RequestId),
338
+ Message: (0, smithy_client_1.expectString)(output.Message),
339
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
340
340
  };
341
341
  };
342
342
  const deserializeAws_json1_1DescribeGroupResponse = (output, context) => {
343
343
  return {
344
- DisplayName: smithy_client_1.expectString(output.DisplayName),
345
- GroupId: smithy_client_1.expectString(output.GroupId),
344
+ DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
345
+ GroupId: (0, smithy_client_1.expectString)(output.GroupId),
346
346
  };
347
347
  };
348
348
  const deserializeAws_json1_1DescribeUserResponse = (output, context) => {
349
349
  return {
350
- UserId: smithy_client_1.expectString(output.UserId),
351
- UserName: smithy_client_1.expectString(output.UserName),
350
+ UserId: (0, smithy_client_1.expectString)(output.UserId),
351
+ UserName: (0, smithy_client_1.expectString)(output.UserName),
352
352
  };
353
353
  };
354
354
  const deserializeAws_json1_1Group = (output, context) => {
355
355
  return {
356
- DisplayName: smithy_client_1.expectString(output.DisplayName),
357
- GroupId: smithy_client_1.expectString(output.GroupId),
356
+ DisplayName: (0, smithy_client_1.expectString)(output.DisplayName),
357
+ GroupId: (0, smithy_client_1.expectString)(output.GroupId),
358
358
  };
359
359
  };
360
360
  const deserializeAws_json1_1Groups = (output, context) => {
@@ -370,8 +370,8 @@ const deserializeAws_json1_1Groups = (output, context) => {
370
370
  };
371
371
  const deserializeAws_json1_1InternalServerException = (output, context) => {
372
372
  return {
373
- Message: smithy_client_1.expectString(output.Message),
374
- RequestId: smithy_client_1.expectString(output.RequestId),
373
+ Message: (0, smithy_client_1.expectString)(output.Message),
374
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
375
375
  };
376
376
  };
377
377
  const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
@@ -379,12 +379,12 @@ const deserializeAws_json1_1ListGroupsResponse = (output, context) => {
379
379
  Groups: output.Groups !== undefined && output.Groups !== null
380
380
  ? deserializeAws_json1_1Groups(output.Groups, context)
381
381
  : undefined,
382
- NextToken: smithy_client_1.expectString(output.NextToken),
382
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
383
383
  };
384
384
  };
385
385
  const deserializeAws_json1_1ListUsersResponse = (output, context) => {
386
386
  return {
387
- NextToken: smithy_client_1.expectString(output.NextToken),
387
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
388
388
  Users: output.Users !== undefined && output.Users !== null
389
389
  ? deserializeAws_json1_1Users(output.Users, context)
390
390
  : undefined,
@@ -392,22 +392,22 @@ const deserializeAws_json1_1ListUsersResponse = (output, context) => {
392
392
  };
393
393
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
394
394
  return {
395
- Message: smithy_client_1.expectString(output.Message),
396
- RequestId: smithy_client_1.expectString(output.RequestId),
397
- ResourceId: smithy_client_1.expectString(output.ResourceId),
398
- ResourceType: smithy_client_1.expectString(output.ResourceType),
395
+ Message: (0, smithy_client_1.expectString)(output.Message),
396
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
397
+ ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
398
+ ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
399
399
  };
400
400
  };
401
401
  const deserializeAws_json1_1ThrottlingException = (output, context) => {
402
402
  return {
403
- Message: smithy_client_1.expectString(output.Message),
404
- RequestId: smithy_client_1.expectString(output.RequestId),
403
+ Message: (0, smithy_client_1.expectString)(output.Message),
404
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
405
405
  };
406
406
  };
407
407
  const deserializeAws_json1_1User = (output, context) => {
408
408
  return {
409
- UserId: smithy_client_1.expectString(output.UserId),
410
- UserName: smithy_client_1.expectString(output.UserName),
409
+ UserId: (0, smithy_client_1.expectString)(output.UserId),
410
+ UserName: (0, smithy_client_1.expectString)(output.UserName),
411
411
  };
412
412
  };
413
413
  const deserializeAws_json1_1Users = (output, context) => {
@@ -423,8 +423,8 @@ const deserializeAws_json1_1Users = (output, context) => {
423
423
  };
424
424
  const deserializeAws_json1_1ValidationException = (output, context) => {
425
425
  return {
426
- Message: smithy_client_1.expectString(output.Message),
427
- RequestId: smithy_client_1.expectString(output.RequestId),
426
+ Message: (0, smithy_client_1.expectString)(output.Message),
427
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
428
428
  };
429
429
  };
430
430
  const deserializeMetadata = (output) => {
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
17
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
18
18
  const getRuntimeConfig = (config) => {
19
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
- const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
20
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
21
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
23
23
  return {
24
24
  ...clientSharedValues,
25
25
  ...config,
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
29
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
30
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
31
31
  credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
34
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
34
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
35
35
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
36
  retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
19
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
20
20
  const getRuntimeConfig = (config) => {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
- const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
- const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  return {
26
26
  ...clientSharedValues,
27
27
  ...config,
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
30
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
33
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
34
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
33
+ credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
34
+ defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
37
  requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
39
39
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
40
  default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
41
  }),
42
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
43
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
44
- useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
- useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
44
+ useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
45
+ useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
46
46
  utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
47
47
  utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
48
48
  };
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a;
8
- const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
8
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
9
  return {
10
10
  ...browserDefaults,
11
11
  ...config,
@@ -16,7 +16,7 @@ var Identitystore = (function (_super) {
16
16
  }
17
17
  else if (typeof cb === "function") {
18
18
  if (typeof optionsOrCb !== "object")
19
- throw new Error("Expect http options but get " + typeof optionsOrCb);
19
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
20
20
  this.send(command, optionsOrCb || {}, cb);
21
21
  }
22
22
  else {
@@ -30,7 +30,7 @@ var Identitystore = (function (_super) {
30
30
  }
31
31
  else if (typeof cb === "function") {
32
32
  if (typeof optionsOrCb !== "object")
33
- throw new Error("Expect http options but get " + typeof optionsOrCb);
33
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
34
34
  this.send(command, optionsOrCb || {}, cb);
35
35
  }
36
36
  else {
@@ -44,7 +44,7 @@ var Identitystore = (function (_super) {
44
44
  }
45
45
  else if (typeof cb === "function") {
46
46
  if (typeof optionsOrCb !== "object")
47
- throw new Error("Expect http options but get " + typeof optionsOrCb);
47
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
48
48
  this.send(command, optionsOrCb || {}, cb);
49
49
  }
50
50
  else {
@@ -58,7 +58,7 @@ var Identitystore = (function (_super) {
58
58
  }
59
59
  else if (typeof cb === "function") {
60
60
  if (typeof optionsOrCb !== "object")
61
- throw new Error("Expect http options but get " + typeof optionsOrCb);
61
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
62
62
  this.send(command, optionsOrCb || {}, cb);
63
63
  }
64
64
  else {
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListGroupsCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListGroupsCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listGroups.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listGroups.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListGroups(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof Identitystore)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof IdentitystoreClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
10
10
  return __awaiter(void 0, void 0, void 0, function () {
11
11
  return __generator(this, function (_a) {
12
12
  switch (_a.label) {
13
- case 0: return [4, client.send.apply(client, __spreadArray([new ListUsersCommand(input)], __read(args)))];
13
+ case 0: return [4, client.send.apply(client, __spreadArray([new ListUsersCommand(input)], __read(args), false))];
14
14
  case 1: return [2, _a.sent()];
15
15
  }
16
16
  });
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
24
24
  return __awaiter(void 0, void 0, void 0, function () {
25
25
  return __generator(this, function (_a) {
26
26
  switch (_a.label) {
27
- case 0: return [4, client.listUsers.apply(client, __spreadArray([input], __read(args)))];
27
+ case 0: return [4, client.listUsers.apply(client, __spreadArray([input], __read(args), false))];
28
28
  case 1: return [2, _a.sent()];
29
29
  }
30
30
  });
@@ -48,13 +48,13 @@ export function paginateListUsers(config, input) {
48
48
  input.NextToken = token;
49
49
  input["MaxResults"] = config.pageSize;
50
50
  if (!(config.client instanceof Identitystore)) return [3, 3];
51
- return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
51
+ return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
52
52
  case 2:
53
53
  page = _a.sent();
54
54
  return [3, 6];
55
55
  case 3:
56
56
  if (!(config.client instanceof IdentitystoreClient)) return [3, 5];
57
- return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
57
+ return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
58
58
  case 4:
59
59
  page = _a.sent();
60
60
  return [3, 6];
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: IdentitystoreClientConfig) => {
21
21
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
22
22
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
23
23
  serviceId: string;
24
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
24
+ region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
30
30
  tls?: boolean | undefined;
31
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: IdentitystoreClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-identitystore",
3
3
  "description": "AWS SDK for JavaScript Identitystore Client for Node.js, Browser and React Native",
4
- "version": "3.54.1",
4
+ "version": "3.55.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,47 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.1",
22
- "@aws-sdk/config-resolver": "3.54.1",
23
- "@aws-sdk/credential-provider-node": "3.54.1",
24
- "@aws-sdk/fetch-http-handler": "3.54.1",
25
- "@aws-sdk/hash-node": "3.54.1",
26
- "@aws-sdk/invalid-dependency": "3.54.1",
27
- "@aws-sdk/middleware-content-length": "3.54.1",
28
- "@aws-sdk/middleware-host-header": "3.54.1",
29
- "@aws-sdk/middleware-logger": "3.54.1",
30
- "@aws-sdk/middleware-retry": "3.54.1",
31
- "@aws-sdk/middleware-serde": "3.54.1",
32
- "@aws-sdk/middleware-signing": "3.54.1",
33
- "@aws-sdk/middleware-stack": "3.54.1",
34
- "@aws-sdk/middleware-user-agent": "3.54.1",
35
- "@aws-sdk/node-config-provider": "3.54.1",
36
- "@aws-sdk/node-http-handler": "3.54.1",
37
- "@aws-sdk/protocol-http": "3.54.1",
38
- "@aws-sdk/smithy-client": "3.54.1",
39
- "@aws-sdk/types": "3.54.1",
40
- "@aws-sdk/url-parser": "3.54.1",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.1",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.1",
47
- "@aws-sdk/util-user-agent-browser": "3.54.1",
48
- "@aws-sdk/util-user-agent-node": "3.54.1",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.55.0",
22
+ "@aws-sdk/config-resolver": "3.55.0",
23
+ "@aws-sdk/credential-provider-node": "3.55.0",
24
+ "@aws-sdk/fetch-http-handler": "3.55.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.55.0",
28
+ "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.55.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.55.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.55.0",
35
+ "@aws-sdk/node-config-provider": "3.55.0",
36
+ "@aws-sdk/node-http-handler": "3.55.0",
37
+ "@aws-sdk/protocol-http": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.55.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.55.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
48
+ "@aws-sdk/util-user-agent-node": "3.55.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"