aws-sdk-states 1.9.0 → 1.10.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: 6064af56a74cb1323dc0fa7bf8837008534c2c0a
4
- data.tar.gz: 7e420f4adf382039002ef471da37b00766178d62
3
+ metadata.gz: 5cc538f29c59eb67c49f8784a3970e05707f4609
4
+ data.tar.gz: c652710c3cbb03a2dc85dddffe83b1b19925c853
5
5
  SHA512:
6
- metadata.gz: 3183ae40988defd73d0b58297b17178e8d18d26cb6198dc862deaceab206716f214f3f6db900a8e969e53fea603db5572d089ea922eabff9bc2f90c53968e8ed
7
- data.tar.gz: 27783874779ca9ba4a882f7ea7386d2e0d62a74ea04c263901669c13fd7475d220b5b4ff6cb81a73f9eaf0c6961ddf33d9bbdea707f486f456a9a5b1b245a567
6
+ metadata.gz: a960b86e8471d517b7bd4b3067f5ea2c1d78068bdeba9805a50f106451e7ddba58cc698bf7abed3297628de01992f1e60b7dae2a3bb45f9ff3f6ae10bdb3ca9b
7
+ data.tar.gz: 7a5d06db6ba3e265d1c06c98a4bd0322666efa6491d0ab8089916a4f5b3863c1777d2fd7b7f86b29acff0296a921248909484b207b916c4bd6bf33f20db25925
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-states/customizations'
42
42
  # @service
43
43
  module Aws::States
44
44
 
45
- GEM_VERSION = '1.9.0'
45
+ GEM_VERSION = '1.10.0'
46
46
 
47
47
  end
@@ -616,8 +616,8 @@ module Aws::States
616
616
  # value of `nextToken` is a unique pagination token for each page. Make
617
617
  # the call again using the returned token to retrieve the next page.
618
618
  # Keep all other arguments unchanged. Each pagination token expires
619
- # after 60 seconds. Using an expired pagination token will return an
620
- # *HTTP 400 InvalidToken* error.
619
+ # after 24 hours. Using an expired pagination token will return an *HTTP
620
+ # 400 InvalidToken* error.
621
621
  #
622
622
  # @option params [required, String] :execution_arn
623
623
  # The Amazon Resource Name (ARN) of the execution.
@@ -638,8 +638,8 @@ module Aws::States
638
638
  # value of `nextToken` is a unique pagination token for each page. Make
639
639
  # the call again using the returned token to retrieve the next page.
640
640
  # Keep all other arguments unchanged. Each pagination token expires
641
- # after 60 seconds. Using an expired pagination token will return an
642
- # *HTTP 400 InvalidToken* error.
641
+ # after 24 hours. Using an expired pagination token will return an *HTTP
642
+ # 400 InvalidToken* error.
643
643
  #
644
644
  # @return [Types::GetExecutionHistoryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
645
645
  #
@@ -745,8 +745,8 @@ module Aws::States
745
745
  # value of `nextToken` is a unique pagination token for each page. Make
746
746
  # the call again using the returned token to retrieve the next page.
747
747
  # Keep all other arguments unchanged. Each pagination token expires
748
- # after 60 seconds. Using an expired pagination token will return an
749
- # *HTTP 400 InvalidToken* error.
748
+ # after 24 hours. Using an expired pagination token will return an *HTTP
749
+ # 400 InvalidToken* error.
750
750
  #
751
751
  # <note markdown="1"> This operation is eventually consistent. The results are best effort
752
752
  # and may not reflect very recent updates and changes.
@@ -766,8 +766,8 @@ module Aws::States
766
766
  # value of `nextToken` is a unique pagination token for each page. Make
767
767
  # the call again using the returned token to retrieve the next page.
768
768
  # Keep all other arguments unchanged. Each pagination token expires
769
- # after 60 seconds. Using an expired pagination token will return an
770
- # *HTTP 400 InvalidToken* error.
769
+ # after 24 hours. Using an expired pagination token will return an *HTTP
770
+ # 400 InvalidToken* error.
771
771
  #
772
772
  # @return [Types::ListActivitiesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
773
773
  #
@@ -806,8 +806,8 @@ module Aws::States
806
806
  # value of `nextToken` is a unique pagination token for each page. Make
