@aws-sdk/client-sfn 3.721.0 → 3.726.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 SFNClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,50 +1,50 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { SFNServiceException as __BaseException } from "./SFNServiceException";
3
3
  export class ActivityAlreadyExists extends __BaseException {
4
+ name = "ActivityAlreadyExists";
5
+ $fault = "client";
4
6
  constructor(opts) {
5
7
  super({
6
8
  name: "ActivityAlreadyExists",
7
9
  $fault: "client",
8
10
  ...opts,
9
11
  });
10
- this.name = "ActivityAlreadyExists";
11
- this.$fault = "client";
12
12
  Object.setPrototypeOf(this, ActivityAlreadyExists.prototype);
13
13
  }
14
14
  }
15
15
  export class ActivityDoesNotExist extends __BaseException {
16
+ name = "ActivityDoesNotExist";
17
+ $fault = "client";
16
18
  constructor(opts) {
17
19
  super({
18
20
  name: "ActivityDoesNotExist",
19
21
  $fault: "client",
20
22
  ...opts,
21
23
  });
22
- this.name = "ActivityDoesNotExist";
23
- this.$fault = "client";
24
24
  Object.setPrototypeOf(this, ActivityDoesNotExist.prototype);
25
25
  }
26
26
  }
27
27
  export class ActivityLimitExceeded extends __BaseException {
28
+ name = "ActivityLimitExceeded";
29
+ $fault = "client";
28
30
  constructor(opts) {
29
31
  super({
30
32
  name: "ActivityLimitExceeded",
31
33
  $fault: "client",
32
34
  ...opts,
33
35
  });
34
- this.name = "ActivityLimitExceeded";
35
- this.$fault = "client";
36
36
  Object.setPrototypeOf(this, ActivityLimitExceeded.prototype);
37
37
  }
38
38
  }
39
39
  export class ActivityWorkerLimitExceeded extends __BaseException {
40
+ name = "ActivityWorkerLimitExceeded";
41
+ $fault = "client";
40
42
  constructor(opts) {
41
43
  super({
42
44
  name: "ActivityWorkerLimitExceeded",
43
45
  $fault: "client",
44
46
  ...opts,
45
47
  });
46
- this.name = "ActivityWorkerLimitExceeded";
47
- this.$fault = "client";
48
48
  Object.setPrototypeOf(this, ActivityWorkerLimitExceeded.prototype);
49
49
  }
50
50
  }
@@ -53,75 +53,76 @@ export const EncryptionType = {
53
53
  CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
54
54
  };
55
55
  export class InvalidEncryptionConfiguration extends __BaseException {
56
+ name = "InvalidEncryptionConfiguration";
57
+ $fault = "client";
56
58
  constructor(opts) {
57
59
  super({
58
60
  name: "InvalidEncryptionConfiguration",
59
61
  $fault: "client",
60
62
  ...opts,
61
63
  });
62
- this.name = "InvalidEncryptionConfiguration";
63
- this.$fault = "client";
64
64
  Object.setPrototypeOf(this, InvalidEncryptionConfiguration.prototype);
65
65
  }
66
66
  }
67
67
  export class InvalidName extends __BaseException {
68
+ name = "InvalidName";
69
+ $fault = "client";
68
70
  constructor(opts) {
69
71
  super({
70
72
  name: "InvalidName",
71
73
  $fault: "client",
72
74
  ...opts,
73
75
  });
74
- this.name = "InvalidName";
75
- this.$fault = "client";
76
76
  Object.setPrototypeOf(this, InvalidName.prototype);
77
77
  }
78
78
  }
79
79
  export class KmsAccessDeniedException extends __BaseException {
80
+ name = "KmsAccessDeniedException";
81
+ $fault = "client";
80
82
  constructor(opts) {
81
83
  super({
82
84
  name: "KmsAccessDeniedException",
83
85
  $fault: "client",
84
86
  ...opts,
85
87
  });
86
- this.name = "KmsAccessDeniedException";
87
- this.$fault = "client";
88
88
  Object.setPrototypeOf(this, KmsAccessDeniedException.prototype);
89
89
  }
90
90
  }
