@aws-sdk/client-sfn 3.218.0 → 3.222.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/dist-cjs/SFN.js +45 -0
- package/dist-cjs/commands/DescribeMapRunCommand.js +46 -0
- package/dist-cjs/commands/ListMapRunsCommand.js +46 -0
- package/dist-cjs/commands/UpdateMapRunCommand.js +46 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +99 -17
- package/dist-cjs/pagination/ListMapRunsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +299 -1
- package/dist-es/SFN.js +45 -0
- package/dist-es/commands/DescribeMapRunCommand.js +42 -0
- package/dist-es/commands/ListMapRunsCommand.js +42 -0
- package/dist-es/commands/UpdateMapRunCommand.js +42 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +83 -13
- package/dist-es/pagination/ListMapRunsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +293 -2
- package/dist-types/SFN.d.ts +44 -6
- package/dist-types/SFNClient.d.ts +5 -2
- package/dist-types/commands/DeleteStateMachineCommand.d.ts +5 -0
- package/dist-types/commands/DescribeExecutionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeMapRunCommand.d.ts +37 -0
- package/dist-types/commands/DescribeStateMachineCommand.d.ts +4 -1
- package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListExecutionsCommand.d.ts +2 -1
- package/dist-types/commands/ListMapRunsCommand.d.ts +37 -0
- package/dist-types/commands/StartExecutionCommand.d.ts +4 -1
- package/dist-types/commands/UpdateMapRunCommand.d.ts +37 -0
- package/dist-types/commands/UpdateStateMachineCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +357 -20
- package/dist-types/pagination/ListMapRunsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/SFN.d.ts +51 -0
- package/dist-types/ts3.4/SFNClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DescribeMapRunCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListMapRunsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateMapRunCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +139 -7
- package/dist-types/ts3.4/pagination/ListMapRunsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +36 -0
- package/package.json +29 -28
|
@@ -23,6 +23,10 @@ import {
|
|
|
23
23
|
DescribeExecutionCommandInput,
|
|
24
24
|
DescribeExecutionCommandOutput,
|
|
25
25
|
} from "./commands/DescribeExecutionCommand";
|
|
26
|
+
import {
|
|
27
|
+
DescribeMapRunCommandInput,
|
|
28
|
+
DescribeMapRunCommandOutput,
|
|
29
|
+
} from "./commands/DescribeMapRunCommand";
|
|
26
30
|
import {
|
|
27
31
|
DescribeStateMachineCommandInput,
|
|
28
32
|
DescribeStateMachineCommandOutput,
|
|
@@ -47,6 +51,10 @@ import {
|
|
|
47
51
|
ListExecutionsCommandInput,
|
|
48
52
|
ListExecutionsCommandOutput,
|
|
49
53
|
} from "./commands/ListExecutionsCommand";
|
|
54
|
+
import {
|
|
55
|
+
ListMapRunsCommandInput,
|
|
56
|
+
ListMapRunsCommandOutput,
|
|
57
|
+
} from "./commands/ListMapRunsCommand";
|
|
50
58
|
import {
|
|
51
59
|
ListStateMachinesCommandInput,
|
|
52
60
|
ListStateMachinesCommandOutput,
|
|
@@ -87,6 +95,10 @@ import {
|
|
|
87
95
|
UntagResourceCommandInput,
|
|
88
96
|
UntagResourceCommandOutput,
|
|
89
97
|
} from "./commands/UntagResourceCommand";
|
|
98
|
+
import {
|
|
99
|
+
UpdateMapRunCommandInput,
|
|
100
|
+
UpdateMapRunCommandOutput,
|
|
101
|
+
} from "./commands/UpdateMapRunCommand";
|
|
90
102
|
import {
|
|
91
103
|
UpdateStateMachineCommandInput,
|
|
92
104
|
UpdateStateMachineCommandOutput,
|
|
@@ -171,6 +183,19 @@ export declare class SFN extends SFNClient {
|
|
|
171
183
|
options: __HttpHandlerOptions,
|
|
172
184
|
cb: (err: any, data?: DescribeExecutionCommandOutput) => void
|
|
173
185
|
): void;
|
|
186
|
+
describeMapRun(
|
|
187
|
+
args: DescribeMapRunCommandInput,
|
|
188
|
+
options?: __HttpHandlerOptions
|
|
189
|
+
): Promise<DescribeMapRunCommandOutput>;
|
|
190
|
+
describeMapRun(
|
|
191
|
+
args: DescribeMapRunCommandInput,
|
|
192
|
+
cb: (err: any, data?: DescribeMapRunCommandOutput) => void
|
|
193
|
+
): void;
|
|
194
|
+
describeMapRun(
|
|
195
|
+
args: DescribeMapRunCommandInput,
|
|
196
|
+
options: __HttpHandlerOptions,
|
|
197
|
+
cb: (err: any, data?: DescribeMapRunCommandOutput) => void
|
|
198
|
+
): void;
|
|
174
199
|
describeStateMachine(
|
|
175
200
|
args: DescribeStateMachineCommandInput,
|
|
176
201
|
options?: __HttpHandlerOptions
|
|
@@ -249,6 +274,19 @@ export declare class SFN extends SFNClient {
|
|
|
249
274
|
options: __HttpHandlerOptions,
|
|
250
275
|
cb: (err: any, data?: ListExecutionsCommandOutput) => void
|
|
251
276
|
): void;
|
|
277
|
+
listMapRuns(
|
|
278
|
+
args: ListMapRunsCommandInput,
|
|
279
|
+
options?: __HttpHandlerOptions
|
|
280
|
+
): Promise<ListMapRunsCommandOutput>;
|
|
281
|
+
listMapRuns(
|
|
282
|
+
args: ListMapRunsCommandInput,
|
|
283
|
+
cb: (err: any, data?: ListMapRunsCommandOutput) => void
|
|
284
|
+
): void;
|
|
285
|
+
listMapRuns(
|
|
286
|
+
args: ListMapRunsCommandInput,
|
|
287
|
+
options: __HttpHandlerOptions,
|
|
288
|
+
cb: (err: any, data?: ListMapRunsCommandOutput) => void
|
|
289
|
+
): void;
|
|
252
290
|
listStateMachines(
|
|
253
291
|
args: ListStateMachinesCommandInput,
|
|
254
292
|
options?: __HttpHandlerOptions
|
|
@@ -379,6 +417,19 @@ export declare class SFN extends SFNClient {
|
|
|
379
417
|
options: __HttpHandlerOptions,
|
|
380
418
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
381
419
|
): void;
|
|
420
|
+
updateMapRun(
|
|
421
|
+
args: UpdateMapRunCommandInput,
|
|
422
|
+
options?: __HttpHandlerOptions
|
|
423
|
+
): Promise<UpdateMapRunCommandOutput>;
|
|
424
|
+
updateMapRun(
|
|
425
|
+
args: UpdateMapRunCommandInput,
|
|
426
|
+
cb: (err: any, data?: UpdateMapRunCommandOutput) => void
|
|
427
|
+
): void;
|
|
428
|
+
updateMapRun(
|
|
429
|
+
args: UpdateMapRunCommandInput,
|
|
430
|
+
options: __HttpHandlerOptions,
|
|
431
|
+
cb: (err: any, data?: UpdateMapRunCommandOutput) => void
|
|
432
|
+
): void;
|
|
382
433
|
updateStateMachine(
|
|
383
434
|
args: UpdateStateMachineCommandInput,
|
|
384
435
|
options?: __HttpHandlerOptions
|
|
@@ -67,6 +67,10 @@ import {
|
|
|
67
67
|
DescribeExecutionCommandInput,
|
|
68
68
|
DescribeExecutionCommandOutput,
|
|
69
69
|
} from "./commands/DescribeExecutionCommand";
|
|
70
|
+
import {
|
|
71
|
+
DescribeMapRunCommandInput,
|
|
72
|
+
DescribeMapRunCommandOutput,
|
|
73
|
+
} from "./commands/DescribeMapRunCommand";
|
|
70
74
|
import {
|
|
71
75
|
DescribeStateMachineCommandInput,
|
|
72
76
|
DescribeStateMachineCommandOutput,
|
|
@@ -91,6 +95,10 @@ import {
|
|
|
91
95
|
ListExecutionsCommandInput,
|
|
92
96
|
ListExecutionsCommandOutput,
|
|
93
97
|
} from "./commands/ListExecutionsCommand";
|
|
98
|
+
import {
|
|
99
|
+
ListMapRunsCommandInput,
|
|
100
|
+
ListMapRunsCommandOutput,
|
|
101
|
+
} from "./commands/ListMapRunsCommand";
|
|
94
102
|
import {
|
|
95
103
|
ListStateMachinesCommandInput,
|
|
96
104
|
ListStateMachinesCommandOutput,
|
|
@@ -131,6 +139,10 @@ import {
|
|
|
131
139
|
UntagResourceCommandInput,
|
|
132
140
|
UntagResourceCommandOutput,
|
|
133
141
|
} from "./commands/UntagResourceCommand";
|
|
142
|
+
import {
|
|
143
|
+
UpdateMapRunCommandInput,
|
|
144
|
+
UpdateMapRunCommandOutput,
|
|
145
|
+
} from "./commands/UpdateMapRunCommand";
|
|
134
146
|
import {
|
|
135
147
|
UpdateStateMachineCommandInput,
|
|
136
148
|
UpdateStateMachineCommandOutput,
|
|
@@ -147,12 +159,14 @@ export declare type ServiceInputTypes =
|
|
|
147
159
|
| DeleteStateMachineCommandInput
|
|
148
160
|
| DescribeActivityCommandInput
|
|
149
161
|
| DescribeExecutionCommandInput
|
|
162
|
+
| DescribeMapRunCommandInput
|
|
150
163
|
| DescribeStateMachineCommandInput
|
|
151
164
|
| DescribeStateMachineForExecutionCommandInput
|
|
152
165
|
| GetActivityTaskCommandInput
|
|
153
166
|
| GetExecutionHistoryCommandInput
|
|
154
167
|
| ListActivitiesCommandInput
|
|
155
168
|
| ListExecutionsCommandInput
|
|
169
|
+
| ListMapRunsCommandInput
|
|
156
170
|
| ListStateMachinesCommandInput
|
|
157
171
|
| ListTagsForResourceCommandInput
|
|
158
172
|
| SendTaskFailureCommandInput
|
|
@@ -163,6 +177,7 @@ export declare type ServiceInputTypes =
|
|
|
163
177
|
| StopExecutionCommandInput
|
|
164
178
|
| TagResourceCommandInput
|
|
165
179
|
| UntagResourceCommandInput
|
|
180
|
+
| UpdateMapRunCommandInput
|
|
166
181
|
| UpdateStateMachineCommandInput;
|
|
167
182
|
export declare type ServiceOutputTypes =
|
|
168
183
|
| CreateActivityCommandOutput
|
|
@@ -171,12 +186,14 @@ export declare type ServiceOutputTypes =
|
|
|
171
186
|
| DeleteStateMachineCommandOutput
|
|
172
187
|
| DescribeActivityCommandOutput
|
|
173
188
|
| DescribeExecutionCommandOutput
|
|
189
|
+
| DescribeMapRunCommandOutput
|
|
174
190
|
| DescribeStateMachineCommandOutput
|
|
175
191
|
| DescribeStateMachineForExecutionCommandOutput
|
|
176
192
|
| GetActivityTaskCommandOutput
|
|
177
193
|
| GetExecutionHistoryCommandOutput
|
|
178
194
|
| ListActivitiesCommandOutput
|
|
179
195
|
| ListExecutionsCommandOutput
|
|
196
|
+
| ListMapRunsCommandOutput
|
|
180
197
|
| ListStateMachinesCommandOutput
|
|
181
198
|
| ListTagsForResourceCommandOutput
|
|
182
199
|
| SendTaskFailureCommandOutput
|
|
@@ -187,6 +204,7 @@ export declare type ServiceOutputTypes =
|
|
|
187
204
|
| StopExecutionCommandOutput
|
|
188
205
|
| TagResourceCommandOutput
|
|
189
206
|
| UntagResourceCommandOutput
|
|
207
|
+
| UpdateMapRunCommandOutput
|
|
190
208
|
| UpdateStateMachineCommandOutput;
|
|
191
209
|
export interface ClientDefaults
|
|
192
210
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import { DescribeMapRunInput, DescribeMapRunOutput } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
SFNClientResolvedConfig,
|
|
14
|
+
} from "../SFNClient";
|
|
15
|
+
export interface DescribeMapRunCommandInput extends DescribeMapRunInput {}
|
|
16
|
+
export interface DescribeMapRunCommandOutput
|
|
17
|
+
extends DescribeMapRunOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
export declare class DescribeMapRunCommand extends $Command<
|
|
20
|
+
DescribeMapRunCommandInput,
|
|
21
|
+
DescribeMapRunCommandOutput,
|
|
22
|
+
SFNClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: DescribeMapRunCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: DescribeMapRunCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: SFNClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<DescribeMapRunCommandInput, DescribeMapRunCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import { ListMapRunsInput, ListMapRunsOutput } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
SFNClientResolvedConfig,
|
|
14
|
+
} from "../SFNClient";
|
|
15
|
+
export interface ListMapRunsCommandInput extends ListMapRunsInput {}
|
|
16
|
+
export interface ListMapRunsCommandOutput
|
|
17
|
+
extends ListMapRunsOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
export declare class ListMapRunsCommand extends $Command<
|
|
20
|
+
ListMapRunsCommandInput,
|
|
21
|
+
ListMapRunsCommandOutput,
|
|
22
|
+
SFNClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: ListMapRunsCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: ListMapRunsCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: SFNClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<ListMapRunsCommandInput, ListMapRunsCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import { UpdateMapRunInput, UpdateMapRunOutput } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
SFNClientResolvedConfig,
|
|
14
|
+
} from "../SFNClient";
|
|
15
|
+
export interface UpdateMapRunCommandInput extends UpdateMapRunInput {}
|
|
16
|
+
export interface UpdateMapRunCommandOutput
|
|
17
|
+
extends UpdateMapRunOutput,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
export declare class UpdateMapRunCommand extends $Command<
|
|
20
|
+
UpdateMapRunCommandInput,
|
|
21
|
+
UpdateMapRunCommandOutput,
|
|
22
|
+
SFNClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: UpdateMapRunCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: UpdateMapRunCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: SFNClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<UpdateMapRunCommandInput, UpdateMapRunCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -4,12 +4,14 @@ export * from "./DeleteActivityCommand";
|
|
|
4
4
|
export * from "./DeleteStateMachineCommand";
|
|
5
5
|
export * from "./DescribeActivityCommand";
|
|
6
6
|
export * from "./DescribeExecutionCommand";
|
|
7
|
+
export * from "./DescribeMapRunCommand";
|
|
7
8
|
export * from "./DescribeStateMachineCommand";
|
|
8
9
|
export * from "./DescribeStateMachineForExecutionCommand";
|
|
9
10
|
export * from "./GetActivityTaskCommand";
|
|
10
11
|
export * from "./GetExecutionHistoryCommand";
|
|
11
12
|
export * from "./ListActivitiesCommand";
|
|
12
13
|
export * from "./ListExecutionsCommand";
|
|
14
|
+
export * from "./ListMapRunsCommand";
|
|
13
15
|
export * from "./ListStateMachinesCommand";
|
|
14
16
|
export * from "./ListTagsForResourceCommand";
|
|
15
17
|
export * from "./SendTaskFailureCommand";
|
|
@@ -20,4 +22,5 @@ export * from "./StartSyncExecutionCommand";
|
|
|
20
22
|
export * from "./StopExecutionCommand";
|
|
21
23
|
export * from "./TagResourceCommand";
|
|
22
24
|
export * from "./UntagResourceCommand";
|
|
25
|
+
export * from "./UpdateMapRunCommand";
|
|
23
26
|
export * from "./UpdateStateMachineCommand";
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -175,6 +175,19 @@ export interface DeleteStateMachineInput {
|
|
|
175
175
|
stateMachineArn: string | undefined;
|
|
176
176
|
}
|
|
177
177
|
export interface DeleteStateMachineOutput {}
|
|
178
|
+
export declare enum ValidationExceptionReason {
|
|
179
|
+
API_DOES_NOT_SUPPORT_LABELED_ARNS = "API_DOES_NOT_SUPPORT_LABELED_ARNS",
|
|
180
|
+
CANNOT_UPDATE_COMPLETED_MAP_RUN = "CANNOT_UPDATE_COMPLETED_MAP_RUN",
|
|
181
|
+
MISSING_REQUIRED_PARAMETER = "MISSING_REQUIRED_PARAMETER",
|
|
182
|
+
}
|
|
183
|
+
export declare class ValidationException extends __BaseException {
|
|
184
|
+
readonly name: "ValidationException";
|
|
185
|
+
readonly $fault: "client";
|
|
186
|
+
reason?: ValidationExceptionReason | string;
|
|
187
|
+
constructor(
|
|
188
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
189
|
+
);
|
|
190
|
+
}
|
|
178
191
|
export interface DescribeActivityInput {
|
|
179
192
|
activityArn: string | undefined;
|
|
180
193
|
}
|
|
@@ -208,6 +221,9 @@ export interface DescribeExecutionOutput {
|
|
|
208
221
|
output?: string;
|
|
209
222
|
outputDetails?: CloudWatchEventsExecutionDataDetails;
|
|
210
223
|
traceHeader?: string;
|
|
224
|
+
mapRunArn?: string;
|
|
225
|
+
error?: string;
|
|
226
|
+
cause?: string;
|
|
211
227
|
}
|
|
212
228
|
export declare class ExecutionDoesNotExist extends __BaseException {
|
|
213
229
|
readonly name: "ExecutionDoesNotExist";
|
|
@@ -216,6 +232,53 @@ export declare class ExecutionDoesNotExist extends __BaseException {
|
|
|
216
232
|
opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>
|
|
217
233
|
);
|
|
218
234
|
}
|
|
235
|
+
export interface DescribeMapRunInput {
|
|
236
|
+
mapRunArn: string | undefined;
|
|
237
|
+
}
|
|
238
|
+
export interface MapRunExecutionCounts {
|
|
239
|
+
pending: number | undefined;
|
|
240
|
+
running: number | undefined;
|
|
241
|
+
succeeded: number | undefined;
|
|
242
|
+
failed: number | undefined;
|
|
243
|
+
timedOut: number | undefined;
|
|
244
|
+
aborted: number | undefined;
|
|
245
|
+
total: number | undefined;
|
|
246
|
+
resultsWritten: number | undefined;
|
|
247
|
+
}
|
|
248
|
+
export interface MapRunItemCounts {
|
|
249
|
+
pending: number | undefined;
|
|
250
|
+
running: number | undefined;
|
|
251
|
+
succeeded: number | undefined;
|
|
252
|
+
failed: number | undefined;
|
|
253
|
+
timedOut: number | undefined;
|
|
254
|
+
aborted: number | undefined;
|
|
255
|
+
total: number | undefined;
|
|
256
|
+
resultsWritten: number | undefined;
|
|
257
|
+
}
|
|
258
|
+
export declare enum MapRunStatus {
|
|
259
|
+
ABORTED = "ABORTED",
|
|
260
|
+
FAILED = "FAILED",
|
|
261
|
+
RUNNING = "RUNNING",
|
|
262
|
+
SUCCEEDED = "SUCCEEDED",
|
|
263
|
+
}
|
|
264
|
+
export interface DescribeMapRunOutput {
|
|
265
|
+
mapRunArn: string | undefined;
|
|
266
|
+
executionArn: string | undefined;
|
|
267
|
+
status: MapRunStatus | string | undefined;
|
|
268
|
+
startDate: Date | undefined;
|
|
269
|
+
stopDate?: Date;
|
|
270
|
+
maxConcurrency: number | undefined;
|
|
271
|
+
toleratedFailurePercentage: number | undefined;
|
|
272
|
+
toleratedFailureCount: number | undefined;
|
|
273
|
+
itemCounts: MapRunItemCounts | undefined;
|
|
274
|
+
executionCounts: MapRunExecutionCounts | undefined;
|
|
275
|
+
}
|
|
276
|
+
export declare class ResourceNotFound extends __BaseException {
|
|
277
|
+
readonly name: "ResourceNotFound";
|
|
278
|
+
readonly $fault: "client";
|
|
279
|
+
resourceName?: string;
|
|
280
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
281
|
+
}
|
|
219
282
|
export interface DescribeStateMachineInput {
|
|
220
283
|
stateMachineArn: string | undefined;
|
|
221
284
|
}
|
|
@@ -233,6 +296,7 @@ export interface DescribeStateMachineOutput {
|
|
|
233
296
|
creationDate: Date | undefined;
|
|
234
297
|
loggingConfiguration?: LoggingConfiguration;
|
|
235
298
|
tracingConfiguration?: TracingConfiguration;
|
|
299
|
+
label?: string;
|
|
236
300
|
}
|
|
237
301
|
export declare class StateMachineDoesNotExist extends __BaseException {
|
|
238
302
|
readonly name: "StateMachineDoesNotExist";
|
|
@@ -252,6 +316,8 @@ export interface DescribeStateMachineForExecutionOutput {
|
|
|
252
316
|
updateDate: Date | undefined;
|
|
253
317
|
loggingConfiguration?: LoggingConfiguration;
|
|
254
318
|
tracingConfiguration?: TracingConfiguration;
|
|
319
|
+
mapRunArn?: string;
|
|
320
|
+
label?: string;
|
|
255
321
|
}
|
|
256
322
|
export interface GetActivityTaskInput {
|
|
257
323
|
activityArn: string | undefined;
|
|
@@ -323,6 +389,13 @@ export interface MapIterationEventDetails {
|
|
|
323
389
|
name?: string;
|
|
324
390
|
index?: number;
|
|
325
391
|
}
|
|
392
|
+
export interface MapRunFailedEventDetails {
|
|
393
|
+
error?: string;
|
|
394
|
+
cause?: string;
|
|
395
|
+
}
|
|
396
|
+
export interface MapRunStartedEventDetails {
|
|
397
|
+
mapRunArn?: string;
|
|
398
|
+
}
|
|
326
399
|
export interface MapStateStartedEventDetails {
|
|
327
400
|
length?: number;
|
|
328
401
|
}
|
|
@@ -411,6 +484,10 @@ export declare enum HistoryEventType {
|
|
|
411
484
|
MapIterationFailed = "MapIterationFailed",
|
|
412
485
|
MapIterationStarted = "MapIterationStarted",
|
|
413
486
|
MapIterationSucceeded = "MapIterationSucceeded",
|
|
487
|
+
MapRunAborted = "MapRunAborted",
|
|
488
|
+
MapRunFailed = "MapRunFailed",
|
|
489
|
+
MapRunStarted = "MapRunStarted",
|
|
490
|
+
MapRunSucceeded = "MapRunSucceeded",
|
|
414
491
|
MapStateAborted = "MapStateAborted",
|
|
415
492
|
MapStateEntered = "MapStateEntered",
|
|
416
493
|
MapStateExited = "MapStateExited",
|
|
@@ -479,6 +556,8 @@ export interface HistoryEvent {
|
|
|
479
556
|
lambdaFunctionTimedOutEventDetails?: LambdaFunctionTimedOutEventDetails;
|
|
480
557
|
stateEnteredEventDetails?: StateEnteredEventDetails;
|
|
481
558
|
stateExitedEventDetails?: StateExitedEventDetails;
|
|
559
|
+
mapRunStartedEventDetails?: MapRunStartedEventDetails;
|
|
560
|
+
mapRunFailedEventDetails?: MapRunFailedEventDetails;
|
|
482
561
|
}
|
|
483
562
|
export interface GetExecutionHistoryOutput {
|
|
484
563
|
events: HistoryEvent[] | undefined;
|
|
@@ -498,10 +577,11 @@ export interface ListActivitiesOutput {
|
|
|
498
577
|
nextToken?: string;
|
|
499
578
|
}
|
|
500
579
|
export interface ListExecutionsInput {
|
|
501
|
-
stateMachineArn
|
|
580
|
+
stateMachineArn?: string;
|
|
502
581
|
statusFilter?: ExecutionStatus | string;
|
|
503
582
|
maxResults?: number;
|
|
504
583
|
nextToken?: string;
|
|
584
|
+
mapRunArn?: string;
|
|
505
585
|
}
|
|
506
586
|
export interface ExecutionListItem {
|
|
507
587
|
executionArn: string | undefined;
|
|
@@ -510,11 +590,29 @@ export interface ExecutionListItem {
|
|
|
510
590
|
status: ExecutionStatus | string | undefined;
|
|
511
591
|
startDate: Date | undefined;
|
|
512
592
|
stopDate?: Date;
|
|
593
|
+
mapRunArn?: string;
|
|
594
|
+
itemCount?: number;
|
|
513
595
|
}
|
|
514
596
|
export interface ListExecutionsOutput {
|
|
515
597
|
executions: ExecutionListItem[] | undefined;
|
|
516
598
|
nextToken?: string;
|
|
517
599
|
}
|
|
600
|
+
export interface ListMapRunsInput {
|
|
601
|
+
executionArn: string | undefined;
|
|
602
|
+
maxResults?: number;
|
|
603
|
+
nextToken?: string;
|
|
604
|
+
}
|
|
605
|
+
export interface MapRunListItem {
|
|
606
|
+
executionArn: string | undefined;
|
|
607
|
+
mapRunArn: string | undefined;
|
|
608
|
+
stateMachineArn: string | undefined;
|
|
609
|
+
startDate: Date | undefined;
|
|
610
|
+
stopDate?: Date;
|
|
611
|
+
}
|
|
612
|
+
export interface ListMapRunsOutput {
|
|
613
|
+
mapRuns: MapRunListItem[] | undefined;
|
|
614
|
+
nextToken?: string;
|
|
615
|
+
}
|
|
518
616
|
export interface ListStateMachinesInput {
|
|
519
617
|
maxResults?: number;
|
|
520
618
|
nextToken?: string;
|
|
@@ -535,12 +633,6 @@ export interface ListTagsForResourceInput {
|
|
|
535
633
|
export interface ListTagsForResourceOutput {
|
|
536
634
|
tags?: Tag[];
|
|
537
635
|
}
|
|
538
|
-
export declare class ResourceNotFound extends __BaseException {
|
|
539
|
-
readonly name: "ResourceNotFound";
|
|
540
|
-
readonly $fault: "client";
|
|
541
|
-
resourceName?: string;
|
|
542
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFound, __BaseException>);
|
|
543
|
-
}
|
|
544
636
|
export interface SendTaskFailureInput {
|
|
545
637
|
taskToken: string | undefined;
|
|
546
638
|
error?: string;
|
|
@@ -651,6 +743,13 @@ export interface UntagResourceInput {
|
|
|
651
743
|
tagKeys: string[] | undefined;
|
|
652
744
|
}
|
|
653
745
|
export interface UntagResourceOutput {}
|
|
746
|
+
export interface UpdateMapRunInput {
|
|
747
|
+
mapRunArn: string | undefined;
|
|
748
|
+
maxConcurrency?: number;
|
|
749
|
+
toleratedFailurePercentage?: number;
|
|
750
|
+
toleratedFailureCount?: number;
|
|
751
|
+
}
|
|
752
|
+
export interface UpdateMapRunOutput {}
|
|
654
753
|
export declare class MissingRequiredParameter extends __BaseException {
|
|
655
754
|
readonly name: "MissingRequiredParameter";
|
|
656
755
|
readonly $fault: "client";
|
|
@@ -744,6 +843,18 @@ export declare const CloudWatchEventsExecutionDataDetailsFilterSensitiveLog: (
|
|
|
744
843
|
export declare const DescribeExecutionOutputFilterSensitiveLog: (
|
|
745
844
|
obj: DescribeExecutionOutput
|
|
746
845
|
) => any;
|
|
846
|
+
export declare const DescribeMapRunInputFilterSensitiveLog: (
|
|
847
|
+
obj: DescribeMapRunInput
|
|
848
|
+
) => any;
|
|
849
|
+
export declare const MapRunExecutionCountsFilterSensitiveLog: (
|
|
850
|
+
obj: MapRunExecutionCounts
|
|
851
|
+
) => any;
|
|
852
|
+
export declare const MapRunItemCountsFilterSensitiveLog: (
|
|
853
|
+
obj: MapRunItemCounts
|
|
854
|
+
) => any;
|
|
855
|
+
export declare const DescribeMapRunOutputFilterSensitiveLog: (
|
|
856
|
+
obj: DescribeMapRunOutput
|
|
857
|
+
) => any;
|
|
747
858
|
export declare const DescribeStateMachineInputFilterSensitiveLog: (
|
|
748
859
|
obj: DescribeStateMachineInput
|
|
749
860
|
) => any;
|
|
@@ -804,6 +915,12 @@ export declare const LambdaFunctionTimedOutEventDetailsFilterSensitiveLog: (
|
|
|
804
915
|
export declare const MapIterationEventDetailsFilterSensitiveLog: (
|
|
805
916
|
obj: MapIterationEventDetails
|
|
806
917
|
) => any;
|
|
918
|
+
export declare const MapRunFailedEventDetailsFilterSensitiveLog: (
|
|
919
|
+
obj: MapRunFailedEventDetails
|
|
920
|
+
) => any;
|
|
921
|
+
export declare const MapRunStartedEventDetailsFilterSensitiveLog: (
|
|
922
|
+
obj: MapRunStartedEventDetails
|
|
923
|
+
) => any;
|
|
807
924
|
export declare const MapStateStartedEventDetailsFilterSensitiveLog: (
|
|
808
925
|
obj: MapStateStartedEventDetails
|
|
809
926
|
) => any;
|
|
@@ -856,6 +973,15 @@ export declare const ExecutionListItemFilterSensitiveLog: (
|
|
|
856
973
|
export declare const ListExecutionsOutputFilterSensitiveLog: (
|
|
857
974
|
obj: ListExecutionsOutput
|
|
858
975
|
) => any;
|
|
976
|
+
export declare const ListMapRunsInputFilterSensitiveLog: (
|
|
977
|
+
obj: ListMapRunsInput
|
|
978
|
+
) => any;
|
|
979
|
+
export declare const MapRunListItemFilterSensitiveLog: (
|
|
980
|
+
obj: MapRunListItem
|
|
981
|
+
) => any;
|
|
982
|
+
export declare const ListMapRunsOutputFilterSensitiveLog: (
|
|
983
|
+
obj: ListMapRunsOutput
|
|
984
|
+
) => any;
|
|
859
985
|
export declare const ListStateMachinesInputFilterSensitiveLog: (
|
|
860
986
|
obj: ListStateMachinesInput
|
|
861
987
|
) => any;
|
|
@@ -922,6 +1048,12 @@ export declare const UntagResourceInputFilterSensitiveLog: (
|
|
|
922
1048
|
export declare const UntagResourceOutputFilterSensitiveLog: (
|
|
923
1049
|
obj: UntagResourceOutput
|
|
924
1050
|
) => any;
|
|
1051
|
+
export declare const UpdateMapRunInputFilterSensitiveLog: (
|
|
1052
|
+
obj: UpdateMapRunInput
|
|
1053
|
+
) => any;
|
|
1054
|
+
export declare const UpdateMapRunOutputFilterSensitiveLog: (
|
|
1055
|
+
obj: UpdateMapRunOutput
|
|
1056
|
+
) => any;
|
|
925
1057
|
export declare const UpdateStateMachineInputFilterSensitiveLog: (
|
|
926
1058
|
obj: UpdateStateMachineInput
|
|
927
1059
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListMapRunsCommandInput,
|
|
4
|
+
ListMapRunsCommandOutput,
|
|
5
|
+
} from "../commands/ListMapRunsCommand";
|
|
6
|
+
import { SFNPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListMapRuns(
|
|
8
|
+
config: SFNPaginationConfiguration,
|
|
9
|
+
input: ListMapRunsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListMapRunsCommandOutput>;
|
|
@@ -27,6 +27,10 @@ import {
|
|
|
27
27
|
DescribeExecutionCommandInput,
|
|
28
28
|
DescribeExecutionCommandOutput,
|
|
29
29
|
} from "../commands/DescribeExecutionCommand";
|
|
30
|
+
import {
|
|
31
|
+
DescribeMapRunCommandInput,
|
|
32
|
+
DescribeMapRunCommandOutput,
|
|
33
|
+
} from "../commands/DescribeMapRunCommand";
|
|
30
34
|
import {
|
|
31
35
|
DescribeStateMachineCommandInput,
|
|
32
36
|
DescribeStateMachineCommandOutput,
|
|
@@ -51,6 +55,10 @@ import {
|
|
|
51
55
|
ListExecutionsCommandInput,
|
|
52
56
|
ListExecutionsCommandOutput,
|
|
53
57
|
} from "../commands/ListExecutionsCommand";
|
|
58
|
+
import {
|
|
59
|
+
ListMapRunsCommandInput,
|
|
60
|
+
ListMapRunsCommandOutput,
|
|
61
|
+
} from "../commands/ListMapRunsCommand";
|
|
54
62
|
import {
|
|
55
63
|
ListStateMachinesCommandInput,
|
|
56
64
|
ListStateMachinesCommandOutput,
|
|
@@ -91,6 +99,10 @@ import {
|
|
|
91
99
|
UntagResourceCommandInput,
|
|
92
100
|
UntagResourceCommandOutput,
|
|
93
101
|
} from "../commands/UntagResourceCommand";
|
|
102
|
+
import {
|
|
103
|
+
UpdateMapRunCommandInput,
|
|
104
|
+
UpdateMapRunCommandOutput,
|
|
105
|
+
} from "../commands/UpdateMapRunCommand";
|
|
94
106
|
import {
|
|
95
107
|
UpdateStateMachineCommandInput,
|
|
96
108
|
UpdateStateMachineCommandOutput,
|
|
@@ -119,6 +131,10 @@ export declare const serializeAws_json1_0DescribeExecutionCommand: (
|
|
|
119
131
|
input: DescribeExecutionCommandInput,
|
|
120
132
|
context: __SerdeContext
|
|
121
133
|
) => Promise<__HttpRequest>;
|
|
134
|
+
export declare const serializeAws_json1_0DescribeMapRunCommand: (
|
|
135
|
+
input: DescribeMapRunCommandInput,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<__HttpRequest>;
|
|
122
138
|
export declare const serializeAws_json1_0DescribeStateMachineCommand: (
|
|
123
139
|
input: DescribeStateMachineCommandInput,
|
|
124
140
|
context: __SerdeContext
|
|
@@ -143,6 +159,10 @@ export declare const serializeAws_json1_0ListExecutionsCommand: (
|
|
|
143
159
|
input: ListExecutionsCommandInput,
|
|
144
160
|
context: __SerdeContext
|
|
145
161
|
) => Promise<__HttpRequest>;
|
|
162
|
+
export declare const serializeAws_json1_0ListMapRunsCommand: (
|
|
163
|
+
input: ListMapRunsCommandInput,
|
|
164
|
+
context: __SerdeContext
|
|
165
|
+
) => Promise<__HttpRequest>;
|
|
146
166
|
export declare const serializeAws_json1_0ListStateMachinesCommand: (
|
|
147
167
|
input: ListStateMachinesCommandInput,
|
|
148
168
|
context: __SerdeContext
|
|
@@ -183,6 +203,10 @@ export declare const serializeAws_json1_0UntagResourceCommand: (
|
|
|
183
203
|
input: UntagResourceCommandInput,
|
|
184
204
|
context: __SerdeContext
|
|
185
205
|
) => Promise<__HttpRequest>;
|
|
206
|
+
export declare const serializeAws_json1_0UpdateMapRunCommand: (
|
|
207
|
+
input: UpdateMapRunCommandInput,
|
|
208
|
+
context: __SerdeContext
|
|
209
|
+
) => Promise<__HttpRequest>;
|
|
186
210
|
export declare const serializeAws_json1_0UpdateStateMachineCommand: (
|
|
187
211
|
input: UpdateStateMachineCommandInput,
|
|
188
212
|
context: __SerdeContext
|
|
@@ -211,6 +235,10 @@ export declare const deserializeAws_json1_0DescribeExecutionCommand: (
|
|
|
211
235
|
output: __HttpResponse,
|
|
212
236
|
context: __SerdeContext
|
|
213
237
|
) => Promise<DescribeExecutionCommandOutput>;
|
|
238
|
+
export declare const deserializeAws_json1_0DescribeMapRunCommand: (
|
|
239
|
+
output: __HttpResponse,
|
|
240
|
+
context: __SerdeContext
|
|
241
|
+
) => Promise<DescribeMapRunCommandOutput>;
|
|
214
242
|
export declare const deserializeAws_json1_0DescribeStateMachineCommand: (
|
|
215
243
|
output: __HttpResponse,
|
|
216
244
|
context: __SerdeContext
|
|
@@ -235,6 +263,10 @@ export declare const deserializeAws_json1_0ListExecutionsCommand: (
|
|
|
235
263
|
output: __HttpResponse,
|
|
236
264
|
context: __SerdeContext
|
|
237
265
|
) => Promise<ListExecutionsCommandOutput>;
|
|
266
|
+
export declare const deserializeAws_json1_0ListMapRunsCommand: (
|
|
267
|
+
output: __HttpResponse,
|
|
268
|
+
context: __SerdeContext
|
|
269
|
+
) => Promise<ListMapRunsCommandOutput>;
|
|
238
270
|
export declare const deserializeAws_json1_0ListStateMachinesCommand: (
|
|
239
271
|
output: __HttpResponse,
|
|
240
272
|
context: __SerdeContext
|
|
@@ -275,6 +307,10 @@ export declare const deserializeAws_json1_0UntagResourceCommand: (
|
|
|
275
307
|
output: __HttpResponse,
|
|
276
308
|
context: __SerdeContext
|
|
277
309
|
) => Promise<UntagResourceCommandOutput>;
|
|
310
|
+
export declare const deserializeAws_json1_0UpdateMapRunCommand: (
|
|
311
|
+
output: __HttpResponse,
|
|
312
|
+
context: __SerdeContext
|
|
313
|
+
) => Promise<UpdateMapRunCommandOutput>;
|
|
278
314
|
export declare const deserializeAws_json1_0UpdateStateMachineCommand: (
|
|
279
315
|
output: __HttpResponse,
|
|
280
316
|
context: __SerdeContext
|