aws-sdk-swf 1.14.0 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -118,6 +118,8 @@ module Aws::SWF
118
118
  ListClosedWorkflowExecutionsInput = Shapes::StructureShape.new(name: 'ListClosedWorkflowExecutionsInput')
119
119
  ListDomainsInput = Shapes::StructureShape.new(name: 'ListDomainsInput')
120
120
  ListOpenWorkflowExecutionsInput = Shapes::StructureShape.new(name: 'ListOpenWorkflowExecutionsInput')
121
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
122
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
121
123
  ListWorkflowTypesInput = Shapes::StructureShape.new(name: 'ListWorkflowTypesInput')
122
124
  MarkerName = Shapes::StringShape.new(name: 'MarkerName')
123
125
  MarkerRecordedEventAttributes = Shapes::StructureShape.new(name: 'MarkerRecordedEventAttributes')
@@ -145,6 +147,11 @@ module Aws::SWF
145
147
  RequestCancelExternalWorkflowExecutionFailedEventAttributes = Shapes::StructureShape.new(name: 'RequestCancelExternalWorkflowExecutionFailedEventAttributes')
146
148
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes = Shapes::StructureShape.new(name: 'RequestCancelExternalWorkflowExecutionInitiatedEventAttributes')
147
149
  RequestCancelWorkflowExecutionInput = Shapes::StructureShape.new(name: 'RequestCancelWorkflowExecutionInput')
150
+ ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
151
+ ResourceTagKey = Shapes::StringShape.new(name: 'ResourceTagKey')
152
+ ResourceTagKeyList = Shapes::ListShape.new(name: 'ResourceTagKeyList')
153
+ ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
154
+ ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
148
155
  RespondActivityTaskCanceledInput = Shapes::StructureShape.new(name: 'RespondActivityTaskCanceledInput')
149
156
  RespondActivityTaskCompletedInput = Shapes::StructureShape.new(name: 'RespondActivityTaskCompletedInput')
150
157
  RespondActivityTaskFailedInput = Shapes::StructureShape.new(name: 'RespondActivityTaskFailedInput')
@@ -176,6 +183,7 @@ module Aws::SWF
176
183
  Tag = Shapes::StringShape.new(name: 'Tag')
177
184
  TagFilter = Shapes::StructureShape.new(name: 'TagFilter')
178
185
  TagList = Shapes::ListShape.new(name: 'TagList')
186
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
179
187
  TaskList = Shapes::StructureShape.new(name: 'TaskList')
180
188
  TaskPriority = Shapes::StringShape.new(name: 'TaskPriority')
181
189
  TaskToken = Shapes::StringShape.new(name: 'TaskToken')
@@ -186,10 +194,15 @@ module Aws::SWF
186
194
  TimerId = Shapes::StringShape.new(name: 'TimerId')
187
195
  TimerStartedEventAttributes = Shapes::StructureShape.new(name: 'TimerStartedEventAttributes')
188
196
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
197
+ TooManyTagsFault = Shapes::StructureShape.new(name: 'TooManyTagsFault')
189
198
  Truncated = Shapes::BooleanShape.new(name: 'Truncated')
190
199
  TypeAlreadyExistsFault = Shapes::StructureShape.new(name: 'TypeAlreadyExistsFault')
191
200
  TypeDeprecatedFault = Shapes::StructureShape.new(name: 'TypeDeprecatedFault')
201
+ UndeprecateActivityTypeInput = Shapes::StructureShape.new(name: 'UndeprecateActivityTypeInput')
202
+ UndeprecateDomainInput = Shapes::StructureShape.new(name: 'UndeprecateDomainInput')
203
+ UndeprecateWorkflowTypeInput = Shapes::StructureShape.new(name: 'UndeprecateWorkflowTypeInput')
192
204
  UnknownResourceFault = Shapes::StructureShape.new(name: 'UnknownResourceFault')
205
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
193
206
  Version = Shapes::StringShape.new(name: 'Version')
194
207
  VersionOptional = Shapes::StringShape.new(name: 'VersionOptional')
195
208
  WorkflowExecution = Shapes::StructureShape.new(name: 'WorkflowExecution')
@@ -504,6 +517,7 @@ module Aws::SWF
504
517
  DomainInfo.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "name"))
505
518
  DomainInfo.add_member(:status, Shapes::ShapeRef.new(shape: RegistrationStatus, required: true, location_name: "status"))
506
519
  DomainInfo.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
520
+ DomainInfo.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
507
521
  DomainInfo.struct_class = Types::DomainInfo
508
522
 
509
523
  DomainInfoList.member = Shapes::ShapeRef.new(shape: DomainInfo)
@@ -670,6 +684,12 @@ module Aws::SWF
670
684
  ListOpenWorkflowExecutionsInput.add_member(:execution_filter, Shapes::ShapeRef.new(shape: WorkflowExecutionFilter, location_name: "executionFilter"))
671
685
  ListOpenWorkflowExecutionsInput.struct_class = Types::ListOpenWorkflowExecutionsInput
672
686
 
687
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
688
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
689
+
690
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "tags"))
691
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
692
+
673
693
  ListWorkflowTypesInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
674
694
  ListWorkflowTypesInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
675
695
  ListWorkflowTypesInput.add_member(:registration_status, Shapes::ShapeRef.new(shape: RegistrationStatus, required: true, location_name: "registrationStatus"))
@@ -731,6 +751,7 @@ module Aws::SWF
731
751
  RegisterDomainInput.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "name"))
732
752
  RegisterDomainInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
733
753
  RegisterDomainInput.add_member(:workflow_execution_retention_period_in_days, Shapes::ShapeRef.new(shape: DurationInDays, required: true, location_name: "workflowExecutionRetentionPeriodInDays"))
754
+ RegisterDomainInput.add_member(:tags, Shapes::ShapeRef.new(shape: ResourceTagList, location_name: "tags"))
734
755
  RegisterDomainInput.struct_class = Types::RegisterDomainInput
735
756
 
736
757
  RegisterWorkflowTypeInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
@@ -777,6 +798,14 @@ module Aws::SWF
777
798
  RequestCancelWorkflowExecutionInput.add_member(:run_id, Shapes::ShapeRef.new(shape: WorkflowRunIdOptional, location_name: "runId"))
778
799
  RequestCancelWorkflowExecutionInput.struct_class = Types::RequestCancelWorkflowExecutionInput
779
800
 
801
+ ResourceTag.add_member(:key, Shapes::ShapeRef.new(shape: ResourceTagKey, required: true, location_name: "key"))
802
+ ResourceTag.add_member(:value, Shapes::ShapeRef.new(shape: ResourceTagValue, location_name: "value"))
803
+ ResourceTag.struct_class = Types::ResourceTag
804
+
805
+ ResourceTagKeyList.member = Shapes::ShapeRef.new(shape: ResourceTagKey)
806
+
807
+ ResourceTagList.member = Shapes::ShapeRef.new(shape: ResourceTag)
808
+
780
809
  RespondActivityTaskCanceledInput.add_member(:task_token, Shapes::ShapeRef.new(shape: TaskToken, required: true, location_name: "taskToken"))
