aws-sdk-states 1.72.0 → 1.74.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-states/client.rb +128 -13
- data/lib/aws-sdk-states/client_api.rb +87 -0
- data/lib/aws-sdk-states/errors.rb +85 -0
- data/lib/aws-sdk-states/types.rb +246 -12
- data/lib/aws-sdk-states.rb +1 -1
- data/sig/client.rbs +33 -8
- data/sig/errors.rbs +16 -0
- data/sig/types.rbs +47 -1
- metadata +2 -2
data/lib/aws-sdk-states/types.rb
CHANGED
@@ -10,6 +10,19 @@
|
|
10
10
|
module Aws::States
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Activity already exists. `EncryptionConfiguration` may not be updated.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ActivityAlreadyExists AWS API Documentation
|
19
|
+
#
|
20
|
+
class ActivityAlreadyExists < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
13
26
|
# The specified activity does not exist.
|
14
27
|
#
|
15
28
|
# @!attribute [rw] message
|
@@ -328,11 +341,16 @@ module Aws::States
|
|
328
341
|
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
|
329
342
|
# @return [Array<Types::Tag>]
|
330
343
|
#
|
344
|
+
# @!attribute [rw] encryption_configuration
|
345
|
+
# Settings to configure server-side encryption.
|
346
|
+
# @return [Types::EncryptionConfiguration]
|
347
|
+
#
|
331
348
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityInput AWS API Documentation
|
332
349
|
#
|
333
350
|
class CreateActivityInput < Struct.new(
|
334
351
|
:name,
|
335
|
-
:tags
|
352
|
+
:tags,
|
353
|
+
:encryption_configuration)
|
336
354
|
SENSITIVE = []
|
337
355
|
include Aws::Structure
|
338
356
|
end
|
@@ -488,6 +506,10 @@ module Aws::States
|
|
488
506
|
# `false`, this API action throws `ValidationException`.
|
489
507
|
# @return [String]
|
490
508
|
#
|
509
|
+
# @!attribute [rw] encryption_configuration
|
510
|
+
# Settings to configure server-side encryption.
|
511
|
+
# @return [Types::EncryptionConfiguration]
|
512
|
+
#
|
491
513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput AWS API Documentation
|
492
514
|
#
|
493
515
|
class CreateStateMachineInput < Struct.new(
|
@@ -499,7 +521,8 @@ module Aws::States
|
|
499
521
|
:tags,
|
500
522
|
:tracing_configuration,
|
501
523
|
:publish,
|
502
|
-
:version_description
|
524
|
+
:version_description,
|
525
|
+
:encryption_configuration)
|
503
526
|
SENSITIVE = [:definition, :version_description]
|
504
527
|
include Aws::Structure
|
505
528
|
end
|
@@ -633,12 +656,17 @@ module Aws::States
|
|
633
656
|
# The date the activity is created.
|
634
657
|
# @return [Time]
|
635
658
|
#
|
659
|
+
# @!attribute [rw] encryption_configuration
|
660
|
+
# Settings for configured server-side encryption.
|
661
|
+
# @return [Types::EncryptionConfiguration]
|
662
|
+
#
|
636
663
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivityOutput AWS API Documentation
|
637
664
|
#
|
638
665
|
class DescribeActivityOutput < Struct.new(
|
639
666
|
:activity_arn,
|
640
667
|
:name,
|
641
|
-
:creation_date
|
668
|
+
:creation_date,
|
669
|
+
:encryption_configuration)
|
642
670
|
SENSITIVE = []
|
643
671
|
include Aws::Structure
|
644
672
|
end
|
@@ -647,10 +675,19 @@ module Aws::States
|
|
647
675
|
# The Amazon Resource Name (ARN) of the execution to describe.
|
648
676
|
# @return [String]
|
649
677
|
#
|
678
|
+
# @!attribute [rw] included_data
|
679
|
+
# If your state machine definition is encrypted with a KMS key,
|
680
|
+
# callers must have `kms:Decrypt` permission to decrypt the
|
681
|
+
# definition. Alternatively, you can call DescribeStateMachine API
|
682
|
+
# with `includedData = METADATA_ONLY` to get a successful response
|
683
|
+
# without the encrypted definition.
|
684
|
+
# @return [String]
|
685
|
+
#
|
650
686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecutionInput AWS API Documentation
|
651
687
|
#
|
652
688
|
class DescribeExecutionInput < Struct.new(
|
653
|
-
:execution_arn
|
689
|
+
:execution_arn,
|
690
|
+
:included_data)
|
654
691
|
SENSITIVE = []
|
655
692
|
include Aws::Structure
|
656
693
|
end
|
@@ -998,10 +1035,19 @@ module Aws::States
|
|
998
1035
|
# machine information for.
|
999
1036
|
# @return [String]
|
1000
1037
|
#
|
1038
|
+
# @!attribute [rw] included_data
|
1039
|
+
# If your state machine definition is encrypted with a KMS key,
|
1040
|
+
# callers must have `kms:Decrypt` permission to decrypt the
|
1041
|
+
# definition. Alternatively, you can call the API with `includedData =
|
1042
|
+
# METADATA_ONLY` to get a successful response without the encrypted
|
1043
|
+
# definition.
|
1044
|
+
# @return [String]
|
1045
|
+
#
|
1001
1046
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionInput AWS API Documentation
|
1002
1047
|
#
|
1003
1048
|
class DescribeStateMachineForExecutionInput < Struct.new(
|
1004
|
-
:execution_arn
|
1049
|
+
:execution_arn,
|
1050
|
+
:included_data)
|
1005
1051
|
SENSITIVE = []
|
1006
1052
|
include Aws::Structure
|
1007
1053
|
end
|
@@ -1067,6 +1113,10 @@ module Aws::States
|
|
1067
1113
|
# `definition` and `roleArn`.
|
1068
1114
|
# @return [String]
|
1069
1115
|
#
|
1116
|
+
# @!attribute [rw] encryption_configuration
|
1117
|
+
# Settings to configure server-side encryption.
|
1118
|
+
# @return [Types::EncryptionConfiguration]
|
1119
|
+
#
|
1070
1120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionOutput AWS API Documentation
|
1071
1121
|
#
|
1072
1122
|
class DescribeStateMachineForExecutionOutput < Struct.new(
|
@@ -1079,7 +1129,8 @@ module Aws::States
|
|
1079
1129
|
:tracing_configuration,
|
1080
1130
|
:map_run_arn,
|
1081
1131
|
:label,
|
1082
|
-
:revision_id
|
1132
|
+
:revision_id,
|
1133
|
+
:encryption_configuration)
|
1083
1134
|
SENSITIVE = [:definition]
|
1084
1135
|
include Aws::Structure
|
1085
1136
|
end
|
@@ -1094,10 +1145,27 @@ module Aws::States
|
|
1094
1145
|
# example, `stateMachineARN:1`.
|
1095
1146
|
# @return [String]
|
1096
1147
|
#
|
1148
|
+
# @!attribute [rw] included_data
|
1149
|
+
# If your state machine definition is encrypted with a KMS key,
|
1150
|
+
# callers must have `kms:Decrypt` permission to decrypt the
|
1151
|
+
# definition. Alternatively, you can call the API with `includedData =
|
1152
|
+
# METADATA_ONLY` to get a successful response without the encrypted
|
1153
|
+
# definition.
|
1154
|
+
#
|
1155
|
+
# <note markdown="1"> When calling a labelled ARN for an encrypted state machine, the
|
1156
|
+
# `includedData = METADATA_ONLY` parameter will not apply because Step
|
1157
|
+
# Functions needs to decrypt the entire state machine definition to
|
1158
|
+
# get the Distributed Map state’s definition. In this case, the API
|
1159
|
+
# caller needs to have `kms:Decrypt` permission.
|
1160
|
+
#
|
1161
|
+
# </note>
|
1162
|
+
# @return [String]
|
1163
|
+
#
|
1097
1164
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineInput AWS API Documentation
|
1098
1165
|
#
|
1099
1166
|
class DescribeStateMachineInput < Struct.new(
|
1100
|
-
:state_machine_arn
|
1167
|
+
:state_machine_arn,
|
1168
|
+
:included_data)
|
1101
1169
|
SENSITIVE = []
|
1102
1170
|
include Aws::Structure
|
1103
1171
|
end
|
@@ -1138,6 +1206,9 @@ module Aws::States
|
|
1138
1206
|
# The Amazon States Language definition of the state machine. See
|
1139
1207
|
# [Amazon States Language][1].
|
1140
1208
|
#
|
1209
|
+
# If called with `includedData = METADATA_ONLY`, the returned
|
1210
|
+
# definition will be `\{\}`.
|
1211
|
+
#
|
1141
1212
|
#
|
1142
1213
|
#
|
1143
1214
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
|
@@ -1187,6 +1258,10 @@ module Aws::States
|
|
1187
1258
|
# The description of the state machine version.
|
1188
1259
|
# @return [String]
|
1189
1260
|
#
|
1261
|
+
# @!attribute [rw] encryption_configuration
|
1262
|
+
# Settings to configure server-side encryption.
|
1263
|
+
# @return [Types::EncryptionConfiguration]
|
1264
|
+
#
|
1190
1265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput AWS API Documentation
|
1191
1266
|
#
|
1192
1267
|
class DescribeStateMachineOutput < Struct.new(
|
@@ -1201,11 +1276,63 @@ module Aws::States
|
|
1201
1276
|
:tracing_configuration,
|
1202
1277
|
:label,
|
1203
1278
|
:revision_id,
|
1204
|
-
:description
|
1279
|
+
:description,
|
1280
|
+
:encryption_configuration)
|
1205
1281
|
SENSITIVE = [:definition, :description]
|
1206
1282
|
include Aws::Structure
|
1207
1283
|
end
|
1208
1284
|
|
1285
|
+
# Settings to configure server-side encryption.
|
1286
|
+
#
|
1287
|
+
# For additional control over security, you can encrypt your data using
|
1288
|
+
# a **customer-managed key** for Step Functions state machines and
|
1289
|
+
# activities. You can configure a symmetric KMS key and data key reuse
|
1290
|
+
# period when creating or updating a **State Machine**, and when
|
1291
|
+
# creating an **Activity**. The execution history and state machine
|
1292
|
+
# definition will be encrypted with the key applied to the State
|
1293
|
+
# Machine. Activity inputs will be encrypted with the key applied to the
|
1294
|
+
# Activity.
|
1295
|
+
#
|
1296
|
+
# <note markdown="1"> Step Functions automatically enables encryption at rest using Amazon
|
1297
|
+
# Web Services owned keys at no charge. However, KMS charges apply when
|
1298
|
+
# using a customer managed key. For more information about pricing, see
|
1299
|
+
# [Key Management Service pricing][1].
|
1300
|
+
#
|
1301
|
+
# </note>
|
1302
|
+
#
|
1303
|
+
# For more information on KMS, see [What is Key Management Service?][2]
|
1304
|
+
#
|
1305
|
+
#
|
1306
|
+
#
|
1307
|
+
# [1]: https://aws.amazon.com/kms/pricing/
|
1308
|
+
# [2]: https://docs.aws.amazon.com/kms/latest/developerguide/overview.html
|
1309
|
+
#
|
1310
|
+
# @!attribute [rw] kms_key_id
|
1311
|
+
# An alias, alias ARN, key ID, or key ARN of a symmetric encryption
|
1312
|
+
# KMS key to encrypt data. To specify a KMS key in a different Amazon
|
1313
|
+
# Web Services account, you must use the key ARN or alias ARN.
|
1314
|
+
# @return [String]
|
1315
|
+
#
|
1316
|
+
# @!attribute [rw] kms_data_key_reuse_period_seconds
|
1317
|
+
# Maximum duration that Step Functions will reuse data keys. When the
|
1318
|
+
# period expires, Step Functions will call `GenerateDataKey`. Only
|
1319
|
+
# applies to customer managed keys.
|
1320
|
+
# @return [Integer]
|
1321
|
+
#
|
1322
|
+
# @!attribute [rw] type
|
1323
|
+
# Encryption type
|
1324
|
+
# @return [String]
|
1325
|
+
#
|
1326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/EncryptionConfiguration AWS API Documentation
|
1327
|
+
#
|
1328
|
+
class EncryptionConfiguration < Struct.new(
|
1329
|
+
:kms_key_id,
|
1330
|
+
:kms_data_key_reuse_period_seconds,
|
1331
|
+
:type)
|
1332
|
+
SENSITIVE = []
|
1333
|
+
include Aws::Structure
|
1334
|
+
end
|
1335
|
+
|
1209
1336
|
# Contains details about an abort of an execution.
|
1210
1337
|
#
|
1211
1338
|
# @!attribute [rw] error
|
@@ -2018,6 +2145,23 @@ module Aws::States
|
|
2018
2145
|
include Aws::Structure
|
2019
2146
|
end
|
2020
2147
|
|
2148
|
+
# Received when `encryptionConfiguration` is specified but various
|
2149
|
+
# conditions exist which make the configuration invalid. For example, if
|
2150
|
+
# `type` is set to `CUSTOMER_MANAGED_KMS_KEY`, but `kmsKeyId` is null,
|
2151
|
+
# or `kmsDataKeyReusePeriodSeconds` is not between 60 and 900, or the
|
2152
|
+
# KMS key is not symmetric or inactive.
|
2153
|
+
#
|
2154
|
+
# @!attribute [rw] message
|
2155
|
+
# @return [String]
|
2156
|
+
#
|
2157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InvalidEncryptionConfiguration AWS API Documentation
|
2158
|
+
#
|
2159
|
+
class InvalidEncryptionConfiguration < Struct.new(
|
2160
|
+
:message)
|
2161
|
+
SENSITIVE = []
|
2162
|
+
include Aws::Structure
|
2163
|
+
end
|
2164
|
+
|
2021
2165
|
# The provided JSON input data is not valid.
|
2022
2166
|
#
|
2023
2167
|
# @!attribute [rw] message
|
@@ -2031,6 +2175,8 @@ module Aws::States
|
|
2031
2175
|
include Aws::Structure
|
2032
2176
|
end
|
2033
2177
|
|
2178
|
+
# Configuration is not valid.
|
2179
|
+
#
|
2034
2180
|
# @!attribute [rw] message
|
2035
2181
|
# @return [String]
|
2036
2182
|
#
|
@@ -2095,6 +2241,53 @@ module Aws::States
|
|
2095
2241
|
include Aws::Structure
|
2096
2242
|
end
|
2097
2243
|
|
2244
|
+
# Either your KMS key policy or API caller does not have the required
|
2245
|
+
# permissions.
|
2246
|
+
#
|
2247
|
+
# @!attribute [rw] message
|
2248
|
+
# @return [String]
|
2249
|
+
#
|
2250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/KmsAccessDeniedException AWS API Documentation
|
2251
|
+
#
|
2252
|
+
class KmsAccessDeniedException < Struct.new(
|
2253
|
+
:message)
|
2254
|
+
SENSITIVE = []
|
2255
|
+
include Aws::Structure
|
2256
|
+
end
|
2257
|
+
|
2258
|
+
# The KMS key is not in valid state, for example: Disabled or Deleted.
|
2259
|
+
#
|
2260
|
+
# @!attribute [rw] kms_key_state
|
2261
|
+
# Current status of the KMS; key. For example: `DISABLED`,
|
2262
|
+
# `PENDING_DELETION`, `PENDING_IMPORT`, `UNAVAILABLE`, `CREATING`.
|
2263
|
+
# @return [String]
|
2264
|
+
#
|
2265
|
+
# @!attribute [rw] message
|
2266
|
+
# @return [String]
|
2267
|
+
#
|
2268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/KmsInvalidStateException AWS API Documentation
|
2269
|
+
#
|
2270
|
+
class KmsInvalidStateException < Struct.new(
|
2271
|
+
:kms_key_state,
|
2272
|
+
:message)
|
2273
|
+
SENSITIVE = []
|
2274
|
+
include Aws::Structure
|
2275
|
+
end
|
2276
|
+
|
2277
|
+
# Received when KMS returns `ThrottlingException` for a KMS call that
|
2278
|
+
# Step Functions makes on behalf of the caller.
|
2279
|
+
#
|
2280
|
+
# @!attribute [rw] message
|
2281
|
+
# @return [String]
|
2282
|
+
#
|
2283
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/KmsThrottlingException AWS API Documentation
|
2284
|
+
#
|
2285
|
+
class KmsThrottlingException < Struct.new(
|
2286
|
+
:message)
|
2287
|
+
SENSITIVE = []
|
2288
|
+
include Aws::Structure
|
2289
|
+
end
|
2290
|
+
|
2098
2291
|
# Contains details about a Lambda function that failed during an
|
2099
2292
|
# execution.
|
2100
2293
|
#
|
@@ -3358,13 +3551,22 @@ module Aws::States
|
|
3358
3551
|
# in the request payload.
|
3359
3552
|
# @return [String]
|
3360
3553
|
#
|
3554
|
+
# @!attribute [rw] included_data
|
3555
|
+
# If your state machine definition is encrypted with a KMS key,
|
3556
|
+
# callers must have `kms:Decrypt` permission to decrypt the
|
3557
|
+
# definition. Alternatively, you can call the API with `includedData =
|
3558
|
+
# METADATA_ONLY` to get a successful response without the encrypted
|
3559
|
+
# definition.
|
3560
|
+
# @return [String]
|
3561
|
+
#
|
3361
3562
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartSyncExecutionInput AWS API Documentation
|
3362
3563
|
#
|
3363
3564
|
class StartSyncExecutionInput < Struct.new(
|
3364
3565
|
:state_machine_arn,
|
3365
3566
|
:name,
|
3366
3567
|
:input,
|
3367
|
-
:trace_header
|
3568
|
+
:trace_header,
|
3569
|
+
:included_data)
|
3368
3570
|
SENSITIVE = [:input]
|
3369
3571
|
include Aws::Structure
|
3370
3572
|
end
|
@@ -3640,6 +3842,8 @@ module Aws::States
|
|
3640
3842
|
include Aws::Structure
|
3641
3843
|
end
|
3642
3844
|
|
3845
|
+
# State machine type is not supported.
|
3846
|
+
#
|
3643
3847
|
# @!attribute [rw] message
|
3644
3848
|
# @return [String]
|
3645
3849
|
#
|
@@ -4333,6 +4537,10 @@ module Aws::States
|
|
4333
4537
|
# set `publish` to `true`.
|
4334
4538
|
# @return [String]
|
4335
4539
|
#
|
4540
|
+
# @!attribute [rw] encryption_configuration
|
4541
|
+
# Settings to configure server-side encryption.
|
4542
|
+
# @return [Types::EncryptionConfiguration]
|
4543
|
+
#
|
4336
4544
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachineInput AWS API Documentation
|
4337
4545
|
#
|
4338
4546
|
class UpdateStateMachineInput < Struct.new(
|
@@ -4342,7 +4550,8 @@ module Aws::States
|
|
4342
4550
|
:logging_configuration,
|
4343
4551
|
:tracing_configuration,
|
4344
4552
|
:publish,
|
4345
|
-
:version_description
|
4553
|
+
:version_description,
|
4554
|
+
:encryption_configuration)
|
4346
4555
|
SENSITIVE = [:definition, :version_description]
|
4347
4556
|
include Aws::Structure
|
4348
4557
|
end
|
@@ -4423,11 +4632,29 @@ module Aws::States
|
|
4423
4632
|
# `STANDARD`.
|
4424
4633
|
# @return [String]
|
4425
4634
|
#
|
4635
|
+
# @!attribute [rw] severity
|
4636
|
+
# Minimum level of diagnostics to return. `ERROR` returns only `ERROR`
|
4637
|
+
# diagnostics, whereas `WARNING` returns both `WARNING` and `ERROR`
|
4638
|
+
# diagnostics. The default is `ERROR`.
|
4639
|
+
# @return [String]
|
4640
|
+
#
|
4641
|
+
# @!attribute [rw] max_results
|
4642
|
+
# The maximum number of diagnostics that are returned per call. The
|
4643
|
+
# default and maximum value is 100. Setting the value to 0 will also
|
4644
|
+
# use the default of 100.
|
4645
|
+
#
|
4646
|
+
# If the number of diagnostics returned in the response exceeds
|
4647
|
+
# `maxResults`, the value of the `truncated` field in the response
|
4648
|
+
# will be set to `true`.
|
4649
|
+
# @return [Integer]
|
4650
|
+
#
|
4426
4651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ValidateStateMachineDefinitionInput AWS API Documentation
|
4427
4652
|
#
|
4428
4653
|
class ValidateStateMachineDefinitionInput < Struct.new(
|
4429
4654
|
:definition,
|
4430
|
-
:type
|
4655
|
+
:type,
|
4656
|
+
:severity,
|
4657
|
+
:max_results)
|
4431
4658
|
SENSITIVE = [:definition]
|
4432
4659
|
include Aws::Structure
|
4433
4660
|
end
|
@@ -4443,11 +4670,18 @@ module Aws::States
|
|
4443
4670
|
# to help you troubleshoot.
|
4444
4671
|
# @return [Array<Types::ValidateStateMachineDefinitionDiagnostic>]
|
4445
4672
|
#
|
4673
|
+
# @!attribute [rw] truncated
|
4674
|
+
# The result value will be `true` if the number of diagnostics found
|
4675
|
+
# in the workflow definition exceeds `maxResults`. When all
|
4676
|
+
# diagnostics results are returned, the value will be `false`.
|
4677
|
+
# @return [Boolean]
|
4678
|
+
#
|
4446
4679
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ValidateStateMachineDefinitionOutput AWS API Documentation
|
4447
4680
|
#
|
4448
4681
|
class ValidateStateMachineDefinitionOutput < Struct.new(
|
4449
4682
|
:result,
|
4450
|
-
:diagnostics
|
4683
|
+
:diagnostics,
|
4684
|
+
:truncated)
|
4451
4685
|
SENSITIVE = []
|
4452
4686
|
include Aws::Structure
|
4453
4687
|
end
|
data/lib/aws-sdk-states.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -87,7 +87,12 @@ module Aws
|
|
87
87
|
key: ::String?,
|
88
88
|
value: ::String?
|
89
89
|
},
|
90
|
-
]
|
90
|
+
],
|
91
|
+
?encryption_configuration: {
|
92
|
+
kms_key_id: ::String?,
|
93
|
+
kms_data_key_reuse_period_seconds: ::Integer?,
|
94
|
+
type: ("AWS_OWNED_KEY" | "CUSTOMER_MANAGED_KMS_KEY")
|
95
|
+
}
|
91
96
|
) -> _CreateActivityResponseSuccess
|
92
97
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateActivityResponseSuccess
|
93
98
|
|
@@ -124,7 +129,12 @@ module Aws
|
|
124
129
|
enabled: bool?
|
125
130
|
},
|
126
131
|
?publish: bool,
|
127
|
-
?version_description: ::String
|
132
|
+
?version_description: ::String,
|
133
|
+
?encryption_configuration: {
|
134
|
+
kms_key_id: ::String?,
|
135
|
+
kms_data_key_reuse_period_seconds: ::Integer?,
|
136
|
+
type: ("AWS_OWNED_KEY" | "CUSTOMER_MANAGED_KMS_KEY")
|
137
|
+
}
|
128
138
|
) -> _CreateStateMachineResponseSuccess
|
129
139
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStateMachineResponseSuccess
|
130
140
|
|
@@ -187,6 +197,7 @@ module Aws
|
|
187
197
|
def activity_arn: () -> ::String
|
188
198
|
def name: () -> ::String
|
189
199
|
def creation_date: () -> ::Time
|
200
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
190
201
|
end
|
191
202
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_activity-instance_method
|
192
203
|
def describe_activity: (
|
@@ -218,7 +229,8 @@ module Aws
|
|
218
229
|
end
|
219
230
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_execution-instance_method
|
220
231
|
def describe_execution: (
|
221
|
-
execution_arn: ::String
|
232
|
+
execution_arn: ::String,
|
233
|
+
?included_data: ("ALL_DATA" | "METADATA_ONLY")
|
222
234
|
) -> _DescribeExecutionResponseSuccess
|
223
235
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeExecutionResponseSuccess
|
224
236
|
|
@@ -257,10 +269,12 @@ module Aws
|
|
257
269
|
def label: () -> ::String
|
258
270
|
def revision_id: () -> ::String
|
259
271
|
def description: () -> ::String
|
272
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
260
273
|
end
|
261
274
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_state_machine-instance_method
|
262
275
|
def describe_state_machine: (
|
263
|
-
state_machine_arn: ::String
|
276
|
+
state_machine_arn: ::String,
|
277
|
+
?included_data: ("ALL_DATA" | "METADATA_ONLY")
|
264
278
|
) -> _DescribeStateMachineResponseSuccess
|
265
279
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStateMachineResponseSuccess
|
266
280
|
|
@@ -291,10 +305,12 @@ module Aws
|
|
291
305
|
def map_run_arn: () -> ::String
|
292
306
|
def label: () -> ::String
|
293
307
|
def revision_id: () -> ::String
|
308
|
+
def encryption_configuration: () -> Types::EncryptionConfiguration
|
294
309
|
end
|
295
310
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_state_machine_for_execution-instance_method
|
296
311
|
def describe_state_machine_for_execution: (
|
297
|
-
execution_arn: ::String
|
312
|
+
execution_arn: ::String,
|
313
|
+
?included_data: ("ALL_DATA" | "METADATA_ONLY")
|
298
314
|
) -> _DescribeStateMachineForExecutionResponseSuccess
|
299
315
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStateMachineForExecutionResponseSuccess
|
300
316
|
|
@@ -503,7 +519,8 @@ module Aws
|
|
503
519
|
state_machine_arn: ::String,
|
504
520
|
?name: ::String,
|
505
521
|
?input: ::String,
|
506
|
-
?trace_header: ::String
|
522
|
+
?trace_header: ::String,
|
523
|
+
?included_data: ("ALL_DATA" | "METADATA_ONLY")
|
507
524
|
) -> _StartSyncExecutionResponseSuccess
|
508
525
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSyncExecutionResponseSuccess
|
509
526
|
|
@@ -600,7 +617,12 @@ module Aws
|
|
600
617
|
enabled: bool?
|
601
618
|
},
|
602
619
|
?publish: bool,
|
603
|
-
?version_description: ::String
|
620
|
+
?version_description: ::String,
|
621
|
+
?encryption_configuration: {
|
622
|
+
kms_key_id: ::String?,
|
623
|
+
kms_data_key_reuse_period_seconds: ::Integer?,
|
624
|
+
type: ("AWS_OWNED_KEY" | "CUSTOMER_MANAGED_KMS_KEY")
|
625
|
+
}
|
604
626
|
) -> _UpdateStateMachineResponseSuccess
|
605
627
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStateMachineResponseSuccess
|
606
628
|
|
@@ -625,11 +647,14 @@ module Aws
|
|
625
647
|
include ::Seahorse::Client::_ResponseSuccess[Types::ValidateStateMachineDefinitionOutput]
|
626
648
|
def result: () -> ("OK" | "FAIL")
|
627
649
|
def diagnostics: () -> ::Array[Types::ValidateStateMachineDefinitionDiagnostic]
|
650
|
+
def truncated: () -> bool
|
628
651
|
end
|
629
652
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#validate_state_machine_definition-instance_method
|
630
653
|
def validate_state_machine_definition: (
|
631
654
|
definition: ::String,
|
632
|
-
?type: ("STANDARD" | "EXPRESS")
|
655
|
+
?type: ("STANDARD" | "EXPRESS"),
|
656
|
+
?severity: ("ERROR" | "WARNING"),
|
657
|
+
?max_results: ::Integer
|
633
658
|
) -> _ValidateStateMachineDefinitionResponseSuccess
|
634
659
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateStateMachineDefinitionResponseSuccess
|
635
660
|
end
|
data/sig/errors.rbs
CHANGED
@@ -11,6 +11,9 @@ module Aws
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
12
12
|
end
|
13
13
|
|
14
|
+
class ActivityAlreadyExists < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
14
17
|
class ActivityDoesNotExist < ::Aws::Errors::ServiceError
|
15
18
|
def message: () -> ::String
|
16
19
|
end
|
@@ -41,6 +44,9 @@ module Aws
|
|
41
44
|
class InvalidDefinition < ::Aws::Errors::ServiceError
|
42
45
|
def message: () -> ::String
|
43
46
|
end
|
47
|
+
class InvalidEncryptionConfiguration < ::Aws::Errors::ServiceError
|
48
|
+
def message: () -> ::String
|
49
|
+
end
|
44
50
|
class InvalidExecutionInput < ::Aws::Errors::ServiceError
|
45
51
|
def message: () -> ::String
|
46
52
|
end
|
@@ -59,6 +65,16 @@ module Aws
|
|
59
65
|
class InvalidTracingConfiguration < ::Aws::Errors::ServiceError
|
60
66
|
def message: () -> ::String
|
61
67
|
end
|
68
|
+
class KmsAccessDeniedException < ::Aws::Errors::ServiceError
|
69
|
+
def message: () -> ::String
|
70
|
+
end
|
71
|
+
class KmsInvalidStateException < ::Aws::Errors::ServiceError
|
72
|
+
def kms_key_state: () -> ::String
|
73
|
+
def message: () -> ::String
|
74
|
+
end
|
75
|
+
class KmsThrottlingException < ::Aws::Errors::ServiceError
|
76
|
+
def message: () -> ::String
|
77
|
+
end
|
62
78
|
class MissingRequiredParameter < ::Aws::Errors::ServiceError
|
63
79
|
def message: () -> ::String
|
64
80
|
end
|