@aws-sdk/client-sfn 3.616.0 → 3.620.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/README.md +1 -1
- package/dist-cjs/index.js +180 -0
- package/dist-es/models/models_0.js +76 -0
- package/dist-es/protocols/Aws_json1_0.js +64 -1
- package/dist-types/SFN.d.ts +1 -1
- package/dist-types/SFNClient.d.ts +1 -1
- package/dist-types/commands/CreateActivityCommand.d.ts +17 -0
- package/dist-types/commands/CreateStateMachineCommand.d.ts +21 -4
- package/dist-types/commands/DeleteStateMachineVersionCommand.d.ts +1 -3
- package/dist-types/commands/DescribeActivityCommand.d.ts +5 -0
- package/dist-types/commands/DescribeExecutionCommand.d.ts +10 -0
- package/dist-types/commands/DescribeStateMachineCommand.d.ts +15 -0
- package/dist-types/commands/DescribeStateMachineForExecutionCommand.d.ts +16 -3
- package/dist-types/commands/GetActivityTaskCommand.d.ts +9 -0
- package/dist-types/commands/GetExecutionHistoryCommand.d.ts +9 -0
- package/dist-types/commands/ListExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/SendTaskFailureCommand.d.ts +11 -0
- package/dist-types/commands/SendTaskSuccessCommand.d.ts +9 -0
- package/dist-types/commands/StartExecutionCommand.d.ts +9 -0
- package/dist-types/commands/StartSyncExecutionCommand.d.ts +11 -1
- package/dist-types/commands/StopExecutionCommand.d.ts +11 -0
- package/dist-types/commands/UpdateStateMachineCommand.d.ts +16 -2
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +194 -7
- package/dist-types/ts3.4/models/models_0.d.ts +70 -0
- package/package.json +18 -18
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SFNServiceException as __BaseException } from "./SFNServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Activity already exists. <code>EncryptionConfiguration</code> may not be updated.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class ActivityAlreadyExists extends __BaseException {
|
|
8
|
+
readonly name: "ActivityAlreadyExists";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ActivityAlreadyExists, __BaseException>);
|
|
14
|
+
}
|
|
3
15
|
/**
|
|
4
16
|
* <p>The specified activity does not exist.</p>
|
|
5
17
|
* @public
|
|
@@ -202,6 +214,47 @@ export declare class ActivityWorkerLimitExceeded extends __BaseException {
|
|
|
202
214
|
*/
|
|
203
215
|
constructor(opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>);
|
|
204
216
|
}
|
|
217
|
+
/**
|
|
218
|
+
* @public
|
|
219
|
+
* @enum
|
|
220
|
+
*/
|
|
221
|
+
export declare const EncryptionType: {
|
|
222
|
+
readonly AWS_OWNED_KEY: "AWS_OWNED_KEY";
|
|
223
|
+
readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @public
|
|
227
|
+
*/
|
|
228
|
+
export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
|
|
229
|
+
/**
|
|
230
|
+
* <p>Settings to configure server-side encryption. </p>
|
|
231
|
+
* <p>
|
|
232
|
+
* For additional control over security, you can encrypt your data using a <b>customer-managed key</b> for Step Functions state machines and activities. You can configure a symmetric KMS key and data key reuse period when creating or updating a <b>State Machine</b>, and when creating an <b>Activity</b>. The execution history and state machine definition will be encrypted with the key applied to the State Machine. Activity inputs will be encrypted with the key applied to the Activity.
|
|
233
|
+
* </p>
|
|
234
|
+
* <note>
|
|
235
|
+
* <p> Step Functions automatically enables encryption at rest using Amazon Web Services owned keys at no charge. However, KMS charges apply when using a customer managed key. For more information about pricing, see <a href="https://aws.amazon.com/kms/pricing/">Key Management Service pricing</a>.</p>
|
|
236
|
+
* </note>
|
|
237
|
+
* <p>For more information on KMS, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/overview.html">What is Key Management Service?</a>
|
|
238
|
+
* </p>
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export interface EncryptionConfiguration {
|
|
242
|
+
/**
|
|
243
|
+
* <p>An alias, alias ARN, key ID, or key ARN of a symmetric encryption KMS key to encrypt data. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
kmsKeyId?: string;
|
|
247
|
+
/**
|
|
248
|
+
* <p>Maximum duration that Step Functions will reuse data keys. When the period expires, Step Functions will call <code>GenerateDataKey</code>. Only applies to customer managed keys.</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
kmsDataKeyReusePeriodSeconds?: number;
|
|
252
|
+
/**
|
|
253
|
+
* <p>Encryption type</p>
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
type: EncryptionType | undefined;
|
|
257
|
+
}
|
|
205
258
|
/**
|
|
206
259
|
* <p>Tags are key-value pairs that can be associated with Step Functions state machines and
|
|
207
260
|
* activities.</p>
|
|
@@ -267,6 +320,11 @@ export interface CreateActivityInput {
|
|
|
267
320
|
* @public
|
|
268
321
|
*/
|
|
269
322
|
tags?: Tag[];
|
|
323
|
+
/**
|
|
324
|
+
* <p>Settings to configure server-side encryption.</p>
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
270
328
|
}
|
|
271
329
|
/**
|
|
272
330
|
* @public
|
|
@@ -283,6 +341,18 @@ export interface CreateActivityOutput {
|
|
|
283
341
|
*/
|
|
284
342
|
creationDate: Date | undefined;
|
|
285
343
|
}
|
|
344
|
+
/**
|
|
345
|
+
* <p>Received when <code>encryptionConfiguration</code> is specified but various conditions exist which make the configuration invalid. For example, if <code>type</code> is set to <code>CUSTOMER_MANAGED_KMS_KEY</code>, but <code>kmsKeyId</code> is null, or <code>kmsDataKeyReusePeriodSeconds</code> is not between 60 and 900, or the KMS key is not symmetric or inactive.</p>
|
|
346
|
+
* @public
|
|
347
|
+
*/
|
|
348
|
+
export declare class InvalidEncryptionConfiguration extends __BaseException {
|
|
349
|
+
readonly name: "InvalidEncryptionConfiguration";
|
|
350
|
+
readonly $fault: "client";
|
|
351
|
+
/**
|
|
352
|
+
* @internal
|
|
353
|
+
*/
|
|
354
|
+
constructor(opts: __ExceptionOptionType<InvalidEncryptionConfiguration, __BaseException>);
|
|
355
|
+
}
|
|
286
356
|
/**
|
|
287
357
|
* <p>The provided name is not valid.</p>
|
|
288
358
|
* @public
|
|
@@ -295,6 +365,30 @@ export declare class InvalidName extends __BaseException {
|
|
|
295
365
|
*/
|
|
296
366
|
constructor(opts: __ExceptionOptionType<InvalidName, __BaseException>);
|
|
297
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* <p>Either your KMS key policy or API caller does not have the required permissions.</p>
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
export declare class KmsAccessDeniedException extends __BaseException {
|
|
373
|
+
readonly name: "KmsAccessDeniedException";
|
|
374
|
+
readonly $fault: "client";
|
|
375
|
+
/**
|
|
376
|
+
* @internal
|
|
377
|
+
*/
|
|
378
|
+
constructor(opts: __ExceptionOptionType<KmsAccessDeniedException, __BaseException>);
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* <p>Received when KMS returns <code>ThrottlingException</code> for a KMS call that Step Functions makes on behalf of the caller.</p>
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
export declare class KmsThrottlingException extends __BaseException {
|
|
385
|
+
readonly name: "KmsThrottlingException";
|
|
386
|
+
readonly $fault: "client";
|
|
387
|
+
/**
|
|
388
|
+
* @internal
|
|
389
|
+
*/
|
|
390
|
+
constructor(opts: __ExceptionOptionType<KmsThrottlingException, __BaseException>);
|
|
391
|
+
}
|
|
298
392
|
/**
|
|
299
393
|
* <p>You've exceeded the number of tags allowed for a resource. See the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/limits.html"> Limits Topic</a> in the
|
|
300
394
|
* Step Functions Developer Guide.</p>
|
|
@@ -492,6 +586,11 @@ export interface CreateStateMachineInput {
|
|
|
492
586
|
* @public
|
|
493
587
|
*/
|
|
494
588
|
versionDescription?: string;
|
|
589
|
+
/**
|
|
590
|
+
* <p>Settings to configure server-side encryption.</p>
|
|
591
|
+
* @public
|
|
592
|
+
*/
|
|
593
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
495
594
|
}
|
|
496
595
|
/**
|
|
497
596
|
* @public
|
|
@@ -538,7 +637,7 @@ export declare class InvalidDefinition extends __BaseException {
|
|
|
538
637
|
constructor(opts: __ExceptionOptionType<InvalidDefinition, __BaseException>);
|
|
539
638
|
}
|
|
540
639
|
/**
|
|
541
|
-
* <p
|
|
640
|
+
* <p>Configuration is not valid.</p>
|
|
542
641
|
* @public
|
|
543
642
|
*/
|
|
544
643
|
export declare class InvalidLoggingConfiguration extends __BaseException {
|
|
@@ -601,7 +700,7 @@ export declare class StateMachineLimitExceeded extends __BaseException {
|
|
|
601
700
|
constructor(opts: __ExceptionOptionType<StateMachineLimitExceeded, __BaseException>);
|
|
602
701
|
}
|
|
603
702
|
/**
|
|
604
|
-
* <p
|
|
703
|
+
* <p>State machine type is not supported.</p>
|
|
605
704
|
* @public
|
|
606
705
|
*/
|
|
607
706
|
export declare class StateMachineTypeNotSupported extends __BaseException {
|
|
@@ -657,9 +756,8 @@ export interface RoutingConfigurationListItem {
|
|
|
657
756
|
*/
|
|
658
757
|
stateMachineVersionArn: string | undefined;
|
|
659
758
|
/**
|
|
660
|
-
* <p>The percentage of traffic you want to route to a state machine
|
|
661
|
-
*
|
|
662
|
-
* configuration must be equal to 100.</p>
|
|
759
|
+
* <p>The percentage of traffic you want to route to a state machine version. The sum of the
|
|
760
|
+
* weights in the routing configuration must be equal to 100.</p>
|
|
663
761
|
* @public
|
|
664
762
|
*/
|
|
665
763
|
weight: number | undefined;
|
|
@@ -841,7 +939,24 @@ export interface DescribeActivityOutput {
|
|
|
841
939
|
* @public
|
|
842
940
|
*/
|
|
843
941
|
creationDate: Date | undefined;
|
|
942
|
+
/**
|
|
943
|
+
* <p>Settings for configured server-side encryption.</p>
|
|
944
|
+
* @public
|
|
945
|
+
*/
|
|
946
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
844
947
|
}
|
|
948
|
+
/**
|
|
949
|
+
* @public
|
|
950
|
+
* @enum
|
|
951
|
+
*/
|
|
952
|
+
export declare const IncludedData: {
|
|
953
|
+
readonly ALL_DATA: "ALL_DATA";
|
|
954
|
+
readonly METADATA_ONLY: "METADATA_ONLY";
|
|
955
|
+
};
|
|
956
|
+
/**
|
|
957
|
+
* @public
|
|
958
|
+
*/
|
|
959
|
+
export type IncludedData = (typeof IncludedData)[keyof typeof IncludedData];
|
|
845
960
|
/**
|
|
846
961
|
* @public
|
|
847
962
|
*/
|
|
@@ -851,6 +966,11 @@ export interface DescribeExecutionInput {
|
|
|
851
966
|
* @public
|
|
852
967
|
*/
|
|
853
968
|
executionArn: string | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* <p>If your state machine definition is encrypted with a KMS key, callers must have <code>kms:Decrypt</code> permission to decrypt the definition. Alternatively, you can call DescribeStateMachine API with <code>includedData = METADATA_ONLY</code> to get a successful response without the encrypted definition.</p>
|
|
971
|
+
* @public
|
|
972
|
+
*/
|
|
973
|
+
includedData?: IncludedData;
|
|
854
974
|
}
|
|
855
975
|
/**
|
|
856
976
|
* <p>Provides details about execution input or output.</p>
|
|
@@ -1091,6 +1211,38 @@ export declare class ExecutionDoesNotExist extends __BaseException {
|
|
|
1091
1211
|
*/
|
|
1092
1212
|
constructor(opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>);
|
|
1093
1213
|
}
|
|
1214
|
+
/**
|
|
1215
|
+
* @public
|
|
1216
|
+
* @enum
|
|
1217
|
+
*/
|
|
1218
|
+
export declare const KmsKeyState: {
|
|
1219
|
+
readonly CREATING: "CREATING";
|
|
1220
|
+
readonly DISABLED: "DISABLED";
|
|
1221
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
1222
|
+
readonly PENDING_IMPORT: "PENDING_IMPORT";
|
|
1223
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
1224
|
+
};
|
|
1225
|
+
/**
|
|
1226
|
+
* @public
|
|
1227
|
+
*/
|
|
1228
|
+
export type KmsKeyState = (typeof KmsKeyState)[keyof typeof KmsKeyState];
|
|
1229
|
+
/**
|
|
1230
|
+
* <p>The KMS key is not in valid state, for example: Disabled or Deleted.</p>
|
|
1231
|
+
* @public
|
|
1232
|
+
*/
|
|
1233
|
+
export declare class KmsInvalidStateException extends __BaseException {
|
|
1234
|
+
readonly name: "KmsInvalidStateException";
|
|
1235
|
+
readonly $fault: "client";
|
|
1236
|
+
/**
|
|
1237
|
+
* <p>Current status of the KMS; key. For example: <code>DISABLED</code>, <code>PENDING_DELETION</code>, <code>PENDING_IMPORT</code>, <code>UNAVAILABLE</code>, <code>CREATING</code>.</p>
|
|
1238
|
+
* @public
|
|
1239
|
+
*/
|
|
1240
|
+
kmsKeyState?: KmsKeyState;
|
|
1241
|
+
/**
|
|
1242
|
+
* @internal
|
|
1243
|
+
*/
|
|
1244
|
+
constructor(opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>);
|
|
1245
|
+
}
|
|
1094
1246
|
/**
|
|
1095
1247
|
* @public
|
|
1096
1248
|
*/
|
|
@@ -1302,6 +1454,16 @@ export interface DescribeStateMachineInput {
|
|
|
1302
1454
|
* @public
|
|
1303
1455
|
*/
|
|
1304
1456
|
stateMachineArn: string | undefined;
|
|
1457
|
+
/**
|
|
1458
|
+
* <p>If your state machine definition is encrypted with a KMS key, callers must have <code>kms:Decrypt</code> permission to decrypt the definition. Alternatively, you can call the API with <code>includedData = METADATA_ONLY</code> to get a successful response without the encrypted definition.</p>
|
|
1459
|
+
* <note>
|
|
1460
|
+
* <p>
|
|
1461
|
+
* When calling a labelled ARN for an encrypted state machine, the <code>includedData = METADATA_ONLY</code> parameter will not apply because Step Functions needs to decrypt the entire state machine definition to get the Distributed Map state’s definition. In this case, the API caller needs to have <code>kms:Decrypt</code> permission.
|
|
1462
|
+
* </p>
|
|
1463
|
+
* </note>
|
|
1464
|
+
* @public
|
|
1465
|
+
*/
|
|
1466
|
+
includedData?: IncludedData;
|
|
1305
1467
|
}
|
|
1306
1468
|
/**
|
|
1307
1469
|
* @public
|
|
@@ -1359,6 +1521,7 @@ export interface DescribeStateMachineOutput {
|
|
|
1359
1521
|
status?: StateMachineStatus;
|
|
1360
1522
|
/**
|
|
1361
1523
|
* <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>
|
|
1524
|
+
* <p>If called with <code>includedData = METADATA_ONLY</code>, the returned definition will be <code>\{\}</code>.</p>
|
|
1362
1525
|
* @public
|
|
1363
1526
|
*/
|
|
1364
1527
|
definition: string | undefined;
|
|
@@ -1409,6 +1572,11 @@ export interface DescribeStateMachineOutput {
|
|
|
1409
1572
|
* @public
|
|
1410
1573
|
*/
|
|
1411
1574
|
description?: string;
|
|
1575
|
+
/**
|
|
1576
|
+
* <p>Settings to configure server-side encryption. </p>
|
|
1577
|
+
* @public
|
|
1578
|
+
*/
|
|
1579
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
1412
1580
|
}
|
|
1413
1581
|
/**
|
|
1414
1582
|
* <p>The specified state machine does not exist.</p>
|
|
@@ -1477,6 +1645,11 @@ export interface DescribeStateMachineForExecutionInput {
|
|
|
1477
1645
|
* @public
|
|
1478
1646
|
*/
|
|
1479
1647
|
executionArn: string | undefined;
|
|
1648
|
+
/**
|
|
1649
|
+
* <p>If your state machine definition is encrypted with a KMS key, callers must have <code>kms:Decrypt</code> permission to decrypt the definition. Alternatively, you can call the API with <code>includedData = METADATA_ONLY</code> to get a successful response without the encrypted definition.</p>
|
|
1650
|
+
* @public
|
|
1651
|
+
*/
|
|
1652
|
+
includedData?: IncludedData;
|
|
1480
1653
|
}
|
|
1481
1654
|
/**
|
|
1482
1655
|
* @public
|
|
@@ -1535,6 +1708,11 @@ export interface DescribeStateMachineForExecutionOutput {
|
|
|
1535
1708
|
* @public
|
|
1536
1709
|
*/
|
|
1537
1710
|
revisionId?: string;
|
|
1711
|
+
/**
|
|
1712
|
+
* <p>Settings to configure server-side encryption. </p>
|
|
1713
|
+
* @public
|
|
1714
|
+
*/
|
|
1715
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
1538
1716
|
}
|
|
1539
1717
|
/**
|
|
1540
1718
|
* @public
|
|
@@ -3233,8 +3411,7 @@ export interface StartExecutionInput {
|
|
|
3233
3411
|
*/
|
|
3234
3412
|
stateMachineArn: string | undefined;
|
|
3235
3413
|
/**
|
|
3236
|
-
* <p>Optional name of the execution.
|
|
3237
|
-
* This name must be unique for your Amazon Web Services account, Region, and state machine for 90 days. For more information,
|
|
3414
|
+
* <p>Optional name of the execution. This name must be unique for your Amazon Web Services account, Region, and state machine for 90 days. For more information,
|
|
3238
3415
|
* see <a href="https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions">
|
|
3239
3416
|
* Limits Related to State Machine Executions</a> in the <i>Step Functions Developer Guide</i>.</p>
|
|
3240
3417
|
* <p>If you don't provide a name for the execution, Step Functions automatically generates a universally unique identifier (UUID) as the execution name.</p>
|
|
@@ -3333,6 +3510,11 @@ export interface StartSyncExecutionInput {
|
|
|
3333
3510
|
* @public
|
|
3334
3511
|
*/
|
|
3335
3512
|
traceHeader?: string;
|
|
3513
|
+
/**
|
|
3514
|
+
* <p>If your state machine definition is encrypted with a KMS key, callers must have <code>kms:Decrypt</code> permission to decrypt the definition. Alternatively, you can call the API with <code>includedData = METADATA_ONLY</code> to get a successful response without the encrypted definition.</p>
|
|
3515
|
+
* @public
|
|
3516
|
+
*/
|
|
3517
|
+
includedData?: IncludedData;
|
|
3336
3518
|
}
|
|
3337
3519
|
/**
|
|
3338
3520
|
* <p>An object that describes workflow billing details.</p>
|
|
@@ -3817,6 +3999,11 @@ export interface UpdateStateMachineInput {
|
|
|
3817
3999
|
* @public
|
|
3818
4000
|
*/
|
|
3819
4001
|
versionDescription?: string;
|
|
4002
|
+
/**
|
|
4003
|
+
* <p>Settings to configure server-side encryption. </p>
|
|
4004
|
+
* @public
|
|
4005
|
+
*/
|
|
4006
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
3820
4007
|
}
|
|
3821
4008
|
/**
|
|
3822
4009
|
* @public
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { SFNServiceException as __BaseException } from "./SFNServiceException";
|
|
3
|
+
export declare class ActivityAlreadyExists extends __BaseException {
|
|
4
|
+
readonly name: "ActivityAlreadyExists";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<ActivityAlreadyExists, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
3
10
|
export declare class ActivityDoesNotExist extends __BaseException {
|
|
4
11
|
readonly name: "ActivityDoesNotExist";
|
|
5
12
|
readonly $fault: "client";
|
|
@@ -55,6 +62,17 @@ export declare class ActivityWorkerLimitExceeded extends __BaseException {
|
|
|
55
62
|
opts: __ExceptionOptionType<ActivityWorkerLimitExceeded, __BaseException>
|
|
56
63
|
);
|
|
57
64
|
}
|
|
65
|
+
export declare const EncryptionType: {
|
|
66
|
+
readonly AWS_OWNED_KEY: "AWS_OWNED_KEY";
|
|
67
|
+
readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
|
|
68
|
+
};
|
|
69
|
+
export type EncryptionType =
|
|
70
|
+
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
71
|
+
export interface EncryptionConfiguration {
|
|
72
|
+
kmsKeyId?: string;
|
|
73
|
+
kmsDataKeyReusePeriodSeconds?: number;
|
|
74
|
+
type: EncryptionType | undefined;
|
|
75
|
+
}
|
|
58
76
|
export interface Tag {
|
|
59
77
|
key?: string;
|
|
60
78
|
value?: string;
|
|
@@ -62,16 +80,38 @@ export interface Tag {
|
|
|
62
80
|
export interface CreateActivityInput {
|
|
63
81
|
name: string | undefined;
|
|
64
82
|
tags?: Tag[];
|
|
83
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
65
84
|
}
|
|
66
85
|
export interface CreateActivityOutput {
|
|
67
86
|
activityArn: string | undefined;
|
|
68
87
|
creationDate: Date | undefined;
|
|
69
88
|
}
|
|
89
|
+
export declare class InvalidEncryptionConfiguration extends __BaseException {
|
|
90
|
+
readonly name: "InvalidEncryptionConfiguration";
|
|
91
|
+
readonly $fault: "client";
|
|
92
|
+
constructor(
|
|
93
|
+
opts: __ExceptionOptionType<InvalidEncryptionConfiguration, __BaseException>
|
|
94
|
+
);
|
|
95
|
+
}
|
|
70
96
|
export declare class InvalidName extends __BaseException {
|
|
71
97
|
readonly name: "InvalidName";
|
|
72
98
|
readonly $fault: "client";
|
|
73
99
|
constructor(opts: __ExceptionOptionType<InvalidName, __BaseException>);
|
|
74
100
|
}
|
|
101
|
+
export declare class KmsAccessDeniedException extends __BaseException {
|
|
102
|
+
readonly name: "KmsAccessDeniedException";
|
|
103
|
+
readonly $fault: "client";
|
|
104
|
+
constructor(
|
|
105
|
+
opts: __ExceptionOptionType<KmsAccessDeniedException, __BaseException>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
export declare class KmsThrottlingException extends __BaseException {
|
|
109
|
+
readonly name: "KmsThrottlingException";
|
|
110
|
+
readonly $fault: "client";
|
|
111
|
+
constructor(
|
|
112
|
+
opts: __ExceptionOptionType<KmsThrottlingException, __BaseException>
|
|
113
|
+
);
|
|
114
|
+
}
|
|
75
115
|
export declare class TooManyTags extends __BaseException {
|
|
76
116
|
readonly name: "TooManyTags";
|
|
77
117
|
readonly $fault: "client";
|
|
@@ -120,6 +160,7 @@ export interface CreateStateMachineInput {
|
|
|
120
160
|
tracingConfiguration?: TracingConfiguration;
|
|
121
161
|
publish?: boolean;
|
|
122
162
|
versionDescription?: string;
|
|
163
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
123
164
|
}
|
|
124
165
|
export interface CreateStateMachineOutput {
|
|
125
166
|
stateMachineArn: string | undefined;
|
|
@@ -243,9 +284,16 @@ export interface DescribeActivityOutput {
|
|
|
243
284
|
activityArn: string | undefined;
|
|
244
285
|
name: string | undefined;
|
|
245
286
|
creationDate: Date | undefined;
|
|
287
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
246
288
|
}
|
|
289
|
+
export declare const IncludedData: {
|
|
290
|
+
readonly ALL_DATA: "ALL_DATA";
|
|
291
|
+
readonly METADATA_ONLY: "METADATA_ONLY";
|
|
292
|
+
};
|
|
293
|
+
export type IncludedData = (typeof IncludedData)[keyof typeof IncludedData];
|
|
247
294
|
export interface DescribeExecutionInput {
|
|
248
295
|
executionArn: string | undefined;
|
|
296
|
+
includedData?: IncludedData;
|
|
249
297
|
}
|
|
250
298
|
export interface CloudWatchEventsExecutionDataDetails {
|
|
251
299
|
included?: boolean;
|
|
@@ -296,6 +344,22 @@ export declare class ExecutionDoesNotExist extends __BaseException {
|
|
|
296
344
|
opts: __ExceptionOptionType<ExecutionDoesNotExist, __BaseException>
|
|
297
345
|
);
|
|
298
346
|
}
|
|
347
|
+
export declare const KmsKeyState: {
|
|
348
|
+
readonly CREATING: "CREATING";
|
|
349
|
+
readonly DISABLED: "DISABLED";
|
|
350
|
+
readonly PENDING_DELETION: "PENDING_DELETION";
|
|
351
|
+
readonly PENDING_IMPORT: "PENDING_IMPORT";
|
|
352
|
+
readonly UNAVAILABLE: "UNAVAILABLE";
|
|
353
|
+
};
|
|
354
|
+
export type KmsKeyState = (typeof KmsKeyState)[keyof typeof KmsKeyState];
|
|
355
|
+
export declare class KmsInvalidStateException extends __BaseException {
|
|
356
|
+
readonly name: "KmsInvalidStateException";
|
|
357
|
+
readonly $fault: "client";
|
|
358
|
+
kmsKeyState?: KmsKeyState;
|
|
359
|
+
constructor(
|
|
360
|
+
opts: __ExceptionOptionType<KmsInvalidStateException, __BaseException>
|
|
361
|
+
);
|
|
362
|
+
}
|
|
299
363
|
export interface DescribeMapRunInput {
|
|
300
364
|
mapRunArn: string | undefined;
|
|
301
365
|
}
|
|
@@ -346,6 +410,7 @@ export interface DescribeMapRunOutput {
|
|
|
346
410
|
}
|
|
347
411
|
export interface DescribeStateMachineInput {
|
|
348
412
|
stateMachineArn: string | undefined;
|
|
413
|
+
includedData?: IncludedData;
|
|
349
414
|
}
|
|
350
415
|
export declare const StateMachineStatus: {
|
|
351
416
|
readonly ACTIVE: "ACTIVE";
|
|
@@ -366,6 +431,7 @@ export interface DescribeStateMachineOutput {
|
|
|
366
431
|
label?: string;
|
|
367
432
|
revisionId?: string;
|
|
368
433
|
description?: string;
|
|
434
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
369
435
|
}
|
|
370
436
|
export declare class StateMachineDoesNotExist extends __BaseException {
|
|
371
437
|
readonly name: "StateMachineDoesNotExist";
|
|
@@ -387,6 +453,7 @@ export interface DescribeStateMachineAliasOutput {
|
|
|
387
453
|
}
|
|
388
454
|
export interface DescribeStateMachineForExecutionInput {
|
|
389
455
|
executionArn: string | undefined;
|
|
456
|
+
includedData?: IncludedData;
|
|
390
457
|
}
|
|
391
458
|
export interface DescribeStateMachineForExecutionOutput {
|
|
392
459
|
stateMachineArn: string | undefined;
|
|
@@ -399,6 +466,7 @@ export interface DescribeStateMachineForExecutionOutput {
|
|
|
399
466
|
mapRunArn?: string;
|
|
400
467
|
label?: string;
|
|
401
468
|
revisionId?: string;
|
|
469
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
402
470
|
}
|
|
403
471
|
export interface GetActivityTaskInput {
|
|
404
472
|
activityArn: string | undefined;
|
|
@@ -855,6 +923,7 @@ export interface StartSyncExecutionInput {
|
|
|
855
923
|
name?: string;
|
|
856
924
|
input?: string;
|
|
857
925
|
traceHeader?: string;
|
|
926
|
+
includedData?: IncludedData;
|
|
858
927
|
}
|
|
859
928
|
export interface BillingDetails {
|
|
860
929
|
billedMemoryUsedInMB?: number;
|
|
@@ -977,6 +1046,7 @@ export interface UpdateStateMachineInput {
|
|
|
977
1046
|
tracingConfiguration?: TracingConfiguration;
|
|
978
1047
|
publish?: boolean;
|
|
979
1048
|
versionDescription?: string;
|
|
1049
|
+
encryptionConfiguration?: EncryptionConfiguration;
|
|
980
1050
|
}
|
|
981
1051
|
export interface UpdateStateMachineOutput {
|
|
982
1052
|
updateDate: Date | undefined;
|
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.
|
|
4
|
+
"version": "3.620.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sfn",
|
|
@@ -20,40 +20,40 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.620.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.620.0",
|
|
25
|
+
"@aws-sdk/core": "3.620.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.620.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.620.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.614.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.3.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.3",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.0
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.5",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.0",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.12",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.3",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.4",
|
|
47
|
-
"@smithy/node-http-handler": "^3.1.
|
|
48
|
-
"@smithy/protocol-http": "^4.0
|
|
49
|
-
"@smithy/smithy-client": "^3.1.
|
|
47
|
+
"@smithy/node-http-handler": "^3.1.4",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.0",
|
|
49
|
+
"@smithy/smithy-client": "^3.1.10",
|
|
50
50
|
"@smithy/types": "^3.3.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.12",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.12",
|
|
57
57
|
"@smithy/util-endpoints": "^2.0.5",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.3",
|
|
59
59
|
"@smithy/util-retry": "^3.0.3",
|