781
810
  RespondActivityTaskCanceledInput.add_member(:details, Shapes::ShapeRef.new(shape: Data, location_name: "details"))
782
811
  RespondActivityTaskCanceledInput.struct_class = Types::RespondActivityTaskCanceledInput
@@ -927,6 +956,10 @@ module Aws::SWF
927
956
 
928
957
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
929
958
 
959
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
960
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: ResourceTagList, required: true, location_name: "tags"))
961
+ TagResourceInput.struct_class = Types::TagResourceInput
962
+
930
963
  TaskList.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
931
964
  TaskList.struct_class = Types::TaskList
932
965
 
@@ -953,15 +986,33 @@ module Aws::SWF
953
986
  TimerStartedEventAttributes.add_member(:decision_task_completed_event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "decisionTaskCompletedEventId"))
954
987
  TimerStartedEventAttributes.struct_class = Types::TimerStartedEventAttributes
955
988
 
989
+ TooManyTagsFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
990
+ TooManyTagsFault.struct_class = Types::TooManyTagsFault
991
+
956
992
  TypeAlreadyExistsFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
957
993
  TypeAlreadyExistsFault.struct_class = Types::TypeAlreadyExistsFault
958
994
 
959
995
  TypeDeprecatedFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
960
996
  TypeDeprecatedFault.struct_class = Types::TypeDeprecatedFault
961
997
 
998
+ UndeprecateActivityTypeInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
999
+ UndeprecateActivityTypeInput.add_member(:activity_type, Shapes::ShapeRef.new(shape: ActivityType, required: true, location_name: "activityType"))
1000
+ UndeprecateActivityTypeInput.struct_class = Types::UndeprecateActivityTypeInput
1001
+
1002
+ UndeprecateDomainInput.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "name"))
1003
+ UndeprecateDomainInput.struct_class = Types::UndeprecateDomainInput
1004
+
1005
+ UndeprecateWorkflowTypeInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
1006
+ UndeprecateWorkflowTypeInput.add_member(:workflow_type, Shapes::ShapeRef.new(shape: WorkflowType, required: true, location_name: "workflowType"))
1007
+ UndeprecateWorkflowTypeInput.struct_class = Types::UndeprecateWorkflowTypeInput
1008
+
962
1009
  UnknownResourceFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
963
1010
  UnknownResourceFault.struct_class = Types::UnknownResourceFault
964
1011
 
1012
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "resourceArn"))
1013
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: ResourceTagKeyList, required: true, location_name: "tagKeys"))
1014
+ UntagResourceInput.struct_class = Types::UntagResourceInput
1015
+
965
1016
  WorkflowExecution.add_member(:workflow_id, Shapes::ShapeRef.new(shape: WorkflowId, required: true, location_name: "workflowId"))
966
1017
  WorkflowExecution.add_member(:run_id, Shapes::ShapeRef.new(shape: WorkflowRunId, required: true, location_name: "runId"))
967
1018
  WorkflowExecution.struct_class = Types::WorkflowExecution
@@ -1122,9 +1173,9 @@ module Aws::SWF
1122
1173
  "protocol" => "json",
1123
1174
  "serviceAbbreviation" => "Amazon SWF",
1124
1175
  "serviceFullName" => "Amazon Simple Workflow Service",
1176
+ "serviceId" => "SWF",
1125
1177
  "signatureVersion" => "v4",
1126
1178
  "targetPrefix" => "SimpleWorkflowService",
1127
- "timestampFormat" => "unixTimestamp",
1128
1179
  "uid" => "swf-2012-01-25",
1129
1180
  }
1130
1181
 
@@ -1320,6 +1371,17 @@ module Aws::SWF
1320
1371
  )
1321
1372
  end)
1322
1373
 
1374
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1375
+ o.name = "ListTagsForResource"
1376
+ o.http_method = "POST"
1377
+ o.http_request_uri = "/"
1378
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
1379
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
1380
+ o.errors << Shapes::ShapeRef.new(shape: UnknownResourceFault)
1381
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
1382
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
1383
+ end)
1384
+
1323
1385
  api.add_operation(:list_workflow_types, Seahorse::Model::Operation.new.tap do |o|
1324
1386
  o.name = "ListWorkflowTypes"
1325
1387
  o.http_method = "POST"
@@ -1395,6 +1457,7 @@ module Aws::SWF
1395
1457
  o.errors << Shapes::ShapeRef.new(shape: DomainAlreadyExistsFault)
1396
1458
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
1397
1459
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
1460
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsFault)
1398
1461
  end)
1399
1462
 
1400
1463
  api.add_operation(:register_workflow_type, Seahorse::Model::Operation.new.tap do |o|
@@ -1483,6 +1546,18 @@ module Aws::SWF
1483
1546
  o.errors << Shapes::ShapeRef.new(shape: DefaultUndefinedFault)
1484
1547
  end)
1485
1548
 
1549
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1550
+ o.name = "TagResource"
1551
+ o.http_method = "POST"
1552
+ o.http_request_uri = "/"
1553
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
1554
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1555
+ o.errors << Shapes::ShapeRef.new(shape: UnknownResourceFault)
1556
+ o.errors << Shapes::ShapeRef.new(shape: TooManyTagsFault)
1557
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
1558
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
1559
+ end)
1560
+
1486
1561
  api.add_operation(:terminate_workflow_execution, Seahorse::Model::Operation.new.tap do |o|
1487
1562
  o.name = "TerminateWorkflowExecution"
1488
1563
  o.http_method = "POST"
@@ -1492,6 +1567,50 @@ module Aws::SWF
1492
1567
  o.errors << Shapes::ShapeRef.new(shape: UnknownResourceFault)
1493
1568
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
1494
1569
  end)
1570
+
1571
+ api.add_operation(:undeprecate_activity_type, Seahorse::Model::Operation.new.tap do |o|
1572
+ o.name = "UndeprecateActivityType"
1573
+ o.http_method = "POST"
1574
+ o.http_request_uri = "/"
1575
+ o.input = Shapes::ShapeRef.new(shape: UndeprecateActivityTypeInput)
1576
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1577
+ o.errors << Shapes::ShapeRef.new(shape: UnknownResourceFault)
1578
+ o.errors << Shapes::ShapeRef.new(shape: TypeAlreadyExistsFault)
1579
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
1580
+ end)
1581
+
1582
+ api.add_operation(:undeprecate_domain, Seahorse::Model::Operation.new.tap do |o|
1583
+ o.name = "UndeprecateDomain"
1584
+ o.http_method = "POST"
1585
+ o.http_request_uri = "/"
1586
+ o.input = Shapes::ShapeRef.new(shape: UndeprecateDomainInput)
1587
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1588
+ o.errors << Shapes::ShapeRef.new(shape: UnknownResourceFault)
1589
+ o.errors << Shapes::ShapeRef.new(shape: DomainAlreadyExistsFault)
1590
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
1591
+ end)
1592
+
1593
+ api.add_operation(:undeprecate_workflow_type, Seahorse::Model::Operation.new.tap do |o|
1594
+ o.name = "UndeprecateWorkflowType"
1595
+ o.http_method = "POST"
1596
+ o.http_request_uri = "/"
1597
+ o.input = Shapes::ShapeRef.new(shape: UndeprecateWorkflowTypeInput)
1598
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1599
+ o.errors << Shapes::ShapeRef.new(shape: UnknownResourceFault)
1600
+ o.errors << Shapes::ShapeRef.new(shape: TypeAlreadyExistsFault)
1601
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
1602
+ end)
1603
+
1604
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1605
+ o.name = "UntagResource"
1606
+ o.http_method = "POST"
1607
+ o.http_request_uri = "/"
1608
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
1609
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1610
+ o.errors << Shapes::ShapeRef.new(shape: UnknownResourceFault)
1611
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededFault)
1612
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
1613
+ end)
1495
1614
  end
