aws-sdk-states 1.10.0 → 1.11.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: 5cc538f29c59eb67c49f8784a3970e05707f4609
4
- data.tar.gz: c652710c3cbb03a2dc85dddffe83b1b19925c853
3
+ metadata.gz: 48bb2d7100d79d5604093f4363d070c749b7bb12
4
+ data.tar.gz: f06041232f34b94442f78222f460f8fc2da2e511
5
5
  SHA512:
6
- metadata.gz: a960b86e8471d517b7bd4b3067f5ea2c1d78068bdeba9805a50f106451e7ddba58cc698bf7abed3297628de01992f1e60b7dae2a3bb45f9ff3f6ae10bdb3ca9b
7
- data.tar.gz: 7a5d06db6ba3e265d1c06c98a4bd0322666efa6491d0ab8089916a4f5b3863c1777d2fd7b7f86b29acff0296a921248909484b207b916c4bd6bf33f20db25925
6
+ metadata.gz: 4d0c4584b839b02eec1572940a7c80cf0acf1ec3536e50a9dafae7dde5d44c2fe9a334f53d386c53863fc04de9e4d69193afca9731d948055a628778a402774d
7
+ data.tar.gz: e4db078e36ee4c6eb51a5b4dbe3cbc17614eff086738703bbef3466b4da013031f2b9025218c70dbccdaec5cc6647b7885d7b1b254f78045e3fd4c53bd183eba
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-states/customizations'
42
42
  # @service
43
43
  module Aws::States
44
44
 
45
- GEM_VERSION = '1.10.0'
45
+ GEM_VERSION = '1.11.0'
46
46
 
47
47
  end
@@ -223,6 +223,11 @@ module Aws::States
223
223
  # activity and returns an identifier for use in a state machine and when
224
224
  # polling from the activity.
225
225
  #
226
+ # <note markdown="1"> This operation is eventually consistent. The results are best effort
227
+ # and may not reflect very recent updates and changes.
228
+ #
229
+ # </note>
230
+ #
226
231
  # @option params [required, String] :name
227
232
  # The name of the activity to create. This name must be unique for your
228
233
  # AWS account and region for 90 days. For more information, see [ Limits
@@ -243,7 +248,10 @@ module Aws::States
243
248
  #
244
249
  #
245
250
  #
246
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
251
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
252
+ #
253
+ # @option params [Array<Types::Tag>] :tags
254
+ # The list of tags to add to a resource.
247
255
  #
248
256
  # @return [Types::CreateActivityOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
249
257
  #
@@ -254,6 +262,12 @@ module Aws::States
254
262
  #
255
263
  # resp = client.create_activity({
256
264
  # name: "Name", # required
265
+ # tags: [
266
+ # {
267
+ # key: "TagKey",
268
+ # value: "TagValue",
269
+ # },
270
+ # ],
257
271
  # })
258
272
  #
259
273
  # @example Response structure
@@ -276,6 +290,11 @@ module Aws::States
276
290
  # (`Fail` states), and so on. State machines are specified using a
277
291
  # JSON-based, structured language.
278
292
  #
293
+ # <note markdown="1"> This operation is eventually consistent. The results are best effort
294
+ # and may not reflect very recent updates and changes.
295
+ #
296
+ # </note>
297
+ #
279
298
  # @option params [required, String] :name
280
299
  # The name of the state machine.
281
300
  #
@@ -297,12 +316,15 @@ module Aws::States
297
316
  #
298
317
  #
299
318
  #
300
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
319
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
301
320
  #
302
321
  # @option params [required, String] :role_arn
303
322
  # The Amazon Resource Name (ARN) of the IAM role to use for this state
304
323
  # machine.
305
324
  #
325
+ # @option params [Array<Types::Tag>] :tags
326
+ # Tags to be added when creating a state machine.
327
+ #
306
328
  # @return [Types::CreateStateMachineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
307
329
  #
308
330
  # * {Types::CreateStateMachineOutput#state_machine_arn #state_machine_arn} => String
