aws-sdk-states 1.71.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: fd7555486c0cd8e3e61e6e92ef200f04ea9f3913eb076db8352f6565a031d172
4
- data.tar.gz: 696dc5ae2a4eaa8f9cf47c93ef782fd3d2b279fb72580e97c61fbca2512cf279
3
+ metadata.gz: 6d8470ffa769273e67d0bdaa85d2a1a708c850c61872d3ba2e1131ffa7c57b5f
4
+ data.tar.gz: e6f54fb3f66dead49cdbed514ee81d0dc52fe054f19548307f03d12cbb8971f2
5
5
  SHA512:
6
- metadata.gz: '09d394966b6102c506e8954ba7825f8896cdce5c604f8ec459db40d9cb3aa04c8d7a72f94de1c9a53852ccb585b77bf77224fbbda0ce519771383c83b6367112'
7
- data.tar.gz: f3bdf94dec0ef2d78df436a9917754a098a1fe063180c165bfd698ccbcfa8393ab41eeaa620b59ca173939544f0a22465b65b6999e7189f0887e97c2bd800abf
6
+ metadata.gz: 20fdbcbd4e8e25721998f8c24a98e74ebbfa51e9fa418230b1983faa86295e007bd8b74c134cf7a1cfd5f72a8d421d6411ad2b5d17f1136bb6906956713f7420
7
+ data.tar.gz: 7e30d822a05a48cd28f5d6422205f15ead4a633d6ce13ef4a40cc0f0a180f1912584521466822b1012c70b8a10e0f0ce5d7f9480c264826b4c18d6c39e0511af
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.72.0 (2024-07-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.71.0 (2024-07-01)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.71.0
1
+ 1.73.0
@@ -312,6 +312,15 @@ module Aws::States
312
312
  #
313
313
  # @option options [String] :session_token
314
314
  #
315
+ # @option options [Array] :sigv4a_signing_region_set
316
+ # A list of regions that should be signed with SigV4a signing. When
317
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
318
+ # in the following locations:
319
+ #
320
+ # * `Aws.config[:sigv4a_signing_region_set]`
321
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
322
+ # * `~/.aws/config`
323
+ #
315
324
  # @option options [Boolean] :simple_json (false)
316
325
  # Disables request parameter conversion, validation, and formatting.
317
326
  # Also disables response data type conversions. The request parameters
@@ -486,6 +495,9 @@ module Aws::States
486
495
  # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
487
496
  # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
488
497
  #
498
+ # @option params [Types::EncryptionConfiguration] :encryption_configuration
499
+ # Settings to configure server-side encryption.
500
+ #
489
501
  # @return [Types::CreateActivityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
490
502
  #
491
503
  # * {Types::CreateActivityOutput#activity_arn #activity_arn} => String
@@ -501,6 +513,11 @@ module Aws::States
501
513
  # value: "TagValue",
502
514
  # },
503
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
+ # },
504
521
  # })
505
522
  #
506
523
  # @example Response structure
@@ -527,6 +544,13 @@ module Aws::States
527
544
  # If you set the `publish` parameter of this API action to `true`, it
528
545
  # publishes version `1` as the first revision of the state machine.
529
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
+ #
530
554
  # <note markdown="1"> This operation is eventually consistent. The results are best effort
531
555
  # and may not reflect very recent updates and changes.
532
556
  #
@@ -535,13 +559,13 @@ module Aws::States
535
559
  # <note markdown="1"> `CreateStateMachine` is an idempotent API. Subsequent requests won’t
536
560
  # create a duplicate resource if it was already created.
537
561
  # `CreateStateMachine`'s idempotency check is based on the state
538
- # machine `name`, `definition`, `type`, `LoggingConfiguration`, and
539
- # `TracingConfiguration`. The check is also based on the `publish` and
540
- # `versionDescription` parameters. If a following request has a
541
- # different `roleArn` or `tags`, Step Functions will ignore these
542
- # differences and treat it as an idempotent request of the previous. In
543
- # this case, `roleArn` and `tags` will not be updated, even if they are
544
- # 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.
545
569
  #
546
570
  # </note>
547
571
  #
@@ -625,6 +649,9 @@ module Aws::States
625
649
  # you set `versionDescription`, but `publish` to `false`, this API
626
650
  # action throws `ValidationException`.
627
651
  #
652
+ # @option params [Types::EncryptionConfiguration] :encryption_configuration
653
+ # Settings to configure server-side encryption.
654
+ #
628
655
  # @return [Types::CreateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
629
656
  #
630
657
  # * {Types::CreateStateMachineOutput#state_machine_arn #state_machine_arn} => String
@@ -660,6 +687,11 @@ module Aws::States
660
687
  # },
661
688
  # publish: false,
662
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
+ # },
663
695
  # })
664
696
  #
665
697
  # @example Response structure
@@ -951,6 +983,7 @@ module Aws::States
951
983
  # * {Types::DescribeActivityOutput#activity_arn #activity_arn} => String
952
984
  # * {Types::DescribeActivityOutput#name #name} => String
953
985
  # * {Types::DescribeActivityOutput#creation_date #creation_date} => Time
986
+ # * {Types::DescribeActivityOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
954
987
  #
955
988
  # @example Request syntax with placeholder values
956
989
  #
@@ -963,6 +996,9 @@ module Aws::States
963
996
  # resp.activity_arn #=> String
964
997
  # resp.name #=> String
965
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"
966
1002
  #
967
1003
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity AWS API Documentation
968
1004
  #
@@ -999,6 +1035,13 @@ module Aws::States
999
1035
  # @option params [required, String] :execution_arn
1000
1036
  # The Amazon Resource Name (ARN) of the execution to describe.
1001
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
+ #
1002
1045
  # @return [Types::DescribeExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1003
1046
  #
1004
1047
  # * {Types::DescribeExecutionOutput#execution_arn #execution_arn} => String
@@ -1026,6 +1069,7 @@ module Aws::States
1026
1069
  #
1027
1070
  # resp = client.describe_execution({
1028
1071
  # execution_arn: "Arn", # required
1072
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
1029
1073
  # })
1030
1074
  #
1031
1075
  # @example Response structure
@@ -1191,6 +1235,21 @@ module Aws::States
1191
1235
  # ARN and the version number separated by a colon (:). For example,
1192
1236
  # `stateMachineARN:1`.
1193
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
+ #
1194
1253
  # @return [Types::DescribeStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1195
1254
  #
1196
1255
  # * {Types::DescribeStateMachineOutput#state_machine_arn #state_machine_arn} => String
@@ -1205,11 +1264,13 @@ module Aws::States
1205
1264
  # * {Types::DescribeStateMachineOutput#label #label} => String
1206
1265
  # * {Types::DescribeStateMachineOutput#revision_id #revision_id} => String
1207
1266
  # * {Types::DescribeStateMachineOutput#description #description} => String
1267
+ # * {Types::DescribeStateMachineOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
1208
1268
  #
1209
1269
  # @example Request syntax with placeholder values
1210
1270
  #
1211
1271
  # resp = client.describe_state_machine({
1212
1272
  # state_machine_arn: "Arn", # required
1273
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
1213
1274
  # })
1214
1275
  #
1215
1276
  # @example Response structure
@@ -1229,6 +1290,9 @@ module Aws::States
1229
1290
  # resp.label #=> String
1230
1291
  # resp.revision_id #=> String
1231
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"
1232
1296
  #
1233
1297
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine AWS API Documentation
1234
1298
  #
@@ -1310,6 +1374,13 @@ module Aws::States
1310
1374
  # The Amazon Resource Name (ARN) of the execution you want state machine
1311
1375
  # information for.
1312
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
+ #
1313
1384
  # @return [Types::DescribeStateMachineForExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1314
1385
  #
1315
1386
  # * {Types::DescribeStateMachineForExecutionOutput#state_machine_arn #state_machine_arn} => String
@@ -1322,11 +1393,13 @@ module Aws::States
1322
1393
  # * {Types::DescribeStateMachineForExecutionOutput#map_run_arn #map_run_arn} => String
1323
1394
  # * {Types::DescribeStateMachineForExecutionOutput#label #label} => String
1324
1395
  # * {Types::DescribeStateMachineForExecutionOutput#revision_id #revision_id} => String
1396
+ # * {Types::DescribeStateMachineForExecutionOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
1325
1397
  #
1326
1398
  # @example Request syntax with placeholder values
1327
1399
  #
1328
1400
  # resp = client.describe_state_machine_for_execution({
1329
1401
  # execution_arn: "Arn", # required
1402
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
1330
1403
  # })
1331
1404
  #
1332
1405
  # @example Response structure
@@ -1344,6 +1417,9 @@ module Aws::States
1344
1417
  # resp.map_run_arn #=> String
1345
1418
  # resp.label #=> String
1346
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"
1347
1423
  #
1348
1424
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution AWS API Documentation
1349
1425
  #
@@ -2270,6 +2346,13 @@ module Aws::States
2270
2346
  # and optionally Task states using the [job run][2] pattern to report
2271
2347
  # that the task identified by the `taskToken` failed.
2272
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
+ #
2273
2356
  #
2274
2357
  #
2275
2358
  # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token
@@ -2612,6 +2695,13 @@ module Aws::States
2612
2695
  # Passes the X-Ray trace header. The trace header can also be passed in
2613
2696
  # the request payload.
2614
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
+ #
2615
2705
  # @return [Types::StartSyncExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2616
2706
  #
2617
2707
  # * {Types::StartSyncExecutionOutput#execution_arn #execution_arn} => String
@@ -2636,6 +2726,7 @@ module Aws::States
2636
2726
  # name: "Name",
2637
2727
  # input: "SensitiveData",
2638
2728
  # trace_header: "TraceHeader",
2729
+ # included_data: "ALL_DATA", # accepts ALL_DATA, METADATA_ONLY
2639
2730
  # })
2640
2731
  #
2641
2732
  # @example Response structure
@@ -2669,6 +2760,13 @@ module Aws::States
2669
2760
  #
2670
2761
  # This API action is not supported by `EXPRESS` state machines.
2671
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
+ #
2672
2770
  # @option params [required, String] :execution_arn
2673
2771
  # The Amazon Resource Name (ARN) of the execution to stop.
2674
2772
  #
@@ -2972,10 +3070,10 @@ module Aws::States
2972
3070
  end
2973
3071
 
2974
3072
  # Updates an existing state machine by modifying its `definition`,
2975
- # `roleArn`, or `loggingConfiguration`. Running executions will continue
2976
- # to use the previous `definition` and `roleArn`. You must include at
2977
- # least one of `definition` or `roleArn` or you will receive a
2978
- # `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.
2979
3077
  #
2980
3078
  # A qualified state machine ARN refers to a *Distributed Map state*
2981
3079
  # defined within a state machine. For example, the qualified state
@@ -3070,6 +3168,9 @@ module Aws::States
3070
3168
  # You can only specify the `versionDescription` parameter if you've set
3071
3169
  # `publish` to `true`.
3072
3170
  #
3171
+ # @option params [Types::EncryptionConfiguration] :encryption_configuration
3172
+ # Settings to configure server-side encryption.
3173
+ #
3073
3174
  # @return [Types::UpdateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3074
3175
  #
3075
3176
  # * {Types::UpdateStateMachineOutput#update_date #update_date} => Time
@@ -3098,6 +3199,11 @@ module Aws::States
3098
3199
  # },
3099
3200
  # publish: false,
3100
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
+ # },
3101
3207
  # })
3102
3208
  #
3103
3209
  # @example Response structure
@@ -3275,7 +3381,7 @@ module Aws::States
3275
3381
  params: params,
3276
3382
  config: config)
3277
3383
  context[:gem_name] = 'aws-sdk-states'
3278
- context[:gem_version] = '1.71.0'
3384
+ context[:gem_version] = '1.73.0'
3279
3385
  Seahorse::Client::Request.new(handlers, context)
3280
3386
  end
3281
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|