1496
1615
 
1497
1616
  end
@@ -90,6 +90,22 @@ module Aws::SWF
90
90
 
91
91
  end
92
92
 
93
+ class TooManyTagsFault < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::SWF::Types::TooManyTagsFault] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
93
109
  class TypeAlreadyExistsFault < ServiceError
94
110
 
95
111
  # @param [Seahorse::Client::RequestContext] context
@@ -213,7 +213,7 @@ module Aws::SWF
213
213
  #
214
214
  #
215
215
  #
216
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
216
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
217
217
  # @return [String]
218
218
  #
219
219
  # @!attribute [rw] decision_task_completed_event_id
@@ -396,7 +396,7 @@ module Aws::SWF
396
396
  #
397
397
  #
398
398
  #
399
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
399
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
400
400
  # @return [String]
401
401
  #
402
402
  # @!attribute [rw] default_task_schedule_to_start_timeout
@@ -535,7 +535,7 @@ module Aws::SWF
535
535
  #
536
536
  #
537
537
  #
538
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
538
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
539
539
  #
540
540
  # @note When making an API call, you may pass CancelTimerDecisionAttributes
541
541
  # data as a hash:
@@ -572,7 +572,7 @@ module Aws::SWF
572
572
  #
573
573
  #
574
574
  #
575
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
575
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
576
576
  # @return [String]
577
577
  #
578
578
  # @!attribute [rw] decision_task_completed_event_id
@@ -613,7 +613,7 @@ module Aws::SWF
613
613
  #
614
614
  #
615
615
  #
616
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
616
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
617
617
  #
618
618
  # @note When making an API call, you may pass CancelWorkflowExecutionDecisionAttributes
619
619
  # data as a hash:
@@ -646,7 +646,7 @@ module Aws::SWF
646
646
  #
647
647
  #
648
648
  #
649
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
649
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
650
650
  # @return [String]
651
651
  #
652
652
  # @!attribute [rw] decision_task_completed_event_id
@@ -923,7 +923,7 @@ module Aws::SWF
923
923
  #
924
924
  #
925
925
  #
926
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
926
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
927
927
  #
928
928
  # @note When making an API call, you may pass CompleteWorkflowExecutionDecisionAttributes
929
929
  # data as a hash:
@@ -957,7 +957,7 @@ module Aws::SWF
957
957
  #
958
958
  #
959
959
  #
960
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
960
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
961
961
  # @return [String]
962
962
  #
963
963
  # @!attribute [rw] decision_task_completed_event_id
@@ -1006,7 +1006,7 @@ module Aws::SWF
1006
1006
  #
1007
1007
  #
1008
1008
  #
1009
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
1009
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
1010
1010
  #
1011
1011
  # @note When making an API call, you may pass ContinueAsNewWorkflowExecutionDecisionAttributes
1012
1012
  # data as a hash:
@@ -1064,7 +1064,7 @@ module Aws::SWF
1064
1064
  #
1065
1065
  #
1066
1066
  #
1067
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
1067
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
1068
1068
  # @return [String]
1069
1069
  #
1070
1070
  # @!attribute [rw] task_start_to_close_timeout
@@ -1156,7 +1156,7 @@ module Aws::SWF
1156
1156
  #
1157
1157
  #
1158
1158
  #
1159
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
1159
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
1160
1160
  # @return [String]
1161
1161
  #
1162
1162
  # @!attribute [rw] decision_task_completed_event_id
@@ -1578,7 +1578,7 @@ module Aws::SWF
1578
1578
  #
1579
1579
  #
1580
1580
  #
1581
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
1581
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
1582
1582
  #
1583
1583
  # @note When making an API call, you may pass Decision
1584
1584
  # data as a hash:
@@ -1865,7 +1865,7 @@ module Aws::SWF
1865
1865
  #
1866
1866
  #
1867
1867
  #
1868
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
1868
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
1869
1869
  # @return [String]
1870
1870
  #
1871
1871
  # @!attribute [rw] start_to_close_timeout
@@ -2114,8 +2114,10 @@ module Aws::SWF
2114
2114
  include Aws::Structure
2115
2115
  end
2116
2116
 
2117
- # Returned if the specified domain already exists. You get this fault
2118
- # even if the existing domain is in deprecated status.
2117
+ # Returned if the domain already exists. You may get this fault if you
2118
+ # are registering a domain that is either already registered or
2119
+ # deprecated, or if you undeprecate a domain that is currently
2120
+ # registered.
2119
2121
  #
2120
2122
  # @!attribute [rw] message
2121
2123
  # A description that may help with diagnosing the cause of the fault.
@@ -2188,10 +2190,15 @@ module Aws::SWF
2188
2190
  # The description of the domain provided through RegisterDomain.
2189
2191
  # @return [String]
2190
2192
  #
2193
+ # @!attribute [rw] arn
2194
+ # The ARN of the domain.
2195
+ # @return [String]
2196
+ #
2191
2197
  class DomainInfo < Struct.new(
2192
2198
  :name,
2193
2199
  :status,
2194
- :description)
2200
+ :description,
2201
+ :arn)
2195
2202
  include Aws::Structure
2196
2203
  end
2197
2204
 
@@ -2315,7 +2322,7 @@ module Aws::SWF
2315
2322
  #
2316
2323
  #
2317
2324
  #
2318
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
2325
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
2319
2326
  #
2320
2327
  # @note When making an API call, you may pass FailWorkflowExecutionDecisionAttributes
2321
2328
  # data as a hash:
@@ -2354,7 +2361,7 @@ module Aws::SWF
2354
2361
  #
2355
2362
  #
2356
2363
  #
2357
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
2364
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
2358
2365
  # @return [String]
2359
2366
  #
2360
2367
  # @!attribute [rw] decision_task_completed_event_id
@@ -2394,23 +2401,21 @@ module Aws::SWF
2394
2401
  # @return [Types::WorkflowExecution]
2395
2402
  #
2396
2403
  # @!attribute [rw] next_page_token
