aws-sdk-states 1.20.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ecd5938d56f0003b7b3c38dc070b2acb74e2f5bb
4
- data.tar.gz: 4938a057b83eefba221b4cd6d98e0912afd327b2
3
+ metadata.gz: 81d5227a18f71b9985eb8a6f0ddfc9f8691d239c
4
+ data.tar.gz: 6a7ce4ee3735ef39bc872f7d644569adba3130d3
5
5
  SHA512:
6
- metadata.gz: 1e9b7a1d8c5acd56031630144ceb552dcd1a3ea6986c6b29536ed3ab52266d8e59227d9490d93ad4ac2f9a4a0dc38264c4dff72dce481fbc2d6e56ceb528df29
7
- data.tar.gz: d712968fdc5702be5402deb21af0174c9ab75fb24f8a8d2b39f645b5d9655e4a622be809cabcbc5ff8c971c10583015beda9611452d06cb35d9e9a76a275f86d
6
+ metadata.gz: 6f839941186bb1c6a4f9114fe20499e4c7eb7ffc0d050aede7bda383a3c88bc8332e7907e5dfbb5ed03fc16c2f3cfb39cd96e040c068015a823e33b4f34356a0
7
+ data.tar.gz: 4fabb3148dad96949edaf126310bb711594151771781cb7e0a6c8f78c22e4a53bb2e9c27d220aa0f2d39f30100609060a650b42246172700b21747bc5d060dc8
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-states/customizations'
42
42
  # @service
43
43
  module Aws::States
44
44
 
45
- GEM_VERSION = '1.20.0'
45
+ GEM_VERSION = '1.21.0'
46
46
 
47
47
  end
@@ -277,6 +277,16 @@ module Aws::States
277
277
  #
278
278
  # </note>
279
279
  #
280
+ # <note markdown="1"> `CreateActivity` is an idempotent API. Subsequent requests won’t
281
+ # create a duplicate resource if it was already created.
282
+ # `CreateActivity`'s idempotency check is based on the activity `name`.
283
+ # If a following request has different `tags` values, Step Functions
284
+ # will ignore these differences and treat it as an idempotent request of
285
+ # the previous. In this case, `tags` will not be updated, even if they
286
+ # are different.
287
+ #
288
+ # </note>
289
+ #
280
290
  # @option params [required, String] :name
281
291
  # The name of the activity to create. This name must be unique for your
282
292
  # AWS account and region for 90 days. For more information, see [ Limits
@@ -285,7 +295,7 @@ module Aws::States
285
295
  #
286
296
  # A name must *not* contain:
287
297
  #
288
- # * whitespace
298
+ # * white space
289
299
  #
290
300
  # * brackets `< > \{ \} [ ]`
291
301
  #
@@ -302,6 +312,18 @@ module Aws::States
302
312
  # @option params [Array<Types::Tag>] :tags
303
313
  # The list of tags to add to a resource.
304
314
  #
315
+ # An array of key-value pairs. For more information, see [Using Cost
316
+ # Allocation Tags][1] in the *AWS Billing and Cost Management User
317
+ # Guide*, and [Controlling Access Using IAM Tags][2].
318
+ #
319
+ # Tags may only contain Unicode letters, digits, white space, or these
320
+ # symbols: `_ . : / = + - @`.
321
+ #
322
+ #
323
+ #
324
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
325
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
326
+ #
305
327
  # @return [Types::CreateActivityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
306
328
  #
307
329
  # * {Types::CreateActivityOutput#activity_arn #activity_arn} => String
@@ -344,12 +366,23 @@ module Aws::States
344
366
  #
345
367
  # </note>
346
368
  #
369
+ # <note markdown="1"> `CreateStateMachine` is an idempotent API. Subsequent requests won’t
370
+ # create a duplicate resource if it was already created.
371
+ # `CreateStateMachine`'s idempotency check is based on the state
372
+ # machine `name` and `definition`. If a following request has a
373
+ # different `roleArn` or `tags`, Step Functions will ignore these
374
+ # differences and treat it as an idempotent request of the previous. In
375
+ # this case, `roleArn` and `tags` will not be updated, even if they are
376
+ # different.
377
+ #
378
+ # </note>
379
+ #
347
380
  # @option params [required, String] :name