91
91
  export class KmsThrottlingException extends __BaseException {
92
+ name = "KmsThrottlingException";
93
+ $fault = "client";
92
94
  constructor(opts) {
93
95
  super({
94
96
  name: "KmsThrottlingException",
95
97
  $fault: "client",
96
98
  ...opts,
97
99
  });
98
- this.name = "KmsThrottlingException";
99
- this.$fault = "client";
100
100
  Object.setPrototypeOf(this, KmsThrottlingException.prototype);
101
101
  }
102
102
  }
103
103
  export class TooManyTags extends __BaseException {
104
+ name = "TooManyTags";
105
+ $fault = "client";
106
+ resourceName;
104
107
  constructor(opts) {
105
108
  super({
106
109
  name: "TooManyTags",
107
110
  $fault: "client",
108
111
  ...opts,
109
112
  });
110
- this.name = "TooManyTags";
111
- this.$fault = "client";
112
113
  Object.setPrototypeOf(this, TooManyTags.prototype);
113
114
  this.resourceName = opts.resourceName;
114
115
  }
115
116
  }
116
117
  export class ConflictException extends __BaseException {
118
+ name = "ConflictException";
119
+ $fault = "client";
117
120
  constructor(opts) {
118
121
  super({
119
122
  name: "ConflictException",
120
123
  $fault: "client",
121
124
  ...opts,
122
125
  });
123
- this.name = "ConflictException";
124
- this.$fault = "client";
125
126
  Object.setPrototypeOf(this, ConflictException.prototype);
126
127
  }
127
128
  }
@@ -136,98 +137,98 @@ export const StateMachineType = {
136
137
  STANDARD: "STANDARD",
137
138
  };
138
139
  export class InvalidArn extends __BaseException {
140
+ name = "InvalidArn";
141
+ $fault = "client";
139
142
  constructor(opts) {
140
143
  super({
141
144
  name: "InvalidArn",
142
145
  $fault: "client",
143
146
  ...opts,
144
147
  });
145
- this.name = "InvalidArn";
146
- this.$fault = "client";
147
148
  Object.setPrototypeOf(this, InvalidArn.prototype);
148
149
  }
149
150
  }
150
151
  export class InvalidDefinition extends __BaseException {
152
+ name = "InvalidDefinition";
153
+ $fault = "client";
151
154
  constructor(opts) {
152
155
  super({
153
156
  name: "InvalidDefinition",
154
157
  $fault: "client",
155
158
  ...opts,
156
159
  });
157
- this.name = "InvalidDefinition";
158
- this.$fault = "client";
159
160
  Object.setPrototypeOf(this, InvalidDefinition.prototype);
160
161
  }
161
162
  }
162
163
  export class InvalidLoggingConfiguration extends __BaseException {
164
+ name = "InvalidLoggingConfiguration";
165
+ $fault = "client";
163
166
  constructor(opts) {
164
167
  super({
165
168
  name: "InvalidLoggingConfiguration",
166
169
  $fault: "client",
167
170
  ...opts,
168
171
  });
169
- this.name = "InvalidLoggingConfiguration";
170
- this.$fault = "client";
171
172
  Object.setPrototypeOf(this, InvalidLoggingConfiguration.prototype);
172
173
  }
173
174
  }
174
175
  export class InvalidTracingConfiguration extends __BaseException {
176
+ name = "InvalidTracingConfiguration";
177
+ $fault = "client";
175
178
  constructor(opts) {
176
179
  super({
177
180
  name: "InvalidTracingConfiguration",
178
181
  $fault: "client",
179
182
  ...opts,
180
183
  });
181
- this.name = "InvalidTracingConfiguration";
182
- this.$fault = "client";
183
184
  Object.setPrototypeOf(this, InvalidTracingConfiguration.prototype);
184
185
  }
185
186
  }