2397
- # If a `NextPageToken` was returned by a previous call, there are more
2398
- # results available. To retrieve the next page of results, make the
2399
- # call again using the returned token in `nextPageToken`. Keep all
2400
- # other arguments unchanged.
2404
+ # If `NextPageToken` is returned there are more results available. The
2405
+ # value of `NextPageToken` is a unique pagination token for each page.
2406
+ # Make the call again using the returned token to retrieve the next
2407
+ # page. Keep all other arguments unchanged. Each pagination token
2408
+ # expires after 60 seconds. Using an expired pagination token will
2409
+ # return a `400` error: "`Specified token has exceeded its maximum
2410
+ # lifetime`".
2401
2411
  #
2402
2412
  # The configured `maximumPageSize` determines how many results can be
2403
2413
  # returned in a single call.
2404
2414
  # @return [String]
2405
2415
  #
2406
2416
  # @!attribute [rw] maximum_page_size
2407
- # The maximum number of results that are returned per call.
2408
- # `nextPageToken` can be used to obtain futher pages of results. The
2409
- # default is 1000, which is the maximum allowed page size. You can,
2410
- # however, specify a page size *smaller* than the maximum.
2411
- #
2412
- # This is an upper limit only; the actual number of results returned
2413
- # per call may be fewer than the specified maximum.
2417
+ # The maximum number of results that are returned per call. Use
2418
+ # `nextPageToken` to obtain further pages of results.
2414
2419
  # @return [Integer]
2415
2420
  #
2416
2421
  # @!attribute [rw] reverse_order
@@ -3185,23 +3190,21 @@ module Aws::SWF
3185
3190
  # @return [String]
3186
3191
  #
3187
3192
  # @!attribute [rw] next_page_token
3188
- # If a `NextPageToken` was returned by a previous call, there are more
3189
- # results available. To retrieve the next page of results, make the
3190
- # call again using the returned token in `nextPageToken`. Keep all
3191
- # other arguments unchanged.
3193
+ # If `NextPageToken` is returned there are more results available. The
3194
+ # value of `NextPageToken` is a unique pagination token for each page.
3195
+ # Make the call again using the returned token to retrieve the next
3196
+ # page. Keep all other arguments unchanged. Each pagination token
3197
+ # expires after 60 seconds. Using an expired pagination token will
3198
+ # return a `400` error: "`Specified token has exceeded its maximum
3199
+ # lifetime`".
3192
3200
  #
3193
3201
  # The configured `maximumPageSize` determines how many results can be
3194
3202
  # returned in a single call.
3195
3203
  # @return [String]
3196
3204
  #
3197
3205
  # @!attribute [rw] maximum_page_size
3198
- # The maximum number of results that are returned per call.
3199
- # `nextPageToken` can be used to obtain futher pages of results. The
3200
- # default is 1000, which is the maximum allowed page size. You can,
3201
- # however, specify a page size *smaller* than the maximum.
3202
- #
3203
- # This is an upper limit only; the actual number of results returned
3204
- # per call may be fewer than the specified maximum.
3206
+ # The maximum number of results that are returned per call. Use
3207
+ # `nextPageToken` to obtain further pages of results.
3205
3208
  # @return [Integer]
3206
3209
  #
3207
3210
  # @!attribute [rw] reverse_order
@@ -3325,23 +3328,21 @@ module Aws::SWF
3325
3328
  # @return [Types::TagFilter]
3326
3329
  #
3327
3330
  # @!attribute [rw] next_page_token
3328
- # If a `NextPageToken` was returned by a previous call, there are more
3329
- # results available. To retrieve the next page of results, make the
3330
- # call again using the returned token in `nextPageToken`. Keep all
3331
- # other arguments unchanged.
3331
+ # If `NextPageToken` is returned there are more results available. The
3332
+ # value of `NextPageToken` is a unique pagination token for each page.
3333
+ # Make the call again using the returned token to retrieve the next
3334
+ # page. Keep all other arguments unchanged. Each pagination token
3335
+ # expires after 60 seconds. Using an expired pagination token will
3336
+ # return a `400` error: "`Specified token has exceeded its maximum
3337
+ # lifetime`".
3332
3338
  #
3333
3339
  # The configured `maximumPageSize` determines how many results can be
3334
3340
  # returned in a single call.
3335
3341
  # @return [String]
3336
3342
  #
3337
3343
  # @!attribute [rw] maximum_page_size
3338
- # The maximum number of results that are returned per call.
3339
- # `nextPageToken` can be used to obtain futher pages of results. The
3340
- # default is 1000, which is the maximum allowed page size. You can,
3341
- # however, specify a page size *smaller* than the maximum.
3342
- #
3343
- # This is an upper limit only; the actual number of results returned
3344
- # per call may be fewer than the specified maximum.
3344
+ # The maximum number of results that are returned per call. Use
3345
+ # `nextPageToken` to obtain further pages of results.
3345
3346
  # @return [Integer]
3346
3347
  #
3347
3348
  # @!attribute [rw] reverse_order
@@ -3375,10 +3376,13 @@ module Aws::SWF
3375
3376
  # }
3376
3377
  #
3377
3378
  # @!attribute [rw] next_page_token
3378
- # If a `NextPageToken` was returned by a previous call, there are more
3379
- # results available. To retrieve the next page of results, make the
3380
- # call again using the returned token in `nextPageToken`. Keep all
3381
- # other arguments unchanged.
3379
+ # If `NextPageToken` is returned there are more results available. The
3380
+ # value of `NextPageToken` is a unique pagination token for each page.
3381
+ # Make the call again using the returned token to retrieve the next
3382
+ # page. Keep all other arguments unchanged. Each pagination token
3383
+ # expires after 60 seconds. Using an expired pagination token will
3384
+ # return a `400` error: "`Specified token has exceeded its maximum
3385
+ # lifetime`".
3382
3386
  #
3383
3387
  # The configured `maximumPageSize` determines how many results can be
3384
3388
  # returned in a single call.
@@ -3389,13 +3393,8 @@ module Aws::SWF
3389
3393
  # @return [String]
3390
3394
  #
3391
3395
  # @!attribute [rw] maximum_page_size
3392
- # The maximum number of results that are returned per call.
3393
- # `nextPageToken` can be used to obtain futher pages of results. The
3394
- # default is 1000, which is the maximum allowed page size. You can,
3395
- # however, specify a page size *smaller* than the maximum.
3396
- #
3397
- # This is an upper limit only; the actual number of results returned
3398
- # per call may be fewer than the specified maximum.
3396
+ # The maximum number of results that are returned per call. Use
3397
+ # `nextPageToken` to obtain further pages of results.
3399
3398
  # @return [Integer]
3400
3399
  #
3401
3400
  # @!attribute [rw] reverse_order
@@ -3467,23 +3466,21 @@ module Aws::SWF
3467
3466
  # @return [Types::TagFilter]
3468
3467
  #
3469
3468
  # @!attribute [rw] next_page_token
