@aws-sdk/client-sfn 3.1087.0 → 3.1089.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/SFN.d.ts +119 -128
  3. package/dist-types/ts3.4/SFNClient.d.ts +16 -32
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
  6. package/dist-types/ts3.4/commandBuilder.d.ts +9 -19
  7. package/dist-types/ts3.4/commands/CreateActivityCommand.d.ts +3 -5
  8. package/dist-types/ts3.4/commands/CreateStateMachineAliasCommand.d.ts +5 -10
  9. package/dist-types/ts3.4/commands/CreateStateMachineCommand.d.ts +5 -10
  10. package/dist-types/ts3.4/commands/DeleteActivityCommand.d.ts +3 -5
  11. package/dist-types/ts3.4/commands/DeleteStateMachineAliasCommand.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/DeleteStateMachineCommand.d.ts +5 -10
  13. package/dist-types/ts3.4/commands/DeleteStateMachineVersionCommand.d.ts +4 -6
  14. package/dist-types/ts3.4/commands/DescribeActivityCommand.d.ts +4 -9
  15. package/dist-types/ts3.4/commands/DescribeExecutionCommand.d.ts +4 -9
  16. package/dist-types/ts3.4/commands/DescribeMapRunCommand.d.ts +3 -5
  17. package/dist-types/ts3.4/commands/DescribeStateMachineAliasCommand.d.ts +4 -6
  18. package/dist-types/ts3.4/commands/DescribeStateMachineCommand.d.ts +5 -10
  19. package/dist-types/ts3.4/commands/DescribeStateMachineForExecutionCommand.d.ts +4 -6
  20. package/dist-types/ts3.4/commands/GetActivityTaskCommand.d.ts +4 -9
  21. package/dist-types/ts3.4/commands/GetExecutionHistoryCommand.d.ts +5 -10
  22. package/dist-types/ts3.4/commands/ListActivitiesCommand.d.ts +2 -4
  23. package/dist-types/ts3.4/commands/ListExecutionsCommand.d.ts +2 -4
  24. package/dist-types/ts3.4/commands/ListMapRunsCommand.d.ts +3 -5
  25. package/dist-types/ts3.4/commands/ListStateMachineAliasesCommand.d.ts +5 -10
  26. package/dist-types/ts3.4/commands/ListStateMachineVersionsCommand.d.ts +5 -10
  27. package/dist-types/ts3.4/commands/ListStateMachinesCommand.d.ts +3 -8
  28. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  29. package/dist-types/ts3.4/commands/PublishStateMachineVersionCommand.d.ts +4 -6
  30. package/dist-types/ts3.4/commands/RedriveExecutionCommand.d.ts +4 -9
  31. package/dist-types/ts3.4/commands/SendTaskFailureCommand.d.ts +4 -9
  32. package/dist-types/ts3.4/commands/SendTaskHeartbeatCommand.d.ts +4 -9
  33. package/dist-types/ts3.4/commands/SendTaskSuccessCommand.d.ts +4 -9
  34. package/dist-types/ts3.4/commands/StartExecutionCommand.d.ts +3 -5
  35. package/dist-types/ts3.4/commands/StartSyncExecutionCommand.d.ts +5 -10
  36. package/dist-types/ts3.4/commands/StopExecutionCommand.d.ts +3 -5
  37. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  38. package/dist-types/ts3.4/commands/TestStateCommand.d.ts +7 -5
  39. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -5
  40. package/dist-types/ts3.4/commands/UpdateMapRunCommand.d.ts +3 -5
  41. package/dist-types/ts3.4/commands/UpdateStateMachineAliasCommand.d.ts +5 -10
  42. package/dist-types/ts3.4/commands/UpdateStateMachineCommand.d.ts +5 -10
  43. package/dist-types/ts3.4/commands/ValidateStateMachineDefinitionCommand.d.ts +4 -6
  44. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  45. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  46. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  47. package/dist-types/ts3.4/models/enums.d.ts +8 -16
  48. package/dist-types/ts3.4/models/errors.d.ts +23 -69
  49. package/dist-types/ts3.4/models/models_0.d.ts +7 -21
  50. package/dist-types/ts3.4/pagination/ListMapRunsPaginator.d.ts +1 -4
  51. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  52. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  53. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  54. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  55. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  56. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  57. package/package.json +38 -38
