aws-sdk-states 1.72.0 → 1.73.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00b08b5d202e5c0093830505b4a551cac636fa117a152a1054dc770d6c903cd9
4
- data.tar.gz: cbeb07668ca62a8913633fab31f9826830e6e4ece09d998a8f712d9bc34d386b
3
+ metadata.gz: 6d8470ffa769273e67d0bdaa85d2a1a708c850c61872d3ba2e1131ffa7c57b5f
4
+ data.tar.gz: e6f54fb3f66dead49cdbed514ee81d0dc52fe054f19548307f03d12cbb8971f2
5
5
  SHA512:
6
- metadata.gz: a9a0c27a5c2dca0adce50d7b6faabde4ea722072c460f13ef8f4707f6c648cfc3fa51c39c9268a6e667d6be1e175d58932d3a94149d187153e88c59c9e0f14e5
7
- data.tar.gz: d672c5864b66d8c7bdbe86ebb2ae6d00d256cadfc991e5f2cb5197563bdf79491f85d12662cdc814b33f18b32bb410b1c930c1f980e3c7a747002c6456a59cb2
6
+ metadata.gz: 20fdbcbd4e8e25721998f8c24a98e74ebbfa51e9fa418230b1983faa86295e007bd8b74c134cf7a1cfd5f72a8d421d6411ad2b5d17f1136bb6906956713f7420
7
+ data.tar.gz: 7e30d822a05a48cd28f5d6422205f15ead4a633d6ce13ef4a40cc0f0a180f1912584521466822b1012c70b8a10e0f0ce5d7f9480c264826b4c18d6c39e0511af
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.73.0 (2024-07-25)
5
+ ------------------
6
+
7
+ * Feature - This release adds support to customer managed KMS key encryption in AWS Step Functions.
8
+
4
9
  1.72.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.72.0
1
+ 1.73.0
@@ -495,6 +495,9 @@ module Aws::States
495
495
  # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
496
496
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
497
497
  #
498
+ # @option params [Types::EncryptionConfiguration] :encryption_configuration
499
+ # Settings to configure server-side encryption.
500
+ #
498
501
  # @return [Types::CreateActivityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
499
502
  #
500
503
  # * {Types::CreateActivityOutput#activity_arn #activity_arn} => String
@@ -510,6 +513,11 @@ module Aws::States
510
513
  # value: "TagValue",
511
514
  # },
512
515
  # ],
516
+ # encryption_configuration: {
517
+ # kms_key_id: "KmsKeyId",
518
+ # kms_data_key_reuse_period_seconds: 1,
519
+ # type: "AWS_OWNED_KEY", # required, accepts AWS_OWNED_KEY, CUSTOMER_MANAGED_KMS_KEY
520
+ # },
513
521
  # })
514
522
  #
515
523
  # @example Response structure
@@ -536,6 +544,13 @@ module Aws::States
536
544
  # If you set the `publish` parameter of this API action to `true`, it
537
545
  # publishes version `1` as the first revision of the state machine.
538
546
  #
547
+ # For additional control over security, you can encrypt your data using
548
+ # a **customer-managed key** for Step Functions state machines. You can
549
+ # configure a symmetric KMS key and data key reuse period when creating
550
+ # or updating a **State Machine**. The execution history and state
551
+ # machine definition will be encrypted with the key applied to the State
552
+ # Machine.
553
+ #
539
554
  # <note markdown="1"> This operation is eventually consistent. The results are best effort
540
555
  # and may not reflect very recent updates and changes.
541
556
  #
@@ -544,13 +559,13 @@ module Aws::States
544
559
  # <note markdown="1"> `CreateStateMachine` is an idempotent API. Subsequent requests won’t
545
560
  # create a duplicate resource if it was already created.
546
561
  # `CreateStateMachine`'s idempotency check is based on the state
