aws-sdk-states 1.83.0 → 1.84.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-states/client.rb +52 -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 +5 -2
- data/sig/types.rbs +27 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d3f6fd5ff201d7cc3ce8799b14d84db2a73c5a66ef952d1c368b8c955f58192
|
4
|
+
data.tar.gz: 1b23c1f8eca7f5a8e80891b8b107fb0d52cb1cada74b537f09af14b5cb33e576
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c476f262be3b95c97969c38842fb5744c0600a42e0382ec8afa53bf7725db77709bb45cc2d15c5a9eb207b0aabe9fce6f78e9063b0e0945067c61657ee3d524
|
7
|
+
data.tar.gz: bb6950a46a2d95c06d839a1240a55489820b52295ef0ea90f1f4c6c9bedc4a36e20717eacd670c0c84c1d2886ad3189e5a108a25f59a3b9acad3de34315e4ccd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.84.0 (2024-11-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for variables and JSONata in TestState, GetExecutionHistory, DescribeStateMachine, and DescribeStateMachineForExecution
|
8
|
+
|
4
9
|
1.83.0 (2024-11-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.84.0
|
@@ -1287,6 +1287,7 @@ module Aws::States
|
|
1287
1287
|
# * {Types::DescribeStateMachineOutput#revision_id #revision_id} => String
|
1288
1288
|
# * {Types::DescribeStateMachineOutput#description #description} => String
|
1289
1289
|
# * {Types::DescribeStateMachineOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
|
1290
|
+
# * {Types::DescribeStateMachineOutput#variable_references #variable_references} => Hash<String,Array<String>>
|
1290
1291
|
#
|
1291
1292
|
# @example Request syntax with placeholder values
|
1292
1293
|
#
|
@@ -1315,6 +1316,9 @@ module Aws::States
|
|
1315
1316
|
# resp.encryption_configuration.kms_key_id #=> String
|
1316
1317
|
# resp.encryption_configuration.kms_data_key_reuse_period_seconds #=> Integer
|
1317
1318
|
# resp.encryption_configuration.type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KMS_KEY"
|
1319
|
+
# resp.variable_references #=> Hash
|
1320
|
+
# resp.variable_references["StateName"] #=> Array
|
1321
|
+
# resp.variable_references["StateName"][0] #=> String
|
1318
1322
|
#
|
1319
1323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine AWS API Documentation
|
1320
1324
|
#
|
@@ -1416,6 +1420,7 @@ module Aws::States
|
|
1416
1420
|
# * {Types::DescribeStateMachineForExecutionOutput#label #label} => String
|
1417
1421
|
# * {Types::DescribeStateMachineForExecutionOutput#revision_id #revision_id} => String
|
1418
1422
|
# * {Types::DescribeStateMachineForExecutionOutput#encryption_configuration #encryption_configuration} => Types::EncryptionConfiguration
|
1423
|
+
# * {Types::DescribeStateMachineForExecutionOutput#variable_references #variable_references} => Hash<String,Array<String>>
|
1419
1424
|
#
|
1420
1425
|
# @example Request syntax with placeholder values
|
1421
1426
|
#
|
@@ -1442,6 +1447,9 @@ module Aws::States
|
|
1442
1447
|
# resp.encryption_configuration.kms_key_id #=> String
|
1443
1448
|
# resp.encryption_configuration.kms_data_key_reuse_period_seconds #=> Integer
|
1444
1449
|
# resp.encryption_configuration.type #=> String, one of "AWS_OWNED_KEY", "CUSTOMER_MANAGED_KMS_KEY"
|
1450
|
+
# resp.variable_references #=> Hash
|
1451
|
+
# resp.variable_references["StateName"] #=> Array
|
1452
|
+
# resp.variable_references["StateName"][0] #=> String
|
1445
1453
|
#
|
1446
1454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution AWS API Documentation
|
1447
1455
|
#
|
@@ -1573,7 +1581,7 @@ module Aws::States
|
|
1573
1581
|
#
|
1574
1582
|
# resp.events #=> Array
|
1575
1583
|
# 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"
|
1584
|
+
# 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
1585
|
# resp.events[0].id #=> Integer
|
1578
1586
|
# resp.events[0].previous_event_id #=> Integer
|
1579
1587
|
# resp.events[0].activity_failed_event_details.error #=> String
|
@@ -1667,11 +1675,18 @@ module Aws::States
|
|
1667
1675
|
# resp.events[0].state_exited_event_details.name #=> String
|
1668
1676
|
# resp.events[0].state_exited_event_details.output #=> String
|
1669
1677
|
# resp.events[0].state_exited_event_details.output_details.truncated #=> Boolean
|
1678
|
+
# resp.events[0].state_exited_event_details.assigned_variables #=> Hash
|
1679
|
+
# resp.events[0].state_exited_event_details.assigned_variables["VariableName"] #=> String
|
1680
|
+
# resp.events[0].state_exited_event_details.assigned_variables_details.truncated #=> Boolean
|
1670
1681
|
# resp.events[0].map_run_started_event_details.map_run_arn #=> String
|
1671
1682
|
# resp.events[0].map_run_failed_event_details.error #=> String
|
1672
1683
|
# resp.events[0].map_run_failed_event_details.cause #=> String
|
1673
1684
|
# resp.events[0].map_run_redriven_event_details.map_run_arn #=> String
|
1674
1685
|
# resp.events[0].map_run_redriven_event_details.redrive_count #=> Integer
|
1686
|
+
# resp.events[0].evaluation_failed_event_details.error #=> String
|
1687
|
+
# resp.events[0].evaluation_failed_event_details.cause #=> String
|
1688
|
+
# resp.events[0].evaluation_failed_event_details.location #=> String
|
1689
|
+
# resp.events[0].evaluation_failed_event_details.state #=> String
|
1675
1690
|
# resp.next_token #=> String
|
1676
1691
|
#
|
1677
1692
|
# @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory AWS API Documentation
|
@@ -2932,7 +2947,7 @@ module Aws::States
|
|
2932
2947
|
#
|
2933
2948
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
|
2934
2949
|
#
|
2935
|
-
# @option params [
|
2950
|
+
# @option params [String] :role_arn
|
2936
2951
|
# The Amazon Resource Name (ARN) of the execution role with the required
|
2937
2952
|
# IAM permissions for the state.
|
2938
2953
|
#
|
@@ -2976,6 +2991,10 @@ module Aws::States
|
|
2976
2991
|
#
|
2977
2992
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/test-state-isolation.html#test-state-permissions
|
2978
2993
|
#
|
2994
|
+
# @option params [String] :variables
|
2995
|
+
# JSON object literal that sets variables used in the state under test.
|
2996
|
+
# Object keys are the variable names and values are the variable values.
|
2997
|
+
#
|
2979
2998
|
# @return [Types::TestStateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2980
2999
|
#
|
2981
3000
|
# * {Types::TestStateOutput#output #output} => String
|
@@ -2989,10 +3008,11 @@ module Aws::States
|
|
2989
3008
|
#
|
2990
3009
|
# resp = client.test_state({
|
2991
3010
|
# definition: "Definition", # required
|
2992
|
-
# role_arn: "Arn",
|
3011
|
+
# role_arn: "Arn",
|
2993
3012
|
# input: "SensitiveData",
|
2994
3013
|
# inspection_level: "INFO", # accepts INFO, DEBUG, TRACE
|
2995
3014
|
# reveal_secrets: false,
|
3015
|
+
# variables: "SensitiveData",
|
2996
3016
|
# })
|
2997
3017
|
#
|
2998
3018
|
# @example Response structure
|
@@ -3001,6 +3021,7 @@ module Aws::States
|
|
3001
3021
|
# resp.error #=> String
|
3002
3022
|
# resp.cause #=> String
|
3003
3023
|
# resp.inspection_data.input #=> String
|
3024
|
+
# resp.inspection_data.after_arguments #=> String
|
3004
3025
|
# resp.inspection_data.after_input_path #=> String
|
3005
3026
|
# resp.inspection_data.after_parameters #=> String
|
3006
3027
|
# resp.inspection_data.result #=> String
|
@@ -3016,6 +3037,7 @@ module Aws::States
|
|
3016
3037
|
# resp.inspection_data.response.status_message #=> String
|
3017
3038
|
# resp.inspection_data.response.headers #=> String
|
3018
3039
|
# resp.inspection_data.response.body #=> String
|
3040
|
+
# resp.inspection_data.variables #=> String
|
3019
3041
|
# resp.next_state #=> String
|
3020
3042
|
# resp.status #=> String, one of "SUCCEEDED", "FAILED", "RETRIABLE", "CAUGHT_ERROR"
|
3021
3043
|
#
|
@@ -3319,34 +3341,46 @@ module Aws::States
|
|
3319
3341
|
req.send_request(options)
|
3320
3342
|
end
|
3321
3343
|
|
3322
|
-
# Validates the syntax of a state machine definition
|
3344
|
+
# Validates the syntax of a state machine definition specified in
|
3345
|
+
# [Amazon States Language][1] (ASL), a JSON-based, structured language.
|
3323
3346
|
#
|
3324
3347
|
# 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).
|
3348
|
+
# creating a state machine resource.
|
3330
3349
|
#
|
3331
3350
|
# Suggested uses for `ValidateStateMachineDefinition`:
|
3332
3351
|
#
|
3333
3352
|
# * Integrate automated checks into your code review or Continuous
|
3334
|
-
# Integration (CI) process to
|
3335
|
-
#
|
3353
|
+
# Integration (CI) process to check state machine definitions before
|
3354
|
+
# starting deployments.
|
3355
|
+
#
|
3356
|
+
# * Run validation from a Git pre-commit hook to verify the definition
|
3357
|
+
# before committing to your source repository.
|
3358
|
+
#
|
3359
|
+
# Validation will look for problems in your state machine definition and
|
3360
|
+
# return a **result** and a list of **diagnostic elements**.
|
3361
|
+
#
|
3362
|
+
# The **result** value will be `OK` when your workflow definition can be
|
3363
|
+
# successfully created or updated. Note the result can be `OK` even when
|
3364
|
+
# diagnostic warnings are present in the response. The **result** value
|
3365
|
+
# will be `FAIL` when the workflow definition contains errors that would
|
3366
|
+
# prevent you from creating or updating your state machine.
|
3336
3367
|
#
|
3337
|
-
#
|
3338
|
-
#
|
3339
|
-
#
|
3368
|
+
# The list of [ValidateStateMachineDefinitionDiagnostic][2] data
|
3369
|
+
# elements can contain zero or more **WARNING** and/or **ERROR**
|
3370
|
+
# elements.
|
3340
3371
|
#
|
3341
|
-
# <note markdown="1">
|
3342
|
-
#
|
3343
|
-
#
|
3372
|
+
# <note markdown="1"> The **ValidateStateMachineDefinition API** might add new diagnostics
|
3373
|
+
# in the future, adjust diagnostic codes, or change the message wording.
|
3374
|
+
# Your automated processes should only rely on the value of the
|
3375
|
+
# **result** field value (OK, FAIL). Do **not** rely on the exact order,
|
3376
|
+
# count, or wording of diagnostic messages.
|
3344
3377
|
#
|
3345
3378
|
# </note>
|
3346
3379
|
#
|
3347
3380
|
#
|
3348
3381
|
#
|
3349
3382
|
# [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
|
3383
|
+
# [2]: https://docs.aws.amazon.com/step-functions/latest/apireference/API_ValidateStateMachineDefinitionDiagnostic.html
|
3350
3384
|
#
|
3351
3385
|
# @option params [required, String] :definition
|
3352
3386
|
# The Amazon States Language definition of the state machine. For more
|
@@ -3426,7 +3460,7 @@ module Aws::States
|
|
3426
3460
|
tracer: tracer
|
3427
3461
|
)
|
3428
3462
|
context[:gem_name] = 'aws-sdk-states'
|
3429
|
-
context[:gem_version] = '1.
|
3463
|
+
context[:gem_version] = '1.84.0'
|
3430
3464
|
Seahorse::Client::Request.new(handlers, context)
|
3431
3465
|
end
|
3432
3466
|
|
@@ -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
@@ -272,6 +272,7 @@ module Aws
|
|
272
272
|
def revision_id: () -> ::String
|
273
273
|
def description: () -> ::String
|
274
274
|
def encryption_configuration: () -> Types::EncryptionConfiguration
|
275
|
+
def variable_references: () -> ::Hash[::String, ::Array[::String]]
|
275
276
|
end
|
276
277
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_state_machine-instance_method
|
277
278
|
def describe_state_machine: (
|
@@ -308,6 +309,7 @@ module Aws
|
|
308
309
|
def label: () -> ::String
|
309
310
|
def revision_id: () -> ::String
|
310
311
|
def encryption_configuration: () -> Types::EncryptionConfiguration
|
312
|
+
def variable_references: () -> ::Hash[::String, ::Array[::String]]
|
311
313
|
end
|
312
314
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#describe_state_machine_for_execution-instance_method
|
313
315
|
def describe_state_machine_for_execution: (
|
@@ -564,10 +566,11 @@ module Aws
|
|
564
566
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/States/Client.html#test_state-instance_method
|
565
567
|
def test_state: (
|
566
568
|
definition: ::String,
|
567
|
-
role_arn: ::String,
|
569
|
+
?role_arn: ::String,
|
568
570
|
?input: ::String,
|
569
571
|
?inspection_level: ("INFO" | "DEBUG" | "TRACE"),
|
570
|
-
?reveal_secrets: bool
|
572
|
+
?reveal_secrets: bool,
|
573
|
+
?variables: ::String
|
571
574
|
) -> _TestStateResponseSuccess
|
572
575
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestStateResponseSuccess
|
573
576
|
|
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.84.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: 2024-11-
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|