186
187
  export class StateMachineAlreadyExists extends __BaseException {
188
+ name = "StateMachineAlreadyExists";
189
+ $fault = "client";
187
190
  constructor(opts) {
188
191
  super({
189
192
  name: "StateMachineAlreadyExists",
190
193
  $fault: "client",
191
194
  ...opts,
192
195
  });
193
- this.name = "StateMachineAlreadyExists";
194
- this.$fault = "client";
195
196
  Object.setPrototypeOf(this, StateMachineAlreadyExists.prototype);
196
197
  }
197
198
  }
198
199
  export class StateMachineDeleting extends __BaseException {
200
+ name = "StateMachineDeleting";
201
+ $fault = "client";
199
202
  constructor(opts) {
200
203
  super({
201
204
  name: "StateMachineDeleting",
202
205
  $fault: "client",
203
206
  ...opts,
204
207
  });
205
- this.name = "StateMachineDeleting";
206
- this.$fault = "client";
207
208
  Object.setPrototypeOf(this, StateMachineDeleting.prototype);
208
209
  }
209
210
  }
210
211
  export class StateMachineLimitExceeded extends __BaseException {
212
+ name = "StateMachineLimitExceeded";
213
+ $fault = "client";
211
214
  constructor(opts) {
212
215
  super({
213
216
  name: "StateMachineLimitExceeded",
214
217
  $fault: "client",
215
218
  ...opts,
216
219
  });
217
- this.name = "StateMachineLimitExceeded";
218
- this.$fault = "client";
219
220
  Object.setPrototypeOf(this, StateMachineLimitExceeded.prototype);
220
221
  }
221
222
  }
222
223
  export class StateMachineTypeNotSupported extends __BaseException {
224
+ name = "StateMachineTypeNotSupported";
225
+ $fault = "client";
223
226
  constructor(opts) {
224
227
  super({
225
228
  name: "StateMachineTypeNotSupported",
226
229
  $fault: "client",
227
230
  ...opts,
228
231
  });
229
- this.name = "StateMachineTypeNotSupported";
230
- this.$fault = "client";
231
232
  Object.setPrototypeOf(this, StateMachineTypeNotSupported.prototype);
232
233
  }
233
234
  }
@@ -238,40 +239,42 @@ export const ValidationExceptionReason = {
238
239
  MISSING_REQUIRED_PARAMETER: "MISSING_REQUIRED_PARAMETER",
239
240
  };
240
241
  export class ValidationException extends __BaseException {
242
+ name = "ValidationException";
243
+ $fault = "client";
244
+ reason;
241
245
  constructor(opts) {
242
246
  super({
243
247
  name: "ValidationException",
244
248
  $fault: "client",
245
249
  ...opts,
246
250
  });
247
- this.name = "ValidationException";
248
- this.$fault = "client";
249
251
  Object.setPrototypeOf(this, ValidationException.prototype);
250
252
  this.reason = opts.reason;
251
253
  }
252
254
  }
253
255
  export class ResourceNotFound extends __BaseException {
256
+ name = "ResourceNotFound";
257
+ $fault = "client";
258
+ resourceName;
254
259
  constructor(opts) {
255
260
  super({
256
261
  name: "ResourceNotFound",
257
262
  $fault: "client",
258
263
  ...opts,
259
264
  });
260
- this.name = "ResourceNotFound";
261
- this.$fault = "client";
262
265
  Object.setPrototypeOf(this, ResourceNotFound.prototype);
263
266
  this.resourceName = opts.resourceName;
264
267
  }
265
268
  }
266
269
  export class ServiceQuotaExceededException extends __BaseException {
270
+ name = "ServiceQuotaExceededException";
271
+ $fault = "client";
267
272
  constructor(opts) {
268
273
  super({
269
274
  name: "ServiceQuotaExceededException",
270
275
  $fault: "client",
271
276
  ...opts,
272
277
  });
273
- this.name = "ServiceQuotaExceededException";
274
- this.$fault = "client";
275
278
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
276
279
  }
277
280
  }