3470
- # If a `NextPageToken` was returned by a previous call, there are more
3471
- # results available. To retrieve the next page of results, make the
3472
- # call again using the returned token in `nextPageToken`. Keep all
3473
- # other arguments unchanged.
3469
+ # If `NextPageToken` is returned there are more results available. The
3470
+ # value of `NextPageToken` is a unique pagination token for each page.
3471
+ # Make the call again using the returned token to retrieve the next
3472
+ # page. Keep all other arguments unchanged. Each pagination token
3473
+ # expires after 60 seconds. Using an expired pagination token will
3474
+ # return a `400` error: "`Specified token has exceeded its maximum
3475
+ # lifetime`".
3474
3476
  #
3475
3477
  # The configured `maximumPageSize` determines how many results can be
3476
3478
  # returned in a single call.
3477
3479
  # @return [String]
3478
3480
  #
3479
3481
  # @!attribute [rw] maximum_page_size
3480
- # The maximum number of results that are returned per call.
3481
- # `nextPageToken` can be used to obtain futher pages of results. The
3482
- # default is 1000, which is the maximum allowed page size. You can,
3483
- # however, specify a page size *smaller* than the maximum.
3484
- #
3485
- # This is an upper limit only; the actual number of results returned
3486
- # per call may be fewer than the specified maximum.
3482
+ # The maximum number of results that are returned per call. Use
3483
+ # `nextPageToken` to obtain further pages of results.
3487
3484
  # @return [Integer]
3488
3485
  #
3489
3486
  # @!attribute [rw] reverse_order
@@ -3514,6 +3511,31 @@ module Aws::SWF
3514
3511
  include Aws::Structure
3515
3512
  end
3516
3513
 
3514
+ # @note When making an API call, you may pass ListTagsForResourceInput
3515
+ # data as a hash:
3516
+ #
3517
+ # {
3518
+ # resource_arn: "Arn", # required
3519
+ # }
3520
+ #
3521
+ # @!attribute [rw] resource_arn
3522
+ # The Amazon Resource Name (ARN) for the Amazon SWF domain.
3523
+ # @return [String]
3524
+ #
3525
+ class ListTagsForResourceInput < Struct.new(
3526
+ :resource_arn)
3527
+ include Aws::Structure
3528
+ end
3529
+
3530
+ # @!attribute [rw] tags
3531
+ # An array of tags associated with the domain.
3532
+ # @return [Array<Types::ResourceTag>]
3533
+ #
3534
+ class ListTagsForResourceOutput < Struct.new(
3535
+ :tags)
3536
+ include Aws::Structure
3537
+ end
3538
+
3517
3539
  # @note When making an API call, you may pass ListWorkflowTypesInput
3518
3540
  # data as a hash:
3519
3541
  #
@@ -3540,23 +3562,21 @@ module Aws::SWF
3540
3562
  # @return [String]
3541
3563
  #
3542
3564
  # @!attribute [rw] next_page_token
3543
- # If a `NextPageToken` was returned by a previous call, there are more
3544
- # results available. To retrieve the next page of results, make the
3545
- # call again using the returned token in `nextPageToken`. Keep all
3546
- # other arguments unchanged.
3565
+ # If `NextPageToken` is returned there are more results available. The
3566
+ # value of `NextPageToken` is a unique pagination token for each page.
3567
+ # Make the call again using the returned token to retrieve the next
3568
+ # page. Keep all other arguments unchanged. Each pagination token
3569
+ # expires after 60 seconds. Using an expired pagination token will
3570
+ # return a `400` error: "`Specified token has exceeded its maximum
3571
+ # lifetime`".
3547
3572
  #
3548
3573
  # The configured `maximumPageSize` determines how many results can be
3549
3574
  # returned in a single call.
3550
3575
  # @return [String]
3551
3576
  #
3552
3577
  # @!attribute [rw] maximum_page_size
3553
- # The maximum number of results that are returned per call.
3554
- # `nextPageToken` can be used to obtain futher pages of results. The
3555
- # default is 1000, which is the maximum allowed page size. You can,
3556
- # however, specify a page size *smaller* than the maximum.
3557
- #
3558
- # This is an upper limit only; the actual number of results returned
3559
- # per call may be fewer than the specified maximum.
3578
+ # The maximum number of results that are returned per call. Use
3579
+ # `nextPageToken` to obtain further pages of results.
3560
3580
  # @return [Integer]
3561
3581
  #
3562
3582
  # @!attribute [rw] reverse_order
@@ -3651,7 +3671,7 @@ module Aws::SWF
3651
3671
  # The specified string must not start or end with whitespace. It must
3652
3672
  # not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
3653
3673
  # control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it
3654
- # must not contain the literal string `arn`.
3674
+ # must not *be* the literal string `arn`.
3655
3675
  # @return [Types::TaskList]
3656
3676
  #
3657
3677
  # @!attribute [rw] identity
@@ -3692,7 +3712,7 @@ module Aws::SWF
3692
3712
  # The specified string must not start or end with whitespace. It must
3693
3713
  # not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
3694
3714
  # control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it
3695
- # must not contain the literal string `arn`.
3715
+ # must not *be* the literal string `arn`.
3696
3716
  # @return [Types::TaskList]
3697
3717
  #
3698
3718
  # @!attribute [rw] identity
@@ -3703,10 +3723,13 @@ module Aws::SWF
3703
3723
  # @return [String]
3704
3724
  #
3705
3725
  # @!attribute [rw] next_page_token
3706
- # If a `NextPageToken` was returned by a previous call, there are more
3707
- # results available. To retrieve the next page of results, make the
3708
- # call again using the returned token in `nextPageToken`. Keep all
3709
- # other arguments unchanged.
3726
+ # If `NextPageToken` is returned there are more results available. The
3727
+ # value of `NextPageToken` is a unique pagination token for each page.
3728
+ # Make the call again using the returned token to retrieve the next
3729
+ # page. Keep all other arguments unchanged. Each pagination token
3730
+ # expires after 60 seconds. Using an expired pagination token will
3731
+ # return a `400` error: "`Specified token has exceeded its maximum
3732
+ # lifetime`".
3710
3733
  #
3711
3734
  # The configured `maximumPageSize` determines how many results can be
3712
3735
  # returned in a single call.
@@ -3721,10 +3744,8 @@ module Aws::SWF
3721
3744
  # @return [String]
3722
3745
  #
3723
3746
  # @!attribute [rw] maximum_page_size
3724
- # The maximum number of results that are returned per call.
3725
- # `nextPageToken` can be used to obtain futher pages of results. The
3726
- # default is 1000, which is the maximum allowed page size. You can,
3727
- # however, specify a page size *smaller* than the maximum.
3747
+ # The maximum number of results that are returned per call. Use
3748
+ # `nextPageToken` to obtain further pages of results.
3728
3749
  #
3729
3750
  # This is an upper limit only; the actual number of results returned
3730
3751
  # per call may be fewer than the specified maximum.
@@ -3797,7 +3818,7 @@ module Aws::SWF
3797
3818
  #
3798
3819
  #
3799
3820
  #
3800
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
3821
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
3801
3822
  #
3802
3823
  # @note When making an API call, you may pass RecordMarkerDecisionAttributes
3803
3824
  # data as a hash:
@@ -3840,7 +3861,7 @@ module Aws::SWF
3840
3861
  #
