@aws-sdk/client-iam 3.716.0 → 3.723.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.
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class IAMClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -9,87 +9,88 @@ export const StatusType = {
9
9
  Inactive: "Inactive",
10
10
  };
11
11
  export class AccountNotManagementOrDelegatedAdministratorException extends __BaseException {
12
+ name = "AccountNotManagementOrDelegatedAdministratorException";
13
+ $fault = "client";
14
+ Message;
12
15
  constructor(opts) {
13
16
  super({
14
17
  name: "AccountNotManagementOrDelegatedAdministratorException",
15
18
  $fault: "client",
16
19
  ...opts,
17
20
  });
18
- this.name = "AccountNotManagementOrDelegatedAdministratorException";
19
- this.$fault = "client";
20
21
  Object.setPrototypeOf(this, AccountNotManagementOrDelegatedAdministratorException.prototype);
21
22
  this.Message = opts.Message;
22
23
  }
23
24
  }
24
25
  export class InvalidInputException extends __BaseException {
26
+ name = "InvalidInputException";
27
+ $fault = "client";
25
28
  constructor(opts) {
26
29
  super({
27
30
  name: "InvalidInputException",
28
31
  $fault: "client",
29
32
  ...opts,
30
33
  });
31
- this.name = "InvalidInputException";
32
- this.$fault = "client";
33
34
  Object.setPrototypeOf(this, InvalidInputException.prototype);
34
35
  }
35
36
  }
36
37
  export class LimitExceededException extends __BaseException {
38
+ name = "LimitExceededException";
39
+ $fault = "client";
37
40
  constructor(opts) {
38
41
  super({
39
42
  name: "LimitExceededException",
40
43
  $fault: "client",
41
44
  ...opts,
42
45
  });
43
- this.name = "LimitExceededException";
44
- this.$fault = "client";
45
46
  Object.setPrototypeOf(this, LimitExceededException.prototype);
46
47
  }
47
48
  }
48
49
  export class NoSuchEntityException extends __BaseException {
50
+ name = "NoSuchEntityException";
51
+ $fault = "client";
49
52
  constructor(opts) {
50
53
  super({
51
54
  name: "NoSuchEntityException",
52
55
  $fault: "client",
53
56
  ...opts,
54
57
  });
55
- this.name = "NoSuchEntityException";
56
- this.$fault = "client";
57
58
  Object.setPrototypeOf(this, NoSuchEntityException.prototype);
58
59
  }
59
60
  }
60
61
  export class ServiceFailureException extends __BaseException {
62
+ name = "ServiceFailureException";
63
+ $fault = "server";
61
64
  constructor(opts) {
62
65
  super({
63
66
  name: "ServiceFailureException",
64
67
  $fault: "server",
65
68
  ...opts,
66
69
  });
67
- this.name = "ServiceFailureException";
68
- this.$fault = "server";
69
70
  Object.setPrototypeOf(this, ServiceFailureException.prototype);
70
71
  }
71
72
  }
72
73
  export class EntityAlreadyExistsException extends __BaseException {
74
+ name = "EntityAlreadyExistsException";
75
+ $fault = "client";
73
76
  constructor(opts) {
74
77
  super({
75
78
  name: "EntityAlreadyExistsException",
76
79
  $fault: "client",
77
80
  ...opts,
78
81
  });
79
- this.name = "EntityAlreadyExistsException";
80
- this.$fault = "client";
81
82
  Object.setPrototypeOf(this, EntityAlreadyExistsException.prototype);
82
83
  }
83
84
  }
84
85
  export class UnmodifiableEntityException extends __BaseException {
86
+ name = "UnmodifiableEntityException";
87
+ $fault = "client";
85
88
  constructor(opts) {
86
89
  super({
87
90
  name: "UnmodifiableEntityException",
88
91
  $fault: "client",
89
92
  ...opts,
90
93
  });
91
- this.name = "UnmodifiableEntityException";
92
- this.$fault = "client";
93
94
  Object.setPrototypeOf(this, UnmodifiableEntityException.prototype);
94
95
  }
95
96
  }