@@ -2,8 +2,7 @@ export declare const EncryptionType: {
2
2
  readonly AWS_OWNED_KEY: "AWS_OWNED_KEY";
3
3
  readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
4
4
  };
5
- export type EncryptionType =
6
- (typeof EncryptionType)[keyof typeof EncryptionType];
5
+ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
7
6
  export declare const LogLevel: {
8
7
  readonly ALL: "ALL";
9
8
  readonly ERROR: "ERROR";
@@ -15,8 +14,7 @@ export declare const StateMachineType: {
15
14
  readonly EXPRESS: "EXPRESS";
16
15
  readonly STANDARD: "STANDARD";
17
16
  };
18
- export type StateMachineType =
19
- (typeof StateMachineType)[keyof typeof StateMachineType];
17
+ export type StateMachineType = (typeof StateMachineType)[keyof typeof StateMachineType];
20
18
  export declare const ValidationExceptionReason: {
21
19
  readonly API_DOES_NOT_SUPPORT_LABELED_ARNS: "API_DOES_NOT_SUPPORT_LABELED_ARNS";
22
20
  readonly CANNOT_UPDATE_COMPLETED_MAP_RUN: "CANNOT_UPDATE_COMPLETED_MAP_RUN";
@@ -45,8 +43,7 @@ export declare const ExecutionStatus: {
45
43
  readonly SUCCEEDED: "SUCCEEDED";
46
44
  readonly TIMED_OUT: "TIMED_OUT";
47
45
  };
48
- export type ExecutionStatus =
49
- (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
46
+ export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
50
47
  export declare const KmsKeyState: {
51
48
  readonly CREATING: "CREATING";
52
49
  readonly DISABLED: "DISABLED";
@@ -66,8 +63,7 @@ export declare const StateMachineStatus: {
66
63
  readonly ACTIVE: "ACTIVE";
67
64
  readonly DELETING: "DELETING";
68
65
  };
69
- export type StateMachineStatus =
70
- (typeof StateMachineStatus)[keyof typeof StateMachineStatus];
66
+ export type StateMachineStatus = (typeof StateMachineStatus)[keyof typeof StateMachineStatus];
71
67
  export declare const HistoryEventType: {
72
68
  readonly ActivityFailed: "ActivityFailed";
73
69
  readonly ActivityScheduleFailed: "ActivityScheduleFailed";
@@ -132,8 +128,7 @@ export declare const HistoryEventType: {
132
128
  readonly WaitStateEntered: "WaitStateEntered";
133
129
  readonly WaitStateExited: "WaitStateExited";
134
130
  };
135
- export type HistoryEventType =
136
- (typeof HistoryEventType)[keyof typeof HistoryEventType];
131
+ export type HistoryEventType = (typeof HistoryEventType)[keyof typeof HistoryEventType];
137
132
  export declare const ExecutionRedriveFilter: {
138
133
  readonly NOT_REDRIVEN: "NOT_REDRIVEN";
139
134
  readonly REDRIVEN: "REDRIVEN";
@@ -145,15 +140,13 @@ export declare const SyncExecutionStatus: {
145
140
  readonly SUCCEEDED: "SUCCEEDED";
146
141
  readonly TIMED_OUT: "TIMED_OUT";
147
142
  };
148
- export type SyncExecutionStatus =
149
- (typeof SyncExecutionStatus)[keyof typeof SyncExecutionStatus];
143
+ export type SyncExecutionStatus = (typeof SyncExecutionStatus)[keyof typeof SyncExecutionStatus];
150
144
  export declare const InspectionLevel: {
151
145
  readonly DEBUG: "DEBUG";
152
146
  readonly INFO: "INFO";
153
147
  readonly TRACE: "TRACE";
154
148
  };
155
- export type InspectionLevel =
156
- (typeof InspectionLevel)[keyof typeof InspectionLevel];
149
+ export type InspectionLevel = (typeof InspectionLevel)[keyof typeof InspectionLevel];
157
150
  export declare const MockResponseValidationMode: {
158
151
  readonly NONE: "NONE";
159
152
  readonly PRESENT: "PRESENT";
@@ -167,8 +160,7 @@ export declare const TestExecutionStatus: {
167
160
  readonly RETRIABLE: "RETRIABLE";
168
161
  readonly SUCCEEDED: "SUCCEEDED";
169
162
  };
170
- export type TestExecutionStatus =
171
- (typeof TestExecutionStatus)[keyof typeof TestExecutionStatus];
163
+ export type TestExecutionStatus = (typeof TestExecutionStatus)[keyof typeof TestExecutionStatus];
172
164
  export declare const ValidateStateMachineDefinitionSeverity: {
173
165
  readonly ERROR: "ERROR";
174
166
  readonly WARNING: "WARNING";
@@ -4,37 +4,27 @@ import { SFNServiceException as __BaseException } from "./SFNServiceException";
4
4
  export declare class ActivityAlreadyExists extends __BaseException {
5
5
  readonly name: "ActivityAlreadyExists";
6
6
  readonly $fault: "client";
7
- constructor(
8
- opts: __ExceptionOptionType<ActivityAlreadyExists, __BaseException>
9
- );
7
+ constructor(opts: __ExceptionOptionType<ActivityAlreadyExists, __BaseException>);
10
8
  }
11
9
  export declare class ActivityDoesNotExist extends __BaseException {
12
10
  readonly name: "ActivityDoesNotExist";
13
11
  readonly $fault: "client";
14
- constructor(
15
- opts: __ExceptionOptionType<ActivityDoesNotExist, __BaseException>
16
- );
12
+ constructor(opts: __ExceptionOptionType<ActivityDoesNotExist, __BaseException>);
17
13
  }
18
14
  export declare class ActivityLimitExceeded extends __BaseException {
19
15
  readonly name: "ActivityLimitExceeded";
20
16
  readonly $fault: "client";
21
- constructor(
22
- opts: __ExceptionOptionType<ActivityLimitExceeded, __BaseException>
23
- );
17
+ constructor(opts: __ExceptionOptionType<ActivityLimitExceeded, __BaseException>);
24
18
  }
25
19
  export declare class ActivityWorkerLimitExceeded extends __BaseException {
26
20
  readonly name: "ActivityWorkerLimitExceeded";
27
21
  readonly $fault: "client";
28
- constructor(
29
- opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>
30
- );
22
+ constructor(opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>);
31
23
  }
32
24
  export declare class InvalidEncryptionConfiguration extends __BaseException {
33
25
  readonly name: "InvalidEncryptionConfiguration";
34
26
  readonly $fault: "client";
35
- constructor(
36
- opts: __ExceptionOptionType<InvalidEncryptionConfiguration, __BaseException>
37
- );
27
+ constructor(opts: __ExceptionOptionType<InvalidEncryptionConfiguration, __BaseException>);
38
28
  }
39
29
  export declare class InvalidName extends __BaseException {
40
30
  readonly name: "InvalidName";
@@ -44,16 +34,12 @@ export declare class InvalidName extends __BaseException {
44
34
  export declare class KmsAccessDeniedException extends __BaseException {
45
35
  readonly name: "KmsAccessDeniedException";
46
36
  readonly $fault: "client";
47
- constructor(
48
- opts: __ExceptionOptionType<KmsAccessDeniedException, __BaseException>
49
- );
37
+ constructor(opts: __ExceptionOptionType<KmsAccessDeniedException, __BaseException>);
50
38
  }
51
39
  export declare class KmsThrottlingException extends __BaseException {
52
40
  readonly name: "KmsThrottlingException";
53
41
  readonly $fault: "client";
54
- constructor(
55
- opts: __ExceptionOptionType<KmsThrottlingException, __BaseException>
56
- );
42
+ constructor(opts: __ExceptionOptionType<KmsThrottlingException, __BaseException>);
57
43
  }
58
44
  export declare class TooManyTags extends __BaseException {
59
45
  readonly name: "TooManyTags";
@@ -79,52 +65,38 @@ export declare class InvalidDefinition extends __BaseException {
79
65
  export declare class InvalidLoggingConfiguration extends __BaseException {
80
66
  readonly name: "InvalidLoggingConfiguration";
81
67
  readonly $fault: "client";
82
- constructor(
83
- opts: __ExceptionOptionType<InvalidLoggingConfiguration, __BaseException>
84
- );
68
+ constructor(opts: __ExceptionOptionType<InvalidLoggingConfiguration, __BaseException>);
85
69
  }
86
70
  export declare class InvalidTracingConfiguration extends __BaseException {
87
71
  readonly name: "InvalidTracingConfiguration";
88
72
  readonly $fault: "client";
89
- constructor(
90
- opts: __ExceptionOptionType<InvalidTracingConfiguration, __BaseException>
91
- );
73
+ constructor(opts: __ExceptionOptionType<InvalidTracingConfiguration, __BaseException>);
92
74
  }
93
75
  export declare class StateMachineAlreadyExists extends __BaseException {
94
76
  readonly name: "StateMachineAlreadyExists";
95
77
  readonly $fault: "client";
96
- constructor(
97
- opts: __ExceptionOptionType<StateMachineAlreadyExists, __BaseException>
98
- );
78
+ constructor(opts: __ExceptionOptionType<StateMachineAlreadyExists, __BaseException>);
99
79
  }
100
80
  export declare class StateMachineDeleting extends __BaseException {
101
81
  readonly name: "StateMachineDeleting";
102
82
  readonly $fault: "client";
103
- constructor(
104
- opts: __ExceptionOptionType<StateMachineDeleting, __BaseException>
105
- );
83
+ constructor(opts: __ExceptionOptionType<StateMachineDeleting, __BaseException>);
106
84
  }
107
85
  export declare class StateMachineLimitExceeded extends __BaseException {
108
86
  readonly name: "StateMachineLimitExceeded";
109
87
  readonly $fault: "client";
110
- constructor(
111
- opts: __ExceptionOptionType<StateMachineLimitExceeded, __BaseException>
112
- );
88
+ constructor(opts: __ExceptionOptionType<StateMachineLimitExceeded, __BaseException>);
113
89
  }
114
90
  export declare class StateMachineTypeNotSupported extends __BaseException {
115
91
  readonly name: "StateMachineTypeNotSupported";
116
92
  readonly $fault: "client";
117
- constructor(
118
- opts: __ExceptionOptionType<StateMachineTypeNotSupported, __BaseException>
119
- );
93
+ constructor(opts: __ExceptionOptionType<StateMachineTypeNotSupported, __BaseException>);
120
94
  }
121
95
  export declare class ValidationException extends __BaseException {
122
96
  readonly name: "ValidationException";
123
97
  readonly $fault: "client";
124
98
  reason?: ValidationExceptionReason | undefined;
125
- constructor(
126
- opts: __ExceptionOptionType<ValidationException, __BaseException>
127
- );
99
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
128
100
  }
129
101
  export declare class ResourceNotFound extends __BaseException {
130
102
  readonly name: "ResourceNotFound";
@@ -135,31 +107,23 @@ export declare class ResourceNotFound extends __BaseException {
135
107
  export declare class ServiceQuotaExceededException extends __BaseException {
136
108
  readonly name: "ServiceQuotaExceededException";
137
109
  readonly $fault: "client";
138
- constructor(
139
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
140
- );
110
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
141
111
  }
142
112
  export declare class ExecutionDoesNotExist extends __BaseException {
143
113
  readonly name: "ExecutionDoesNotExist";
144
114
  readonly $fault: "client";
145
- constructor(
146
- opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>
147
- );
115
+ constructor(opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>);
148
116
  }
149
117
  export declare class KmsInvalidStateException extends __BaseException {
150
118
  readonly name: "KmsInvalidStateException";
151
119
  readonly $fault: "client";
152
120
  kmsKeyState?: KmsKeyState | undefined;
153
- constructor(
154
- opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>
155
- );
121
+ constructor(opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>);
156
122
  }
157
123
  export declare class StateMachineDoesNotExist extends __BaseException {
158
124
  readonly name: "StateMachineDoesNotExist";
159
125
  readonly $fault: "client";
160
- constructor(
161
- opts: __ExceptionOptionType<StateMachineDoesNotExist, __BaseException>
162
- );
126
+ constructor(opts: __ExceptionOptionType<StateMachineDoesNotExist, __BaseException>);
163
127
  }
164
128
  export declare class InvalidToken extends __BaseException {
165
129
  readonly name: "InvalidToken";
@@ -169,16 +133,12 @@ export declare class InvalidToken extends __BaseException {
169
133
  export declare class ExecutionLimitExceeded extends __BaseException {
170
134
  readonly name: "ExecutionLimitExceeded";
171
135
  readonly $fault: "client";
172
- constructor(
173
- opts: __ExceptionOptionType<ExecutionLimitExceeded, __BaseException>
174
- );
136
+ constructor(opts: __ExceptionOptionType<ExecutionLimitExceeded, __BaseException>);
175
137
  }
176
138
  export declare class ExecutionNotRedrivable extends __BaseException {
177
139
  readonly name: "ExecutionNotRedrivable";
178
140
  readonly $fault: "client";
179
- constructor(
180
- opts: __ExceptionOptionType<ExecutionNotRedrivable, __BaseException>
181
- );
141
+ constructor(opts: __ExceptionOptionType<ExecutionNotRedrivable, __BaseException>);
182
142
  }
183
143
  export declare class TaskDoesNotExist extends __BaseException {
184
144
  readonly name: "TaskDoesNotExist";
@@ -198,21 +158,15 @@ export declare class InvalidOutput extends __BaseException {
198
158
  export declare class ExecutionAlreadyExists extends __BaseException {
199
159
  readonly name: "ExecutionAlreadyExists";
200
160
  readonly $fault: "client";
201
- constructor(
202
- opts: __ExceptionOptionType<ExecutionAlreadyExists, __BaseException>
203
- );
161
+ constructor(opts: __ExceptionOptionType<ExecutionAlreadyExists, __BaseException>);
204
162
  }
205
163
  export declare class InvalidExecutionInput extends __BaseException {
206
164
  readonly name: "InvalidExecutionInput";
207
165
  readonly $fault: "client";
208
- constructor(
209
- opts: __ExceptionOptionType<InvalidExecutionInput, __BaseException>
210
- );
166
+ constructor(opts: __ExceptionOptionType<InvalidExecutionInput, __BaseException>);
211
167
  }
212
168
  export declare class MissingRequiredParameter extends __BaseException {
213
169
  readonly name: "MissingRequiredParameter";
214
170
  readonly $fault: "client";
215
- constructor(
216
- opts: __ExceptionOptionType<MissingRequiredParameter, __BaseException>
217
- );
171
+ constructor(opts: __ExceptionOptionType<MissingRequiredParameter, __BaseException>);
218
172
  }
@@ -421,9 +421,7 @@ export interface HistoryEvent {
421
421
  id: number | undefined;
422
422
  previousEventId?: number | undefined;
423
423
  activityFailedEventDetails?: ActivityFailedEventDetails | undefined;
424
- activityScheduleFailedEventDetails?:
425
- | ActivityScheduleFailedEventDetails
426
- | undefined;
424
+ activityScheduleFailedEventDetails?: ActivityScheduleFailedEventDetails | undefined;
427
425
  activityScheduledEventDetails?: ActivityScheduledEventDetails | undefined;
428
426
  activityStartedEventDetails?: ActivityStartedEventDetails | undefined;
429
427
  activitySucceededEventDetails?: ActivitySucceededEventDetails | undefined;
@@ -447,24 +445,12 @@ export interface HistoryEvent {
447
445
  mapIterationSucceededEventDetails?: MapIterationEventDetails | undefined;
448
446
  mapIterationFailedEventDetails?: MapIterationEventDetails | undefined;
449
447
  mapIterationAbortedEventDetails?: MapIterationEventDetails | undefined;
450
- lambdaFunctionFailedEventDetails?:
451
- | LambdaFunctionFailedEventDetails
452
- | undefined;
453
- lambdaFunctionScheduleFailedEventDetails?:
454
- | LambdaFunctionScheduleFailedEventDetails
455
- | undefined;
456
- lambdaFunctionScheduledEventDetails?:
457
- | LambdaFunctionScheduledEventDetails
458
- | undefined;
459
- lambdaFunctionStartFailedEventDetails?:
460
- | LambdaFunctionStartFailedEventDetails
461
- | undefined;
462
- lambdaFunctionSucceededEventDetails?:
463
- | LambdaFunctionSucceededEventDetails
464
- | undefined;
465
- lambdaFunctionTimedOutEventDetails?:
466
- | LambdaFunctionTimedOutEventDetails
467
- | undefined;
448
+ lambdaFunctionFailedEventDetails?: LambdaFunctionFailedEventDetails | undefined;
449
+ lambdaFunctionScheduleFailedEventDetails?: LambdaFunctionScheduleFailedEventDetails | undefined;
450
+ lambdaFunctionScheduledEventDetails?: LambdaFunctionScheduledEventDetails | undefined;
451
+ lambdaFunctionStartFailedEventDetails?: LambdaFunctionStartFailedEventDetails | undefined;
452
+ lambdaFunctionSucceededEventDetails?: LambdaFunctionSucceededEventDetails | undefined;
453
+ lambdaFunctionTimedOutEventDetails?: LambdaFunctionTimedOutEventDetails | undefined;
468
454
  stateEnteredEventDetails?: StateEnteredEventDetails | undefined;
469
455
  stateExitedEventDetails?: StateExitedEventDetails | undefined;
470
456
  mapRunStartedEventDetails?: MapRunStartedEventDetails | undefined;
@@ -1,8 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import {
3
- ListMapRunsCommandInput,
4
- ListMapRunsCommandOutput,
5
- } from "../commands/ListMapRunsCommand";
2
+ import { ListMapRunsCommandInput, ListMapRunsCommandOutput } from "../commands/ListMapRunsCommand";
6
3
  import { SFNPaginationConfiguration } from "./Interfaces";
7
4
  export declare const paginateListMapRuns: (
8
5
  config: SFNPaginationConfiguration,
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: SFNClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SFNHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var SFNServiceException$: StaticErrorSchema;
8
4
  export declare var ActivityAlreadyExists$: StaticErrorSchema;
9
5
  export declare var ActivityDoesNotExist$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sfn",
3
+ "version": "3.1089.0",
3
4
  "description": "AWS SDK for JavaScript Sfn Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sfn",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-sfn"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,17 +45,13 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.2",
23
- "@aws-sdk/credential-provider-node": "^3.972.68",
24
- "@aws-sdk/types": "^3.974.1",
25
- "@smithy/core": "^3.29.3",
26
- "@smithy/fetch-http-handler": "^5.6.5",
27
- "@smithy/node-http-handler": "^4.9.5",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.70",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
28
55
  "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sfn",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-sfn"
68
68
  }
69
69
  }