807
807
  # the call again using the returned token to retrieve the next page.
808
808
  # Keep all other arguments unchanged. Each pagination token expires
809
- # after 60 seconds. Using an expired pagination token will return an
810
- # *HTTP 400 InvalidToken* error.
809
+ # after 24 hours. Using an expired pagination token will return an *HTTP
810
+ # 400 InvalidToken* error.
811
811
  #
812
812
  # <note markdown="1"> This operation is eventually consistent. The results are best effort
813
813
  # and may not reflect very recent updates and changes.
@@ -835,8 +835,8 @@ module Aws::States
835
835
  # value of `nextToken` is a unique pagination token for each page. Make
836
836
  # the call again using the returned token to retrieve the next page.
837
837
  # Keep all other arguments unchanged. Each pagination token expires
838
- # after 60 seconds. Using an expired pagination token will return an
839
- # *HTTP 400 InvalidToken* error.
838
+ # after 24 hours. Using an expired pagination token will return an *HTTP
839
+ # 400 InvalidToken* error.
840
840
  #
841
841
  # @return [Types::ListExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
842
842
  #
@@ -878,8 +878,8 @@ module Aws::States
878
878
  # value of `nextToken` is a unique pagination token for each page. Make
879
879
  # the call again using the returned token to retrieve the next page.
880
880
  # Keep all other arguments unchanged. Each pagination token expires
881
- # after 60 seconds. Using an expired pagination token will return an
882
- # *HTTP 400 InvalidToken* error.
881
+ # after 24 hours. Using an expired pagination token will return an *HTTP
882
+ # 400 InvalidToken* error.
883
883
  #
884
884
  # <note markdown="1"> This operation is eventually consistent. The results are best effort
885
885
  # and may not reflect very recent updates and changes.
@@ -899,8 +899,8 @@ module Aws::States
899
899
  # value of `nextToken` is a unique pagination token for each page. Make
900
900
  # the call again using the returned token to retrieve the next page.
901
901
  # Keep all other arguments unchanged. Each pagination token expires
902
- # after 60 seconds. Using an expired pagination token will return an
903
- # *HTTP 400 InvalidToken* error.
902
+ # after 24 hours. Using an expired pagination token will return an *HTTP
903
+ # 400 InvalidToken* error.
904
904
  #
905
905
  # @return [Types::ListStateMachinesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
906
906
  #
@@ -931,6 +931,37 @@ module Aws::States
931
931
  req.send_request(options)
932
932
  end
933
933
 
934
+ # List tags for a given resource.
935
+ #
936
+ # @option params [required, String] :resource_arn
937
+ # The Amazon Resource Name (ARN) for the Step Functions state machine or
938
+ # activity.
939
+ #
940
+ # @return [Types::ListTagsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
941
+ #
942
+ # * {Types::ListTagsForResourceOutput#tags #tags} => Array&lt;Types::Tag&gt;
943
+ #
944
+ # @example Request syntax with placeholder values
945
+ #
946
+ # resp = client.list_tags_for_resource({
947
+ # resource_arn: "Arn", # required
948
+ # })
949
+ #
950
+ # @example Response structure
951
+ #
952
+ # resp.tags #=> Array
953
+ # resp.tags[0].key #=> String
954
+ # resp.tags[0].value #=> String
955
+ #
956
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListTagsForResource AWS API Documentation
957
+ #
958
+ # @overload list_tags_for_resource(params = {})
959
+ # @param [Hash] params ({})
960
+ def list_tags_for_resource(params = {}, options = {})
961
+ req = build_request(:list_tags_for_resource, params)
962
+ req.send_request(options)
963
+ end
964
+
934
965
  # Used by workers to report that the task identified by the `taskToken`
935
966
  # failed.
936
967
  #
@@ -1143,6 +1174,68 @@ module Aws::States
1143
1174
  req.send_request(options)
1144
1175
  end
1145
1176
 