@@ -102,110 +103,110 @@ export const PermissionsBoundaryAttachmentType = {
102
103
  Policy: "PermissionsBoundaryPolicy",
103
104
  };
104
105
  export class PolicyNotAttachableException extends __BaseException {
106
+ name = "PolicyNotAttachableException";
107
+ $fault = "client";
105
108
  constructor(opts) {
106
109
  super({
107
110
  name: "PolicyNotAttachableException",
108
111
  $fault: "client",
109
112
  ...opts,
110
113
  });
111
- this.name = "PolicyNotAttachableException";
112
- this.$fault = "client";
113
114
  Object.setPrototypeOf(this, PolicyNotAttachableException.prototype);
114
115
  }
115
116
  }
116
117
  export class EntityTemporarilyUnmodifiableException extends __BaseException {
118
+ name = "EntityTemporarilyUnmodifiableException";
119
+ $fault = "client";
117
120
  constructor(opts) {
118
121
  super({
119
122
  name: "EntityTemporarilyUnmodifiableException",
120
123
  $fault: "client",
121
124
  ...opts,
122
125
  });
123
- this.name = "EntityTemporarilyUnmodifiableException";
124
- this.$fault = "client";
125
126
  Object.setPrototypeOf(this, EntityTemporarilyUnmodifiableException.prototype);
126
127
  }
127
128
  }
128
129
  export class InvalidUserTypeException extends __BaseException {
130
+ name = "InvalidUserTypeException";
131
+ $fault = "client";
129
132
  constructor(opts) {
130
133
  super({
131
134
  name: "InvalidUserTypeException",
132
135
  $fault: "client",
133
136
  ...opts,
134
137
  });
135
- this.name = "InvalidUserTypeException";
136
- this.$fault = "client";
137
138
  Object.setPrototypeOf(this, InvalidUserTypeException.prototype);
138
139
  }
139
140
  }
140
141
  export class PasswordPolicyViolationException extends __BaseException {
142
+ name = "PasswordPolicyViolationException";
143
+ $fault = "client";
141
144
  constructor(opts) {
142
145
  super({
143
146
  name: "PasswordPolicyViolationException",
144
147
  $fault: "client",
145
148
  ...opts,
146
149
  });
147
- this.name = "PasswordPolicyViolationException";
148
- this.$fault = "client";
149
150
  Object.setPrototypeOf(this, PasswordPolicyViolationException.prototype);
150
151
  }
151
152
  }
152
153
  export class ConcurrentModificationException extends __BaseException {
154
+ name = "ConcurrentModificationException";
155
+ $fault = "client";
153
156
  constructor(opts) {
154
157
  super({
155
158
  name: "ConcurrentModificationException",
156
159
  $fault: "client",
157
160
  ...opts,
158
161
  });
159
- this.name = "ConcurrentModificationException";
160
- this.$fault = "client";
161
162
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
162
163
  }
163
164
  }
164
165
  export class OpenIdIdpCommunicationErrorException extends __BaseException {
166
+ name = "OpenIdIdpCommunicationErrorException";
167
+ $fault = "client";
165
168
  constructor(opts) {
166
169
  super({
167
170
  name: "OpenIdIdpCommunicationErrorException",
168
171
  $fault: "client",
169
172
  ...opts,
170
173
  });
171
- this.name = "OpenIdIdpCommunicationErrorException";
172
- this.$fault = "client";
173
174
  Object.setPrototypeOf(this, OpenIdIdpCommunicationErrorException.prototype);
174
175
  }
175
176
  }
176
177
  export class MalformedPolicyDocumentException extends __BaseException {
178
+ name = "MalformedPolicyDocumentException";
179
+ $fault = "client";
177
180
  constructor(opts) {
178
181
  super({
179
182
  name: "MalformedPolicyDocumentException",
180
183
  $fault: "client",
181
184
  ...opts,
182
185
  });
183
- this.name = "MalformedPolicyDocumentException";
184
- this.$fault = "client";
185
186
  Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
186
187
  }
187
188
  }
