aws-sdk-swf 1.52.0 → 1.54.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-swf/client.rb +129 -6
- data/lib/aws-sdk-swf/client_api.rb +37 -0
- data/lib/aws-sdk-swf/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-swf/endpoints.rb +28 -0
- data/lib/aws-sdk-swf/errors.rb +16 -0
- data/lib/aws-sdk-swf/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-swf/types.rb +41 -0
- data/lib/aws-sdk-swf.rb +1 -1
- data/sig/client.rbs +20 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +17 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50fd6cffa29fedaa796f0b7030db9a7337f97b79b4e18ea17f78e41949c1bac5
|
4
|
+
data.tar.gz: 31b6851e750a47bedaa1698973ce9b968b6ee1fe990020603fbebbab143f75af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee67ade17fd7ee8755a308c36258b84aa0a568e2ae463590a783204db860d63d554e25291a19427ce8528675ff6cc29b29d9c15dec61534954ea87296828f282
|
7
|
+
data.tar.gz: d320052295a40b3371bc70474262f99493d27a7a4f5f9ac12f6d91e1646cc538cf34cf41f294ed8fbb389025771e8cda39575480960e11c6094f3cdfcaf24bfb
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.54.0 (2024-06-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.53.0 (2024-05-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds new APIs for deleting activity type and workflow type resources.
|
13
|
+
|
4
14
|
1.52.0 (2024-05-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
data/lib/aws-sdk-swf/client.rb
CHANGED
@@ -811,16 +811,139 @@ module Aws::SWF
|
|
811
811
|
req.send_request(options)
|
812
812
|
end
|
813
813
|
|
814
|
+
# Deletes the specified *activity type*.
|
815
|
+
#
|
816
|
+
# Note: Prior to deletion, activity types must first be **deprecated**.
|
817
|
+
#
|
818
|
+
# After an activity type has been deleted, you cannot schedule new
|
819
|
+
# activities of that type. Activities that started before the type was
|
820
|
+
# deleted will continue to run.
|
821
|
+
#
|
822
|
+
# **Access Control**
|
823
|
+
#
|
824
|
+
# You can use IAM policies to control this action's access to Amazon
|
825
|
+
# SWF resources as follows:
|
826
|
+
#
|
827
|
+
# * Use a `Resource` element with the domain name to limit the action to
|
828
|
+
# only specified domains.
|
829
|
+
#
|
830
|
+
# * Use an `Action` element to allow or deny permission to call this
|
831
|
+
# action.
|
832
|
+
#
|
833
|
+
# * Constrain the following parameters by using a `Condition` element
|
834
|
+
# with the appropriate keys.
|
835
|
+
#
|
836
|
+
# * `activityType.name`: String constraint. The key is
|
837
|
+
# `swf:activityType.name`.
|
838
|
+
#
|
839
|
+
# * `activityType.version`: String constraint. The key is
|
840
|
+
# `swf:activityType.version`.
|
841
|
+
#
|
842
|
+
# If the caller doesn't have sufficient permissions to invoke the
|
843
|
+
# action, or the parameter values fall outside the specified
|
844
|
+
# constraints, the action fails. The associated event attribute's
|
845
|
+
# `cause` parameter is set to `OPERATION_NOT_PERMITTED`. For details and
|
846
|
+
# example IAM policies, see [Using IAM to Manage Access to Amazon SWF
|
847
|
+
# Workflows][1] in the *Amazon SWF Developer Guide*.
|
848
|
+
#
|
849
|
+
#
|
850
|
+
#
|
851
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
852
|
+
#
|
853
|
+
# @option params [required, String] :domain
|
854
|
+
# The name of the domain in which the activity type is registered.
|
855
|
+
#
|
856
|
+
# @option params [required, Types::ActivityType] :activity_type
|
857
|
+
# The activity type to delete.
|
858
|
+
#
|
859
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
860
|
+
#
|
861
|
+
# @example Request syntax with placeholder values
|
862
|
+
#
|
863
|
+
# resp = client.delete_activity_type({
|
864
|
+
# domain: "DomainName", # required
|
865
|
+
# activity_type: { # required
|
866
|
+
# name: "Name", # required
|
867
|
+
# version: "Version", # required
|
868
|
+
# },
|
869
|
+
# })
|
870
|
+
#
|
871
|
+
# @overload delete_activity_type(params = {})
|
872
|
+
# @param [Hash] params ({})
|
873
|
+
def delete_activity_type(params = {}, options = {})
|
874
|
+
req = build_request(:delete_activity_type, params)
|
875
|
+
req.send_request(options)
|
876
|
+
end
|
877
|
+
|
878
|
+
# Deletes the specified *workflow type*.
|
879
|
+
#
|
880
|
+
# Note: Prior to deletion, workflow types must first be **deprecated**.
|
881
|
+
#
|
882
|
+
# After a workflow type has been deleted, you cannot create new
|
883
|
+
# executions of that type. Executions that started before the type was
|
884
|
+
# deleted will continue to run.
|
885
|
+
#
|
886
|
+
# **Access Control**
|
887
|
+
#
|
888
|
+
# You can use IAM policies to control this action's access to Amazon
|
889
|
+
# SWF resources as follows:
|
890
|
+
#
|
891
|
+
# * Use a `Resource` element with the domain name to limit the action to
|
892
|
+
# only specified domains.
|
893
|
+
#
|
894
|
+
# * Use an `Action` element to allow or deny permission to call this
|
895
|
+
# action.
|
896
|
+
#
|
897
|
+
# * Constrain the following parameters by using a `Condition` element
|
898
|
+
# with the appropriate keys.
|
899
|
+
#
|
900
|
+
# * `workflowType.name`: String constraint. The key is
|
901
|
+
# `swf:workflowType.name`.
|
902
|
+
#
|
903
|
+
# * `workflowType.version`: String constraint. The key is
|
904
|
+
# `swf:workflowType.version`.
|
905
|
+
#
|
906
|
+
# If the caller doesn't have sufficient permissions to invoke the
|
907
|
+
# action, or the parameter values fall outside the specified
|
908
|
+
# constraints, the action fails. The associated event attribute's
|
909
|
+
# `cause` parameter is set to `OPERATION_NOT_PERMITTED`. For details and
|
910
|
+
# example IAM policies, see [Using IAM to Manage Access to Amazon SWF
|
911
|
+
# Workflows][1] in the *Amazon SWF Developer Guide*.
|
912
|
+
#
|
913
|
+
#
|
914
|
+
#
|
915
|
+
# [1]: https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html
|
916
|
+
#
|
917
|
+
# @option params [required, String] :domain
|
918
|
+
# The name of the domain in which the workflow type is registered.
|
919
|
+
#
|
920
|
+
# @option params [required, Types::WorkflowType] :workflow_type
|
921
|
+
# The workflow type to delete.
|
922
|
+
#
|
923
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
924
|
+
#
|
925
|
+
# @example Request syntax with placeholder values
|
926
|
+
#
|
927
|
+
# resp = client.delete_workflow_type({
|
928
|
+
# domain: "DomainName", # required
|
929
|
+
# workflow_type: { # required
|
930
|
+
# name: "Name", # required
|
931
|
+
# version: "Version", # required
|
932
|
+
# },
|
933
|
+
# })
|
934
|
+
#
|
935
|
+
# @overload delete_workflow_type(params = {})
|
936
|
+
# @param [Hash] params ({})
|
937
|
+
def delete_workflow_type(params = {}, options = {})
|
938
|
+
req = build_request(:delete_workflow_type, params)
|
939
|
+
req.send_request(options)
|
940
|
+
end
|
941
|
+
|
814
942
|
# Deprecates the specified *activity type*. After an activity type has
|
815
943
|
# been deprecated, you cannot create new tasks of that activity type.
|
816
944
|
# Tasks of this type that were scheduled before the type was deprecated
|
817
945
|
# continue to run.
|
818
946
|
#
|
819
|
-
# <note markdown="1"> This operation is eventually consistent. The results are best effort
|
820
|
-
# and may not exactly reflect recent updates and changes.
|
821
|
-
#
|
822
|
-
# </note>
|
823
|
-
#
|
824
947
|
# **Access Control**
|
825
948
|
#
|
826
949
|
# You can use IAM policies to control this action's access to Amazon
|
@@ -4407,7 +4530,7 @@ module Aws::SWF
|
|
4407
4530
|
params: params,
|
4408
4531
|
config: config)
|
4409
4532
|
context[:gem_name] = 'aws-sdk-swf'
|
4410
|
-
context[:gem_version] = '1.
|
4533
|
+
context[:gem_version] = '1.54.0'
|
4411
4534
|
Seahorse::Client::Request.new(handlers, context)
|
4412
4535
|
end
|
4413
4536
|
|
@@ -70,6 +70,8 @@ module Aws::SWF
|
|
70
70
|
DecisionTaskTimeoutType = Shapes::StringShape.new(name: 'DecisionTaskTimeoutType')
|
71
71
|
DecisionType = Shapes::StringShape.new(name: 'DecisionType')
|
72
72
|
DefaultUndefinedFault = Shapes::StructureShape.new(name: 'DefaultUndefinedFault')
|
73
|
+
DeleteActivityTypeInput = Shapes::StructureShape.new(name: 'DeleteActivityTypeInput')
|
74
|
+
DeleteWorkflowTypeInput = Shapes::StructureShape.new(name: 'DeleteWorkflowTypeInput')
|
73
75
|
DeprecateActivityTypeInput = Shapes::StructureShape.new(name: 'DeprecateActivityTypeInput')
|
74
76
|
DeprecateDomainInput = Shapes::StructureShape.new(name: 'DeprecateDomainInput')
|
75
77
|
DeprecateWorkflowTypeInput = Shapes::StructureShape.new(name: 'DeprecateWorkflowTypeInput')
|
@@ -201,6 +203,7 @@ module Aws::SWF
|
|
201
203
|
Truncated = Shapes::BooleanShape.new(name: 'Truncated')
|
202
204
|
TypeAlreadyExistsFault = Shapes::StructureShape.new(name: 'TypeAlreadyExistsFault')
|
203
205
|
TypeDeprecatedFault = Shapes::StructureShape.new(name: 'TypeDeprecatedFault')
|
206
|
+
TypeNotDeprecatedFault = Shapes::StructureShape.new(name: 'TypeNotDeprecatedFault')
|
204
207
|
UndeprecateActivityTypeInput = Shapes::StructureShape.new(name: 'UndeprecateActivityTypeInput')
|
205
208
|
UndeprecateDomainInput = Shapes::StructureShape.new(name: 'UndeprecateDomainInput')
|
206
209
|
UndeprecateWorkflowTypeInput = Shapes::StructureShape.new(name: 'UndeprecateWorkflowTypeInput')
|
@@ -481,6 +484,14 @@ module Aws::SWF
|
|
481
484
|
DefaultUndefinedFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
482
485
|
DefaultUndefinedFault.struct_class = Types::DefaultUndefinedFault
|
483
486
|
|
487
|
+
DeleteActivityTypeInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
|
488
|
+
DeleteActivityTypeInput.add_member(:activity_type, Shapes::ShapeRef.new(shape: ActivityType, required: true, location_name: "activityType"))
|
489
|
+
DeleteActivityTypeInput.struct_class = Types::DeleteActivityTypeInput
|
490
|
+
|
491
|
+
DeleteWorkflowTypeInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
|
492
|
+
DeleteWorkflowTypeInput.add_member(:workflow_type, Shapes::ShapeRef.new(shape: WorkflowType, required: true, location_name: "workflowType"))
|
493
|
+
DeleteWorkflowTypeInput.struct_class = Types::DeleteWorkflowTypeInput
|
494
|
+
|
484
495
|
DeprecateActivityTypeInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
|
485
496
|
DeprecateActivityTypeInput.add_member(:activity_type, Shapes::ShapeRef.new(shape: ActivityType, required: true, location_name: "activityType"))
|
486
497
|
DeprecateActivityTypeInput.struct_class = Types::DeprecateActivityTypeInput
|
@@ -1004,6 +1015,9 @@ module Aws::SWF
|
|
1004
1015
|
TypeDeprecatedFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1005
1016
|
TypeDeprecatedFault.struct_class = Types::TypeDeprecatedFault
|
1006
1017
|
|
1018
|
+
TypeNotDeprecatedFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1019
|
+
TypeNotDeprecatedFault.struct_class = Types::TypeNotDeprecatedFault
|
1020
|
+
|
1007
1021
|
UndeprecateActivityTypeInput.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
|
1008
1022
|
UndeprecateActivityTypeInput.add_member(:activity_type, Shapes::ShapeRef.new(shape: ActivityType, required: true, location_name: "activityType"))
|
1009
1023
|
UndeprecateActivityTypeInput.struct_class = Types::UndeprecateActivityTypeInput
|
@@ -1180,6 +1194,7 @@ module Aws::SWF
|
|
1180
1194
|
"endpointPrefix" => "swf",
|
1181
1195
|
"jsonVersion" => "1.0",
|
1182
1196
|
"protocol" => "json",
|
1197
|
+
"protocols" => ["json"],
|
1183
1198
|
"serviceAbbreviation" => "Amazon SWF",
|
1184
1199
|
"serviceFullName" => "Amazon Simple Workflow Service",
|
1185
1200
|
"serviceId" => "SWF",
|
@@ -1228,6 +1243,28 @@ module Aws::SWF
|
|
1228
1243
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
|
1229
1244
|
end)
|
1230
1245
|
|
1246
|
+
api.add_operation(:delete_activity_type, Seahorse::Model::Operation.new.tap do |o|
|
1247
|
+
o.name = "DeleteActivityType"
|
1248
|
+
o.http_method = "POST"
|
1249
|
+
o.http_request_uri = "/"
|
1250
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteActivityTypeInput)
|
1251
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1252
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceFault)
|
1253
|
+
o.errors << Shapes::ShapeRef.new(shape: TypeNotDeprecatedFault)
|
1254
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
|
1255
|
+
end)
|
1256
|
+
|
1257
|
+
api.add_operation(:delete_workflow_type, Seahorse::Model::Operation.new.tap do |o|
|
1258
|
+
o.name = "DeleteWorkflowType"
|
1259
|
+
o.http_method = "POST"
|
1260
|
+
o.http_request_uri = "/"
|
1261
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteWorkflowTypeInput)
|
1262
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1263
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceFault)
|
1264
|
+
o.errors << Shapes::ShapeRef.new(shape: TypeNotDeprecatedFault)
|
1265
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedFault)
|
1266
|
+
end)
|
1267
|
+
|
1231
1268
|
api.add_operation(:deprecate_activity_type, Seahorse::Model::Operation.new.tap do |o|
|
1232
1269
|
o.name = "DeprecateActivityType"
|
1233
1270
|
o.http_method = "POST"
|
@@ -32,8 +32,8 @@ module Aws::SWF
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
36
|
-
if Aws::Endpoints::Matchers.string_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
37
37
|
return Aws::Endpoints::Endpoint.new(url: "https://swf.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://swf-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -68,6 +68,34 @@ module Aws::SWF
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
class DeleteActivityType
|
72
|
+
def self.build(context)
|
73
|
+
unless context.config.regional_endpoint
|
74
|
+
endpoint = context.config.endpoint.to_s
|
75
|
+
end
|
76
|
+
Aws::SWF::EndpointParameters.new(
|
77
|
+
region: context.config.region,
|
78
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
79
|
+
use_fips: context.config.use_fips_endpoint,
|
80
|
+
endpoint: endpoint,
|
81
|
+
)
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
class DeleteWorkflowType
|
86
|
+
def self.build(context)
|
87
|
+
unless context.config.regional_endpoint
|
88
|
+
endpoint = context.config.endpoint.to_s
|
89
|
+
end
|
90
|
+
Aws::SWF::EndpointParameters.new(
|
91
|
+
region: context.config.region,
|
92
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
93
|
+
use_fips: context.config.use_fips_endpoint,
|
94
|
+
endpoint: endpoint,
|
95
|
+
)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
71
99
|
class DeprecateActivityType
|
72
100
|
def self.build(context)
|
73
101
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-swf/errors.rb
CHANGED
@@ -35,6 +35,7 @@ module Aws::SWF
|
|
35
35
|
# * {TooManyTagsFault}
|
36
36
|
# * {TypeAlreadyExistsFault}
|
37
37
|
# * {TypeDeprecatedFault}
|
38
|
+
# * {TypeNotDeprecatedFault}
|
38
39
|
# * {UnknownResourceFault}
|
39
40
|
# * {WorkflowExecutionAlreadyStartedFault}
|
40
41
|
#
|
@@ -164,6 +165,21 @@ module Aws::SWF
|
|
164
165
|
end
|
165
166
|
end
|
166
167
|
|
168
|
+
class TypeNotDeprecatedFault < ServiceError
|
169
|
+
|
170
|
+
# @param [Seahorse::Client::RequestContext] context
|
171
|
+
# @param [String] message
|
172
|
+
# @param [Aws::SWF::Types::TypeNotDeprecatedFault] data
|
173
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
174
|
+
super(context, message, data)
|
175
|
+
end
|
176
|
+
|
177
|
+
# @return [String]
|
178
|
+
def message
|
179
|
+
@message || @data[:message]
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
167
183
|
class UnknownResourceFault < ServiceError
|
168
184
|
|
169
185
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -66,6 +66,10 @@ module Aws::SWF
|
|
66
66
|
Aws::SWF::Endpoints::CountPendingActivityTasks.build(context)
|
67
67
|
when :count_pending_decision_tasks
|
68
68
|
Aws::SWF::Endpoints::CountPendingDecisionTasks.build(context)
|
69
|
+
when :delete_activity_type
|
70
|
+
Aws::SWF::Endpoints::DeleteActivityType.build(context)
|
71
|
+
when :delete_workflow_type
|
72
|
+
Aws::SWF::Endpoints::DeleteWorkflowType.build(context)
|
69
73
|
when :deprecate_activity_type
|
70
74
|
Aws::SWF::Endpoints::DeprecateActivityType.build(context)
|
71
75
|
when :deprecate_domain
|
data/lib/aws-sdk-swf/types.rb
CHANGED
@@ -1793,6 +1793,36 @@ module Aws::SWF
|
|
1793
1793
|
include Aws::Structure
|
1794
1794
|
end
|
1795
1795
|
|
1796
|
+
# @!attribute [rw] domain
|
1797
|
+
# The name of the domain in which the activity type is registered.
|
1798
|
+
# @return [String]
|
1799
|
+
#
|
1800
|
+
# @!attribute [rw] activity_type
|
1801
|
+
# The activity type to delete.
|
1802
|
+
# @return [Types::ActivityType]
|
1803
|
+
#
|
1804
|
+
class DeleteActivityTypeInput < Struct.new(
|
1805
|
+
:domain,
|
1806
|
+
:activity_type)
|
1807
|
+
SENSITIVE = []
|
1808
|
+
include Aws::Structure
|
1809
|
+
end
|
1810
|
+
|
1811
|
+
# @!attribute [rw] domain
|
1812
|
+
# The name of the domain in which the workflow type is registered.
|
1813
|
+
# @return [String]
|
1814
|
+
#
|
1815
|
+
# @!attribute [rw] workflow_type
|
1816
|
+
# The workflow type to delete.
|
1817
|
+
# @return [Types::WorkflowType]
|
1818
|
+
#
|
1819
|
+
class DeleteWorkflowTypeInput < Struct.new(
|
1820
|
+
:domain,
|
1821
|
+
:workflow_type)
|
1822
|
+
SENSITIVE = []
|
1823
|
+
include Aws::Structure
|
1824
|
+
end
|
1825
|
+
|
1796
1826
|
# @!attribute [rw] domain
|
1797
1827
|
# The name of the domain in which the activity type is registered.
|
1798
1828
|
# @return [String]
|
@@ -5586,6 +5616,17 @@ module Aws::SWF
|
|
5586
5616
|
include Aws::Structure
|
5587
5617
|
end
|
5588
5618
|
|
5619
|
+
# Returned when the resource type has not been deprecated.
|
5620
|
+
#
|
5621
|
+
# @!attribute [rw] message
|
5622
|
+
# @return [String]
|
5623
|
+
#
|
5624
|
+
class TypeNotDeprecatedFault < Struct.new(
|
5625
|
+
:message)
|
5626
|
+
SENSITIVE = []
|
5627
|
+
include Aws::Structure
|
5628
|
+
end
|
5629
|
+
|
5589
5630
|
# @!attribute [rw] domain
|
5590
5631
|
# The name of the domain of the deprecated activity type.
|
5591
5632
|
# @return [String]
|
data/lib/aws-sdk-swf.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -158,6 +158,26 @@ module Aws
|
|
158
158
|
) -> _CountPendingDecisionTasksResponseSuccess
|
159
159
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CountPendingDecisionTasksResponseSuccess
|
160
160
|
|
161
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#delete_activity_type-instance_method
|
162
|
+
def delete_activity_type: (
|
163
|
+
domain: ::String,
|
164
|
+
activity_type: {
|
165
|
+
name: ::String,
|
166
|
+
version: ::String
|
167
|
+
}
|
168
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
169
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
170
|
+
|
171
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#delete_workflow_type-instance_method
|
172
|
+
def delete_workflow_type: (
|
173
|
+
domain: ::String,
|
174
|
+
workflow_type: {
|
175
|
+
name: ::String,
|
176
|
+
version: ::String
|
177
|
+
}
|
178
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
179
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
180
|
+
|
161
181
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SWF/Client.html#deprecate_activity_type-instance_method
|
162
182
|
def deprecate_activity_type: (
|
163
183
|
domain: ::String,
|
data/sig/errors.rbs
CHANGED
@@ -35,6 +35,9 @@ module Aws
|
|
35
35
|
class TypeDeprecatedFault < ::Aws::Errors::ServiceError
|
36
36
|
def message: () -> ::String
|
37
37
|
end
|
38
|
+
class TypeNotDeprecatedFault < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
end
|
38
41
|
class UnknownResourceFault < ::Aws::Errors::ServiceError
|
39
42
|
def message: () -> ::String
|
40
43
|
end
|
data/sig/types.rbs
CHANGED
@@ -324,6 +324,18 @@ module Aws::SWF
|
|
324
324
|
SENSITIVE: []
|
325
325
|
end
|
326
326
|
|
327
|
+
class DeleteActivityTypeInput
|
328
|
+
attr_accessor domain: ::String
|
329
|
+
attr_accessor activity_type: Types::ActivityType
|
330
|
+
SENSITIVE: []
|
331
|
+
end
|
332
|
+
|
333
|
+
class DeleteWorkflowTypeInput
|
334
|
+
attr_accessor domain: ::String
|
335
|
+
attr_accessor workflow_type: Types::WorkflowType
|
336
|
+
SENSITIVE: []
|
337
|
+
end
|
338
|
+
|
327
339
|
class DeprecateActivityTypeInput
|
328
340
|
attr_accessor domain: ::String
|
329
341
|
attr_accessor activity_type: Types::ActivityType
|
@@ -1001,6 +1013,11 @@ module Aws::SWF
|
|
1001
1013
|
SENSITIVE: []
|
1002
1014
|
end
|
1003
1015
|
|
1016
|
+
class TypeNotDeprecatedFault
|
1017
|
+
attr_accessor message: ::String
|
1018
|
+
SENSITIVE: []
|
1019
|
+
end
|
1020
|
+
|
1004
1021
|
class UndeprecateActivityTypeInput
|
1005
1022
|
attr_accessor domain: ::String
|
1006
1023
|
attr_accessor activity_type: Types::ActivityType
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-swf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.54.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05
|
11
|
+
date: 2024-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.197.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|