aws-sdk-states 1.83.0 → 1.85.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 +75 -18
- data/lib/aws-sdk-states/client_api.rb +34 -1
- data/lib/aws-sdk-states/types.rb +227 -22
- data/lib/aws-sdk-states.rb +1 -1
- data/sig/client.rbs +7 -2
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +27 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 168fdba082e95841305cb7f7321668835bcdef11053872465b6113b81318f74d
|
4
|
+
data.tar.gz: c0e77e2144be7df6ac23dedc37a12ec29ecdce1a2e054169aec984105cd9ae63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c8cb3ca02d91e78b344e930765aa188eebac1e69e9987ed78e5ffa0f259b89372ad1cc3ec3ea72b84807ddc86930afe7a874c54b2a9e689c2f2ae49eb62e931
|
7
|
+
data.tar.gz: 1f875ff286197fac11d9709707d575a68b360d373af71f5e2ad6e8062bb6cffb9051a795e5648ccf6902564a09a401353b4d7d404b0e814e8d5b5e8f13dbf078
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.85.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.84.0 (2024-11-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support for variables and JSONata in TestState, GetExecutionHistory, DescribeStateMachine, and DescribeStateMachineForExecution
|
13
|
+
|
4
14
|
1.83.0 (2024-11-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.85.0
|
@@ -257,11 +257,34 @@ module Aws::States
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -1287,6 +1310,7 @@ module Aws::States
|
|
1287
1310
|
# * {Types::DescribeStateMachineOutput#revision_id #revision_id} => String
|
1288
1311
|
# * {Types::DescribeStateMachineOutput#description #description} => String
|
1289
1312
|
# * {Types::DescribeStateMachineOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
|
1313
|
+
# * {Types::DescribeStateMachineOutput#variable_references #variable_references} => Hash<String,Array<String>>
|
1290
1314
|
#
|
1291
1315
|
# @example Request syntax with placeholder values
|
1292
1316
|
#
|
@@ -1315,6 +1339,9 @@ module Aws::States
|
|
1315
1339
|
# resp.encryption_configuration.kms_key_id #=> String
|
1316
1340
|
# resp.encryption_configuration.kms_data_key_reuse_period_seconds #=> Integer
|
1317
1341
|
# resp.encryption_configuration.type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KMS_KEY"
|
1342
|
+
# resp.variable_references #=> Hash
|
1343
|
+
# resp.variable_references["StateName"] #=> Array
|
1344
|
+
# resp.variable_references["StateName"][0] #=> String
|
1318
1345
|
#
|
1319
1346
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine AWS API Documentation
|
1320
1347
|
#
|
@@ -1416,6 +1443,7 @@ module Aws::States
|
|
1416
1443
|
# * {Types::DescribeStateMachineForExecutionOutput#label #label} => String
|
1417
1444
|
# * {Types::DescribeStateMachineForExecutionOutput#revision_id #revision_id} => String
|
1418
1445
|
# * {Types::DescribeStateMachineForExecutionOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
|
1446
|
+
# * {Types::DescribeStateMachineForExecutionOutput#variable_references #variable_references} => Hash<String,Array<String>>
|
1419
1447
|
#
|
1420
1448
|
# @example Request syntax with placeholder values
|
1421
1449
|
#
|
@@ -1442,6 +1470,9 @@ module Aws::States
|
|
1442
1470
|
# resp.encryption_configuration.kms_key_id #=> String
|
1443
1471
|
# resp.encryption_configuration.kms_data_key_reuse_period_seconds #=> Integer
|
1444
1472
|
# resp.encryption_configuration.type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KMS_KEY"
|
1473
|
+
# resp.variable_references #=> Hash
|
1474
|
+
# resp.variable_references["StateName"] #=> Array
|
1475
|
+
# resp.variable_references["StateName"][0] #=> String
|
1445
1476
|
#
|
1446
1477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution AWS API Documentation
|
1447
1478
|
#
|
@@ -1573,7 +1604,7 @@ module Aws::States
|
|
1573
1604
|
#
|
1574
1605
|
# resp.events #=> Array
|
1575
1606
|
# resp.events[0].timestamp #=> Time
|
1576
|
-
# resp.events[0].type #=> String, one of "ActivityFailed", "ActivityScheduled", "ActivityScheduleFailed", "ActivityStarted", "ActivitySucceeded", "ActivityTimedOut", "ChoiceStateEntered", "ChoiceStateExited", "ExecutionAborted", "ExecutionFailed", "ExecutionStarted", "ExecutionSucceeded", "ExecutionTimedOut", "FailStateEntered", "LambdaFunctionFailed", "LambdaFunctionScheduled", "LambdaFunctionScheduleFailed", "LambdaFunctionStarted", "LambdaFunctionStartFailed", "LambdaFunctionSucceeded", "LambdaFunctionTimedOut", "MapIterationAborted", "MapIterationFailed", "MapIterationStarted", "MapIterationSucceeded", "MapStateAborted", "MapStateEntered", "MapStateExited", "MapStateFailed", "MapStateStarted", "MapStateSucceeded", "ParallelStateAborted", "ParallelStateEntered", "ParallelStateExited", "ParallelStateFailed", "ParallelStateStarted", "ParallelStateSucceeded", "PassStateEntered", "PassStateExited", "SucceedStateEntered", "SucceedStateExited", "TaskFailed", "TaskScheduled", "TaskStarted", "TaskStartFailed", "TaskStateAborted", "TaskStateEntered", "TaskStateExited", "TaskSubmitFailed", "TaskSubmitted", "TaskSucceeded", "TaskTimedOut", "WaitStateAborted", "WaitStateEntered", "WaitStateExited", "MapRunAborted", "MapRunFailed", "MapRunStarted", "MapRunSucceeded", "ExecutionRedriven", "MapRunRedriven"
|
1607
|
+
# resp.events[0].type #=> String, one of "ActivityFailed", "ActivityScheduled", "ActivityScheduleFailed", "ActivityStarted", "ActivitySucceeded", "ActivityTimedOut", "ChoiceStateEntered", "ChoiceStateExited", "ExecutionAborted", "ExecutionFailed", "ExecutionStarted", "ExecutionSucceeded", "ExecutionTimedOut", "FailStateEntered", "LambdaFunctionFailed", "LambdaFunctionScheduled", "LambdaFunctionScheduleFailed", "LambdaFunctionStarted", "LambdaFunctionStartFailed", "LambdaFunctionSucceeded", "LambdaFunctionTimedOut", "MapIterationAborted", "MapIterationFailed", "MapIterationStarted", "MapIterationSucceeded", "MapStateAborted", "MapStateEntered", "MapStateExited", "MapStateFailed", "MapStateStarted", "MapStateSucceeded", "ParallelStateAborted", "ParallelStateEntered", "ParallelStateExited", "ParallelStateFailed", "ParallelStateStarted", "ParallelStateSucceeded", "PassStateEntered", "PassStateExited", "SucceedStateEntered", "SucceedStateExited", "TaskFailed", "TaskScheduled", "TaskStarted", "TaskStartFailed", "TaskStateAborted", "TaskStateEntered", "TaskStateExited", "TaskSubmitFailed", "TaskSubmitted", "TaskSucceeded", "TaskTimedOut", "WaitStateAborted", "WaitStateEntered", "WaitStateExited", "MapRunAborted", "MapRunFailed", "MapRunStarted", "MapRunSucceeded", "ExecutionRedriven", "MapRunRedriven", "EvaluationFailed"
|
1577
1608
|
# resp.events[0].id #=> Integer
|
1578
1609
|
# resp.events[0].previous_event_id #=> Integer
|
1579
1610
|
# resp.events[0].activity_failed_event_details.error #=> String
|
@@ -1667,11 +1698,18 @@ module Aws::States
|
|
1667
1698
|
# resp.events[0].state_exited_event_details.name #=> String
|
1668
1699
|
# resp.events[0].state_exited_event_details.output #=> String
|
1669
1700
|
# resp.events[0].state_exited_event_details.output_details.truncated #=> Boolean
|
1701
|
+
# resp.events[0].state_exited_event_details.assigned_variables #=> Hash
|
1702
|
+
# resp.events[0].state_exited_event_details.assigned_variables["VariableName"] #=> String
|
1703
|
+
# resp.events[0].state_exited_event_details.assigned_variables_details.truncated #=> Boolean
|
1670
1704
|
# resp.events[0].map_run_started_event_details.map_run_arn #=> String
|
1671
1705
|
# resp.events[0].map_run_failed_event_details.error #=> String
|
1672
1706
|
# resp.events[0].map_run_failed_event_details.cause #=> String
|
1673
1707
|
# resp.events[0].map_run_redriven_event_details.map_run_arn #=> String
|
1674
1708
|
# resp.events[0].map_run_redriven_event_details.redrive_count #=> Integer
|
1709
|
+
# resp.events[0].evaluation_failed_event_details.error #=> String
|
1710
|
+
# resp.events[0].evaluation_failed_event_details.cause #=> String
|
1711
|
+
# resp.events[0].evaluation_failed_event_details.location #=> String
|
1712
|
+
# resp.events[0].evaluation_failed_event_details.state #=> String
|
1675
1713
|
# resp.next_token #=> String
|
1676
1714
|
#
|
1677
1715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory AWS API Documentation
|
@@ -2932,7 +2970,7 @@ module Aws::States
|
|
2932
2970
|
#
|
2933
2971
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
|
2934
2972
|
#
|
2935
|
-
# @option params [
|
2973
|
+
# @option params [String] :role_arn
|
2936
2974
|
# The Amazon Resource Name (ARN) of the execution role with the required
|
2937
2975
|
# IAM permissions for the state.
|
2938
2976
|
#
|
@@ -2976,6 +3014,10 @@ module Aws::States
|
|
2976
3014
|
#
|
2977
3015
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/test-state-isolation.html#test-state-permissions
|
2978
3016
|
#
|
3017
|
+
# @option params [String] :variables
|
3018
|
+
# JSON object literal that sets variables used in the state under test.
|
3019
|
+
# Object keys are the variable names and values are the variable values.
|
3020
|
+
#
|
2979
3021
|
# @return [Types::TestStateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2980
3022
|
#
|
2981
3023
|
# * {Types::TestStateOutput#output #output} => String
|
@@ -2989,10 +3031,11 @@ module Aws::States
|
|
2989
3031
|
#
|
2990
3032
|
# resp = client.test_state({
|
2991
3033
|
# definition: "Definition", # required
|
2992
|
-
# role_arn: "Arn",
|
3034
|
+
# role_arn: "Arn",
|
2993
3035
|
# input: "SensitiveData",
|
2994
3036
|
# inspection_level: "INFO", # accepts INFO, DEBUG, TRACE
|
2995
3037
|
# reveal_secrets: false,
|
3038
|
+
# variables: "SensitiveData",
|
2996
3039
|
# })
|
2997
3040
|
#
|
2998
3041
|
# @example Response structure
|
@@ -3001,6 +3044,7 @@ module Aws::States
|
|
3001
3044
|
# resp.error #=> String
|
3002
3045
|
# resp.cause #=> String
|
3003
3046
|
# resp.inspection_data.input #=> String
|
3047
|
+
# resp.inspection_data.after_arguments #=> String
|
3004
3048
|
# resp.inspection_data.after_input_path #=> String
|
3005
3049
|
# resp.inspection_data.after_parameters #=> String
|
3006
3050
|
# resp.inspection_data.result #=> String
|
@@ -3016,6 +3060,7 @@ module Aws::States
|
|
3016
3060
|
# resp.inspection_data.response.status_message #=> String
|
3017
3061
|
# resp.inspection_data.response.headers #=> String
|
3018
3062
|
# resp.inspection_data.response.body #=> String
|
3063
|
+
# resp.inspection_data.variables #=> String
|
3019
3064
|
# resp.next_state #=> String
|
3020
3065
|
# resp.status #=> String, one of "SUCCEEDED", "FAILED", "RETRIABLE", "CAUGHT_ERROR"
|
3021
3066
|
#
|
@@ -3319,34 +3364,46 @@ module Aws::States
|
|
3319
3364
|
req.send_request(options)
|
3320
3365
|
end
|
3321
3366
|
|
3322
|
-
# Validates the syntax of a state machine definition
|
3367
|
+
# Validates the syntax of a state machine definition specified in
|
3368
|
+
# [Amazon States Language][1] (ASL), a JSON-based, structured language.
|
3323
3369
|
#
|
3324
3370
|
# You can validate that a state machine definition is correct without
|
3325
|
-
# creating a state machine resource.
|
3326
|
-
# perform the same syntax check when you invoke `CreateStateMachine` and
|
3327
|
-
# `UpdateStateMachine`. State machine definitions are specified using a
|
3328
|
-
# JSON-based, structured language. For more information on Amazon States
|
3329
|
-
# Language see [Amazon States Language][1] (ASL).
|
3371
|
+
# creating a state machine resource.
|
3330
3372
|
#
|
3331
3373
|
# Suggested uses for `ValidateStateMachineDefinition`:
|
3332
3374
|
#
|
3333
3375
|
# * Integrate automated checks into your code review or Continuous
|
3334
|
-
# Integration (CI) process to
|
3335
|
-
#
|
3376
|
+
# Integration (CI) process to check state machine definitions before
|
3377
|
+
# starting deployments.
|
3378
|
+
#
|
3379
|
+
# * Run validation from a Git pre-commit hook to verify the definition
|
3380
|
+
# before committing to your source repository.
|
3381
|
+
#
|
3382
|
+
# Validation will look for problems in your state machine definition and
|
3383
|
+
# return a **result** and a list of **diagnostic elements**.
|
3384
|
+
#
|
3385
|
+
# The **result** value will be `OK` when your workflow definition can be
|
3386
|
+
# successfully created or updated. Note the result can be `OK` even when
|
3387
|
+
# diagnostic warnings are present in the response. The **result** value
|
3388
|
+
# will be `FAIL` when the workflow definition contains errors that would
|
3389
|
+
# prevent you from creating or updating your state machine.
|
3336
3390
|
#
|
3337
|
-
#
|
3338
|
-
#
|
3339
|
-
#
|
3391
|
+
# The list of [ValidateStateMachineDefinitionDiagnostic][2] data
|
3392
|
+
# elements can contain zero or more **WARNING** and/or **ERROR**
|
3393
|
+
# elements.
|
3340
3394
|
#
|
3341
|
-
# <note markdown="1">
|
3342
|
-
#
|
3343
|
-
#
|
3395
|
+
# <note markdown="1"> The **ValidateStateMachineDefinition API** might add new diagnostics
|
3396
|
+
# in the future, adjust diagnostic codes, or change the message wording.
|
3397
|
+
# Your automated processes should only rely on the value of the
|
3398
|
+
# **result** field value (OK, FAIL). Do **not** rely on the exact order,
|
3399
|
+
# count, or wording of diagnostic messages.
|
3344
3400
|
#
|
3345
3401
|
# </note>
|
3346
3402
|
#
|
3347
3403
|
#
|
3348
3404
|
#
|
3349
3405
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
|
3406
|
+
# [2]: https://docs.aws.amazon.com/step-functions/latest/apireference/API_ValidateStateMachineDefinitionDiagnostic.html
|
3350
3407
|
#
|
3351
3408
|
# @option params [required, String] :definition
|
3352
3409
|
# The Amazon States Language definition of the state machine. For more
|
@@ -3426,7 +3483,7 @@ module Aws::States
|
|
3426
3483
|
tracer: tracer
|
3427
3484
|
)
|
3428
3485
|
context[:gem_name] = 'aws-sdk-states'
|
3429
|
-
context[:gem_version] = '1.
|
3486
|
+
context[:gem_version] = '1.85.0'
|
3430
3487
|
Seahorse::Client::Request.new(handlers, context)
|
3431
3488
|
end
|
3432
3489
|
|
@@ -28,6 +28,8 @@ module Aws::States
|
|
28
28
|
ActivityWorkerLimitExceeded = Shapes::StructureShape.new(name: 'ActivityWorkerLimitExceeded')
|
29
29
|
AliasDescription = Shapes::StringShape.new(name: 'AliasDescription')
|
30
30
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
31
|
+
AssignedVariables = Shapes::MapShape.new(name: 'AssignedVariables')
|
32
|
+
AssignedVariablesDetails = Shapes::StructureShape.new(name: 'AssignedVariablesDetails')
|
31
33
|
BilledDuration = Shapes::IntegerShape.new(name: 'BilledDuration')
|
32
34
|
BilledMemoryUsed = Shapes::IntegerShape.new(name: 'BilledMemoryUsed')
|
33
35
|
BillingDetails = Shapes::StructureShape.new(name: 'BillingDetails')
|
@@ -68,6 +70,8 @@ module Aws::States
|
|
68
70
|
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
69
71
|
EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
|
70
72
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
73
|
+
EvaluationFailedEventDetails = Shapes::StructureShape.new(name: 'EvaluationFailedEventDetails')
|
74
|
+
EvaluationFailureLocation = Shapes::StringShape.new(name: 'EvaluationFailureLocation')
|
71
75
|
EventId = Shapes::IntegerShape.new(name: 'EventId')
|
72
76
|
ExecutionAbortedEventDetails = Shapes::StructureShape.new(name: 'ExecutionAbortedEventDetails')
|
73
77
|
ExecutionAlreadyExists = Shapes::StructureShape.new(name: 'ExecutionAlreadyExists')
|
@@ -263,6 +267,10 @@ module Aws::States
|
|
263
267
|
ValidateStateMachineDefinitionTruncated = Shapes::BooleanShape.new(name: 'ValidateStateMachineDefinitionTruncated')
|
264
268
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
265
269
|
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
270
|
+
VariableName = Shapes::StringShape.new(name: 'VariableName')
|
271
|
+
VariableNameList = Shapes::ListShape.new(name: 'VariableNameList')
|
272
|
+
VariableReferences = Shapes::MapShape.new(name: 'VariableReferences')
|
273
|
+
VariableValue = Shapes::StringShape.new(name: 'VariableValue')
|
266
274
|
VersionDescription = Shapes::StringShape.new(name: 'VersionDescription')
|
267
275
|
VersionWeight = Shapes::IntegerShape.new(name: 'VersionWeight')
|
268
276
|
includedDetails = Shapes::BooleanShape.new(name: 'includedDetails')
|
@@ -313,6 +321,12 @@ module Aws::States
|
|
313
321
|
ActivityWorkerLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
314
322
|
ActivityWorkerLimitExceeded.struct_class = Types::ActivityWorkerLimitExceeded
|
315
323
|
|
324
|
+
AssignedVariables.key = Shapes::ShapeRef.new(shape: VariableName)
|
325
|
+
AssignedVariables.value = Shapes::ShapeRef.new(shape: VariableValue)
|
326
|
+
|
327
|
+
AssignedVariablesDetails.add_member(:truncated, Shapes::ShapeRef.new(shape: truncated, location_name: "truncated"))
|
328
|
+
AssignedVariablesDetails.struct_class = Types::AssignedVariablesDetails
|
329
|
+
|
316
330
|
BillingDetails.add_member(:billed_memory_used_in_mb, Shapes::ShapeRef.new(shape: BilledMemoryUsed, location_name: "billedMemoryUsedInMB"))
|
317
331
|
BillingDetails.add_member(:billed_duration_in_milliseconds, Shapes::ShapeRef.new(shape: BilledDuration, location_name: "billedDurationInMilliseconds"))
|
318
332
|
BillingDetails.struct_class = Types::BillingDetails
|
@@ -459,6 +473,7 @@ module Aws::States
|
|
459
473
|
DescribeStateMachineForExecutionOutput.add_member(:label, Shapes::ShapeRef.new(shape: MapRunLabel, location_name: "label"))
|
460
474
|
DescribeStateMachineForExecutionOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
461
475
|
DescribeStateMachineForExecutionOutput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
476
|
+
DescribeStateMachineForExecutionOutput.add_member(:variable_references, Shapes::ShapeRef.new(shape: VariableReferences, location_name: "variableReferences"))
|
462
477
|
DescribeStateMachineForExecutionOutput.struct_class = Types::DescribeStateMachineForExecutionOutput
|
463
478
|
|
464
479
|
DescribeStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
|
@@ -478,6 +493,7 @@ module Aws::States
|
|
478
493
|
DescribeStateMachineOutput.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
|
479
494
|
DescribeStateMachineOutput.add_member(:description, Shapes::ShapeRef.new(shape: VersionDescription, location_name: "description"))
|
480
495
|
DescribeStateMachineOutput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
496
|
+
DescribeStateMachineOutput.add_member(:variable_references, Shapes::ShapeRef.new(shape: VariableReferences, location_name: "variableReferences"))
|
481
497
|
DescribeStateMachineOutput.struct_class = Types::DescribeStateMachineOutput
|
482
498
|
|
483
499
|
EncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
@@ -485,6 +501,12 @@ module Aws::States
|
|
485
501
|
EncryptionConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: EncryptionType, required: true, location_name: "type"))
|
486
502
|
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
487
503
|
|
504
|
+
EvaluationFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
505
|
+
EvaluationFailedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
506
|
+
EvaluationFailedEventDetails.add_member(:location, Shapes::ShapeRef.new(shape: EvaluationFailureLocation, location_name: "location"))
|
507
|
+
EvaluationFailedEventDetails.add_member(:state, Shapes::ShapeRef.new(shape: StateName, required: true, location_name: "state"))
|
508
|
+
EvaluationFailedEventDetails.struct_class = Types::EvaluationFailedEventDetails
|
509
|
+
|
488
510
|
ExecutionAbortedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
|
489
511
|
ExecutionAbortedEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
|
490
512
|
ExecutionAbortedEventDetails.struct_class = Types::ExecutionAbortedEventDetails
|
@@ -598,6 +620,7 @@ module Aws::States
|
|
598
620
|
HistoryEvent.add_member(:map_run_started_event_details, Shapes::ShapeRef.new(shape: MapRunStartedEventDetails, location_name: "mapRunStartedEventDetails"))
|
599
621
|
HistoryEvent.add_member(:map_run_failed_event_details, Shapes::ShapeRef.new(shape: MapRunFailedEventDetails, location_name: "mapRunFailedEventDetails"))
|
600
622
|
HistoryEvent.add_member(:map_run_redriven_event_details, Shapes::ShapeRef.new(shape: MapRunRedrivenEventDetails, location_name: "mapRunRedrivenEventDetails"))
|
623
|
+
HistoryEvent.add_member(:evaluation_failed_event_details, Shapes::ShapeRef.new(shape: EvaluationFailedEventDetails, location_name: "evaluationFailedEventDetails"))
|
601
624
|
HistoryEvent.struct_class = Types::HistoryEvent
|
602
625
|
|
603
626
|
HistoryEventExecutionDataDetails.add_member(:truncated, Shapes::ShapeRef.new(shape: truncated, location_name: "truncated"))
|
@@ -606,6 +629,7 @@ module Aws::States
|
|
606
629
|
HistoryEventList.member = Shapes::ShapeRef.new(shape: HistoryEvent)
|
607
630
|
|
608
631
|
InspectionData.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
632
|
+
InspectionData.add_member(:after_arguments, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "afterArguments"))
|
609
633
|
InspectionData.add_member(:after_input_path, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "afterInputPath"))
|
610
634
|
InspectionData.add_member(:after_parameters, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "afterParameters"))
|
611
635
|
InspectionData.add_member(:result, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "result"))
|
@@ -613,6 +637,7 @@ module Aws::States
|
|
613
637
|
InspectionData.add_member(:after_result_path, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "afterResultPath"))
|
614
638
|
InspectionData.add_member(:request, Shapes::ShapeRef.new(shape: InspectionDataRequest, location_name: "request"))
|
615
639
|
InspectionData.add_member(:response, Shapes::ShapeRef.new(shape: InspectionDataResponse, location_name: "response"))
|
640
|
+
InspectionData.add_member(:variables, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "variables"))
|
616
641
|
InspectionData.struct_class = Types::InspectionData
|
617
642
|
|
618
643
|
InspectionDataRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: HTTPProtocol, location_name: "protocol"))
|
@@ -906,6 +931,8 @@ module Aws::States
|
|
906
931
|
StateExitedEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
907
932
|
StateExitedEventDetails.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
908
933
|
StateExitedEventDetails.add_member(:output_details, Shapes::ShapeRef.new(shape: HistoryEventExecutionDataDetails, location_name: "outputDetails"))
|
934
|
+
StateExitedEventDetails.add_member(:assigned_variables, Shapes::ShapeRef.new(shape: AssignedVariables, location_name: "assignedVariables"))
|
935
|
+
StateExitedEventDetails.add_member(:assigned_variables_details, Shapes::ShapeRef.new(shape: AssignedVariablesDetails, location_name: "assignedVariablesDetails"))
|
909
936
|
StateExitedEventDetails.struct_class = Types::StateExitedEventDetails
|
910
937
|
|
911
938
|
StateMachineAliasList.member = Shapes::ShapeRef.new(shape: StateMachineAliasListItem)
|
@@ -1024,10 +1051,11 @@ module Aws::States
|
|
1024
1051
|
TaskTimedOutEventDetails.struct_class = Types::TaskTimedOutEventDetails
|
1025
1052
|
|
1026
1053
|
TestStateInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
|
1027
|
-
TestStateInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn,
|
1054
|
+
TestStateInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
|
1028
1055
|
TestStateInput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
|
1029
1056
|
TestStateInput.add_member(:inspection_level, Shapes::ShapeRef.new(shape: InspectionLevel, location_name: "inspectionLevel"))
|
1030
1057
|
TestStateInput.add_member(:reveal_secrets, Shapes::ShapeRef.new(shape: RevealSecrets, location_name: "revealSecrets"))
|
1058
|
+
TestStateInput.add_member(:variables, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "variables"))
|
1031
1059
|
TestStateInput.struct_class = Types::TestStateInput
|
1032
1060
|
|
1033
1061
|
TestStateOutput.add_member(:output, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "output"))
|
@@ -1105,6 +1133,11 @@ module Aws::States
|
|
1105
1133
|
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
|
1106
1134
|
ValidationException.struct_class = Types::ValidationException
|
1107
1135
|
|
1136
|
+
VariableNameList.member = Shapes::ShapeRef.new(shape: VariableName)
|
1137
|
+
|
1138
|
+
VariableReferences.key = Shapes::ShapeRef.new(shape: StateName)
|
1139
|
+
VariableReferences.value = Shapes::ShapeRef.new(shape: VariableNameList)
|
1140
|
+
|
1108
1141
|
|
1109
1142
|
# @api private
|
1110
1143
|
API = Seahorse::Model::Api.new.tap do |api|
|
data/lib/aws-sdk-states/types.rb
CHANGED
@@ -234,6 +234,23 @@ module Aws::States
|
|
234
234
|
include Aws::Structure
|
235
235
|
end
|
236
236
|
|
237
|
+
# Provides details about assigned variables in an execution history
|
238
|
+
# event.
|
239
|
+
#
|
240
|
+
# @!attribute [rw] truncated
|
241
|
+
# Indicates whether assigned variables were truncated in the response.
|
242
|
+
# Always `false` for API calls. In CloudWatch logs, the value will be
|
243
|
+
# true if the data is truncated due to size limits.
|
244
|
+
# @return [Boolean]
|
245
|
+
#
|
246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/AssignedVariablesDetails AWS API Documentation
|
247
|
+
#
|
248
|
+
class AssignedVariablesDetails < Struct.new(
|
249
|
+
:truncated)
|
250
|
+
SENSITIVE = []
|
251
|
+
include Aws::Structure
|
252
|
+
end
|
253
|
+
|
237
254
|
# An object that describes workflow billing details.
|
238
255
|
#
|
239
256
|
# @!attribute [rw] billed_memory_used_in_mb
|
@@ -1116,6 +1133,12 @@ module Aws::States
|
|
1116
1133
|
# Settings to configure server-side encryption.
|
1117
1134
|
# @return [Types::EncryptionConfiguration]
|
1118
1135
|
#
|
1136
|
+
# @!attribute [rw] variable_references
|
1137
|
+
# A map of **state name** to a list of variables referenced by that
|
1138
|
+
# state. States that do not use variable references will not be shown
|
1139
|
+
# in the response.
|
1140
|
+
# @return [Hash<String,Array<String>>]
|
1141
|
+
#
|
1119
1142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecutionOutput AWS API Documentation
|
1120
1143
|
#
|
1121
1144
|
class DescribeStateMachineForExecutionOutput < Struct.new(
|
@@ -1129,8 +1152,9 @@ module Aws::States
|
|
1129
1152
|
:map_run_arn,
|
1130
1153
|
:label,
|
1131
1154
|
:revision_id,
|
1132
|
-
:encryption_configuration
|
1133
|
-
|
1155
|
+
:encryption_configuration,
|
1156
|
+
:variable_references)
|
1157
|
+
SENSITIVE = [:definition, :variable_references]
|
1134
1158
|
include Aws::Structure
|
1135
1159
|
end
|
1136
1160
|
|
@@ -1261,6 +1285,12 @@ module Aws::States
|
|
1261
1285
|
# Settings to configure server-side encryption.
|
1262
1286
|
# @return [Types::EncryptionConfiguration]
|
1263
1287
|
#
|
1288
|
+
# @!attribute [rw] variable_references
|
1289
|
+
# A map of **state name** to a list of variables referenced by that
|
1290
|
+
# state. States that do not use variable references will not be shown
|
1291
|
+
# in the response.
|
1292
|
+
# @return [Hash<String,Array<String>>]
|
1293
|
+
#
|
1264
1294
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineOutput AWS API Documentation
|
1265
1295
|
#
|
1266
1296
|
class DescribeStateMachineOutput < Struct.new(
|
@@ -1276,8 +1306,9 @@ module Aws::States
|
|
1276
1306
|
:label,
|
1277
1307
|
:revision_id,
|
1278
1308
|
:description,
|
1279
|
-
:encryption_configuration
|
1280
|
-
|
1309
|
+
:encryption_configuration,
|
1310
|
+
:variable_references)
|
1311
|
+
SENSITIVE = [:definition, :description, :variable_references]
|
1281
1312
|
include Aws::Structure
|
1282
1313
|
end
|
1283
1314
|
|
@@ -1332,6 +1363,39 @@ module Aws::States
|
|
1332
1363
|
include Aws::Structure
|
1333
1364
|
end
|
1334
1365
|
|
1366
|
+
# Contains details about an evaluation failure that occurred while
|
1367
|
+
# processing a state, for example, when a JSONata expression throws an
|
1368
|
+
# error. This event will only be present in state machines that have <b>
|
1369
|
+
# QueryLanguage</b> set to JSONata, or individual states set to JSONata.
|
1370
|
+
#
|
1371
|
+
# @!attribute [rw] error
|
1372
|
+
# The error code of the failure.
|
1373
|
+
# @return [String]
|
1374
|
+
#
|
1375
|
+
# @!attribute [rw] cause
|
1376
|
+
# A more detailed explanation of the cause of the failure.
|
1377
|
+
# @return [String]
|
1378
|
+
#
|
1379
|
+
# @!attribute [rw] location
|
1380
|
+
# The location of the field in the state in which the evaluation error
|
1381
|
+
# occurred.
|
1382
|
+
# @return [String]
|
1383
|
+
#
|
1384
|
+
# @!attribute [rw] state
|
1385
|
+
# The name of the state in which the evaluation error occurred.
|
1386
|
+
# @return [String]
|
1387
|
+
#
|
1388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/EvaluationFailedEventDetails AWS API Documentation
|
1389
|
+
#
|
1390
|
+
class EvaluationFailedEventDetails < Struct.new(
|
1391
|
+
:error,
|
1392
|
+
:cause,
|
1393
|
+
:location,
|
1394
|
+
:state)
|
1395
|
+
SENSITIVE = [:error, :cause, :location]
|
1396
|
+
include Aws::Structure
|
1397
|
+
end
|
1398
|
+
|
1335
1399
|
# Contains details about an abort of an execution.
|
1336
1400
|
#
|
1337
1401
|
# @!attribute [rw] error
|
@@ -1913,6 +1977,11 @@ module Aws::States
|
|
1913
1977
|
# Contains details about the redrive attempt of a Map Run.
|
1914
1978
|
# @return [Types::MapRunRedrivenEventDetails]
|
1915
1979
|
#
|
1980
|
+
# @!attribute [rw] evaluation_failed_event_details
|
1981
|
+
# Contains details about an evaluation failure that occurred while
|
1982
|
+
# processing a state.
|
1983
|
+
# @return [Types::EvaluationFailedEventDetails]
|
1984
|
+
#
|
1916
1985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEvent AWS API Documentation
|
1917
1986
|
#
|
1918
1987
|
class HistoryEvent < Struct.new(
|
@@ -1955,7 +2024,8 @@ module Aws::States
|
|
1955
2024
|
:state_exited_event_details,
|
1956
2025
|
:map_run_started_event_details,
|
1957
2026
|
:map_run_failed_event_details,
|
1958
|
-
:map_run_redriven_event_details
|
2027
|
+
:map_run_redriven_event_details,
|
2028
|
+
:evaluation_failed_event_details)
|
1959
2029
|
SENSITIVE = []
|
1960
2030
|
include Aws::Structure
|
1961
2031
|
end
|
@@ -1964,7 +2034,8 @@ module Aws::States
|
|
1964
2034
|
#
|
1965
2035
|
# @!attribute [rw] truncated
|
1966
2036
|
# Indicates whether input or output was truncated in the response.
|
1967
|
-
# Always `false` for API calls.
|
2037
|
+
# Always `false` for API calls. In CloudWatch logs, the value will be
|
2038
|
+
# true if the data is truncated due to size limits.
|
1968
2039
|
# @return [Boolean]
|
1969
2040
|
#
|
1970
2041
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/HistoryEventExecutionDataDetails AWS API Documentation
|
@@ -1983,8 +2054,20 @@ module Aws::States
|
|
1983
2054
|
# The raw state input.
|
1984
2055
|
# @return [String]
|
1985
2056
|
#
|
2057
|
+
# @!attribute [rw] after_arguments
|
2058
|
+
# The input after Step Functions applies an Arguments filter. This
|
2059
|
+
# event will only be present when QueryLanguage for the state machine
|
2060
|
+
# or individual states is set to JSONata. For more info, see
|
2061
|
+
# [Transforming data with Step Functions][1].
|
2062
|
+
#
|
2063
|
+
#
|
2064
|
+
#
|
2065
|
+
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/data-transform.html
|
2066
|
+
# @return [String]
|
2067
|
+
#
|
1986
2068
|
# @!attribute [rw] after_input_path
|
1987
2069
|
# The input after Step Functions applies the [InputPath][1] filter.
|
2070
|
+
# Not populated when QueryLanguage is JSONata.
|
1988
2071
|
#
|
1989
2072
|
#
|
1990
2073
|
#
|
@@ -1993,7 +2076,7 @@ module Aws::States
|
|
1993
2076
|
#
|
1994
2077
|
# @!attribute [rw] after_parameters
|
1995
2078
|
# The effective input after Step Functions applies the [Parameters][1]
|
1996
|
-
# filter.
|
2079
|
+
# filter. Not populated when QueryLanguage is JSONata.
|
1997
2080
|
#
|
1998
2081
|
#
|
1999
2082
|
#
|
@@ -2006,7 +2089,8 @@ module Aws::States
|
|
2006
2089
|
#
|
2007
2090
|
# @!attribute [rw] after_result_selector
|
2008
2091
|
# The effective result after Step Functions applies the
|
2009
|
-
# [ResultSelector][1] filter.
|
2092
|
+
# [ResultSelector][1] filter. Not populated when QueryLanguage is
|
2093
|
+
# JSONata.
|
2010
2094
|
#
|
2011
2095
|
#
|
2012
2096
|
#
|
@@ -2015,7 +2099,8 @@ module Aws::States
|
|
2015
2099
|
#
|
2016
2100
|
# @!attribute [rw] after_result_path
|
2017
2101
|
# The effective result combined with the raw state input after Step
|
2018
|
-
# Functions applies the [ResultPath][1] filter.
|
2102
|
+
# Functions applies the [ResultPath][1] filter. Not populated when
|
2103
|
+
# QueryLanguage is JSONata.
|
2019
2104
|
#
|
2020
2105
|
#
|
2021
2106
|
#
|
@@ -2030,18 +2115,26 @@ module Aws::States
|
|
2030
2115
|
# The raw HTTP response that is returned when you test an HTTP Task.
|
2031
2116
|
# @return [Types::InspectionDataResponse]
|
2032
2117
|
#
|
2118
|
+
# @!attribute [rw] variables
|
2119
|
+
# JSON string that contains the set of workflow variables after
|
2120
|
+
# execution of the state. The set will include variables assigned in
|
2121
|
+
# the state and variables set up as test state input.
|
2122
|
+
# @return [String]
|
2123
|
+
#
|
2033
2124
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/InspectionData AWS API Documentation
|
2034
2125
|
#
|
2035
2126
|
class InspectionData < Struct.new(
|
2036
2127
|
:input,
|
2128
|
+
:after_arguments,
|
2037
2129
|
:after_input_path,
|
2038
2130
|
:after_parameters,
|
2039
2131
|
:result,
|
2040
2132
|
:after_result_selector,
|
2041
2133
|
:after_result_path,
|
2042
2134
|
:request,
|
2043
|
-
:response
|
2044
|
-
|
2135
|
+
:response,
|
2136
|
+
:variables)
|
2137
|
+
SENSITIVE = [:input, :after_arguments, :after_input_path, :after_parameters, :result, :after_result_selector, :after_result_path, :variables]
|
2045
2138
|
include Aws::Structure
|
2046
2139
|
end
|
2047
2140
|
|
@@ -3712,13 +3805,24 @@ module Aws::States
|
|
3712
3805
|
# Contains details about the output of an execution history event.
|
3713
3806
|
# @return [Types::HistoryEventExecutionDataDetails]
|
3714
3807
|
#
|
3808
|
+
# @!attribute [rw] assigned_variables
|
3809
|
+
# Map of variable name and value as a serialized JSON representation.
|
3810
|
+
# @return [Hash<String,String>]
|
3811
|
+
#
|
3812
|
+
# @!attribute [rw] assigned_variables_details
|
3813
|
+
# Provides details about input or output in an execution history
|
3814
|
+
# event.
|
3815
|
+
# @return [Types::AssignedVariablesDetails]
|
3816
|
+
#
|
3715
3817
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StateExitedEventDetails AWS API Documentation
|
3716
3818
|
#
|
3717
3819
|
class StateExitedEventDetails < Struct.new(
|
3718
3820
|
:name,
|
3719
3821
|
:output,
|
3720
|
-
:output_details
|
3721
|
-
|
3822
|
+
:output_details,
|
3823
|
+
:assigned_variables,
|
3824
|
+
:assigned_variables_details)
|
3825
|
+
SENSITIVE = [:output, :assigned_variables]
|
3722
3826
|
include Aws::Structure
|
3723
3827
|
end
|
3724
3828
|
|
@@ -4313,6 +4417,12 @@ module Aws::States
|
|
4313
4417
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/test-state-isolation.html#test-state-permissions
|
4314
4418
|
# @return [Boolean]
|
4315
4419
|
#
|
4420
|
+
# @!attribute [rw] variables
|
4421
|
+
# JSON object literal that sets variables used in the state under
|
4422
|
+
# test. Object keys are the variable names and values are the variable
|
4423
|
+
# values.
|
4424
|
+
# @return [String]
|
4425
|
+
#
|
4316
4426
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TestStateInput AWS API Documentation
|
4317
4427
|
#
|
4318
4428
|
class TestStateInput < Struct.new(
|
@@ -4320,8 +4430,9 @@ module Aws::States
|
|
4320
4430
|
:role_arn,
|
4321
4431
|
:input,
|
4322
4432
|
:inspection_level,
|
4323
|
-
:reveal_secrets
|
4324
|
-
|
4433
|
+
:reveal_secrets,
|
4434
|
+
:variables)
|
4435
|
+
SENSITIVE = [:definition, :input, :variables]
|
4325
4436
|
include Aws::Structure
|
4326
4437
|
end
|
4327
4438
|
|
@@ -4581,13 +4692,106 @@ module Aws::States
|
|
4581
4692
|
include Aws::Structure
|
4582
4693
|
end
|
4583
4694
|
|
4584
|
-
# Describes
|
4585
|
-
#
|
4586
|
-
#
|
4695
|
+
# Describes potential issues found during state machine validation.
|
4696
|
+
# Rather than raise an exception, validation will return a list of
|
4697
|
+
# **diagnostic elements** containing diagnostic information.
|
4698
|
+
#
|
4699
|
+
# <note markdown="1"> The [ValidateStateMachineDefinitionlAPI][1] might add new diagnostics
|
4700
|
+
# in the future, adjust diagnostic codes, or change the message wording.
|
4701
|
+
# Your automated processes should only rely on the value of the
|
4702
|
+
# **result** field value (OK, FAIL). Do **not** rely on the exact order,
|
4703
|
+
# count, or wording of diagnostic messages.
|
4704
|
+
#
|
4705
|
+
# </note>
|
4706
|
+
#
|
4707
|
+
# **List of warning codes**
|
4708
|
+
#
|
4709
|
+
# NO\_DOLLAR
|
4710
|
+
#
|
4711
|
+
# : No `.$` on a field that appears to be a JSONPath or Intrinsic
|
4712
|
+
# Function.
|
4713
|
+
#
|
4714
|
+
# NO\_PATH
|
4715
|
+
#
|
4716
|
+
# : Field value looks like a path, but field name does not end with
|
4717
|
+
# 'Path'.
|
4718
|
+
#
|
4719
|
+
# PASS\_RESULT\_IS\_STATIC
|
4720
|
+
#
|
4721
|
+
# : Attempt to use a path in the result of a pass state.
|
4722
|
+
#
|
4723
|
+
# **List of error codes**
|
4724
|
+
#
|
4725
|
+
# INVALID\_JSON\_DESCRIPTION
|
4726
|
+
#
|
4727
|
+
# : JSON syntax problem found.
|
4728
|
+
#
|
4729
|
+
# MISSING\_DESCRIPTION
|
4730
|
+
#
|
4731
|
+
# : Received a null or empty workflow input.
|
4732
|
+
#
|
4733
|
+
# SCHEMA\_VALIDATION\_FAILED
|
4734
|
+
#
|
4735
|
+
# : Schema validation reported errors.
|
4736
|
+
#
|
4737
|
+
# INVALID\_RESOURCE
|
4738
|
+
#
|
4739
|
+
# : The value of a Task-state resource field is invalid.
|
4740
|
+
#
|
4741
|
+
# MISSING\_END\_STATE
|
4742
|
+
#
|
4743
|
+
# : The workflow does not have a terminal state.
|
4744
|
+
#
|
4745
|
+
# DUPLICATE\_STATE\_NAME
|
4746
|
+
#
|
4747
|
+
# : The same state name appears more than once.
|
4748
|
+
#
|
4749
|
+
# INVALID\_STATE\_NAME
|
4750
|
+
#
|
4751
|
+
# : The state name does not follow the naming convention.
|
4752
|
+
#
|
4753
|
+
# STATE\_MACHINE\_NAME\_EMPTY
|
4754
|
+
#
|
4755
|
+
# : The state machine name has not been specified.
|
4756
|
+
#
|
4757
|
+
# STATE\_MACHINE\_NAME\_INVALID
|
4758
|
+
#
|
4759
|
+
# : The state machine name does not follow the naming convention.
|
4760
|
+
#
|
4761
|
+
# STATE\_MACHINE\_NAME\_TOO\_LONG
|
4762
|
+
#
|
4763
|
+
# : The state name exceeds the allowed length.
|
4764
|
+
#
|
4765
|
+
# STATE\_MACHINE\_NAME\_ALREADY\_EXISTS
|
4766
|
+
#
|
4767
|
+
# : The state name already exists.
|
4768
|
+
#
|
4769
|
+
# DUPLICATE\_LABEL\_NAME
|
4770
|
+
#
|
4771
|
+
# : A label name appears more than once.
|
4772
|
+
#
|
4773
|
+
# INVALID\_LABEL\_NAME
|
4774
|
+
#
|
4775
|
+
# : You have provided an invalid label name.
|
4776
|
+
#
|
4777
|
+
# MISSING\_TRANSITION\_TARGET
|
4778
|
+
#
|
4779
|
+
# : The value of "Next" field doesn't match a known state name.
|
4780
|
+
#
|
4781
|
+
# TOO\_DEEPLY\_NESTED
|
4782
|
+
#
|
4783
|
+
# : The states are too deeply nested.
|
4784
|
+
#
|
4785
|
+
#
|
4786
|
+
#
|
4787
|
+
# [1]: https://docs.aws.amazon.com/step-functions/latest/apireference/API_ValidateStateMachineDefinition.html
|
4587
4788
|
#
|
4588
4789
|
# @!attribute [rw] severity
|
4589
4790
|
# A value of `ERROR` means that you cannot create or update a state
|
4590
4791
|
# machine with this definition.
|
4792
|
+
#
|
4793
|
+
# `WARNING` level diagnostics alert you to potential issues, but they
|
4794
|
+
# will not prevent you from creating or updating your state machine.
|
4591
4795
|
# @return [String]
|
4592
4796
|
#
|
4593
4797
|
# @!attribute [rw] code
|
@@ -4613,7 +4817,7 @@ module Aws::States
|
|
4613
4817
|
:code,
|
4614
4818
|
:message,
|
4615
4819
|
:location)
|
4616
|
-
SENSITIVE = []
|
4820
|
+
SENSITIVE = [:code, :message, :location]
|
4617
4821
|
include Aws::Structure
|
4618
4822
|
end
|
4619
4823
|
|
@@ -4664,9 +4868,10 @@ module Aws::States
|
|
4664
4868
|
# @return [String]
|
4665
4869
|
#
|
4666
4870
|
# @!attribute [rw] diagnostics
|
4667
|
-
#
|
4668
|
-
#
|
4669
|
-
#
|
4871
|
+
# An array of diagnostic errors and warnings found during validation
|
4872
|
+
# of the state machine definition. Since **warnings** do not prevent
|
4873
|
+
# deploying your workflow definition, the **result** value could be
|
4874
|
+
# `OK` even when warning diagnostics are present in the response.
|
4670
4875
|
# @return [Array<Types::ValidateStateMachineDefinitionDiagnostic>]
|
4671
4876
|
#
|
4672
4877
|
# @!attribute [rw] truncated
|
data/lib/aws-sdk-states.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -272,6 +274,7 @@ module Aws
|
|
272
274
|
def revision_id: () -> ::String
|
273
275
|
def description: () -> ::String
|
274
276
|
def encryption_configuration: () -> Types::EncryptionConfiguration
|
277
|
+
def variable_references: () -> ::Hash[::String, ::Array[::String]]
|
275
278
|
end
|
276
279
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_state_machine-instance_method
|
277
280
|
def describe_state_machine: (
|
@@ -308,6 +311,7 @@ module Aws
|
|
308
311
|
def label: () -> ::String
|
309
312
|
def revision_id: () -> ::String
|
310
313
|
def encryption_configuration: () -> Types::EncryptionConfiguration
|
314
|
+
def variable_references: () -> ::Hash[::String, ::Array[::String]]
|
311
315
|
end
|
312
316
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_state_machine_for_execution-instance_method
|
313
317
|
def describe_state_machine_for_execution: (
|
@@ -564,10 +568,11 @@ module Aws
|
|
564
568
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#test_state-instance_method
|
565
569
|
def test_state: (
|
566
570
|
definition: ::String,
|
567
|
-
role_arn: ::String,
|
571
|
+
?role_arn: ::String,
|
568
572
|
?input: ::String,
|
569
573
|
?inspection_level: ("INFO" | "DEBUG" | "TRACE"),
|
570
|
-
?reveal_secrets: bool
|
574
|
+
?reveal_secrets: bool,
|
575
|
+
?variables: ::String
|
571
576
|
) -> _TestStateResponseSuccess
|
572
577
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestStateResponseSuccess
|
573
578
|
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
data/sig/types.rbs
CHANGED
@@ -73,6 +73,11 @@ module Aws::States
|
|
73
73
|
SENSITIVE: []
|
74
74
|
end
|
75
75
|
|
76
|
+
class AssignedVariablesDetails
|
77
|
+
attr_accessor truncated: bool
|
78
|
+
SENSITIVE: []
|
79
|
+
end
|
80
|
+
|
76
81
|
class BillingDetails
|
77
82
|
attr_accessor billed_memory_used_in_mb: ::Integer
|
78
83
|
attr_accessor billed_duration_in_milliseconds: ::Integer
|
@@ -270,7 +275,8 @@ module Aws::States
|
|
270
275
|
attr_accessor label: ::String
|
271
276
|
attr_accessor revision_id: ::String
|
272
277
|
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
273
|
-
|
278
|
+
attr_accessor variable_references: ::Hash[::String, ::Array[::String]]
|
279
|
+
SENSITIVE: [:definition, :variable_references]
|
274
280
|
end
|
275
281
|
|
276
282
|
class DescribeStateMachineInput
|
@@ -293,7 +299,8 @@ module Aws::States
|
|
293
299
|
attr_accessor revision_id: ::String
|
294
300
|
attr_accessor description: ::String
|
295
301
|
attr_accessor encryption_configuration: Types::EncryptionConfiguration
|
296
|
-
|
302
|
+
attr_accessor variable_references: ::Hash[::String, ::Array[::String]]
|
303
|
+
SENSITIVE: [:definition, :description, :variable_references]
|
297
304
|
end
|
298
305
|
|
299
306
|
class EncryptionConfiguration
|
@@ -303,6 +310,14 @@ module Aws::States
|
|
303
310
|
SENSITIVE: []
|
304
311
|
end
|
305
312
|
|
313
|
+
class EvaluationFailedEventDetails
|
314
|
+
attr_accessor error: ::String
|
315
|
+
attr_accessor cause: ::String
|
316
|
+
attr_accessor location: ::String
|
317
|
+
attr_accessor state: ::String
|
318
|
+
SENSITIVE: [:error, :cause, :location]
|
319
|
+
end
|
320
|
+
|
306
321
|
class ExecutionAbortedEventDetails
|
307
322
|
attr_accessor error: ::String
|
308
323
|
attr_accessor cause: ::String
|
@@ -406,7 +421,7 @@ module Aws::States
|
|
406
421
|
|
407
422
|
class HistoryEvent
|
408
423
|
attr_accessor timestamp: ::Time
|
409
|
-
attr_accessor type: ("ActivityFailed" | "ActivityScheduled" | "ActivityScheduleFailed" | "ActivityStarted" | "ActivitySucceeded" | "ActivityTimedOut" | "ChoiceStateEntered" | "ChoiceStateExited" | "ExecutionAborted" | "ExecutionFailed" | "ExecutionStarted" | "ExecutionSucceeded" | "ExecutionTimedOut" | "FailStateEntered" | "LambdaFunctionFailed" | "LambdaFunctionScheduled" | "LambdaFunctionScheduleFailed" | "LambdaFunctionStarted" | "LambdaFunctionStartFailed" | "LambdaFunctionSucceeded" | "LambdaFunctionTimedOut" | "MapIterationAborted" | "MapIterationFailed" | "MapIterationStarted" | "MapIterationSucceeded" | "MapStateAborted" | "MapStateEntered" | "MapStateExited" | "MapStateFailed" | "MapStateStarted" | "MapStateSucceeded" | "ParallelStateAborted" | "ParallelStateEntered" | "ParallelStateExited" | "ParallelStateFailed" | "ParallelStateStarted" | "ParallelStateSucceeded" | "PassStateEntered" | "PassStateExited" | "SucceedStateEntered" | "SucceedStateExited" | "TaskFailed" | "TaskScheduled" | "TaskStarted" | "TaskStartFailed" | "TaskStateAborted" | "TaskStateEntered" | "TaskStateExited" | "TaskSubmitFailed" | "TaskSubmitted" | "TaskSucceeded" | "TaskTimedOut" | "WaitStateAborted" | "WaitStateEntered" | "WaitStateExited" | "MapRunAborted" | "MapRunFailed" | "MapRunStarted" | "MapRunSucceeded" | "ExecutionRedriven" | "MapRunRedriven")
|
424
|
+
attr_accessor type: ("ActivityFailed" | "ActivityScheduled" | "ActivityScheduleFailed" | "ActivityStarted" | "ActivitySucceeded" | "ActivityTimedOut" | "ChoiceStateEntered" | "ChoiceStateExited" | "ExecutionAborted" | "ExecutionFailed" | "ExecutionStarted" | "ExecutionSucceeded" | "ExecutionTimedOut" | "FailStateEntered" | "LambdaFunctionFailed" | "LambdaFunctionScheduled" | "LambdaFunctionScheduleFailed" | "LambdaFunctionStarted" | "LambdaFunctionStartFailed" | "LambdaFunctionSucceeded" | "LambdaFunctionTimedOut" | "MapIterationAborted" | "MapIterationFailed" | "MapIterationStarted" | "MapIterationSucceeded" | "MapStateAborted" | "MapStateEntered" | "MapStateExited" | "MapStateFailed" | "MapStateStarted" | "MapStateSucceeded" | "ParallelStateAborted" | "ParallelStateEntered" | "ParallelStateExited" | "ParallelStateFailed" | "ParallelStateStarted" | "ParallelStateSucceeded" | "PassStateEntered" | "PassStateExited" | "SucceedStateEntered" | "SucceedStateExited" | "TaskFailed" | "TaskScheduled" | "TaskStarted" | "TaskStartFailed" | "TaskStateAborted" | "TaskStateEntered" | "TaskStateExited" | "TaskSubmitFailed" | "TaskSubmitted" | "TaskSucceeded" | "TaskTimedOut" | "WaitStateAborted" | "WaitStateEntered" | "WaitStateExited" | "MapRunAborted" | "MapRunFailed" | "MapRunStarted" | "MapRunSucceeded" | "ExecutionRedriven" | "MapRunRedriven" | "EvaluationFailed")
|
410
425
|
attr_accessor id: ::Integer
|
411
426
|
attr_accessor previous_event_id: ::Integer
|
412
427
|
attr_accessor activity_failed_event_details: Types::ActivityFailedEventDetails
|
@@ -445,6 +460,7 @@ module Aws::States
|
|
445
460
|
attr_accessor map_run_started_event_details: Types::MapRunStartedEventDetails
|
446
461
|
attr_accessor map_run_failed_event_details: Types::MapRunFailedEventDetails
|
447
462
|
attr_accessor map_run_redriven_event_details: Types::MapRunRedrivenEventDetails
|
463
|
+
attr_accessor evaluation_failed_event_details: Types::EvaluationFailedEventDetails
|
448
464
|
SENSITIVE: []
|
449
465
|
end
|
450
466
|
|
@@ -455,6 +471,7 @@ module Aws::States
|
|
455
471
|
|
456
472
|
class InspectionData
|
457
473
|
attr_accessor input: ::String
|
474
|
+
attr_accessor after_arguments: ::String
|
458
475
|
attr_accessor after_input_path: ::String
|
459
476
|
attr_accessor after_parameters: ::String
|
460
477
|
attr_accessor result: ::String
|
@@ -462,7 +479,8 @@ module Aws::States
|
|
462
479
|
attr_accessor after_result_path: ::String
|
463
480
|
attr_accessor request: Types::InspectionDataRequest
|
464
481
|
attr_accessor response: Types::InspectionDataResponse
|
465
|
-
|
482
|
+
attr_accessor variables: ::String
|
483
|
+
SENSITIVE: [:input, :after_arguments, :after_input_path, :after_parameters, :result, :after_result_selector, :after_result_path, :variables]
|
466
484
|
end
|
467
485
|
|
468
486
|
class InspectionDataRequest
|
@@ -874,6 +892,8 @@ module Aws::States
|
|
874
892
|
attr_accessor name: ::String
|
875
893
|
attr_accessor output: ::String
|
876
894
|
attr_accessor output_details: Types::HistoryEventExecutionDataDetails
|
895
|
+
attr_accessor assigned_variables: ::Hash[::String, ::String]
|
896
|
+
attr_accessor assigned_variables_details: Types::AssignedVariablesDetails
|
877
897
|
SENSITIVE: [:output]
|
878
898
|
end
|
879
899
|
|
@@ -1035,7 +1055,8 @@ module Aws::States
|
|
1035
1055
|
attr_accessor input: ::String
|
1036
1056
|
attr_accessor inspection_level: ("INFO" | "DEBUG" | "TRACE")
|
1037
1057
|
attr_accessor reveal_secrets: bool
|
1038
|
-
|
1058
|
+
attr_accessor variables: ::String
|
1059
|
+
SENSITIVE: [:definition, :input, :variables]
|
1039
1060
|
end
|
1040
1061
|
|
1041
1062
|
class TestStateOutput
|
@@ -1115,7 +1136,7 @@ module Aws::States
|
|
1115
1136
|
attr_accessor code: ::String
|
1116
1137
|
attr_accessor message: ::String
|
1117
1138
|
attr_accessor location: ::String
|
1118
|
-
SENSITIVE: []
|
1139
|
+
SENSITIVE: [:code, :message, :location]
|
1119
1140
|
end
|
1120
1141
|
|
1121
1142
|
class ValidateStateMachineDefinitionInput
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-states
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.85.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|