348
381
  # The name of the state machine.
349
382
  #
350
383
  # A name must *not* contain:
351
384
  #
352
- # * whitespace
385
+ # * white space
353
386
  #
354
387
  # * brackets `< > \{ \} [ ]`
355
388
  #
@@ -374,6 +407,18 @@ module Aws::States
374
407
  # @option params [Array<Types::Tag>] :tags
375
408
  # Tags to be added when creating a state machine.
376
409
  #
410
+ # An array of key-value pairs. For more information, see [Using Cost
411
+ # Allocation Tags][1] in the *AWS Billing and Cost Management User
412
+ # Guide*, and [Controlling Access Using IAM Tags][2].
413
+ #
414
+ # Tags may only contain Unicode letters, digits, white space, or these
415
+ # symbols: `_ . : / = + - @`.
416
+ #
417
+ #
418
+ #
419
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
420
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
421
+ #
377
422
  # @return [Types::CreateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
378
423
  #
379
424
  # * {Types::CreateStateMachineOutput#state_machine_arn #state_machine_arn} => String
@@ -736,7 +781,7 @@ module Aws::States
736
781
  #
737
782
  # resp.events #=> Array
738
783
  # resp.events[0].timestamp #=> Time
739
- # resp.events[0].type #=> String, one of "ActivityFailed", "ActivityScheduleFailed", "ActivityScheduled", "ActivityStarted", "ActivitySucceeded", "ActivityTimedOut", "ChoiceStateEntered", "ChoiceStateExited", "TaskFailed", "TaskScheduled", "TaskStartFailed", "TaskStarted", "TaskSubmitFailed", "TaskSubmitted", "TaskSucceeded", "TaskTimedOut", "ExecutionFailed", "ExecutionStarted", "ExecutionSucceeded", "ExecutionAborted", "ExecutionTimedOut", "FailStateEntered", "LambdaFunctionFailed", "LambdaFunctionScheduleFailed", "LambdaFunctionScheduled", "LambdaFunctionStartFailed", "LambdaFunctionStarted", "LambdaFunctionSucceeded", "LambdaFunctionTimedOut", "SucceedStateEntered", "SucceedStateExited", "TaskStateAborted", "TaskStateEntered", "TaskStateExited", "PassStateEntered", "PassStateExited", "ParallelStateAborted", "ParallelStateEntered", "ParallelStateExited", "ParallelStateFailed", "ParallelStateStarted", "ParallelStateSucceeded", "WaitStateAborted", "WaitStateEntered", "WaitStateExited"
784
+ # 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"
740
785
  # resp.events[0].id #=> Integer
741
786
  # resp.events[0].previous_event_id #=> Integer
742
787
  # resp.events[0].activity_failed_event_details.error #=> String
@@ -789,6 +834,15 @@ module Aws::States
789
834
  # resp.events[0].execution_aborted_event_details.cause #=> String
790
835
  # resp.events[0].execution_timed_out_event_details.error #=> String
791
836
  # resp.events[0].execution_timed_out_event_details.cause #=> String
837
+ # resp.events[0].map_state_started_event_details.length #=> Integer
838
+ # resp.events[0].map_iteration_started_event_details.name #=> String
839
+ # resp.events[0].map_iteration_started_event_details.index #=> Integer
840
+ # resp.events[0].map_iteration_succeeded_event_details.name #=> String
841
+ # resp.events[0].map_iteration_succeeded_event_details.index #=> Integer
842
+ # resp.events[0].map_iteration_failed_event_details.name #=> String
843
+ # resp.events[0].map_iteration_failed_event_details.index #=> Integer
844
+ # resp.events[0].map_iteration_aborted_event_details.name #=> String
845
+ # resp.events[0].map_iteration_aborted_event_details.index #=> Integer
792
846
  # resp.events[0].lambda_function_failed_event_details.error #=> String
793
847
  # resp.events[0].lambda_function_failed_event_details.cause #=> String
794
848
  # resp.events[0].lambda_function_schedule_failed_event_details.error #=> String
@@ -926,7 +980,7 @@ module Aws::States
926
980
  # state_machine_arn: "Arn", # required