3841
3862
  #
3842
3863
  #
3843
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
3864
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
3844
3865
  # @return [String]
3845
3866
  #
3846
3867
  # @!attribute [rw] decision_task_completed_event_id
@@ -3886,7 +3907,7 @@ module Aws::SWF
3886
3907
  # The specified string must not start or end with whitespace. It must
3887
3908
  # not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
3888
3909
  # control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it
3889
- # must not contain the literal string `arn`.
3910
+ # must not *be* the literal string `arn`.
3890
3911
  # @return [String]
3891
3912
  #
3892
3913
  # @!attribute [rw] version
@@ -3900,7 +3921,7 @@ module Aws::SWF
3900
3921
  # The specified string must not start or end with whitespace. It must
3901
3922
  # not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
3902
3923
  # control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it
3903
- # must not contain the literal string `arn`.
3924
+ # must not *be* the literal string `arn`.
3904
3925
  # @return [String]
3905
3926
  #
3906
3927
  # @!attribute [rw] description
@@ -3952,7 +3973,7 @@ module Aws::SWF
3952
3973
  #
3953
3974
  #
3954
3975
  #
3955
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
3976
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
3956
3977
  # @return [String]
3957
3978
  #
3958
3979
  # @!attribute [rw] default_task_schedule_to_start_timeout
@@ -3995,6 +4016,12 @@ module Aws::SWF
3995
4016
  # name: "DomainName", # required
3996
4017
  # description: "Description",
3997
4018
  # workflow_execution_retention_period_in_days: "DurationInDays", # required
4019
+ # tags: [
4020
+ # {
4021
+ # key: "ResourceTagKey", # required
4022
+ # value: "ResourceTagValue",
4023
+ # },
4024
+ # ],
3998
4025
  # }
3999
4026
  #
4000
4027
  # @!attribute [rw] name
@@ -4004,7 +4031,7 @@ module Aws::SWF
4004
4031
  # The specified string must not start or end with whitespace. It must
4005
4032
  # not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
4006
4033
  # control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it
4007
- # must not contain the literal string `arn`.
4034
+ # must not *be* the literal string `arn`.
4008
4035
  # @return [String]
4009
4036
  #
4010
4037
  # @!attribute [rw] description
@@ -4027,13 +4054,21 @@ module Aws::SWF
4027
4054
  #
4028
4055
  #
4029
4056
  #
4030
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html
4057
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-limits.html
4031
4058
  # @return [String]
4032
4059
  #
4060
+ # @!attribute [rw] tags
4061
+ # Tags to be added when registering a domain.
4062
+ #
4063
+ # Tags may only contain unicode letters, digits, whitespace, or these
4064
+ # symbols: `_ . : / = + - @`.
4065
+ # @return [Array<Types::ResourceTag>]
4066
+ #
4033
4067
  class RegisterDomainInput < Struct.new(
4034
4068
  :name,
4035
4069
  :description,
4036
- :workflow_execution_retention_period_in_days)
4070
+ :workflow_execution_retention_period_in_days,
4071
+ :tags)
4037
4072
  include Aws::Structure
4038
4073
  end
4039
4074
 
@@ -4065,7 +4100,7 @@ module Aws::SWF
4065
4100
  # The specified string must not start or end with whitespace. It must
4066
4101
  # not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
4067
4102
  # control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it
4068
- # must not contain the literal string `arn`.
4103
+ # must not *be* the literal string `arn`.
4069
4104
  # @return [String]
4070
4105
  #
4071
4106
  # @!attribute [rw] version
@@ -4081,7 +4116,7 @@ module Aws::SWF
4081
4116
  # The specified string must not start or end with whitespace. It must
4082
4117
  # not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
4083
4118
  # control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it
4084
- # must not contain the literal string `arn`.
4119
+ # must not *be* the literal string `arn`.
4085
4120
  # @return [String]
4086
4121
  #
4087
4122
  # @!attribute [rw] description
@@ -4132,7 +4167,7 @@ module Aws::SWF
4132
4167
  #
4133
4168
  #
4134
4169
  #
4135
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
4170
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
4136
4171
  # @return [String]
4137
4172
  #
4138
4173
  # @!attribute [rw] default_child_policy
@@ -4163,14 +4198,14 @@ module Aws::SWF
4163
4198
  # functions. If you don't specify an IAM role when you start this
4164
4199
  # workflow type, the default Lambda role is attached to the execution.
4165
4200
  # For more information, see
4166
- # [http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html][1]
4201
+ # [https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html][1]
4167
4202
  # in the *Amazon SWF Developer Guide*.
4168
4203
  #
4169
4204
  # </note>
4170
4205
  #
4171
4206
  #
4172
4207
  #
4173
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
4208
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
4174
4209
  # @return [String]
4175
4210
  #