188
189
  export class ServiceNotSupportedException extends __BaseException {
190
+ name = "ServiceNotSupportedException";
191
+ $fault = "client";
189
192
  constructor(opts) {
190
193
  super({
191
194
  name: "ServiceNotSupportedException",
192
195
  $fault: "client",
193
196
  ...opts,
194
197
  });
195
- this.name = "ServiceNotSupportedException";
196
- this.$fault = "client";
197
198
  Object.setPrototypeOf(this, ServiceNotSupportedException.prototype);
198
199
  }
199
200
  }
200
201
  export class DeleteConflictException extends __BaseException {
202
+ name = "DeleteConflictException";
203
+ $fault = "client";
201
204
  constructor(opts) {
202
205
  super({
203
206
  name: "DeleteConflictException",
204
207
  $fault: "client",
205
208
  ...opts,
206
209
  });
207
- this.name = "DeleteConflictException";
208
- this.$fault = "client";
209
210
  Object.setPrototypeOf(this, DeleteConflictException.prototype);
210
211
  }
211
212
  }
@@ -214,65 +215,69 @@ export const FeatureType = {
214
215
  ROOT_SESSIONS: "RootSessions",
215
216
  };
216
217
  export class OrganizationNotFoundException extends __BaseException {
218
+ name = "OrganizationNotFoundException";
219
+ $fault = "client";
220
+ Message;
217
221
  constructor(opts) {
218
222
  super({
219
223
  name: "OrganizationNotFoundException",
220
224
  $fault: "client",
221
225
  ...opts,
222
226
  });
223
- this.name = "OrganizationNotFoundException";
224
- this.$fault = "client";
225
227
  Object.setPrototypeOf(this, OrganizationNotFoundException.prototype);
226
228
  this.Message = opts.Message;
227
229
  }
228
230
  }
229
231
  export class OrganizationNotInAllFeaturesModeException extends __BaseException {
232
+ name = "OrganizationNotInAllFeaturesModeException";
233
+ $fault = "client";
234
+ Message;
230
235
  constructor(opts) {
231
236
  super({
232
237
  name: "OrganizationNotInAllFeaturesModeException",
233
238
  $fault: "client",
234
239
  ...opts,
235
240
  });
236
- this.name = "OrganizationNotInAllFeaturesModeException";
237
- this.$fault = "client";
238
241
  Object.setPrototypeOf(this, OrganizationNotInAllFeaturesModeException.prototype);
239
242
  this.Message = opts.Message;
240
243
  }
241
244
  }
242
245
  export class ServiceAccessNotEnabledException extends __BaseException {
246
+ name = "ServiceAccessNotEnabledException";
247
+ $fault = "client";
248
+ Message;
243
249
  constructor(opts) {
244
250
  super({
245
251
  name: "ServiceAccessNotEnabledException",
246
252
  $fault: "client",
247
253
  ...opts,
248
254
  });
249
- this.name = "ServiceAccessNotEnabledException";
250
- this.$fault = "client";
251
255
  Object.setPrototypeOf(this, ServiceAccessNotEnabledException.prototype);
252
256
  this.Message = opts.Message;
253
257
  }
254
258
  }
255
259
  export class InvalidAuthenticationCodeException extends __BaseException {
260
+ name = "InvalidAuthenticationCodeException";
261
+ $fault = "client";
256
262
  constructor(opts) {
257
263
  super({
258
264
  name: "InvalidAuthenticationCodeException",
259
265
  $fault: "client",
260
266
  ...opts,
261
267
  });
262
- this.name = "InvalidAuthenticationCodeException";
263
- this.$fault = "client";
264
268
  Object.setPrototypeOf(this, InvalidAuthenticationCodeException.prototype);
265
269
  }
266
270
  }