927
981
  # status_filter: "RUNNING", # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED
928
982
  # max_results: 1,
929
- # next_token: "PageToken",
983
+ # next_token: "ListExecutionsPageToken",
930
984
  # })
931
985
  #
932
986
  # @example Response structure
@@ -1010,6 +1064,9 @@ module Aws::States
1010
1064
 
1011
1065
  # List tags for a given resource.
1012
1066
  #
1067
+ # Tags may only contain Unicode letters, digits, white space, or these
1068
+ # symbols: `_ . : / = + - @`.
1069
+ #
1013
1070
  # @option params [required, String] :resource_arn
1014
1071
  # The Amazon Resource Name (ARN) for the Step Functions state machine or
1015
1072
  # activity.
@@ -1039,13 +1096,22 @@ module Aws::States
1039
1096
  req.send_request(options)
1040
1097
  end
1041
1098
 
1042
- # Used by workers to report that the task identified by the `taskToken`
1043
- # failed.
1099
+ # Used by activity workers and task states using the [callback][1]
1100
+ # pattern to report that the task identified by the `taskToken` failed.
1101
+ #
1102
+ #
1103
+ #
1104
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token
1044
1105
  #
1045
1106
  # @option params [required, String] :task_token
1046
- # The token that represents this task. Task tokens are generated by the
1047
- # service when the tasks are assigned to a worker (see
1048
- # GetActivityTask::taskToken).
1107
+ # The token that represents this task. Task tokens are generated by Step
1108
+ # Functions when tasks are assigned to a worker, or in the [context
1109
+ # object][1] when a workflow enters a task state. See
1110
+ # GetActivityTaskOutput$taskToken.
1111
+ #
1112
+ #
1113
+ #
1114
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html
1049
1115
  #
1050
1116
  # @option params [String] :error
1051
1117
  # The error code of the failure.
@@ -1072,29 +1138,38 @@ module Aws::States
1072
1138
  req.send_request(options)
1073
1139
  end
1074
1140
 
1075
- # Used by workers to report to the service that the task represented by
1076
- # the specified `taskToken` is still making progress. This action resets
1077
- # the `Heartbeat` clock. The `Heartbeat` threshold is specified in the
1078
- # state machine's Amazon States Language definition. This action does
1079
- # not in itself create an event in the execution history. However, if
1080
- # the task times out, the execution history contains an
1081
- # `ActivityTimedOut` event.
1141
+ # Used by activity workers and task states using the [callback][1]
1142
+ # pattern to report to Step Functions that the task represented by the
1143
+ # specified `taskToken` is still making progress. This action resets the
1144
+ # `Heartbeat` clock. The `Heartbeat` threshold is specified in the state
1145
+ # machine's Amazon States Language definition (`HeartbeatSeconds`).
1146
+ # This action does not in itself create an event in the execution
1147
+ # history. However, if the task times out, the execution history
1148
+ # contains an `ActivityTimedOut` entry for activities, or a
1149
+ # `TaskTimedOut` entry for for tasks using the [job run][2] or
1150
+ # [callback][1] pattern.
1082
1151
  #
1083
1152
  # <note markdown="1"> The `Timeout` of a task, defined in the state machine's Amazon States
1084
1153
  # Language definition, is its maximum allowed duration, regardless of
1085
- # the number of SendTaskHeartbeat requests received.
1154
+ # the number of SendTaskHeartbeat requests received. Use
1155
+ # `HeartbeatSeconds` to configure the timeout interval for heartbeats.
1086
1156
  #
1087
1157
  # </note>
1088
1158
  #
1089
- # <note markdown="1"> This operation is only useful for long-lived tasks to report the
1090
- # liveliness of the task.
1091
1159
  #
1092
- # </note>
1160
+ #
1161
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token
1162
+ # [2]: https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-sync
1093
1163
  #
1094
1164
  # @option params [required, String] :task_token
1095
- # The token that represents this task. Task tokens are generated by the
1096
- # service when the tasks are assigned to a worker (see
1097
- # GetActivityTaskOutput$taskToken).
1165
+ # The token that represents this task. Task tokens are generated by Step
1166
+ # Functions when tasks are assigned to a worker, or in the [context
1167
+ # object][1] when a workflow enters a task state. See
1168
+ # GetActivityTaskOutput$taskToken.
1169
+ #
1170
+ #
1171
+ #
1172
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html
1098
1173
  #