@@ -314,6 +336,12 @@ module Aws::States
314
336
  # name: "Name", # required
315
337
  # definition: "Definition", # required
316
338
  # role_arn: "Arn", # required
339
+ # tags: [
340
+ # {
341
+ # key: "TagKey",
342
+ # value: "TagValue",
343
+ # },
344
+ # ],
317
345
  # })
318
346
  #
319
347
  # @example Response structure
@@ -570,7 +598,7 @@ module Aws::States
570
598
  #
571
599
  #
572
600
  #
573
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/bp-activity-pollers.html
601
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/bp-activity-pollers.html
574
602
  #
575
603
  # @option params [required, String] :activity_arn
576
604
  # The Amazon Resource Name (ARN) of the activity to retrieve tasks from
@@ -1080,9 +1108,9 @@ module Aws::States
1080
1108
  #
1081
1109
  # @option params [String] :name
1082
1110
  # The name of the execution. This name must be unique for your AWS
1083
- # account and region for 90 days. For more information, see [ Limits
1084
- # Related to State Machine Executions][1] in the *AWS Step Functions
1085
- # Developer Guide*.
1111
+ # account, region, and state machine for 90 days. For more information,
1112
+ # see [ Limits Related to State Machine Executions][1] in the *AWS Step
1113
+ # Functions Developer Guide*.
1086
1114
  #
1087
1115
  # A name must *not* contain:
1088
1116
  #
@@ -1098,7 +1126,7 @@ module Aws::States
1098
1126
  #
1099
1127
  #
1100
1128
  #
1101
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
1129
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
1102
1130
  #
1103
1131
  # @option params [String] :input
1104
1132
  # The string that contains the JSON input data for the execution, for
@@ -1258,7 +1286,7 @@ module Aws::States
1258
1286
  #
1259
1287
  #
1260
1288
  #
1261
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
1289
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
1262
1290
  #
1263
1291
  # @option params [String] :role_arn
1264
1292
  # The Amazon Resource Name (ARN) of the IAM role of the state machine.
@@ -1301,7 +1329,7 @@ module Aws::States
1301
1329
  params: params,
1302
1330
  config: config)
1303
1331
  context[:gem_name] = 'aws-sdk-states'
1304
- context[:gem_version] = '1.10.0'
1332
+ context[:gem_version] = '1.11.0'
1305
1333
  Seahorse::Client::Request.new(handlers, context)
1306
1334
  end
1307
1335
 
@@ -96,6 +96,7 @@ module Aws::States
96
96
  SendTaskSuccessOutput = Shapes::StructureShape.new(name: 'SendTaskSuccessOutput')
97
97
  SensitiveCause = Shapes::StringShape.new(name: 'SensitiveCause')
98
98
  SensitiveData = Shapes::StringShape.new(name: 'SensitiveData')
99
+ SensitiveDataJobInput = Shapes::StringShape.new(name: 'SensitiveDataJobInput')
99
100
  SensitiveError = Shapes::StringShape.new(name: 'SensitiveError')
100
101
  StartExecutionInput = Shapes::StructureShape.new(name: 'StartExecutionInput')
101
102
  StartExecutionOutput = Shapes::StructureShape.new(name: 'StartExecutionOutput')
@@ -168,6 +169,7 @@ module Aws::States
168
169
  ActivityTimedOutEventDetails.struct_class = Types::ActivityTimedOutEventDetails
169
170
 
170
171
  CreateActivityInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
172
+ CreateActivityInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
171
173
  CreateActivityInput.struct_class = Types::CreateActivityInput
172
174
 
173
175
  CreateActivityOutput.add_member(:activity_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "activityArn"))
@@ -177,6 +179,7 @@ module Aws::States
177
179
  CreateStateMachineInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
178
180
  CreateStateMachineInput.add_member(:definition, Shapes::ShapeRef.new(shape: Definition, required: true, location_name: "definition"))
179
181
  CreateStateMachineInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "roleArn"))
182
+ CreateStateMachineInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
180
183
  CreateStateMachineInput.struct_class = Types::CreateStateMachineInput