547
- # machine `name`, `definition`, `type`, `LoggingConfiguration`, and
548
- # `TracingConfiguration`. The check is also based on the `publish` and
549
- # `versionDescription` parameters. If a following request has a
550
- # different `roleArn` or `tags`, Step Functions will ignore these
551
- # differences and treat it as an idempotent request of the previous. In
552
- # this case, `roleArn` and `tags` will not be updated, even if they are
553
- # different.
562
+ # machine `name`, `definition`, `type`, `LoggingConfiguration`,
563
+ # `TracingConfiguration`, and `EncryptionConfiguration` The check is
564
+ # also based on the `publish` and `versionDescription` parameters. If a
565
+ # following request has a different `roleArn` or `tags`, Step Functions
566
+ # will ignore these differences and treat it as an idempotent request of
567
+ # the previous. In this case, `roleArn` and `tags` will not be updated,
568
+ # even if they are different.
554
569
  #
555
570
  # </note>
556
571
  #
@@ -634,6 +649,9 @@ module Aws::States
634
649
  # you set `versionDescription`, but `publish` to `false`, this API
635
650
  # action throws `ValidationException`.
636
651
  #
652
+ # @option params [Types::EncryptionConfiguration] :encryption_configuration
653
+ # Settings to configure server-side encryption.
654
+ #
637
655
  # @return [Types::CreateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
638
656
  #
639
657
  # * {Types::CreateStateMachineOutput#state_machine_arn #state_machine_arn} => String
@@ -669,6 +687,11 @@ module Aws::States
669
687
  # },
670
688
  # publish: false,
671
689
  # version_description: "VersionDescription",
690
+ # encryption_configuration: {
691
+ # kms_key_id: "KmsKeyId",
692
+ # kms_data_key_reuse_period_seconds: 1,
693
+ # type: "AWS_OWNED_KEY", # required, accepts AWS_OWNED_KEY, CUSTOMER_MANAGED_KMS_KEY
694
+ # },
672
695
  # })
673
696
  #
674
697
  # @example Response structure
@@ -960,6 +983,7 @@ module Aws::States
960
983
  # * {Types::DescribeActivityOutput#activity_arn #activity_arn} => String
961
984
  # * {Types::DescribeActivityOutput#name #name} => String
962
985
  # * {Types::DescribeActivityOutput#creation_date #creation_date} => Time
986
+ # * {Types::DescribeActivityOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
963
987
  #
964
988
  # @example Request syntax with placeholder values
965
989
  #
@@ -972,6 +996,9 @@ module Aws::States
972
996
  # resp.activity_arn #=> String
973
997
  # resp.name #=> String
974
998
  # resp.creation_date #=> Time
999
+ # resp.encryption_configuration.kms_key_id #=> String
1000
+ # resp.encryption_configuration.kms_data_key_reuse_period_seconds #=> Integer
1001
+ # resp.encryption_configuration.type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KMS_KEY"
975
1002
  #
976
1003
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity AWS API Documentation
977
1004
  #
@@ -1008,6 +1035,13 @@ module Aws::States
1008
1035
  # @option params [required, String] :execution_arn
1009
1036
  # The Amazon Resource Name (ARN) of the execution to describe.
1010
1037
  #
1038
+ # @option params [String] :included_data
1039
+ # If your state machine definition is encrypted with a KMS key, callers
1040
+ # must have `kms:Decrypt` permission to decrypt the definition.
1041
+ # Alternatively, you can call DescribeStateMachine API with
1042
+ # `includedData = METADATA_ONLY` to get a successful response without
1043
+ # the encrypted definition.
1044
+ #
1011
1045
  # @return [Types::DescribeExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1012
1046
  #
1013
1047
  # * {Types::DescribeExecutionOutput#execution_arn #execution_arn} => String
@@ -1035,6 +1069,7 @@ module Aws::States
1035
1069
  #
1036
1070
  # resp = client.describe_execution({
1037
1071
  # execution_arn: "Arn", # required
1072
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
1038
1073
  # })
1039
1074
  #
1040
1075
  # @example Response structure
@@ -1200,6 +1235,21 @@ module Aws::States
1200
1235
  # ARN and the version number separated by a colon (:). For example,
1201
1236
  # `stateMachineARN:1`.
1202
1237
  #