1099
1174
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1100
1175
  #
@@ -1113,13 +1188,23 @@ module Aws::States
1113
1188
  req.send_request(options)
1114
1189
  end
1115
1190
 
1116
- # Used by workers to report that the task identified by the `taskToken`
1191
+ # Used by activity workers and task states using the [callback][1]
1192
+ # pattern to report that the task identified by the `taskToken`
1117
1193
  # completed successfully.
1118
1194
  #
1195
+ #
1196
+ #
1197
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token
1198
+ #
1119
1199
  # @option params [required, String] :task_token
1120
- # The token that represents this task. Task tokens are generated by the
1121
- # service when the tasks are assigned to a worker (see
1122
- # GetActivityTaskOutput$taskToken).
1200
+ # The token that represents this task. Task tokens are generated by Step
1201
+ # Functions when tasks are assigned to a worker, or in the [context
1202
+ # object][1] when a workflow enters a task state. See
1203
+ # GetActivityTaskOutput$taskToken.
1204
+ #
1205
+ #
1206
+ #
1207
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html
1123
1208
  #
1124
1209
  # @option params [required, String] :output
1125
1210
  # The JSON output of the task.
@@ -1163,7 +1248,7 @@ module Aws::States
1163
1248
  #
1164
1249
  # A name must *not* contain:
1165
1250
  #
1166
- # * whitespace
1251
+ # * white space
1167
1252
  #
1168
1253
  # * brackets `< > \{ \} [ ]`
1169
1254
  #
@@ -1253,6 +1338,18 @@ module Aws::States
1253
1338
 
1254
1339
  # Add a tag to a Step Functions resource.
1255
1340
  #
1341
+ # An array of key-value pairs. For more information, see [Using Cost
1342
+ # Allocation Tags][1] in the *AWS Billing and Cost Management User
1343
+ # Guide*, and [Controlling Access Using IAM Tags][2].
1344
+ #
1345
+ # Tags may only contain Unicode letters, digits, white space, or these
1346
+ # symbols: `_ . : / = + - @`.
1347
+ #
1348
+ #
1349
+ #
1350
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
1351
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
1352
+ #
1256
1353
  # @option params [required, String] :resource_arn
1257
1354
  # The Amazon Resource Name (ARN) for the Step Functions state machine or
1258
1355
  # activity.
@@ -1260,7 +1357,7 @@ module Aws::States
1260
1357
  # @option params [required, Array<Types::Tag>] :tags
1261
1358
  # The list of tags to add to a resource.
1262
1359
  #
1263
- # Tags may only contain unicode letters, digits, whitespace, or these
1360
+ # Tags may only contain Unicode letters, digits, white space, or these
1264
1361
  # symbols: `_ . : / = + - @`.
1265
1362
  #
1266
1363
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -1378,7 +1475,7 @@ module Aws::States
1378
1475
  params: params,
1379
1476
  config: config)
1380
1477
  context[:gem_name] = 'aws-sdk-states'
1381
- context[:gem_version] = '1.20.0'
1478
+ context[:gem_version] = '1.21.0'
1382
1479
  Seahorse::Client::Request.new(handlers, context)
1383
1480
  end
1384
1481
 
@@ -78,10 +78,13 @@ module Aws::States
78
78
  ListActivitiesOutput = Shapes::StructureShape.new(name: 'ListActivitiesOutput')
79
79
  ListExecutionsInput = Shapes::StructureShape.new(name: 'ListExecutionsInput')
80
80
  ListExecutionsOutput = Shapes::StructureShape.new(name: 'ListExecutionsOutput')
81
+ ListExecutionsPageToken = Shapes::StringShape.new(name: 'ListExecutionsPageToken')
81
82
  ListStateMachinesInput = Shapes::StructureShape.new(name: 'ListStateMachinesInput')
82
83
  ListStateMachinesOutput = Shapes::StructureShape.new(name: 'ListStateMachinesOutput')
