aws-sdk-states 1.72.0 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-states/client.rb +109 -12
- data/lib/aws-sdk-states/client_api.rb +82 -0
- data/lib/aws-sdk-states/errors.rb +85 -0
- data/lib/aws-sdk-states/types.rb +219 -10
- data/lib/aws-sdk-states.rb +1 -1
- data/sig/client.rbs +29 -7
- data/sig/errors.rbs +16 -0
- data/sig/types.rbs +43 -0
- metadata +2 -2
@@ -27,6 +27,7 @@ module Aws::States
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {ActivityAlreadyExists}
|
30
31
|
# * {ActivityDoesNotExist}
|
31
32
|
# * {ActivityLimitExceeded}
|
32
33
|
# * {ActivityWorkerLimitExceeded}
|
@@ -37,12 +38,16 @@ module Aws::States
|
|
37
38
|
# * {ExecutionNotRedrivable}
|
38
39
|
# * {InvalidArn}
|
39
40
|
# * {InvalidDefinition}
|
41
|
+
# * {InvalidEncryptionConfiguration}
|
40
42
|
# * {InvalidExecutionInput}
|
41
43
|
# * {InvalidLoggingConfiguration}
|
42
44
|
# * {InvalidName}
|
43
45
|
# * {InvalidOutput}
|
44
46
|
# * {InvalidToken}
|
45
47
|
# * {InvalidTracingConfiguration}
|
48
|
+
# * {KmsAccessDeniedException}
|
49
|
+
# * {KmsInvalidStateException}
|
50
|
+
# * {KmsThrottlingException}
|
46
51
|
# * {MissingRequiredParameter}
|
47
52
|
# * {ResourceNotFound}
|
48
53
|
# * {ServiceQuotaExceededException}
|
@@ -62,6 +67,21 @@ module Aws::States
|
|
62
67
|
|
63
68
|
extend Aws::Errors::DynamicErrors
|
64
69
|
|
70
|
+
class ActivityAlreadyExists < ServiceError
|
71
|
+
|
72
|
+
# @param [Seahorse::Client::RequestContext] context
|
73
|
+
# @param [String] message
|
74
|
+
# @param [Aws::States::Types::ActivityAlreadyExists] data
|
75
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
76
|
+
super(context, message, data)
|
77
|
+
end
|
78
|
+
|
79
|
+
# @return [String]
|
80
|
+
def message
|
81
|
+
@message || @data[:message]
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
65
85
|
class ActivityDoesNotExist < ServiceError
|
66
86
|
|
67
87
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -212,6 +232,21 @@ module Aws::States
|
|
212
232
|
end
|
213
233
|
end
|
214
234
|
|
235
|
+
class InvalidEncryptionConfiguration < ServiceError
|
236
|
+
|
237
|
+
# @param [Seahorse::Client::RequestContext] context
|
238
|
+
# @param [String] message
|
239
|
+
# @param [Aws::States::Types::InvalidEncryptionConfiguration] data
|
240
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
241
|
+
super(context, message, data)
|
242
|
+
end
|
243
|
+
|
244
|
+
# @return [String]
|
245
|
+
def message
|
246
|
+
@message || @data[:message]
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
215
250
|
class InvalidExecutionInput < ServiceError
|
216
251
|
|
217
252
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -302,6 +337,56 @@ module Aws::States
|
|
302
337
|
end
|
303
338
|
end
|
304
339
|
|
340
|
+
class KmsAccessDeniedException < ServiceError
|
341
|
+
|
342
|
+
# @param [Seahorse::Client::RequestContext] context
|
343
|
+
# @param [String] message
|
344
|
+
# @param [Aws::States::Types::KmsAccessDeniedException] data
|
345
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
346
|
+
super(context, message, data)
|
347
|
+
end
|
348
|
+
|
349
|
+
# @return [String]
|
350
|
+
def message
|
351
|
+
@message || @data[:message]
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
class KmsInvalidStateException < ServiceError
|
356
|
+
|
357
|
+
# @param [Seahorse::Client::RequestContext] context
|
358
|
+
# @param [String] message
|
359
|
+
# @param [Aws::States::Types::KmsInvalidStateException] data
|
360
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
361
|
+
super(context, message, data)
|
362
|
+
end
|
363
|
+
|
364
|
+
# @return [String]
|
365
|
+
def kms_key_state
|
366
|
+
@data[:kms_key_state]
|
367
|
+
end
|
368
|
+
|
369
|
+
# @return [String]
|
370
|
+
def message
|
371
|
+
@message || @data[:message]
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
class KmsThrottlingException < ServiceError
|
376
|
+
|
377
|
+
# @param [Seahorse::Client::RequestContext] context
|
378
|
+
# @param [String] message
|
379
|
+
# @param [Aws::States::Types::KmsThrottlingException] data
|
380
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
381
|
+
super(context, message, data)
|
382
|
+
end
|
383
|
+
|
384
|
+
# @return [String]
|
385
|
+
def message
|
386
|
+
@message || @data[:message]
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
305
390
|
class MissingRequiredParameter < ServiceError
|
306
391
|
|
307
392
|
# @param [Seahorse::Client::RequestContext] context
|
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
|
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
|
|
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
|