1238
+ # @option params [String] :included_data
1239
+ # If your state machine definition is encrypted with a KMS key, callers
1240
+ # must have `kms:Decrypt` permission to decrypt the definition.
1241
+ # Alternatively, you can call the API with `includedData =
1242
+ # METADATA_ONLY` to get a successful response without the encrypted
1243
+ # definition.
1244
+ #
1245
+ # <note markdown="1"> When calling a labelled ARN for an encrypted state machine, the
1246
+ # `includedData = METADATA_ONLY` parameter will not apply because Step
1247
+ # Functions needs to decrypt the entire state machine definition to get
1248
+ # the Distributed Map state’s definition. In this case, the API caller
1249
+ # needs to have `kms:Decrypt` permission.
1250
+ #
1251
+ # </note>
1252
+ #
1203
1253
  # @return [Types::DescribeStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1204
1254
  #
1205
1255
  # * {Types::DescribeStateMachineOutput#state_machine_arn #state_machine_arn} => String
@@ -1214,11 +1264,13 @@ module Aws::States
1214
1264
  # * {Types::DescribeStateMachineOutput#label #label} => String
1215
1265
  # * {Types::DescribeStateMachineOutput#revision_id #revision_id} => String
1216
1266
  # * {Types::DescribeStateMachineOutput#description #description} => String
1267
+ # * {Types::DescribeStateMachineOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
1217
1268
  #
1218
1269
  # @example Request syntax with placeholder values
1219
1270
  #
1220
1271
  # resp = client.describe_state_machine({
1221
1272
  # state_machine_arn: "Arn", # required
1273
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
1222
1274
  # })
1223
1275
  #
1224
1276
  # @example Response structure
@@ -1238,6 +1290,9 @@ module Aws::States
1238
1290
  # resp.label #=> String
1239
1291
  # resp.revision_id #=> String
1240
1292
  # resp.description #=> String
1293
+ # resp.encryption_configuration.kms_key_id #=> String
1294
+ # resp.encryption_configuration.kms_data_key_reuse_period_seconds #=> Integer
1295
+ # resp.encryption_configuration.type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KMS_KEY"
1241
1296
  #
1242
1297
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine AWS API Documentation
1243
1298
  #
@@ -1319,6 +1374,13 @@ module Aws::States
1319
1374
  # The Amazon Resource Name (ARN) of the execution you want state machine
1320
1375
  # information for.
1321
1376
  #
1377
+ # @option params [String] :included_data
1378
+ # If your state machine definition is encrypted with a KMS key, callers
1379
+ # must have `kms:Decrypt` permission to decrypt the definition.
1380
+ # Alternatively, you can call the API with `includedData =
1381
+ # METADATA_ONLY` to get a successful response without the encrypted
1382
+ # definition.
1383
+ #
1322
1384
  # @return [Types::DescribeStateMachineForExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1323
1385
  #
1324
1386
  # * {Types::DescribeStateMachineForExecutionOutput#state_machine_arn #state_machine_arn} => String
@@ -1331,11 +1393,13 @@ module Aws::States
1331
1393
  # * {Types::DescribeStateMachineForExecutionOutput#map_run_arn #map_run_arn} => String
1332
1394
  # * {Types::DescribeStateMachineForExecutionOutput#label #label} => String
1333
1395
  # * {Types::DescribeStateMachineForExecutionOutput#revision_id #revision_id} => String
1396
+ # * {Types::DescribeStateMachineForExecutionOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
1334
1397
  #
1335
1398
  # @example Request syntax with placeholder values
1336
1399
  #
1337
1400
  # resp = client.describe_state_machine_for_execution({
1338
1401
  # execution_arn: "Arn", # required
1402
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
1339
1403
  # })
1340
1404
  #
1341
1405
  # @example Response structure
@@ -1353,6 +1417,9 @@ module Aws::States
1353
1417
  # resp.map_run_arn #=> String
1354
1418
  # resp.label #=> String
1355
1419
  # resp.revision_id #=> String
1420
+ # resp.encryption_configuration.kms_key_id #=> String
1421
+ # resp.encryption_configuration.kms_data_key_reuse_period_seconds #=> Integer
1422
+ # resp.encryption_configuration.type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KMS_KEY"
1356
1423
  #
1357
1424
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution AWS API Documentation
1358
1425
  #
@@ -2279,6 +2346,13 @@ module Aws::States
2279
2346
  # and optionally Task states using the [job run][2] pattern to report