83
84
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
84
85
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
86
+ MapIterationEventDetails = Shapes::StructureShape.new(name: 'MapIterationEventDetails')
87
+ MapStateStartedEventDetails = Shapes::StructureShape.new(name: 'MapStateStartedEventDetails')
85
88
  MissingRequiredParameter = Shapes::StructureShape.new(name: 'MissingRequiredParameter')
86
89
  Name = Shapes::StringShape.new(name: 'Name')
87
90
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
@@ -132,6 +135,7 @@ module Aws::States
132
135
  TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
133
136
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
134
137
  TooManyTags = Shapes::StructureShape.new(name: 'TooManyTags')
138
+ UnsignedInteger = Shapes::IntegerShape.new(name: 'UnsignedInteger')
135
139
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
136
140
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
137
141
  UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
@@ -326,6 +330,11 @@ module Aws::States
326
330
  HistoryEvent.add_member(:execution_succeeded_event_details, Shapes::ShapeRef.new(shape: ExecutionSucceededEventDetails, location_name: "executionSucceededEventDetails"))
327
331
  HistoryEvent.add_member(:execution_aborted_event_details, Shapes::ShapeRef.new(shape: ExecutionAbortedEventDetails, location_name: "executionAbortedEventDetails"))
328
332
  HistoryEvent.add_member(:execution_timed_out_event_details, Shapes::ShapeRef.new(shape: ExecutionTimedOutEventDetails, location_name: "executionTimedOutEventDetails"))
333
+ HistoryEvent.add_member(:map_state_started_event_details, Shapes::ShapeRef.new(shape: MapStateStartedEventDetails, location_name: "mapStateStartedEventDetails"))
334
+ HistoryEvent.add_member(:map_iteration_started_event_details, Shapes::ShapeRef.new(shape: MapIterationEventDetails, location_name: "mapIterationStartedEventDetails"))
335
+ HistoryEvent.add_member(:map_iteration_succeeded_event_details, Shapes::ShapeRef.new(shape: MapIterationEventDetails, location_name: "mapIterationSucceededEventDetails"))
336
+ HistoryEvent.add_member(:map_iteration_failed_event_details, Shapes::ShapeRef.new(shape: MapIterationEventDetails, location_name: "mapIterationFailedEventDetails"))
337
+ HistoryEvent.add_member(:map_iteration_aborted_event_details, Shapes::ShapeRef.new(shape: MapIterationEventDetails, location_name: "mapIterationAbortedEventDetails"))
329
338
  HistoryEvent.add_member(:lambda_function_failed_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionFailedEventDetails, location_name: "lambdaFunctionFailedEventDetails"))
330
339
  HistoryEvent.add_member(:lambda_function_schedule_failed_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionScheduleFailedEventDetails, location_name: "lambdaFunctionScheduleFailedEventDetails"))
331
340
  HistoryEvent.add_member(:lambda_function_scheduled_event_details, Shapes::ShapeRef.new(shape: LambdaFunctionScheduledEventDetails, location_name: "lambdaFunctionScheduledEventDetails"))
@@ -391,11 +400,11 @@ module Aws::States
391
400
  ListExecutionsInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
392
401
  ListExecutionsInput.add_member(:status_filter, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "statusFilter"))
393
402
  ListExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
394
- ListExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
403
+ ListExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListExecutionsPageToken, location_name: "nextToken"))
395
404
  ListExecutionsInput.struct_class = Types::ListExecutionsInput
396
405
 
397
406
  ListExecutionsOutput.add_member(:executions, Shapes::ShapeRef.new(shape: ExecutionList, required: true, location_name: "executions"))
398
- ListExecutionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
407
+ ListExecutionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListExecutionsPageToken, location_name: "nextToken"))
399
408
  ListExecutionsOutput.struct_class = Types::ListExecutionsOutput
400
409
 
401
410
  ListStateMachinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "maxResults"))
@@ -412,6 +421,13 @@ module Aws::States
412
421
  ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
413
422
  ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
414
423
 