@@ -293,14 +296,14 @@ export const ExecutionStatus = {
293
296
  TIMED_OUT: "TIMED_OUT",
294
297
  };
295
298
  export class ExecutionDoesNotExist extends __BaseException {
299
+ name = "ExecutionDoesNotExist";
300
+ $fault = "client";
296
301
  constructor(opts) {
297
302
  super({
298
303
  name: "ExecutionDoesNotExist",
299
304
  $fault: "client",
300
305
  ...opts,
301
306
  });
302
- this.name = "ExecutionDoesNotExist";
303
- this.$fault = "client";
304
307
  Object.setPrototypeOf(this, ExecutionDoesNotExist.prototype);
305
308
  }
306
309
  }
@@ -312,14 +315,15 @@ export const KmsKeyState = {
312
315
  UNAVAILABLE: "UNAVAILABLE",
313
316
  };
314
317
  export class KmsInvalidStateException extends __BaseException {
318
+ name = "KmsInvalidStateException";
319
+ $fault = "client";
320
+ kmsKeyState;
315
321
  constructor(opts) {
316
322
  super({
317
323
  name: "KmsInvalidStateException",
318
324
  $fault: "client",
319
325
  ...opts,
320
326
  });
321
- this.name = "KmsInvalidStateException";
322
- this.$fault = "client";
323
327
  Object.setPrototypeOf(this, KmsInvalidStateException.prototype);
324
328
  this.kmsKeyState = opts.kmsKeyState;
325
329
  }
@@ -335,14 +339,14 @@ export const StateMachineStatus = {
335
339
  DELETING: "DELETING",
336
340
  };
337
341
  export class StateMachineDoesNotExist extends __BaseException {
342
+ name = "StateMachineDoesNotExist";
343
+ $fault = "client";
338
344
  constructor(opts) {
339
345
  super({
340
346
  name: "StateMachineDoesNotExist",
341
347
  $fault: "client",
342
348
  ...opts,
343
349
  });
344
- this.name = "StateMachineDoesNotExist";
345
- this.$fault = "client";
346
350
  Object.setPrototypeOf(this, StateMachineDoesNotExist.prototype);
347
351
  }
348
352
  }
@@ -411,14 +415,14 @@ export const HistoryEventType = {
411
415
  WaitStateExited: "WaitStateExited",
412
416
  };
413
417
  export class InvalidToken extends __BaseException {
418
+ name = "InvalidToken";
419
+ $fault = "client";
414
420
  constructor(opts) {
415
421
  super({
416
422
  name: "InvalidToken",
417
423
  $fault: "client",
418
424
  ...opts,
419
425
  });
420
- this.name = "InvalidToken";
421
- this.$fault = "client";
422
426
  Object.setPrototypeOf(this, InvalidToken.prototype);
423
427
  }
424
428
  }
@@ -427,86 +431,86 @@ export const ExecutionRedriveFilter = {
427
431
  REDRIVEN: "REDRIVEN",
428
432
  };
429
433
  export class ExecutionLimitExceeded extends __BaseException {
434
+ name = "ExecutionLimitExceeded";
435
+ $fault = "client";
430
436
  constructor(opts) {
431
437
  super({
432
438
  name: "ExecutionLimitExceeded",
433
439
  $fault: "client",
434
440
  ...opts,
435
441
  });
436
- this.name = "ExecutionLimitExceeded";
437
- this.$fault = "client";
438
442
  Object.setPrototypeOf(this, ExecutionLimitExceeded.prototype);
439
443
  }
440
444
  }
441
445
  export class ExecutionNotRedrivable extends __BaseException {
446
+ name = "ExecutionNotRedrivable";
447
+ $fault = "client";
442
448
  constructor(opts) {
443
449
  super({
444
450
  name: "ExecutionNotRedrivable",
445
451
  $fault: "client",
446
452
  ...opts,
447
453
  });
448
- this.name = "ExecutionNotRedrivable";
449
- this.$fault = "client";
450
454
  Object.setPrototypeOf(this, ExecutionNotRedrivable.prototype);
451
455
  }
452
456
  }
453
457
  export class TaskDoesNotExist extends __BaseException {
458
+ name = "TaskDoesNotExist";
459
+ $fault = "client";
454
460
  constructor(opts) {
455
461
  super({
456
462
  name: "TaskDoesNotExist",
457
463
  $fault: "client",
458
464
  ...opts,
459
465
  });
460
- this.name = "TaskDoesNotExist";
461
- this.$fault = "client";
462
466
  Object.setPrototypeOf(this, TaskDoesNotExist.prototype);
463
467
  }
464
468
  }
465
469
  export class TaskTimedOut extends __BaseException {
470
+ name = "TaskTimedOut";
471
+ $fault = "client";
466
472
  constructor(opts) {
467
473
  super({
468
474
  name: "TaskTimedOut",
469
475
  $fault: "client",
470
476
  ...opts,
471
477
  });
472
- this.name = "TaskTimedOut";
473
- this.$fault = "client";
474
478
  Object.setPrototypeOf(this, TaskTimedOut.prototype);
475
479
  }
476
480
  }
477
481
  export class InvalidOutput extends __BaseException {
482
+ name = "InvalidOutput";
483
+ $fault = "client";
478
484
  constructor(opts) {
479
485
  super({
480
486
  name: "InvalidOutput",
481
487
  $fault: "client",
482
488
  ...opts,
483
489
  });
484
- this.name = "InvalidOutput";
485
- this.$fault = "client";
486
490
  Object.setPrototypeOf(this, InvalidOutput.prototype);
487
491
  }
488
492
  }
489
493
  export class ExecutionAlreadyExists extends __BaseException {
494
+ name = "ExecutionAlreadyExists";
495
+ $fault = "client";
490
496
  constructor(opts) {
491
497
  super({
492
498
  name: "ExecutionAlreadyExists",
493
499
  $fault: "client",
494
500
  ...opts,
495
501
  });
496
- this.name = "ExecutionAlreadyExists";
497
- this.$fault = "client";
498
502
  Object.setPrototypeOf(this, ExecutionAlreadyExists.prototype);
499
503
  }
500
504
  }
501
505
  export class InvalidExecutionInput extends __BaseException {
506
+ name = "InvalidExecutionInput";
507
+ $fault = "client";
502
508
  constructor(opts) {
503
509
  super({
504
510
  name: "InvalidExecutionInput",
505
511
  $fault: "client",
506
512
  ...opts,
507
513
  });
508
- this.name = "InvalidExecutionInput";
509
- this.$fault = "client";
510
514
  Object.setPrototypeOf(this, InvalidExecutionInput.prototype);
511
515
  }
512
516
  }
@@ -527,14 +531,14 @@ export const TestExecutionStatus = {
527
531
  SUCCEEDED: "SUCCEEDED",
528
532
  };
529
533
  export class MissingRequiredParameter extends __BaseException {
534
+ name = "MissingRequiredParameter";
535
+ $fault = "client";
530
536
  constructor(opts) {
531
537
  super({
532
538
  name: "MissingRequiredParameter",
533
539
  $fault: "client",
534
540
  ...opts,
535
541
  });
536
- this.name = "MissingRequiredParameter";
537
- this.$fault = "client";
538
542
  Object.setPrototypeOf(this, MissingRequiredParameter.prototype);
539
543
  }
540
544
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
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: SFNClientConfig) => {
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: SFNClientConfig) => {
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: SFNClientConfig) => {
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: SFNClientConfig) => {
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: SFNClientConfig) => {
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: SFNClientConfig) => {
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: SFNClientConfig) => {
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,