2280
2347
  # that the task identified by the `taskToken` failed.
2281
2348
  #
2349
+ # For an execution with encryption enabled, Step Functions will encrypt
2350
+ # the error and cause fields using the KMS key for the execution role.
2351
+ #
2352
+ # A caller can mark a task as fail without using any KMS permissions in
2353
+ # the execution role if the caller provides a null value for both
2354
+ # `error` and `cause` fields because no data needs to be encrypted.
2355
+ #
2282
2356
  #
2283
2357
  #
2284
2358
  # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token
@@ -2621,6 +2695,13 @@ module Aws::States
2621
2695
  # Passes the X-Ray trace header. The trace header can also be passed in
2622
2696
  # the request payload.
2623
2697
  #
2698
+ # @option params [String] :included_data
2699
+ # If your state machine definition is encrypted with a KMS key, callers
2700
+ # must have `kms:Decrypt` permission to decrypt the definition.
2701
+ # Alternatively, you can call the API with `includedData =
2702
+ # METADATA_ONLY` to get a successful response without the encrypted
2703
+ # definition.
2704
+ #
2624
2705
  # @return [Types::StartSyncExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2625
2706
  #
2626
2707
  # * {Types::StartSyncExecutionOutput#execution_arn #execution_arn} => String
@@ -2645,6 +2726,7 @@ module Aws::States
2645
2726
  # name: "Name",
2646
2727
  # input: "SensitiveData",
2647
2728
  # trace_header: "TraceHeader",
2729
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
2648
2730
  # })
2649
2731
  #
2650
2732
  # @example Response structure
@@ -2678,6 +2760,13 @@ module Aws::States
2678
2760
  #
2679
2761
  # This API action is not supported by `EXPRESS` state machines.
2680
2762
  #
2763
+ # For an execution with encryption enabled, Step Functions will encrypt
2764
+ # the error and cause fields using the KMS key for the execution role.
2765
+ #
2766
+ # A caller can stop an execution without using any KMS permissions in
2767
+ # the execution role if the caller provides a null value for both
2768
+ # `error` and `cause` fields because no data needs to be encrypted.
2769
+ #
2681
2770
  # @option params [required, String] :execution_arn
2682
2771
  # The Amazon Resource Name (ARN) of the execution to stop.
2683
2772
  #
@@ -2981,10 +3070,10 @@ module Aws::States
2981
3070
  end
2982
3071
 
2983
3072
  # Updates an existing state machine by modifying its `definition`,
2984
- # `roleArn`, or `loggingConfiguration`. Running executions will continue
2985
- # to use the previous `definition` and `roleArn`. You must include at
2986
- # least one of `definition` or `roleArn` or you will receive a
2987
- # `MissingRequiredParameter` error.
3073
+ # `roleArn`, `loggingConfiguration`, or `EncryptionConfiguration`.
3074
+ # Running executions will continue to use the previous `definition` and
3075
+ # `roleArn`. You must include at least one of `definition` or `roleArn`
3076
+ # or you will receive a `MissingRequiredParameter` error.
2988
3077
  #
2989
3078
  # A qualified state machine ARN refers to a *Distributed Map state*
2990
3079
  # defined within a state machine. For example, the qualified state
@@ -3079,6 +3168,9 @@ module Aws::States
3079
3168
  # You can only specify the `versionDescription` parameter if you've set
3080
3169
  # `publish` to `true`.
3081
3170
  #
3171
+ # @option params [Types::EncryptionConfiguration] :encryption_configuration
3172
+ # Settings to configure server-side encryption.
3173
+ #
3082
3174
  # @return [Types::UpdateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3083
3175
  #
3084
3176
  # * {Types::UpdateStateMachineOutput#update_date #update_date} => Time
@@ -3107,6 +3199,11 @@ module Aws::States
3107
3199
  # },
3108
3200
  # publish: false,
3109
3201
  # version_description: "VersionDescription",
3202
+ # encryption_configuration: {
3203
+ # kms_key_id: "KmsKeyId",
3204
+ # kms_data_key_reuse_period_seconds: 1,
3205
+ # type: "AWS_OWNED_KEY", # required, accepts AWS_OWNED_KEY, CUSTOMER_MANAGED_KMS_KEY
3206
+ # },
3110
3207
  # })