424
+ MapIterationEventDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
425
+ MapIterationEventDetails.add_member(:index, Shapes::ShapeRef.new(shape: UnsignedInteger, location_name: "Index"))
426
+ MapIterationEventDetails.struct_class = Types::MapIterationEventDetails
427
+
428
+ MapStateStartedEventDetails.add_member(:length, Shapes::ShapeRef.new(shape: UnsignedInteger, location_name: "Length"))
429
+ MapStateStartedEventDetails.struct_class = Types::MapStateStartedEventDetails
430
+
415
431
  MissingRequiredParameter.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
416
432
  MissingRequiredParameter.struct_class = Types::MissingRequiredParameter
417
433
 
@@ -62,7 +62,7 @@ module Aws::States
62
62
  #
63
63
  # A name must *not* contain:
64
64
  #
65
- # * whitespace
65
+ # * white space
66
66
  #
67
67
  # * brackets `< > \{ \} [ ]`
68
68
  #
@@ -215,7 +215,7 @@ module Aws::States
215
215
  #
216
216
  # A name must *not* contain:
217
217
  #
218
- # * whitespace
218
+ # * white space
219
219
  #
220
220
  # * brackets `< > \{ \} [ ]`
221
221
  #
@@ -232,6 +232,18 @@ module Aws::States
232
232
  #
233
233
  # @!attribute [rw] tags
234
234
  # The list of tags to add to a resource.
235
+ #
236
+ # An array of key-value pairs. For more information, see [Using Cost
237
+ # Allocation Tags][1] in the *AWS Billing and Cost Management User
238
+ # Guide*, and [Controlling Access Using IAM Tags][2].
239
+ #
240
+ # Tags may only contain Unicode letters, digits, white space, or these
241
+ # symbols: `_ . : / = + - @`.
242
+ #
243
+ #
244
+ #
245
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
246
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
235
247
  # @return [Array<Types::Tag>]
236
248
  #
237
249
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityInput AWS API Documentation
@@ -278,7 +290,7 @@ module Aws::States
278
290
  #
279
291
  # A name must *not* contain:
280
292
  #
281
- # * whitespace
293
+ # * white space
282
294
  #
283
295
  # * brackets `< > \{ \} [ ]`
284
296
  #
@@ -305,6 +317,18 @@ module Aws::States
305
317
  #
306
318
  # @!attribute [rw] tags
307
319
  # Tags to be added when creating a state machine.
320
+ #
321
+ # An array of key-value pairs. For more information, see [Using Cost
322
+ # Allocation Tags][1] in the *AWS Billing and Cost Management User
323
+ # Guide*, and [Controlling Access Using IAM Tags][2].
324
+ #
325
+ # Tags may only contain Unicode letters, digits, white space, or these
326
+ # symbols: `_ . : / = + - @`.
327
+ #
328
+ #
329
+ #
330
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
331
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
308
332
  # @return [Array<Types::Tag>]
309
333
  #
310
334
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput AWS API Documentation
@@ -405,7 +429,7 @@ module Aws::States
405
429
  #
406
430
  # A name must *not* contain:
407
431
  #
408
- # * whitespace
432
+ # * white space
409
433
  #
410
434
  # * brackets `< > \{ \} [ ]`
411
435
  #
@@ -460,7 +484,7 @@ module Aws::States
460
484
  #
461
485
  # A name must *not* contain:
462
486
  #
463
- # * whitespace
487
+ # * white space
464
488
  #
465
489
  # * brackets `< > \{ \} [ ]`
466
490
  #
@@ -596,7 +620,7 @@ module Aws::States
596
620
  #
597
621
  # A name must *not* contain:
598
622
  #
599
- # * whitespace
623
+ # * white space
600
624
  #
601
625
  # * brackets `< > \{ \} [ ]`
602
626
  #
@@ -736,7 +760,7 @@ module Aws::States
736
760
  #
737
761
  # A name must *not* contain:
738
762
  #
739
- # * whitespace
763
+ # * white space
740
764
  #
741
765
  # * brackets `< > \{ \} [ ]`
742
766
  #
@@ -1035,6 +1059,26 @@ module Aws::States
1035
1059
  # the execution.
1036
1060
  # @return [Types::ExecutionTimedOutEventDetails]
1037
1061
  #