181
184
 
182
185
  CreateStateMachineOutput.add_member(:state_machine_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "stateMachineArn"))
@@ -269,7 +272,7 @@ module Aws::States
269
272
  GetActivityTaskInput.struct_class = Types::GetActivityTaskInput
270
273
 
271
274
  GetActivityTaskOutput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, location_name: "taskToken"))
272
- GetActivityTaskOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "input"))
275
+ GetActivityTaskOutput.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveDataJobInput, location_name: "input"))
273
276
  GetActivityTaskOutput.struct_class = Types::GetActivityTaskOutput
274
277
 
275
278
  GetExecutionHistoryInput.add_member(:execution_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "executionArn"))
@@ -523,6 +526,7 @@ module Aws::States
523
526
  o.output = Shapes::ShapeRef.new(shape: CreateActivityOutput)
524
527
  o.errors << Shapes::ShapeRef.new(shape: ActivityLimitExceeded)
525
528
  o.errors << Shapes::ShapeRef.new(shape: InvalidName)
529
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTags)
526
530
  end)
527
531
 
528
532
  api.add_operation(:create_state_machine, Seahorse::Model::Operation.new.tap do |o|
@@ -537,6 +541,7 @@ module Aws::States
537
541
  o.errors << Shapes::ShapeRef.new(shape: StateMachineAlreadyExists)
538
542
  o.errors << Shapes::ShapeRef.new(shape: StateMachineDeleting)
539
543
  o.errors << Shapes::ShapeRef.new(shape: StateMachineLimitExceeded)
544
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTags)
540
545
  end)
541
546
 
542
547
  api.add_operation(:delete_activity, Seahorse::Model::Operation.new.tap do |o|
@@ -161,6 +161,12 @@ module Aws::States
161
161
  #
162
162
  # {
163
163
  # name: "Name", # required
164
+ # tags: [
165
+ # {
166
+ # key: "TagKey",
167
+ # value: "TagValue",
168
+ # },
169
+ # ],
164
170
  # }
165
171
  #
166
172
  # @!attribute [rw] name
@@ -183,13 +189,18 @@ module Aws::States
183
189
  #
184
190
  #
185
191
  #
186
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
192
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
187
193
  # @return [String]
188
194
  #
195
+ # @!attribute [rw] tags
196
+ # The list of tags to add to a resource.
197
+ # @return [Array<Types::Tag>]
198
+ #
189
199
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivityInput AWS API Documentation
190
200
  #
191
201
  class CreateActivityInput < Struct.new(
192
- :name)
202
+ :name,
203
+ :tags)
193
204
  include Aws::Structure
194
205
  end
195
206
 
@@ -216,6 +227,12 @@ module Aws::States
216
227
  # name: "Name", # required
217
228
  # definition: "Definition", # required
218
229
  # role_arn: "Arn", # required
230
+ # tags: [
231
+ # {
232
+ # key: "TagKey",
233
+ # value: "TagValue",
234
+ # },
235
+ # ],
219
236
  # }
220
237
  #
221
238
  # @!attribute [rw] name
@@ -240,7 +257,7 @@ module Aws::States
240
257
  #
241
258
  #
242
259
  #
243
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
260
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
244
261
  # @return [String]
245
262
  #
246
263
  # @!attribute [rw] role_arn
@@ -248,12 +265,17 @@ module Aws::States
248
265
  # machine.
249
266
  # @return [String]
250
267
  #
268
+ # @!attribute [rw] tags
269
+ # Tags to be added when creating a state machine.
270
+ # @return [Array<Types::Tag>]
271
+ #
251
272
  # @see http://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachineInput AWS API Documentation
252
273
  #
253
274
  class CreateStateMachineInput < Struct.new(
254
275
  :name,
255
276
  :definition,
256
- :role_arn)
277
+ :role_arn,
278
+ :tags)
257
279
  include Aws::Structure
258
280
  end
259
281
 
@@ -484,7 +506,7 @@ module Aws::States
484
506
  #