1177
+ # Add a tag to a Step Functions resource.
1178
+ #
1179
+ # @option params [required, String] :resource_arn
1180
+ # The Amazon Resource Name (ARN) for the Step Functions state machine or
1181
+ # activity.
1182
+ #
1183
+ # @option params [required, Array<Types::Tag>] :tags
1184
+ # The list of tags to add to a resource.
1185
+ #
1186
+ # Tags may only contain unicode letters, digits, whitespace, or these
1187
+ # symbols: `_ . : / = + - @`.
1188
+ #
1189
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1190
+ #
1191
+ # @example Request syntax with placeholder values
1192
+ #
1193
+ # resp = client.tag_resource({
1194
+ # resource_arn: "Arn", # required
1195
+ # tags: [ # required
1196
+ # {
1197
+ # key: "TagKey",
1198
+ # value: "TagValue",
1199
+ # },
1200
+ # ],
1201
+ # })
1202
+ #
1203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TagResource AWS API Documentation
1204
+ #
1205
+ # @overload tag_resource(params = {})
1206
+ # @param [Hash] params ({})
1207
+ def tag_resource(params = {}, options = {})
1208
+ req = build_request(:tag_resource, params)
1209
+ req.send_request(options)
1210
+ end
1211
+
1212
+ # Remove a tag from a Step Functions resource
1213
+ #
1214
+ # @option params [required, String] :resource_arn
1215
+ # The Amazon Resource Name (ARN) for the Step Functions state machine or
1216
+ # activity.
1217
+ #
1218
+ # @option params [required, Array<String>] :tag_keys
1219
+ # The list of tags to remove from the resource.
1220
+ #
1221
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1222
+ #
1223
+ # @example Request syntax with placeholder values
1224
+ #
1225
+ # resp = client.untag_resource({
1226
+ # resource_arn: "Arn", # required
1227
+ # tag_keys: ["TagKey"], # required
1228
+ # })
1229
+ #
1230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UntagResource AWS API Documentation
1231
+ #
1232
+ # @overload untag_resource(params = {})
1233
+ # @param [Hash] params ({})
1234
+ def untag_resource(params = {}, options = {})
1235
+ req = build_request(:untag_resource, params)
1236
+ req.send_request(options)
1237
+ end
1238
+
1146
1239
  # Updates an existing state machine by modifying its `definition` and/or
1147
1240
  # `roleArn`. Running executions will continue to use the previous
1148
1241
  # `definition` and `roleArn`. You must include at least one of
@@ -1208,7 +1301,7 @@ module Aws::States
1208
1301
  params: params,
1209
1302
  config: config)
1210
1303
  context[:gem_name] = 'aws-sdk-states'
1211
- context[:gem_version] = '1.9.0'
1304
+ context[:gem_version] = '1.10.0'
1212
1305
  Seahorse::Client::Request.new(handlers, context)
1213
1306
  end
1214
1307
 
@@ -80,10 +80,13 @@ module Aws::States
80
80
  ListExecutionsOutput = Shapes::StructureShape.new(name: 'ListExecutionsOutput')
81
81
  ListStateMachinesInput = Shapes::StructureShape.new(name: 'ListStateMachinesInput')
82
82
  ListStateMachinesOutput = Shapes::StructureShape.new(name: 'ListStateMachinesOutput')
83
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
84
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
83
85
  MissingRequiredParameter = Shapes::StructureShape.new(name: 'MissingRequiredParameter')
84
86
  Name = Shapes::StringShape.new(name: 'Name')
85
87
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
86
88
  PageToken = Shapes::StringShape.new(name: 'PageToken')
89
+ ResourceNotFound = Shapes::StructureShape.new(name: 'ResourceNotFound')
87
90
  ReverseOrder = Shapes::BooleanShape.new(name: 'ReverseOrder')
88
91
  SendTaskFailureInput = Shapes::StructureShape.new(name: 'SendTaskFailureInput')
89
92
  SendTaskFailureOutput = Shapes::StructureShape.new(name: 'SendTaskFailureOutput')
@@ -107,6 +110,13 @@ module Aws::States
107
110
  StateMachineStatus = Shapes::StringShape.new(name: 'StateMachineStatus')
108
111
  StopExecutionInput = Shapes::StructureShape.new(name: 'StopExecutionInput')
109
112
  StopExecutionOutput = Shapes::StructureShape.new(name: 'StopExecutionOutput')
113
+ Tag = Shapes::StructureShape.new(name: 'Tag')
114
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
115
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
116
+ TagList = Shapes::ListShape.new(name: 'TagList')
117
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
118
+ TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
119
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
110
120
  TaskDoesNotExist = Shapes::StructureShape.new(name: 'TaskDoesNotExist')