3111
3208
  #
3112
3209
  # @example Response structure
@@ -3284,7 +3381,7 @@ module Aws::States
3284
3381
  params: params,
3285
3382
  config: config)
3286
3383
  context[:gem_name] = 'aws-sdk-states'
3287
- context[:gem_version] = '1.72.0'
3384
+ context[:gem_version] = '1.73.0'
3288
3385
  Seahorse::Client::Request.new(handlers, context)
3289
3386
  end
3290
3387
 
@@ -13,6 +13,7 @@ module Aws::States
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ ActivityAlreadyExists = Shapes::StructureShape.new(name: 'ActivityAlreadyExists')
16
17
  ActivityDoesNotExist = Shapes::StructureShape.new(name: 'ActivityDoesNotExist')
17
18
  ActivityFailedEventDetails = Shapes::StructureShape.new(name: 'ActivityFailedEventDetails')
18
19
  ActivityLimitExceeded = Shapes::StructureShape.new(name: 'ActivityLimitExceeded')
@@ -63,6 +64,8 @@ module Aws::States
63
64
  DescribeStateMachineInput = Shapes::StructureShape.new(name: 'DescribeStateMachineInput')
64
65
  DescribeStateMachineOutput = Shapes::StructureShape.new(name: 'DescribeStateMachineOutput')
65
66
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
67
+ EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
68
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
66
69
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
67
70
  EventId = Shapes::IntegerShape.new(name: 'EventId')
68
71
  ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
@@ -97,18 +100,26 @@ module Aws::States
97
100
  Identity = Shapes::StringShape.new(name: 'Identity')
98
101
  IncludeExecutionData = Shapes::BooleanShape.new(name: 'IncludeExecutionData')
99
102
  IncludeExecutionDataGetExecutionHistory = Shapes::BooleanShape.new(name: 'IncludeExecutionDataGetExecutionHistory')
103
+ IncludedData = Shapes::StringShape.new(name: 'IncludedData')
100
104
  InspectionData = Shapes::StructureShape.new(name: 'InspectionData')
101
105
  InspectionDataRequest = Shapes::StructureShape.new(name: 'InspectionDataRequest')
102
106
  InspectionDataResponse = Shapes::StructureShape.new(name: 'InspectionDataResponse')
103
107
  InspectionLevel = Shapes::StringShape.new(name: 'InspectionLevel')
104
108
  InvalidArn = Shapes::StructureShape.new(name: 'InvalidArn')
105
109
  InvalidDefinition = Shapes::StructureShape.new(name: 'InvalidDefinition')
110
+ InvalidEncryptionConfiguration = Shapes::StructureShape.new(name: 'InvalidEncryptionConfiguration')
106
111
  InvalidExecutionInput = Shapes::StructureShape.new(name: 'InvalidExecutionInput')
107
112
  InvalidLoggingConfiguration = Shapes::StructureShape.new(name: 'InvalidLoggingConfiguration')
108
113
  InvalidName = Shapes::StructureShape.new(name: 'InvalidName')
109
114
  InvalidOutput = Shapes::StructureShape.new(name: 'InvalidOutput')
110
115
  InvalidToken = Shapes::StructureShape.new(name: 'InvalidToken')
111
116
  InvalidTracingConfiguration = Shapes::StructureShape.new(name: 'InvalidTracingConfiguration')
117
+ KmsAccessDeniedException = Shapes::StructureShape.new(name: 'KmsAccessDeniedException')
118
+ KmsDataKeyReusePeriodSeconds = Shapes::IntegerShape.new(name: 'KmsDataKeyReusePeriodSeconds')
119
+ KmsInvalidStateException = Shapes::StructureShape.new(name: 'KmsInvalidStateException')
120
+ KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
121
+ KmsKeyState = Shapes::StringShape.new(name: 'KmsKeyState')
122
+ KmsThrottlingException = Shapes::StructureShape.new(name: 'KmsThrottlingException')
112
123
  LambdaFunctionFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionFailedEventDetails')
113
124
  LambdaFunctionScheduleFailedEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduleFailedEventDetails')