1062
+ # @!attribute [rw] map_state_started_event_details
1063
+ # Contains details about Map state that was started.
1064
+ # @return [Types::MapStateStartedEventDetails]
1065
+ #
1066
+ # @!attribute [rw] map_iteration_started_event_details
1067
+ # Contains details about an iteration of a Map state that was started.
1068
+ # @return [Types::MapIterationEventDetails]
1069
+ #
1070
+ # @!attribute [rw] map_iteration_succeeded_event_details
1071
+ # Contains details about an iteration of a Map state that succeeded.
1072
+ # @return [Types::MapIterationEventDetails]
1073
+ #
1074
+ # @!attribute [rw] map_iteration_failed_event_details
1075
+ # Contains details about an iteration of a Map state that failed.
1076
+ # @return [Types::MapIterationEventDetails]
1077
+ #
1078
+ # @!attribute [rw] map_iteration_aborted_event_details
1079
+ # Contains details about an iteration of a Map state that was aborted.
1080
+ # @return [Types::MapIterationEventDetails]
1081
+ #
1038
1082
  # @!attribute [rw] lambda_function_failed_event_details
1039
1083
  # Contains details about a lambda function that failed during an
1040
1084
  # execution.
@@ -1099,6 +1143,11 @@ module Aws::States
1099
1143
  :execution_succeeded_event_details,
1100
1144
  :execution_aborted_event_details,
1101
1145
  :execution_timed_out_event_details,
1146
+ :map_state_started_event_details,
1147
+ :map_iteration_started_event_details,
1148
+ :map_iteration_succeeded_event_details,
1149
+ :map_iteration_failed_event_details,
1150
+ :map_iteration_aborted_event_details,
1102
1151
  :lambda_function_failed_event_details,
1103
1152
  :lambda_function_schedule_failed_event_details,
1104
1153
  :lambda_function_scheduled_event_details,
@@ -1359,7 +1408,7 @@ module Aws::States
1359
1408
  # state_machine_arn: "Arn", # required
1360
1409
  # status_filter: "RUNNING", # accepts RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED
1361
1410
  # max_results: 1,
1362
- # next_token: "PageToken",
1411
+ # next_token: "ListExecutionsPageToken",
1363
1412
  # }
1364
1413
  #
1365
1414
  # @!attribute [rw] state_machine_arn
@@ -1507,6 +1556,37 @@ module Aws::States
1507
1556
  include Aws::Structure
1508
1557
  end
1509
1558
 
1559
+ # Contains details about an iteration of a Map state.
1560
+ #
1561
+ # @!attribute [rw] name
1562
+ # The name of the iteration’s parent Map state.
1563
+ # @return [String]
1564
+ #
1565
+ # @!attribute [rw] index
1566
+ # The index of the array belonging to the Map state iteration.
1567
+ # @return [Integer]
1568
+ #
1569
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/MapIterationEventDetails AWS API Documentation
1570
+ #
1571
+ class MapIterationEventDetails < Struct.new(
1572
+ :name,
1573
+ :index)
1574
+ include Aws::Structure
1575
+ end
1576
+
1577
+ # Details about a Map state that was started.
1578
+ #
1579
+ # @!attribute [rw] length
1580
+ # The size of the array for Map state iterations.
1581
+ # @return [Integer]
1582
+ #
1583
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/MapStateStartedEventDetails AWS API Documentation
1584
+ #
1585
+ class MapStateStartedEventDetails < Struct.new(
1586
+ :length)
1587
+ include Aws::Structure
1588
+ end
1589
+
1510
1590
  # Request is missing a required parameter. This error occurs if both
1511
1591
  # `definition` and `roleArn` are not specified.
1512
1592
  #
@@ -1520,7 +1600,7 @@ module Aws::States
1520
1600
  include Aws::Structure
1521
1601
  end
1522
1602
 
1523
- # Could not fine the referenced resource. Only state machine and
1603
+ # Could not find the referenced resource. Only state machine and
1524
1604
  # activity ARNs are supported.
1525
1605
  #
1526
1606
  # @!attribute [rw] message
@@ -1548,8 +1628,13 @@ module Aws::States
1548
1628
  #
1549
1629
  # @!attribute [rw] task_token
1550
1630
  # The token that represents this task. Task tokens are generated by