111
121
  TaskFailedEventDetails = Shapes::StructureShape.new(name: 'TaskFailedEventDetails')
112
122
  TaskScheduledEventDetails = Shapes::StructureShape.new(name: 'TaskScheduledEventDetails')
@@ -120,6 +130,9 @@ module Aws::States
120
130
  TaskToken = Shapes::StringShape.new(name: 'TaskToken')
121
131
  TimeoutInSeconds = Shapes::IntegerShape.new(name: 'TimeoutInSeconds')
122
132
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
133
+ TooManyTags = Shapes::StructureShape.new(name: 'TooManyTags')
134
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
135
+ UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
123
136
  UpdateStateMachineInput = Shapes::StructureShape.new(name: 'UpdateStateMachineInput')
124
137
  UpdateStateMachineOutput = Shapes::StructureShape.new(name: 'UpdateStateMachineOutput')
125
138
 
@@ -354,6 +367,12 @@ module Aws::States
354
367
  ListStateMachinesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "nextToken"))
355
368
  ListStateMachinesOutput.struct_class = Types::ListStateMachinesOutput
356
369
 
370
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
371
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
372
+
373
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
374
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
375
+
357
376
  SendTaskFailureInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
358
377
  SendTaskFailureInput.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
359
378
  SendTaskFailureInput.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
@@ -404,6 +423,20 @@ module Aws::States
404
423
  StopExecutionOutput.add_member(:stop_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "stopDate"))
405
424
  StopExecutionOutput.struct_class = Types::StopExecutionOutput
406
425
 
426
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "key"))
427
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
428
+ Tag.struct_class = Types::Tag
429
+
430
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
431
+
432
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
433
+
434
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
435
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
436
+ TagResourceInput.struct_class = Types::TagResourceInput
437
+
438
+ TagResourceOutput.struct_class = Types::TagResourceOutput
439
+
407
440
  TaskFailedEventDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resourceType"))
408
441
  TaskFailedEventDetails.add_member(:resource, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "resource"))
409
442
  TaskFailedEventDetails.add_member(:error, Shapes::ShapeRef.new(shape: SensitiveError, location_name: "error"))
@@ -449,6 +482,12 @@ module Aws::States
449
482
  TaskTimedOutEventDetails.add_member(:cause, Shapes::ShapeRef.new(shape: SensitiveCause, location_name: "cause"))
450
483
  TaskTimedOutEventDetails.struct_class = Types::TaskTimedOutEventDetails
451
484
 
485
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
486
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
487
+ UntagResourceInput.struct_class = Types::UntagResourceInput
488
+
489
+ UntagResourceOutput.struct_class = Types::UntagResourceOutput
490
+
452
491
  UpdateStateMachineInput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
453
492
  UpdateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, location_name: "definition"))
454
493
  UpdateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "roleArn"))
@@ -633,6 +672,16 @@ module Aws::States
633
672
  )
634
673
  end)
635
674
 
675
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
676
+ o.name = "ListTagsForResource"
677
+ o.http_method = "POST"
678
+ o.http_request_uri = "/"
679
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
680
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
681
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
682
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
683
+ end)
684
+
636
685
  api.add_operation(:send_task_failure, Seahorse::Model::Operation.new.tap do |o|
637
686
  o.name = "SendTaskFailure"
638
687
  o.http_method = "POST"
@@ -692,6 +741,27 @@ module Aws::States
692
741
  o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
693
742
  end)
694
743
 