114
125
  LambdaFunctionScheduledEventDetails = Shapes::StructureShape.new(name: 'LambdaFunctionScheduledEventDetails')
@@ -254,6 +265,9 @@ module Aws::States
254
265
  includedDetails = Shapes::BooleanShape.new(name: 'includedDetails')
255
266
  truncated = Shapes::BooleanShape.new(name: 'truncated')
256
267
 
268
+ ActivityAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
269
+ ActivityAlreadyExists.struct_class = Types::ActivityAlreadyExists
270
+
257
271
  ActivityDoesNotExist.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
258
272
  ActivityDoesNotExist.struct_class = Types::ActivityDoesNotExist
259
273
 
@@ -311,6 +325,7 @@ module Aws::States
311
325
 
312
326
  CreateActivityInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
313
327
  CreateActivityInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
328
+ CreateActivityInput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
314
329
  CreateActivityInput.struct_class = Types::CreateActivityInput
315
330
 
316
331
  CreateActivityOutput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
@@ -335,6 +350,7 @@ module Aws::States
335
350
  CreateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
336
351
  CreateStateMachineInput.add_member(:publish, Shapes::ShapeRef.new(shape: Publish, location_name: "publish"))
337
352
  CreateStateMachineInput.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "versionDescription"))
353
+ CreateStateMachineInput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
338
354
  CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
339
355
 
340
356
  CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -368,9 +384,11 @@ module Aws::States
368
384
  DescribeActivityOutput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
369
385
  DescribeActivityOutput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
370
386
  DescribeActivityOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationDate"))
387
+ DescribeActivityOutput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
371
388
  DescribeActivityOutput.struct_class = Types::DescribeActivityOutput
372
389
 
373
390
  DescribeExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
391
+ DescribeExecutionInput.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "includedData"))
374
392
  DescribeExecutionInput.struct_class = Types::DescribeExecutionInput
375
393
 
376
394
  DescribeExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -424,6 +442,7 @@ module Aws::States
424
442
  DescribeStateMachineAliasOutput.struct_class = Types::DescribeStateMachineAliasOutput
425
443
 
426
444
  DescribeStateMachineForExecutionInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
445
+ DescribeStateMachineForExecutionInput.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "includedData"))
427
446
  DescribeStateMachineForExecutionInput.struct_class = Types::DescribeStateMachineForExecutionInput
428
447
 
429
448
  DescribeStateMachineForExecutionOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -436,9 +455,11 @@ module Aws::States
436
455
  DescribeStateMachineForExecutionOutput.add_member(:map_run_arn, Shapes::ShapeRef.new(shape: LongArn, location_name: "mapRunArn"))
437
456
  DescribeStateMachineForExecutionOutput.add_member(:label, Shapes::ShapeRef.new(shape: MapRunLabel, location_name: "label"))
438
457
  DescribeStateMachineForExecutionOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
458
+ DescribeStateMachineForExecutionOutput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
439
459
  DescribeStateMachineForExecutionOutput.struct_class = Types::DescribeStateMachineForExecutionOutput
440
460
 
441
461
  DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
462
+ DescribeStateMachineInput.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "includedData"))
442
463
  DescribeStateMachineInput.struct_class = Types::DescribeStateMachineInput
443
464
 
444
465
  DescribeStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -453,8 +474,14 @@ module Aws::States
453
474
  DescribeStateMachineOutput.add_member(:label, Shapes::ShapeRef.new(shape: MapRunLabel, location_name: "label"))
454
475
  DescribeStateMachineOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
455
476
  DescribeStateMachineOutput.add_member(:description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "description"))
477
+ DescribeStateMachineOutput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
456
478
  DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
457
479
 
480
+ EncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
481
+ EncryptionConfiguration.add_member(:kms_data_key_reuse_period_seconds, Shapes::ShapeRef.new(shape: KmsDataKeyReusePeriodSeconds, location_name: "kmsDataKeyReusePeriodSeconds", metadata: {"box"=>true}))
482
+ EncryptionConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "type"))
483
+ EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
484
+
458
485
  ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
459
486
  ExecutionAbortedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
