@aws-sdk/client-sfn 3.428.0 → 3.430.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.
@@ -370,7 +370,7 @@ export interface LoggingConfiguration {
370
370
  * @public
371
371
  * <p>Defines which category of execution history events are logged.</p>
372
372
  */
373
- level?: LogLevel | string;
373
+ level?: LogLevel;
374
374
  /**
375
375
  * @public
376
376
  * <p>Determines whether execution data is included in your log. When set to <code>false</code>,
@@ -456,7 +456,7 @@ export interface CreateStateMachineInput {
456
456
  * <code>STANDARD</code>. You cannot update the <code>type</code> of a state machine once it
457
457
  * has been created.</p>
458
458
  */
459
- type?: StateMachineType | string;
459
+ type?: StateMachineType;
460
460
  /**
461
461
  * @public
462
462
  * <p>Defines what execution history events are logged and where they are logged.</p>
@@ -637,7 +637,7 @@ export declare class ValidationException extends __BaseException {
637
637
  * @public
638
638
  * <p>The input does not satisfy the constraints specified by an Amazon Web Services service.</p>
639
639
  */
640
- reason?: ValidationExceptionReason | string;
640
+ reason?: ValidationExceptionReason;
641
641
  /**
642
642
  * @internal
643
643
  */
@@ -924,7 +924,7 @@ export interface DescribeExecutionOutput {
924
924
  * @public
925
925
  * <p>The current status of the execution.</p>
926
926
  */
927
- status: ExecutionStatus | string | undefined;
927
+ status: ExecutionStatus | undefined;
928
928
  /**
929
929
  * @public
930
930
  * <p>The date the execution is started.</p>
@@ -1140,7 +1140,7 @@ export interface DescribeMapRunOutput {
1140
1140
  * @public
1141
1141
  * <p>The current status of the Map Run.</p>
1142
1142
  */
1143
- status: MapRunStatus | string | undefined;
1143
+ status: MapRunStatus | undefined;
1144
1144
  /**
1145
1145
  * @public
1146
1146
  * <p>The date when the Map Run was started.</p>
@@ -1241,7 +1241,7 @@ export interface DescribeStateMachineOutput {
1241
1241
  * @public
1242
1242
  * <p>The current status of the state machine.</p>
1243
1243
  */
1244
- status?: StateMachineStatus | string;
1244
+ status?: StateMachineStatus;
1245
1245
  /**
1246
1246
  * @public
1247
1247
  * <p>The Amazon States Language definition of the state machine. See <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a>.</p>
@@ -1258,7 +1258,7 @@ export interface DescribeStateMachineOutput {
1258
1258
  * <p>The <code>type</code> of the state machine (<code>STANDARD</code> or
1259
1259
  * <code>EXPRESS</code>).</p>
1260
1260
  */
1261
- type: StateMachineType | string | undefined;
1261
+ type: StateMachineType | undefined;
1262
1262
  /**
1263
1263
  * @public
1264
1264
  * <p>The date the state machine is created.</p>
@@ -2125,7 +2125,7 @@ export interface HistoryEvent {
2125
2125
  * @public
2126
2126
  * <p>The type of the event.</p>
2127
2127
  */
2128
- type: HistoryEventType | string | undefined;
2128
+ type: HistoryEventType | undefined;
2129
2129
  /**
2130
2130
  * @public
2131
2131
  * <p>The id of the event. Events are numbered sequentially, starting at one.</p>
@@ -2388,7 +2388,7 @@ export interface ListExecutionsInput {
2388
2388
  * <p>If specified, only list the executions whose current execution status matches the given
2389
2389
  * filter.</p>
2390
2390
  */
2391
- statusFilter?: ExecutionStatus | string;
2391
+ statusFilter?: ExecutionStatus;
2392
2392
  /**
2393
2393
  * @public
2394
2394
  * <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to obtain further pages of results.
@@ -2455,7 +2455,7 @@ export interface ExecutionListItem {
2455
2455
  * @public
2456
2456
  * <p>The current status of the execution.</p>
2457
2457
  */
2458
- status: ExecutionStatus | string | undefined;
2458
+ status: ExecutionStatus | undefined;
2459
2459
  /**
2460
2460
  * @public
2461
2461
  * <p>The date the execution started.</p>
@@ -2691,7 +2691,7 @@ export interface StateMachineListItem {
2691
2691
  * @public
2692
2692
  * <p></p>
2693
2693
  */
2694
- type: StateMachineType | string | undefined;
2694
+ type: StateMachineType | undefined;
2695
2695
  /**
2696
2696
  * @public
2697
2697
  * <p>The date the state machine is created.</p>
@@ -3172,7 +3172,7 @@ export interface StartSyncExecutionOutput {
3172
3172
  * @public
3173
3173
  * <p>The current status of the execution.</p>
3174
3174
  */
3175
- status: SyncExecutionStatus | string | undefined;
3175
+ status: SyncExecutionStatus | undefined;
3176
3176
  /**
3177
3177
  * @public
3178
3178
  * <p>The error code of the failure.</p>
@@ -97,7 +97,7 @@ export declare const LogLevel: {
97
97
  };
98
98
  export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
99
99
  export interface LoggingConfiguration {
100
- level?: LogLevel | string;
100
+ level?: LogLevel;
101
101
  includeExecutionData?: boolean;
102
102
  destinations?: LogDestination[];
103
103
  }
@@ -114,7 +114,7 @@ export interface CreateStateMachineInput {
114
114
  name: string | undefined;
115
115
  definition: string | undefined;
116
116
  roleArn: string | undefined;
117
- type?: StateMachineType | string;
117
+ type?: StateMachineType;
118
118
  loggingConfiguration?: LoggingConfiguration;
119
119
  tags?: Tag[];
120
120
  tracingConfiguration?: TracingConfiguration;
@@ -189,7 +189,7 @@ export type ValidationExceptionReason =
189
189
  export declare class ValidationException extends __BaseException {
190
190
  readonly name: "ValidationException";
191
191
  readonly $fault: "client";
192
- reason?: ValidationExceptionReason | string;
192
+ reason?: ValidationExceptionReason;
193
193
  constructor(
194
194
  opts: __ExceptionOptionType<ValidationException, __BaseException>
195
195
  );
@@ -263,7 +263,7 @@ export interface DescribeExecutionOutput {
263
263
  executionArn: string | undefined;
264
264
  stateMachineArn: string | undefined;
265
265
  name?: string;
266
- status: ExecutionStatus | string | undefined;
266
+ status: ExecutionStatus | undefined;
267
267
  startDate: Date | undefined;
268
268
  stopDate?: Date;
269
269
  input?: string;
@@ -317,7 +317,7 @@ export type MapRunStatus = (typeof MapRunStatus)[keyof typeof MapRunStatus];
317
317
  export interface DescribeMapRunOutput {
318
318
  mapRunArn: string | undefined;
319
319
  executionArn: string | undefined;
320
- status: MapRunStatus | string | undefined;
320
+ status: MapRunStatus | undefined;
321
321
  startDate: Date | undefined;
322
322
  stopDate?: Date;
323
323
  maxConcurrency: number | undefined;
@@ -338,10 +338,10 @@ export type StateMachineStatus =
338
338
  export interface DescribeStateMachineOutput {
339
339
  stateMachineArn: string | undefined;
340
340
  name: string | undefined;
341
- status?: StateMachineStatus | string;
341
+ status?: StateMachineStatus;
342
342
  definition: string | undefined;
343
343
  roleArn: string | undefined;
344
- type: StateMachineType | string | undefined;
344
+ type: StateMachineType | undefined;
345
345
  creationDate: Date | undefined;
346
346
  loggingConfiguration?: LoggingConfiguration;
347
347
  tracingConfiguration?: TracingConfiguration;
@@ -588,7 +588,7 @@ export type HistoryEventType =
588
588
  (typeof HistoryEventType)[keyof typeof HistoryEventType];
589
589
  export interface HistoryEvent {
590
590
  timestamp: Date | undefined;
591
- type: HistoryEventType | string | undefined;
591
+ type: HistoryEventType | undefined;
592
592
  id: number | undefined;
593
593
  previousEventId?: number;
594
594
  activityFailedEventDetails?: ActivityFailedEventDetails;
@@ -645,7 +645,7 @@ export interface ListActivitiesOutput {
645
645
  }
646
646
  export interface ListExecutionsInput {
647
647
  stateMachineArn?: string;
648
- statusFilter?: ExecutionStatus | string;
648
+ statusFilter?: ExecutionStatus;
649
649
  maxResults?: number;
650
650
  nextToken?: string;
651
651
  mapRunArn?: string;
@@ -654,7 +654,7 @@ export interface ExecutionListItem {
654
654
  executionArn: string | undefined;
655
655
  stateMachineArn: string | undefined;
656
656
  name: string | undefined;
657
- status: ExecutionStatus | string | undefined;
657
+ status: ExecutionStatus | undefined;
658
658
  startDate: Date | undefined;
659
659
  stopDate?: Date;
660
660
  mapRunArn?: string;
@@ -702,7 +702,7 @@ export interface ListStateMachinesInput {
702
702
  export interface StateMachineListItem {
703
703
  stateMachineArn: string | undefined;
704
704
  name: string | undefined;
705
- type: StateMachineType | string | undefined;
705
+ type: StateMachineType | undefined;
706
706
  creationDate: Date | undefined;
707
707
  }
708
708
  export interface ListStateMachinesOutput {
@@ -821,7 +821,7 @@ export interface StartSyncExecutionOutput {
821
821
  name?: string;
822
822
  startDate: Date | undefined;
823
823
  stopDate: Date | undefined;
824
- status: SyncExecutionStatus | string | undefined;
824
+ status: SyncExecutionStatus | undefined;
825
825
  error?: string;
826
826
  cause?: string;
827
827
  input?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sfn",
3
3
  "description": "AWS SDK for JavaScript Sfn Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"