744
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
745
+ o.name = "TagResource"
746
+ o.http_method = "POST"
747
+ o.http_request_uri = "/"
748
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
749
+ o.output = Shapes::ShapeRef.new(shape: TagResourceOutput)
750
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
751
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
752
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTags)
753
+ end)
754
+
755
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
756
+ o.name = "UntagResource"
757
+ o.http_method = "POST"
758
+ o.http_request_uri = "/"
759
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
760
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceOutput)
761
+ o.errors << Shapes::ShapeRef.new(shape: InvalidArn)
762
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFound)
763
+ end)
764
+
695
765
  api.add_operation(:update_state_machine, Seahorse::Model::Operation.new.tap do |o|
696
766
  o.name = "UpdateStateMachine"
697
767
  o.http_method = "POST"
@@ -798,7 +798,7 @@ module Aws::States
798
798
  # value of `nextToken` is a unique pagination token for each page.
799
799
  # Make the call again using the returned token to retrieve the next
800
800
  # page. Keep all other arguments unchanged. Each pagination token
801
- # expires after 60 seconds. Using an expired pagination token will
801
+ # expires after 24 hours. Using an expired pagination token will
802
802
  # return an *HTTP 400 InvalidToken* error.
803
803
  # @return [String]
804
804
  #
@@ -821,7 +821,7 @@ module Aws::States
821
821
  # value of `nextToken` is a unique pagination token for each page.
822
822
  # Make the call again using the returned token to retrieve the next
823
823
  # page. Keep all other arguments unchanged. Each pagination token
824
- # expires after 60 seconds. Using an expired pagination token will
824
+ # expires after 24 hours. Using an expired pagination token will
825
825
  # return an *HTTP 400 InvalidToken* error.
826
826
  # @return [String]
827
827
  #
@@ -897,19 +897,21 @@ module Aws::States
897
897
  # @return [Types::TaskStartedEventDetails]
898
898
  #
899
899
  # @!attribute [rw] task_submit_failed_event_details
900
+ # Contains details about a task that failed to submit during an
901
+ # execution.
900
902
  # @return [Types::TaskSubmitFailedEventDetails]
901
903
  #
902
904
  # @!attribute [rw] task_submitted_event_details
905
+ # Contains details about a task submitted to a resource .
903
906
  # @return [Types::TaskSubmittedEventDetails]
904
907
  #
905
908
  # @!attribute [rw] task_succeeded_event_details
906
- # Contains details about the start of connected service by a task
907
- # state.
909
+ # Contains details about the successful completion of a task state.
908
910
  # @return [Types::TaskSucceededEventDetails]
909
911
  #
910
912
  # @!attribute [rw] task_timed_out_event_details
911
- # Contains details about a connected service timeout that occured
912
- # during an execution.
913
+ # Contains details about a resource timeout that occurred during an
914
+ # execution.
913
915
  # @return [Types::TaskTimedOutEventDetails]
914
916
  #
915
917
  # @!attribute [rw] execution_failed_event_details
@@ -1145,7 +1147,7 @@ module Aws::States
1145
1147
  # value of `nextToken` is a unique pagination token for each page.
1146
1148
  # Make the call again using the returned token to retrieve the next
1147
1149
  # page. Keep all other arguments unchanged. Each pagination token
1148
- # expires after 60 seconds. Using an expired pagination token will
1150
+ # expires after 24 hours. Using an expired pagination token will
1149
1151
  # return an *HTTP 400 InvalidToken* error.
1150
1152
  # @return [String]
1151
1153
  #
@@ -1166,7 +1168,7 @@ module Aws::States
1166
1168
  # value of `nextToken` is a unique pagination token for each page.
1167
1169
  # Make the call again using the returned token to retrieve the next
1168
1170
  # page. Keep all other arguments unchanged. Each pagination token
1169
- # expires after 60 seconds. Using an expired pagination token will
1171
+ # expires after 24 hours. Using an expired pagination token will
1170
1172
  # return an *HTTP 400 InvalidToken* error.
1171
1173
  # @return [String]
1172
1174
  #
@@ -1213,7 +1215,7 @@ module Aws::States
1213
1215
  # value of `nextToken` is a unique pagination token for each page.
1214
1216
  # Make the call again using the returned token to retrieve the next
1215
1217
  # page. Keep all other arguments unchanged. Each pagination token
1216
- # expires after 60 seconds. Using an expired pagination token will
1218
+ # expires after 24 hours. Using an expired pagination token will
1217
1219
  # return an *HTTP 400 InvalidToken* error.
1218
1220
  # @return [String]
1219
1221
  #
@@ -1236,7 +1238,7 @@ module Aws::States
1236
1238
  # value of `nextToken` is a unique pagination token for each page.
1237
1239
  # Make the call again using the returned token to retrieve the next
1238
1240
  # page. Keep all other arguments unchanged. Each pagination token
1239
- # expires after 60 seconds. Using an expired pagination token will
1241
+ # expires after 24 hours. Using an expired pagination token will
1240
1242
  # return an *HTTP 400 InvalidToken* error.
1241
1243
  # @return [String]
1242
1244
  #
@@ -1271,7 +1273,7 @@ module Aws::States
1271
1273
  # value of `nextToken` is a unique pagination token for each page.
1272
1274
  # Make the call again using the returned token to retrieve the next
1273
1275
  # page. Keep all other arguments unchanged. Each pagination token
1274
- # expires after 60 seconds. Using an expired pagination token will
1276
+ # expires after 24 hours. Using an expired pagination token will
1275
1277
  # return an *HTTP 400 InvalidToken* error.
1276
1278
  # @return [String]
1277
1279
  #
@@ -1291,7 +1293,7 @@ module Aws::States
1291
1293
  # value of `nextToken` is a unique pagination token for each page.
1292
1294
  # Make the call again using the returned token to retrieve the next
1293
1295
  # page. Keep all other arguments unchanged. Each pagination token
1294
- # expires after 60 seconds. Using an expired pagination token will
1296
+ # expires after 24 hours. Using an expired pagination token will
1295
1297
  # return an *HTTP 400 InvalidToken* error.
1296
1298
  # @return [String]
1297
1299
  #
@@ -1303,6 +1305,36 @@ module Aws::States
1303
1305
  include Aws::Structure
1304
1306
  end
1305
1307
 
1308
+ # @note When making an API call, you may pass ListTagsForResourceInput
1309
+ # data as a hash:
1310
+ #
1311
+ # {
1312
+ # resource_arn: "Arn", # required
1313
+ # }
1314
+ #
1315
+ # @!attribute [rw] resource_arn
1316
+ # The Amazon Resource Name (ARN) for the Step Functions state machine
1317
+ # or activity.
1318
+ # @return [String]
1319
+ #
1320
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListTagsForResourceInput AWS API Documentation
1321
+ #
1322
+ class ListTagsForResourceInput < Struct.new(
1323
+ :resource_arn)
1324
+ include Aws::Structure
1325
+ end
1326
+
1327
+ # @!attribute [rw] tags
1328
+ # An array of tags associated with the resource.
1329
+ # @return [Array<Types::Tag>]
1330
+ #
1331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListTagsForResourceOutput AWS API Documentation
1332
+ #
1333
+ class ListTagsForResourceOutput < Struct.new(
1334
+ :tags)
1335
+ include Aws::Structure
1336
+ end
1337
+
1306
1338
  # @note When making an API call, you may pass SendTaskFailureInput
1307
1339
  # data as a hash:
1308
1340
  #
@@ -1590,14 +1622,78 @@ module Aws::States
1590
1622
  include Aws::Structure
1591
1623
  end
1592
1624
 
1625
+ # Tags are key-value pairs that can be associated with Step Functions
1626
+ # state machines and activities.
1627
+ #
1628
+ # @note When making an API call, you may pass Tag
1629
+ # data as a hash:
1630
+ #
1631
+ # {
1632
+ # key: "TagKey",
1633
+ # value: "TagValue",
1634
+ # }
1635
+ #
1636
+ # @!attribute [rw] key
1637
+ # The key of a tag.
1638
+ # @return [String]
1639
+ #
1640
+ # @!attribute [rw] value
1641
+ # The value of a tag.
1642
+ # @return [String]
1643
+ #
1644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/Tag AWS API Documentation
1645
+ #
1646
+ class Tag < Struct.new(
1647
+ :key,
1648
+ :value)
1649
+ include Aws::Structure
1650
+ end
1651
+
1652
+ # @note When making an API call, you may pass TagResourceInput
1653
+ # data as a hash:
1654
+ #
1655
+ # {
1656
+ # resource_arn: "Arn", # required
1657
+ # tags: [ # required
1658
+ # {
1659
+ # key: "TagKey",
1660
+ # value: "TagValue",
1661
+ # },
1662
+ # ],
1663
+ # }
1664
+ #
1665
+ # @!attribute [rw] resource_arn
1666
+ # The Amazon Resource Name (ARN) for the Step Functions state machine
1667
+ # or activity.
1668
+ # @return [String]
1669
+ #
1670
+ # @!attribute [rw] tags
1671
+ # The list of tags to add to a resource.
1672
+ #
1673
+ # Tags may only contain unicode letters, digits, whitespace, or these
1674
+ # symbols: `_ . : / = + - @`.
1675
+ # @return [Array<Types::Tag>]
1676
+ #
1677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TagResourceInput AWS API Documentation
1678
+ #
1679
+ class TagResourceInput < Struct.new(
1680
+ :resource_arn,
1681
+ :tags)
1682
+ include Aws::Structure
1683
+ end
1684
+
1685
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TagResourceOutput AWS API Documentation
1686
+ #
1687
+ class TagResourceOutput < Aws::EmptyStructure; end
1688
+
1593
1689
  # Contains details about a task failure event.
1594
1690
  #
1595
1691
  # @!attribute [rw] resource_type
1596
- # The action of the connected service called by a task state.
1692
+ # The action of the resource called by a task state.
1597
1693
  # @return [String]
1598
1694
  #
1599
1695
  # @!attribute [rw] resource
1600
- # The service name of the connected service in a task state.
1696
+ # The service name of the resource in a task state.
1601
1697
  # @return [String]
1602
1698
  #
1603
1699
  # @!attribute [rw] error
@@ -1621,19 +1717,19 @@ module Aws::States
1621
1717
  # Contains details about a task scheduled during an execution.
1622
1718
  #
1623
1719
  # @!attribute [rw] resource_type
1624
- # The action of the connected service called by a task state.
1720
+ # The action of the resource called by a task state.
1625
1721
  # @return [String]
1626
1722
  #
1627
1723
  # @!attribute [rw] resource
1628
- # The service name of the connected service in a task state.
1724
+ # The service name of the resource in a task state.
1629
1725
  # @return [String]
1630
1726
  #
1631
1727
  # @!attribute [rw] region
1728
+ # The region of the scheduled task
1632
1729
  # @return [String]
1633
1730
  #
1634
1731
  # @!attribute [rw] parameters
1635
- # The JSON data passed to the connected service referenced in a task
1636
- # state.
1732
+ # The JSON data passed to the resource referenced in a task state.
1637
1733
  # @return [String]
1638
1734
  #
1639
1735
  # @!attribute [rw] timeout_in_seconds
@@ -1655,11 +1751,11 @@ module Aws::States
1655
1751
  # execution.
1656
1752
  #
1657
1753
  # @!attribute [rw] resource_type
1658
- # The action of the connected service called by a task state.
1754
+ # The action of the resource called by a task state.
1659
1755
  # @return [String]
1660
1756
  #
1661
1757
  # @!attribute [rw] resource
1662
- # The service name of the connected service in a task state.
1758
+ # The service name of the resource in a task state.
1663
1759
  # @return [String]
1664
1760
  #
1665
1761
  # @!attribute [rw] error
@@ -1683,11 +1779,11 @@ module Aws::States
1683
1779
  # Contains details about the start of a task during an execution.
1684
1780
  #
1685
1781
  # @!attribute [rw] resource_type
1686
- # The action of the connected service called by a task state.
1782
+ # The action of the resource called by a task state.
1687
1783
  # @return [String]
1688
1784
  #
1689
1785
  # @!attribute [rw] resource
1690
- # The service name of the connected service in a task state.
1786
+ # The service name of the resource in a task state.
1691
1787
  # @return [String]
1692
1788
  #
1693
1789
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskStartedEventDetails AWS API Documentation
@@ -1698,12 +1794,15 @@ module Aws::States
1698
1794
  include Aws::Structure
1699
1795
  end
1700
1796
 
1797
+ # Contains details about a task that failed to submit during an
1798
+ # execution.
1799
+ #
1701
1800
  # @!attribute [rw] resource_type
1702
- # The action of the connected service called by a task state.
1801
+ # The action of the resource called by a task state.
1703
1802
  # @return [String]
1704
1803
  #
1705
1804
  # @!attribute [rw] resource
1706
- # The service name of the connected service in a task state.
1805
+ # The service name of the resource in a task state.
1707
1806
  # @return [String]
1708
1807
  #
1709
1808
  # @!attribute [rw] error
@@ -1724,16 +1823,18 @@ module Aws::States
1724
1823
  include Aws::Structure
1725
1824
  end
1726
1825
 
1826
+ # Contains details about a task submitted to a resource .
1827
+ #
1727
1828
  # @!attribute [rw] resource_type
1728
- # The action of the connected service called by a task state.
1829
+ # The action of the resource called by a task state.
1729
1830
  # @return [String]
1730
1831
  #
1731
1832
  # @!attribute [rw] resource
1732
- # The service name of the connected service in a task state.
1833
+ # The service name of the resource in a task state.
1733
1834
  # @return [String]
1734
1835
  #
1735
1836
  # @!attribute [rw] output
1736
- # The response from a connected service when a task has started.
1837
+ # The response from a resource when a task has started.
1737
1838
  # @return [String]
1738
1839
  #
1739
1840
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSubmittedEventDetails AWS API Documentation
@@ -1745,19 +1846,19 @@ module Aws::States
1745
1846
  include Aws::Structure
1746
1847
  end
1747
1848
 
1748
- # Contains details about the start of connected service by a task state.
1849
+ # Contains details about the successful completion of a task state.
1749
1850
  #
1750
1851
  # @!attribute [rw] resource_type
1751
- # The action of the connected service called by a task state.
1852
+ # The action of the resource called by a task state.
1752
1853
  # @return [String]
1753
1854
  #
1754
1855
  # @!attribute [rw] resource
1755
- # The service name of the connected service in a task state.
1856
+ # The service name of the resource in a task state.
1756
1857
  # @return [String]
1757
1858
  #
1758
1859
  # @!attribute [rw] output
1759
- # The full JSON response from a connected service when a task has
1760
- # succeeded. This response becomes the output of the related task.
1860
+ # The full JSON response from a resource when a task has succeeded.
1861
+ # This response becomes the output of the related task.
1761
1862
  # @return [String]
1762
1863
  #
1763
1864
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TaskSucceededEventDetails AWS API Documentation
@@ -1769,15 +1870,15 @@ module Aws::States
1769
1870
  include Aws::Structure
1770
1871
  end
1771
1872
 
1772
- # Contains details about a connected service timeout that occured during
1773
- # an execution.
1873
+ # Contains details about a resource timeout that occurred during an
1874
+ # execution.
1774
1875
  #
1775
1876
  # @!attribute [rw] resource_type
1776
- # The action of the connected service called by a task state.
1877
+ # The action of the resource called by a task state.
1777
1878
  # @return [String]
1778
1879
  #
1779
1880
  # @!attribute [rw] resource
1780
- # The service name of the connected service in a task state.
1881
+ # The service name of the resource in a task state.
1781
1882
  # @return [String]
1782
1883
  #
1783
1884
  # @!attribute [rw] error
@@ -1798,6 +1899,35 @@ module Aws::States
1798
1899
  include Aws::Structure
1799
1900
  end
1800
1901
 
1902
+ # @note When making an API call, you may pass UntagResourceInput
1903
+ # data as a hash:
1904
+ #
1905
+ # {
1906
+ # resource_arn: "Arn", # required
1907
+ # tag_keys: ["TagKey"], # required
1908
+ # }
1909
+ #
1910
+ # @!attribute [rw] resource_arn
1911
+ # The Amazon Resource Name (ARN) for the Step Functions state machine
1912
+ # or activity.
1913
+ # @return [String]
1914
+ #
1915
+ # @!attribute [rw] tag_keys
1916
+ # The list of tags to remove from the resource.
1917
+ # @return [Array<String>]
1918
+ #
1919
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UntagResourceInput AWS API Documentation
1920
+ #
1921
+ class UntagResourceInput < Struct.new(
1922
+ :resource_arn,
1923
+ :tag_keys)
1924
+ include Aws::Structure
1925
+ end
1926
+
1927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UntagResourceOutput AWS API Documentation
1928
+ #
1929
+ class UntagResourceOutput < Aws::EmptyStructure; end
1930
+
1801
1931
  # @note When making an API call, you may pass UpdateStateMachineInput
1802
1932
  # data as a hash:
1803
1933
  #
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.9.0
4
+ version: 1.10.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: 2018-11-29 00:00:00.000000000 Z
11
+ date: 2018-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core