460
487
  ExecutionAbortedEventDetails.struct_class = Types::ExecutionAbortedEventDetails
@@ -605,6 +632,9 @@ module Aws::States
605
632
  InvalidDefinition.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
606
633
  InvalidDefinition.struct_class = Types::InvalidDefinition
607
634
 
635
+ InvalidEncryptionConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
636
+ InvalidEncryptionConfiguration.struct_class = Types::InvalidEncryptionConfiguration
637
+
608
638
  InvalidExecutionInput.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
609
639
  InvalidExecutionInput.struct_class = Types::InvalidExecutionInput
610
640
 
@@ -623,6 +653,16 @@ module Aws::States
623
653
  InvalidTracingConfiguration.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
624
654
  InvalidTracingConfiguration.struct_class = Types::InvalidTracingConfiguration
625
655
 
656
+ KmsAccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
657
+ KmsAccessDeniedException.struct_class = Types::KmsAccessDeniedException
658
+
659
+ KmsInvalidStateException.add_member(:kms_key_state, Shapes::ShapeRef.new(shape: KmsKeyState, location_name: "kmsKeyState"))
660
+ KmsInvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
661
+ KmsInvalidStateException.struct_class = Types::KmsInvalidStateException
662
+
663
+ KmsThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
664
+ KmsThrottlingException.struct_class = Types::KmsThrottlingException
665
+
626
666
  LambdaFunctionFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
627
667
  LambdaFunctionFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
628
668
  LambdaFunctionFailedEventDetails.struct_class = Types::LambdaFunctionFailedEventDetails
@@ -836,6 +876,7 @@ module Aws::States
836
876
  StartSyncExecutionInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
837
877
  StartSyncExecutionInput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
838
878
  StartSyncExecutionInput.add_member(:trace_header, Shapes::ShapeRef.new(shape: TraceHeader, location_name: "traceHeader"))
879
+ StartSyncExecutionInput.add_member(:included_data, Shapes::ShapeRef.new(shape: IncludedData, location_name: "includedData"))
839
880
  StartSyncExecutionInput.struct_class = Types::StartSyncExecutionInput
840
881
 
841
882
  StartSyncExecutionOutput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -1030,6 +1071,7 @@ module Aws::States
1030
1071
  UpdateStateMachineInput.add_member(:tracing_configuration, Shapes::ShapeRef.new(shape: TracingConfiguration, location_name: "tracingConfiguration"))
1031
1072
  UpdateStateMachineInput.add_member(:publish, Shapes::ShapeRef.new(shape: Publish, location_name: "publish"))
1032
1073
  UpdateStateMachineInput.add_member(:version_description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "versionDescription"))
1074
+ UpdateStateMachineInput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
1033
1075
  UpdateStateMachineInput.struct_class = Types::UpdateStateMachineInput
1034
1076
 
1035
1077
  UpdateStateMachineOutput.add_member(:update_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "updateDate"))
@@ -1085,8 +1127,12 @@ module Aws::States
1085
1127
  o.input = Shapes::ShapeRef.new(shape: CreateActivityInput)
1086
1128
  o.output = Shapes::ShapeRef.new(shape: CreateActivityOutput)
1087
1129
  o.errors << Shapes::ShapeRef.new(shape: ActivityLimitExceeded)
1130
+ o.errors << Shapes::ShapeRef.new(shape: ActivityAlreadyExists)
1088
1131
  o.errors << Shapes::ShapeRef.new(shape: InvalidName)
1089
1132
  o.errors << Shapes::ShapeRef.new(shape: TooManyTags)
1133
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEncryptionConfiguration)
1134
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1135
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1090
1136
  end)
1091
1137
 
1092
1138
  api.add_operation(:create_state_machine, Seahorse::Model::Operation.new.tap do |o|
@@ -1107,6 +1153,9 @@ module Aws::States
1107
1153
  o.errors << Shapes::ShapeRef.new(shape: TooManyTags)
1108
1154
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1109
1155
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1156
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEncryptionConfiguration)
1157
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1110
1159
  end)
1111
1160
 