1551
- # the service when the tasks are assigned to a worker (see
1552
- # GetActivityTask::taskToken).
1631
+ # Step Functions when tasks are assigned to a worker, or in the
1632
+ # [context object][1] when a workflow enters a task state. See
1633
+ # GetActivityTaskOutput$taskToken.
1634
+ #
1635
+ #
1636
+ #
1637
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html
1553
1638
  # @return [String]
1554
1639
  #
1555
1640
  # @!attribute [rw] error
@@ -1582,8 +1667,13 @@ module Aws::States
1582
1667
  #
1583
1668
  # @!attribute [rw] task_token
1584
1669
  # The token that represents this task. Task tokens are generated by
1585
- # the service when the tasks are assigned to a worker (see
1586
- # GetActivityTaskOutput$taskToken).
1670
+ # Step Functions when tasks are assigned to a worker, or in the
1671
+ # [context object][1] when a workflow enters a task state. See
1672
+ # GetActivityTaskOutput$taskToken.
1673
+ #
1674
+ #
1675
+ #
1676
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html
1587
1677
  # @return [String]
1588
1678
  #
1589
1679
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeatInput AWS API Documentation
@@ -1607,8 +1697,13 @@ module Aws::States
1607
1697
  #
1608
1698
  # @!attribute [rw] task_token
1609
1699
  # The token that represents this task. Task tokens are generated by
1610
- # the service when the tasks are assigned to a worker (see
1611
- # GetActivityTaskOutput$taskToken).
1700
+ # Step Functions when tasks are assigned to a worker, or in the
1701
+ # [context object][1] when a workflow enters a task state. See
1702
+ # GetActivityTaskOutput$taskToken.
1703
+ #
1704
+ #
1705
+ #
1706
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/input-output-contextobject.html
1612
1707
  # @return [String]
1613
1708
  #
1614
1709
  # @!attribute [rw] output
@@ -1648,7 +1743,7 @@ module Aws::States
1648
1743
  #
1649
1744
  # A name must *not* contain:
1650
1745
  #
1651
- # * whitespace
1746
+ # * white space
1652
1747
  #
1653
1748
  # * brackets `< > \{ \} [ ]`
1654
1749
  #
@@ -1725,7 +1820,7 @@ module Aws::States
1725
1820
  #
1726
1821
  # A name must *not* contain:
1727
1822
  #
1728
- # * whitespace
1823
+ # * white space
1729
1824
  #
1730
1825
  # * brackets `< > \{ \} [ ]`
1731
1826
  #
@@ -1809,7 +1904,7 @@ module Aws::States
1809
1904
  #
1810
1905
  # A name must *not* contain:
1811
1906
  #
1812
- # * whitespace
1907
+ # * white space
1813
1908
  #
1814
1909
  # * brackets `< > \{ \} [ ]`
1815
1910
  #
@@ -1877,6 +1972,18 @@ module Aws::States
1877
1972
  # Tags are key-value pairs that can be associated with Step Functions
1878
1973
  # state machines and activities.
1879
1974
  #
1975
+ # An array of key-value pairs. For more information, see [Using Cost
1976
+ # Allocation Tags][1] in the *AWS Billing and Cost Management User
1977
+ # Guide*, and [Controlling Access Using IAM Tags][2].
1978
+ #
1979
+ # Tags may only contain Unicode letters, digits, white space, or these
1980
+ # symbols: `_ . : / = + - @`.
1981
+ #
1982
+ #
1983
+ #
1984
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html
1985
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_iam-tags.html
1986
+ #
1880
1987
  # @note When making an API call, you may pass Tag
1881
1988
  # data as a hash:
1882
1989
  #
@@ -1922,7 +2029,7 @@ module Aws::States
1922
2029
  # @!attribute [rw] tags
1923
2030
  # The list of tags to add to a resource.
1924
2031
  #
1925
- # Tags may only contain unicode letters, digits, whitespace, or these
2032
+ # Tags may only contain Unicode letters, digits, white space, or these
1926
2033
  # symbols: `_ . : / = + - @`.
1927
2034
  # @return [Array<Types::Tag>]
1928
2035
  #
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.20.0
4
+ version: 1.21.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: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2019-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core