4176
4211
  class RegisterWorkflowTypeInput < Struct.new(
@@ -4211,7 +4246,7 @@ module Aws::SWF
4211
4246
  #
4212
4247
  #
4213
4248
  #
4214
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4249
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4215
4250
  #
4216
4251
  # @note When making an API call, you may pass RequestCancelActivityTaskDecisionAttributes
4217
4252
  # data as a hash:
@@ -4249,7 +4284,7 @@ module Aws::SWF
4249
4284
  #
4250
4285
  #
4251
4286
  #
4252
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4287
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4253
4288
  # @return [String]
4254
4289
  #
4255
4290
  # @!attribute [rw] decision_task_completed_event_id
@@ -4292,7 +4327,7 @@ module Aws::SWF
4292
4327
  #
4293
4328
  #
4294
4329
  #
4295
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4330
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4296
4331
  #
4297
4332
  # @note When making an API call, you may pass RequestCancelExternalWorkflowExecutionDecisionAttributes
4298
4333
  # data as a hash:
@@ -4348,7 +4383,7 @@ module Aws::SWF
4348
4383
  #
4349
4384
  #
4350
4385
  #
4351
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4386
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4352
4387
  # @return [String]
4353
4388
  #
4354
4389
  # @!attribute [rw] initiated_event_id
@@ -4445,6 +4480,34 @@ module Aws::SWF
4445
4480
  include Aws::Structure
4446
4481
  end
4447
4482
 
4483
+ # Tags are key-value pairs that can be associated with Amazon SWF state
4484
+ # machines and activities.
4485
+ #
4486
+ # Tags may only contain unicode letters, digits, whitespace, or these
4487
+ # symbols: `_ . : / = + - @`.
4488
+ #
4489
+ # @note When making an API call, you may pass ResourceTag
4490
+ # data as a hash:
4491
+ #
4492
+ # {
4493
+ # key: "ResourceTagKey", # required
4494
+ # value: "ResourceTagValue",
4495
+ # }
4496
+ #
4497
+ # @!attribute [rw] key
4498
+ # The key of a tag.
4499
+ # @return [String]
4500
+ #
4501
+ # @!attribute [rw] value
4502
+ # The value of a tag.
4503
+ # @return [String]
4504
+ #
4505
+ class ResourceTag < Struct.new(
4506
+ :key,
4507
+ :value)
4508
+ include Aws::Structure
4509
+ end
4510
+
4448
4511
  # @note When making an API call, you may pass RespondActivityTaskCanceledInput
4449
4512
  # data as a hash:
4450
4513
  #
@@ -4712,7 +4775,7 @@ module Aws::SWF
4712
4775
  #
4713
4776
  #
4714
4777
  #
4715
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4778
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4716
4779
  #
4717
4780
  # @note When making an API call, you may pass ScheduleActivityTaskDecisionAttributes
4718
4781
  # data as a hash:
@@ -4802,7 +4865,7 @@ module Aws::SWF
4802
4865
  #
4803
4866
  #
4804
4867
  #
4805
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
4868
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
4806
4869
  # @return [String]
4807
4870
  #
4808
4871
  # @!attribute [rw] schedule_to_start_timeout
@@ -4891,7 +4954,7 @@ module Aws::SWF
4891
4954
  #
4892
4955
  #
4893
4956
  #
4894
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4957
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4895
4958
  # @return [String]
4896
4959
  #
4897
4960
  # @!attribute [rw] decision_task_completed_event_id
@@ -4984,7 +5047,7 @@ module Aws::SWF
4984
5047
  #
4985
5048
  #
4986
5049
  #
4987
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5050
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
4988
5051
  # @return [String]
4989
5052
  #
4990
5053
  # @!attribute [rw] decision_task_completed_event_id
@@ -5027,7 +5090,7 @@ module Aws::SWF
5027
5090
  #
5028
5091
  #
5029
5092
  #
5030
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5093
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5031
5094
  #
5032
5095
  # @note When making an API call, you may pass SignalExternalWorkflowExecutionDecisionAttributes
5033
5096
  # data as a hash:
@@ -5098,7 +5161,7 @@ module Aws::SWF
5098
5161
  #
5099
5162
  #
5100
5163
  #
5101
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5164
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5102
5165
  # @return [String]
5103
5166
  #
5104
5167
  # @!attribute [rw] initiated_event_id
@@ -5254,7 +5317,7 @@ module Aws::SWF
5254
5317
  #
5255
5318
  #
5256
5319
  #
5257
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5320
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5258
5321
  #
5259
5322
  # @note When making an API call, you may pass StartChildWorkflowExecutionDecisionAttributes
5260
5323
  # data as a hash:
@@ -5348,7 +5411,7 @@ module Aws::SWF
5348
5411
  #
5349
5412
  #
5350
5413
  #
5351
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
5414
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
5352
5415
  # @return [String]
5353
5416
  #
5354
5417
  # @!attribute [rw] task_start_to_close_timeout
@@ -5443,7 +5506,7 @@ module Aws::SWF
5443
5506
  #
5444
5507
  #
5445
5508
  #
5446
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5509
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5447
5510
  # @return [String]
5448
5511
  #
5449
5512
  # @!attribute [rw] workflow_id
@@ -5532,7 +5595,7 @@ module Aws::SWF
5532
5595
  #
5533
5596
  #
5534
5597
  #
5535
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
5598
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
5536
5599
  # @return [String]
5537
5600
  #
5538
5601
  # @!attribute [rw] decision_task_completed_event_id
@@ -5617,7 +5680,7 @@ module Aws::SWF
5617
5680
  #
5618
5681
  #
5619
5682
  #
5620
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
5683
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
5621
5684
  # @return [String]
5622
5685
  #
5623
5686
  # @!attribute [rw] message
@@ -5655,7 +5718,7 @@ module Aws::SWF
5655
5718
  #
5656
5719
  #
5657
5720
  #
5658
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5721
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5659
5722
  #
5660
5723
  # @note When making an API call, you may pass StartTimerDecisionAttributes
5661
5724
  # data as a hash:
@@ -5713,7 +5776,7 @@ module Aws::SWF
5713
5776
  #
5714
5777
  #
5715
5778
  #
5716
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5779
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
5717
5780
  # @return [String]
5718
5781
  #
5719
5782
  # @!attribute [rw] decision_task_completed_event_id
@@ -5763,12 +5826,12 @@ module Aws::SWF
5763
5826
  # execution. You may specify the same identifier if a workflow
5764
5827
  # execution is logically a *restart* of a previous execution. You
5765
5828
  # cannot have two open workflow executions with the same `workflowId`
5766
- # at the same time.
5829
+ # at the same time within the same domain.
5767
5830
  #
5768
5831
  # The specified string must not start or end with whitespace. It must
5769
5832
  # not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
5770
5833
  # control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it
5771
- # must not contain the literal string `arn`.
5834
+ # must not *be* the literal string `arn`.
5772
5835
  # @return [String]
5773
5836
  #
5774
5837
  # @!attribute [rw] workflow_type
@@ -5790,7 +5853,7 @@ module Aws::SWF
5790
5853
  # The specified string must not start or end with whitespace. It must
5791
5854
  # not contain a `:` (colon), `/` (slash), `|` (vertical bar), or any
5792
5855
  # control characters (`\u0000-\u001f` \| `\u007f-\u009f`). Also, it
5793
- # must not contain the literal string `arn`.
5856
+ # must not *be* the literal string `arn`.
5794
5857
  # @return [Types::TaskList]
5795
5858
  #
5796
5859
  # @!attribute [rw] task_priority
@@ -5806,7 +5869,7 @@ module Aws::SWF
5806
5869
  #
5807
5870
  #
5808
5871
  #
5809
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
5872
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
5810
5873
  # @return [String]
5811
5874
  #
5812
5875
  # @!attribute [rw] input
@@ -5896,14 +5959,14 @@ module Aws::SWF
5896
5959
  # a Lambda task fails. This results in a
5897
5960
  # `ScheduleLambdaFunctionFailed` history event. For more information,
5898
5961
  # see
5899
- # [http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html][1]
5962
+ # [https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html][1]
5900
5963
  # in the *Amazon SWF Developer Guide*.
5901
5964
  #
5902
5965
  # </note>
5903
5966
  #
5904
5967
  #
5905
5968
  #
5906
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
5969
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
5907
5970
  # @return [String]
5908
5971
  #
5909
5972
  class StartWorkflowExecutionInput < Struct.new(
@@ -5934,6 +5997,9 @@ module Aws::SWF
5934
5997
  # @!attribute [rw] tag
5935
5998
  # Specifies the tag that must be associated with the execution for it
5936
5999
  # to meet the filter criteria.
6000
+ #
6001
+ # Tags may only contain unicode letters, digits, whitespace, or these
6002
+ # symbols: `_ . : / = + - @`.
5937
6003
  # @return [String]
5938
6004
  #
5939
6005
  class TagFilter < Struct.new(
@@ -5941,6 +6007,36 @@ module Aws::SWF
5941
6007
  include Aws::Structure
5942
6008
  end
5943
6009
 
6010
+ # @note When making an API call, you may pass TagResourceInput
6011
+ # data as a hash:
6012
+ #
6013
+ # {
6014
+ # resource_arn: "Arn", # required
6015
+ # tags: [ # required
6016
+ # {
6017
+ # key: "ResourceTagKey", # required
6018
+ # value: "ResourceTagValue",
6019
+ # },
6020
+ # ],
6021
+ # }
6022
+ #
6023
+ # @!attribute [rw] resource_arn
6024
+ # The Amazon Resource Name (ARN) for the Amazon SWF domain.
6025
+ # @return [String]
6026
+ #
6027
+ # @!attribute [rw] tags
6028
+ # The list of tags to add to a domain.
6029
+ #
6030
+ # Tags may only contain unicode letters, digits, whitespace, or these
6031
+ # symbols: `_ . : / = + - @`.
6032
+ # @return [Array<Types::ResourceTag>]
6033
+ #
6034
+ class TagResourceInput < Struct.new(
6035
+ :resource_arn,
6036
+ :tags)
6037
+ include Aws::Structure
6038
+ end
6039
+
5944
6040
  # Represents a task list.
5945
6041
  #
5946
6042
  # @note When making an API call, you may pass TaskList
@@ -6105,10 +6201,20 @@ module Aws::SWF
6105
6201
  include Aws::Structure
6106
6202
  end
6107
6203
 
6108
- # Returned if the type already exists in the specified domain. You get
6109
- # this fault even if the existing type is in deprecated status. You can
6110
- # specify another version if the intent is to create a new distinct
6111
- # version of the type.
6204
+ # You've exceeded the number of tags allowed for a domain.
6205
+ #
6206
+ # @!attribute [rw] message
6207
+ # @return [String]
6208
+ #
6209
+ class TooManyTagsFault < Struct.new(
6210
+ :message)
6211
+ include Aws::Structure
6212
+ end
6213
+
6214
+ # Returned if the type already exists in the specified domain. You may
6215
+ # get this fault if you are registering a type that is either already
6216
+ # registered or deprecated, or if you undeprecate a type that is
6217
+ # currently registered.
6112
6218
  #
6113
6219
  # @!attribute [rw] message
6114
6220
  # A description that may help with diagnosing the cause of the fault.
@@ -6131,6 +6237,72 @@ module Aws::SWF
6131
6237
  include Aws::Structure
6132
6238
  end
6133
6239
 
6240
+ # @note When making an API call, you may pass UndeprecateActivityTypeInput
6241
+ # data as a hash:
6242
+ #
6243
+ # {
6244
+ # domain: "DomainName", # required
6245
+ # activity_type: { # required
6246
+ # name: "Name", # required
6247
+ # version: "Version", # required
6248
+ # },
6249
+ # }
6250
+ #
6251
+ # @!attribute [rw] domain
6252
+ # The name of the domain of the deprecated activity type.
6253
+ # @return [String]
6254
+ #
6255
+ # @!attribute [rw] activity_type
6256
+ # The activity type to undeprecate.
6257
+ # @return [Types::ActivityType]
6258
+ #
6259
+ class UndeprecateActivityTypeInput < Struct.new(
6260
+ :domain,
6261
+ :activity_type)
6262
+ include Aws::Structure
6263
+ end
6264
+
6265
+ # @note When making an API call, you may pass UndeprecateDomainInput
6266
+ # data as a hash:
6267
+ #
6268
+ # {
6269
+ # name: "DomainName", # required
6270
+ # }
6271
+ #
6272
+ # @!attribute [rw] name
6273
+ # The name of the domain of the deprecated workflow type.
6274
+ # @return [String]
6275
+ #
6276
+ class UndeprecateDomainInput < Struct.new(
6277
+ :name)
6278
+ include Aws::Structure
6279
+ end
6280
+
6281
+ # @note When making an API call, you may pass UndeprecateWorkflowTypeInput
6282
+ # data as a hash:
6283
+ #
6284
+ # {
6285
+ # domain: "DomainName", # required
6286
+ # workflow_type: { # required
6287
+ # name: "Name", # required
6288
+ # version: "Version", # required
6289
+ # },
6290
+ # }
6291
+ #
6292
+ # @!attribute [rw] domain
6293
+ # The name of the domain of the deprecated workflow type.
6294
+ # @return [String]
6295
+ #
6296
+ # @!attribute [rw] workflow_type
6297
+ # The name of the domain of the deprecated workflow type.
6298
+ # @return [Types::WorkflowType]
6299
+ #
6300
+ class UndeprecateWorkflowTypeInput < Struct.new(
6301
+ :domain,
6302
+ :workflow_type)
6303
+ include Aws::Structure
6304
+ end
6305
+
6134
6306
  # Returned when the named resource cannot be found with in the scope of
6135
6307
  # this operation (region or domain). This could happen if the named
6136
6308
  # resource was never created or is no longer available for this
@@ -6145,6 +6317,28 @@ module Aws::SWF
6145
6317
  include Aws::Structure
6146
6318
  end
6147
6319
 
6320
+ # @note When making an API call, you may pass UntagResourceInput
6321
+ # data as a hash:
6322
+ #
6323
+ # {
6324
+ # resource_arn: "Arn", # required
6325
+ # tag_keys: ["ResourceTagKey"], # required
6326
+ # }
6327
+ #
6328
+ # @!attribute [rw] resource_arn
6329
+ # The Amazon Resource Name (ARN) for the Amazon SWF domain.
6330
+ # @return [String]
6331
+ #
6332
+ # @!attribute [rw] tag_keys
6333
+ # The list of tags to remove from the Amazon SWF domain.
6334
+ # @return [Array<String>]
6335
+ #
6336
+ class UntagResourceInput < Struct.new(
6337
+ :resource_arn,
6338
+ :tag_keys)
6339
+ include Aws::Structure
6340
+ end
6341
+
6148
6342
  # Represents a workflow execution.
6149
6343
  #
6150
6344
  # @note When making an API call, you may pass WorkflowExecution
@@ -6288,7 +6482,7 @@ module Aws::SWF
6288
6482
  #
6289
6483
  #
6290
6484
  #
6291
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
6485
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
6292
6486
  # @return [String]
6293
6487
  #
6294
6488
  # @!attribute [rw] child_policy
@@ -6935,7 +7129,7 @@ module Aws::SWF
6935
7129
  #
6936
7130
  #
6937
7131
  #
6938
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
7132
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/programming-priority.html
6939
7133
  # @return [String]
6940
7134
  #
6941
7135
  # @!attribute [rw] default_child_policy
@@ -6966,14 +7160,14 @@ module Aws::SWF
6966
7160
  # functions. If you don't specify an IAM role when starting this
6967
7161
  # workflow type, the default Lambda role is attached to the execution.
6968
7162
  # For more information, see
6969
- # [http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html][1]
7163
+ # [https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html][1]
6970
7164
  # in the *Amazon SWF Developer Guide*.
6971
7165
  #
6972
7166
  # </note>
6973
7167
  #
6974
7168
  #
6975
7169
  #
6976
- # [1]: http://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
7170
+ # [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/lambda-task.html
6977
7171
  # @return [String]
6978
7172
  #
6979
7173
  class WorkflowTypeConfiguration < Struct.new(