485
507
  #
486
508
  #
487
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
509
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
488
510
  # @return [String]
489
511
  #
490
512
  # @!attribute [rw] role_arn
@@ -557,7 +579,7 @@ module Aws::States
557
579
  #
558
580
  #
559
581
  #
560
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
582
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
561
583
  # @return [String]
562
584
  #
563
585
  # @!attribute [rw] role_arn
@@ -880,38 +902,35 @@ module Aws::States
880
902
  # @return [Types::ActivityTimedOutEventDetails]
881
903
  #
882
904
  # @!attribute [rw] task_failed_event_details
883
- # Contains details about a task failure event.
905
+ # Contains details about the failure of a task.
884
906
  # @return [Types::TaskFailedEventDetails]
885
907
  #
886
908
  # @!attribute [rw] task_scheduled_event_details
887
- # Contains details about a task scheduled during an execution.
909
+ # Contains details about a task that was scheduled.
888
910
  # @return [Types::TaskScheduledEventDetails]
889
911
  #
890
912
  # @!attribute [rw] task_start_failed_event_details
891
- # Contains details about a task that failed to start during an
892
- # execution.
913
+ # Contains details about a task that failed to start.
893
914
  # @return [Types::TaskStartFailedEventDetails]
894
915
  #
895
916
  # @!attribute [rw] task_started_event_details
896
- # Contains details about the start of a task during an execution.
917
+ # Contains details about a task that was started.
897
918
  # @return [Types::TaskStartedEventDetails]
898
919
  #
899
920
  # @!attribute [rw] task_submit_failed_event_details
900
- # Contains details about a task that failed to submit during an
901
- # execution.
921
+ # Contains details about a task that where the submit failed.
902
922
  # @return [Types::TaskSubmitFailedEventDetails]
903
923
  #
904
924
  # @!attribute [rw] task_submitted_event_details
905
- # Contains details about a task submitted to a resource .
925
+ # Contains details about a submitted task.
906
926
  # @return [Types::TaskSubmittedEventDetails]
907
927
  #
908
928
  # @!attribute [rw] task_succeeded_event_details
909
- # Contains details about the successful completion of a task state.
929
+ # Contains details about a task that succeeded.
910
930
  # @return [Types::TaskSucceededEventDetails]
911
931
  #
912
932
  # @!attribute [rw] task_timed_out_event_details
913
- # Contains details about a resource timeout that occurred during an
914
- # execution.
933
+ # Contains details about a task that timed out.
915
934
  # @return [Types::TaskTimedOutEventDetails]
916
935
  #
917
936
  # @!attribute [rw] execution_failed_event_details
@@ -1440,9 +1459,9 @@ module Aws::States
1440
1459
  #
1441
1460
  # @!attribute [rw] name
1442
1461
  # The name of the execution. This name must be unique for your AWS
1443
- # account and region for 90 days. For more information, see [ Limits
1444
- # Related to State Machine Executions][1] in the *AWS Step Functions
1445
- # Developer Guide*.
1462
+ # account, region, and state machine for 90 days. For more
1463
+ # information, see [ Limits Related to State Machine Executions][1] in
1464
+ # the *AWS Step Functions Developer Guide*.
1446
1465
  #
1447
1466
  # A name must *not* contain:
1448
1467
  #
@@ -1458,7 +1477,7 @@ module Aws::States
1458
1477
  #
1459
1478
  #
1460
1479
  #
1461
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
1480
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/limits.html#service-limits-state-machine-executions
1462
1481
  # @return [String]
1463
1482
  #
1464
1483
  # @!attribute [rw] input
@@ -1947,7 +1966,7 @@ module Aws::States
1947
1966
  #
1948
1967
  #
1949
1968
  #
1950
- # [1]: http://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
1969
+ # [1]: https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html
1951
1970
  # @return [String]
1952
1971
  #
1953
1972
  # @!attribute [rw] role_arn
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.10.0
4
+ version: 1.11.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-12-21 00:00:00.000000000 Z
11
+ date: 2019-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core