267
271
  export class CallerIsNotManagementAccountException extends __BaseException {
272
+ name = "CallerIsNotManagementAccountException";
273
+ $fault = "client";
274
+ Message;
268
275
  constructor(opts) {
269
276
  super({
270
277
  name: "CallerIsNotManagementAccountException",
271
278
  $fault: "client",
272
279
  ...opts,
273
280
  });
274
- this.name = "CallerIsNotManagementAccountException";
275
- this.$fault = "client";
276
281
  Object.setPrototypeOf(this, CallerIsNotManagementAccountException.prototype);
277
282
  this.Message = opts.Message;
278
283
  }
@@ -283,14 +288,14 @@ export const ReportStateType = {
283
288
  STARTED: "STARTED",
284
289
  };
285
290
  export class ReportGenerationLimitExceededException extends __BaseException {
291
+ name = "ReportGenerationLimitExceededException";
292
+ $fault = "client";
286
293
  constructor(opts) {
287
294
  super({
288
295
  name: "ReportGenerationLimitExceededException",
289
296
  $fault: "client",
290
297
  ...opts,
291
298
  });
292
- this.name = "ReportGenerationLimitExceededException";
293
- this.$fault = "client";
294
299
  Object.setPrototypeOf(this, ReportGenerationLimitExceededException.prototype);
295
300
  }
296
301
  }
@@ -331,38 +336,38 @@ export const SummaryKeyType = {
331
336
  VersionsPerPolicyQuota: "VersionsPerPolicyQuota",
332
337
  };
333
338
  export class CredentialReportExpiredException extends __BaseException {
339
+ name = "CredentialReportExpiredException";
340
+ $fault = "client";
334
341
  constructor(opts) {
335
342
  super({
336
343
  name: "CredentialReportExpiredException",
337
344
  $fault: "client",
338
345
  ...opts,
339
346
  });
340
- this.name = "CredentialReportExpiredException";
341
- this.$fault = "client";
342
347
  Object.setPrototypeOf(this, CredentialReportExpiredException.prototype);
343
348
  }
344
349
  }
345
350
  export class CredentialReportNotPresentException extends __BaseException {
351
+ name = "CredentialReportNotPresentException";
352
+ $fault = "client";
346
353
  constructor(opts) {
347
354
  super({
348
355
  name: "CredentialReportNotPresentException",
349
356
  $fault: "client",
350
357
  ...opts,
351
358
  });
352
- this.name = "CredentialReportNotPresentException";
353
- this.$fault = "client";
354
359
  Object.setPrototypeOf(this, CredentialReportNotPresentException.prototype);
355
360
  }
356
361
  }
357
362
  export class CredentialReportNotReadyException extends __BaseException {
363
+ name = "CredentialReportNotReadyException";
364
+ $fault = "client";
358
365
  constructor(opts) {
359
366
  super({
360
367
  name: "CredentialReportNotReadyException",
361
368
  $fault: "client",
362
369
  ...opts,
363
370
  });
364
- this.name = "CredentialReportNotReadyException";
365
- this.$fault = "client";
366
371
  Object.setPrototypeOf(this, CredentialReportNotReadyException.prototype);
367
372
  }
368
373
  }
@@ -396,14 +401,14 @@ export const EncodingType = {
396
401
  SSH: "SSH",
397
402
  };
398
403
  export class UnrecognizedPublicKeyEncodingException extends __BaseException {
404
+ name = "UnrecognizedPublicKeyEncodingException";
405
+ $fault = "client";
399
406
  constructor(opts) {
400
407
  super({
401
408
  name: "UnrecognizedPublicKeyEncodingException",
402
409
  $fault: "client",
403
410
  ...opts,
404
411
  });
405
- this.name = "UnrecognizedPublicKeyEncodingException";
406
- this.$fault = "client";
407
412
  Object.setPrototypeOf(this, UnrecognizedPublicKeyEncodingException.prototype);
408
413
  }
409
414
  }
@@ -425,14 +430,14 @@ export const GlobalEndpointTokenVersion = {
425
430
  v2Token: "v2Token",
426
431
  };
427
432
  export class PolicyEvaluationException extends __BaseException {
433
+ name = "PolicyEvaluationException";
434
+ $fault = "server";
428
435
  constructor(opts) {
429
436
  super({
430
437
  name: "PolicyEvaluationException",
431
438
  $fault: "server",
432
439
  ...opts,
433
440
  });
434
- this.name = "PolicyEvaluationException";
435
- this.$fault = "server";
436
441
  Object.setPrototypeOf(this, PolicyEvaluationException.prototype);
437
442
  }
438
443
  }
@@ -10,74 +10,74 @@ export const PolicySourceType = {
10
10
  USER_MANAGED: "user-managed",
11
11
  };
12
12
  export class KeyPairMismatchException extends __BaseException {
13
+ name = "KeyPairMismatchException";
14
+ $fault = "client";
13
15
  constructor(opts) {
14
16
  super({
15
17
  name: "KeyPairMismatchException",
16
18
  $fault: "client",
17
19
  ...opts,
18
20
  });
19
- this.name = "KeyPairMismatchException";
20
- this.$fault = "client";
21
21
  Object.setPrototypeOf(this, KeyPairMismatchException.prototype);
22
22
  }
23
23
  }
24
24
  export class MalformedCertificateException extends __BaseException {
25
+ name = "MalformedCertificateException";
26
+ $fault = "client";
25
27
  constructor(opts) {
26
28
  super({
27
29
  name: "MalformedCertificateException",
28
30
  $fault: "client",
29
31
  ...opts,
30
32
  });
31
- this.name = "MalformedCertificateException";
32
- this.$fault = "client";
33
33
  Object.setPrototypeOf(this, MalformedCertificateException.prototype);
34
34
  }
35
35
  }
36
36
  export class DuplicateCertificateException extends __BaseException {
37
+ name = "DuplicateCertificateException";
38
+ $fault = "client";
37
39
  constructor(opts) {
38
40
  super({
39
41
  name: "DuplicateCertificateException",
40
42
  $fault: "client",
41
43
  ...opts,
42
44
  });
43
- this.name = "DuplicateCertificateException";
44
- this.$fault = "client";
45
45
  Object.setPrototypeOf(this, DuplicateCertificateException.prototype);
46
46
  }
47
47
  }
48
48
  export class InvalidCertificateException extends __BaseException {
49
+ name = "InvalidCertificateException";
50
+ $fault = "client";
49
51
  constructor(opts) {
50
52
  super({
51
53
  name: "InvalidCertificateException",
52
54
  $fault: "client",
53
55
  ...opts,
54
56
  });
55
- this.name = "InvalidCertificateException";
56
- this.$fault = "client";
57
57
  Object.setPrototypeOf(this, InvalidCertificateException.prototype);
58
58
  }
59
59
  }
60
60
  export class DuplicateSSHPublicKeyException extends __BaseException {
61
+ name = "DuplicateSSHPublicKeyException";
62
+ $fault = "client";
61
63
  constructor(opts) {
62
64
  super({
63
65
  name: "DuplicateSSHPublicKeyException",
64
66
  $fault: "client",
65
67
  ...opts,
66
68
  });
67
- this.name = "DuplicateSSHPublicKeyException";
68
- this.$fault = "client";
69
69
  Object.setPrototypeOf(this, DuplicateSSHPublicKeyException.prototype);
70
70
  }
71
71
  }
72
72
  export class InvalidPublicKeyException extends __BaseException {
73
+ name = "InvalidPublicKeyException";
74
+ $fault = "client";
73
75
  constructor(opts) {
74
76
  super({
75
77
  name: "InvalidPublicKeyException",
76
78
  $fault: "client",
77
79
  ...opts,
78
80
  });
79
- this.name = "InvalidPublicKeyException";
80
- this.$fault = "client";
81
81
  Object.setPrototypeOf(this, InvalidPublicKeyException.prototype);
82
82
  }
83
83
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: IAMClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,