1112
1161
  api.add_operation(:create_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -1184,6 +1233,9 @@ module Aws::States
1184
1233
  o.output = Shapes::ShapeRef.new(shape: DescribeExecutionOutput)
1185
1234
  o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
1186
1235
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1236
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1237
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1238
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1187
1239
  end)
1188
1240
 
1189
1241
  api.add_operation(:describe_map_run, Seahorse::Model::Operation.new.tap do |o|
@@ -1204,6 +1256,9 @@ module Aws::States
1204
1256
  o.output = Shapes::ShapeRef.new(shape: DescribeStateMachineOutput)
1205
1257
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1206
1258
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
1259
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1260
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1261
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1207
1262
  end)
1208
1263
 
1209
1264
  api.add_operation(:describe_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -1225,6 +1280,9 @@ module Aws::States
1225
1280
  o.output = Shapes::ShapeRef.new(shape: DescribeStateMachineForExecutionOutput)
1226
1281
  o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
1227
1282
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1283
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1284
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1285
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1228
1286
  end)
1229
1287
 
1230
1288
  api.add_operation(:get_activity_task, Seahorse::Model::Operation.new.tap do |o|
@@ -1236,6 +1294,9 @@ module Aws::States
1236
1294
  o.errors << Shapes::ShapeRef.new(shape: ActivityDoesNotExist)
1237
1295
  o.errors << Shapes::ShapeRef.new(shape: ActivityWorkerLimitExceeded)
1238
1296
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1297
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1298
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1299
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1239
1300
  end)
1240
1301
 
1241
1302
  api.add_operation(:get_execution_history, Seahorse::Model::Operation.new.tap do |o|
@@ -1247,6 +1308,9 @@ module Aws::States
1247
1308
  o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
1248
1309
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1249
1310
  o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
1311
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1312
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1313
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1250
1314
  o[:pager] = Aws::Pager.new(
1251
1315
  limit_key: "max_results",
1252
1316
  tokens: {
@@ -1392,6 +1456,9 @@ module Aws::States
1392
1456
  o.errors << Shapes::ShapeRef.new(shape: TaskDoesNotExist)
1393
1457
  o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
1394
1458
  o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
1459
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1460
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1395
1462
  end)
1396
1463
 
1397
1464
  api.add_operation(:send_task_heartbeat, Seahorse::Model::Operation.new.tap do |o|
@@ -1415,6 +1482,9 @@ module Aws::States
1415
1482
  o.errors << Shapes::ShapeRef.new(shape: InvalidOutput)
1416
1483
  o.errors << Shapes::ShapeRef.new(shape: InvalidToken)
1417
1484
  o.errors << Shapes::ShapeRef.new(shape: TaskTimedOut)
1485
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1486
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1487
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1418
1488
  end)
1419
1489
 
1420
1490
  api.add_operation(:start_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -1431,6 +1501,9 @@ module Aws::States
1431
1501
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
1432
1502
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
1433
1503
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1504
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1505
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1506
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1434
1507
  end)
1435
1508
 
1436
1509
  api.add_operation(:start_sync_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -1448,6 +1521,9 @@ module Aws::States
1448
1521
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDoesNotExist)
1449
1522
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
1450
1523
  o.errors << Shapes::ShapeRef.new(shape: StateMachineTypeNotSupported)
1524
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1525
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1526
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1451
1527
  end)
1452
1528
 
1453
1529
  api.add_operation(:stop_execution, Seahorse::Model::Operation.new.tap do |o|
@@ -1459,6 +1535,9 @@ module Aws::States
1459
1535
  o.errors << Shapes::ShapeRef.new(shape: ExecutionDoesNotExist)
1460
1536
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
1461
1537
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1538
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1539
+ o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
1540
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1462
1541
  end)
1463
1542
 
1464
1543
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1524,6 +1603,9 @@ module Aws::States
1524
1603
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1525
1604
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1526
1605
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1606
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEncryptionConfiguration)
1607
+ o.errors << Shapes::ShapeRef.new(shape: KmsAccessDeniedException)
1608
+ o.errors << Shapes::ShapeRef.new(shape: KmsThrottlingException)
1527
1609
  end)
1528
1610
 
1529
1611
  api.add_operation(:update_state_machine_alias, Seahorse::Model::Operation.new.tap do |o|