aws-sdk-states 1.54.0 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,6 +40,20 @@ module Aws::States
40
40
  end
41
41
  end
42
42
 
43
+ class CreateStateMachineAlias
44
+ def self.build(context)
45
+ unless context.config.regional_endpoint
46
+ endpoint = context.config.endpoint.to_s
47
+ end
48
+ Aws::States::EndpointParameters.new(
49
+ region: context.config.region,
50
+ use_dual_stack: context.config.use_dualstack_endpoint,
51
+ use_fips: context.config.use_fips_endpoint,
52
+ endpoint: endpoint,
53
+ )
54
+ end
55
+ end
56
+
43
57
  class DeleteActivity
44
58
  def self.build(context)
45
59
  unless context.config.regional_endpoint
@@ -68,6 +82,34 @@ module Aws::States
68
82
  end
69
83
  end
70
84
 
85
+ class DeleteStateMachineAlias
86
+ def self.build(context)
87
+ unless context.config.regional_endpoint
88
+ endpoint = context.config.endpoint.to_s
89
+ end
90
+ Aws::States::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
+
99
+ class DeleteStateMachineVersion
100
+ def self.build(context)
101
+ unless context.config.regional_endpoint
102
+ endpoint = context.config.endpoint.to_s
103
+ end
104
+ Aws::States::EndpointParameters.new(
105
+ region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
107
+ use_fips: context.config.use_fips_endpoint,
108
+ endpoint: endpoint,
109
+ )
110
+ end
111
+ end
112
+
71
113
  class DescribeActivity
72
114
  def self.build(context)
73
115
  unless context.config.regional_endpoint
@@ -124,6 +166,20 @@ module Aws::States
124
166
  end
125
167
  end
126
168
 
169
+ class DescribeStateMachineAlias
170
+ def self.build(context)
171
+ unless context.config.regional_endpoint
172
+ endpoint = context.config.endpoint.to_s
173
+ end
174
+ Aws::States::EndpointParameters.new(
175
+ region: context.config.region,
176
+ use_dual_stack: context.config.use_dualstack_endpoint,
177
+ use_fips: context.config.use_fips_endpoint,
178
+ endpoint: endpoint,
179
+ )
180
+ end
181
+ end
182
+
127
183
  class DescribeStateMachineForExecution
128
184
  def self.build(context)
129
185
  unless context.config.regional_endpoint
@@ -208,6 +264,34 @@ module Aws::States
208
264
  end
209
265
  end
210
266
 
267
+ class ListStateMachineAliases
268
+ def self.build(context)
269
+ unless context.config.regional_endpoint
270
+ endpoint = context.config.endpoint.to_s
271
+ end
272
+ Aws::States::EndpointParameters.new(
273
+ region: context.config.region,
274
+ use_dual_stack: context.config.use_dualstack_endpoint,
275
+ use_fips: context.config.use_fips_endpoint,
276
+ endpoint: endpoint,
277
+ )
278
+ end
279
+ end
280
+
281
+ class ListStateMachineVersions
282
+ def self.build(context)
283
+ unless context.config.regional_endpoint
284
+ endpoint = context.config.endpoint.to_s
285
+ end
286
+ Aws::States::EndpointParameters.new(
287
+ region: context.config.region,
288
+ use_dual_stack: context.config.use_dualstack_endpoint,
289
+ use_fips: context.config.use_fips_endpoint,
290
+ endpoint: endpoint,
291
+ )
292
+ end
293
+ end
294
+
211
295
  class ListStateMachines
212
296
  def self.build(context)
213
297
  unless context.config.regional_endpoint
@@ -236,6 +320,20 @@ module Aws::States
236
320
  end
237
321
  end
238
322
 
323
+ class PublishStateMachineVersion
324
+ def self.build(context)
325
+ unless context.config.regional_endpoint
326
+ endpoint = context.config.endpoint.to_s
327
+ end
328
+ Aws::States::EndpointParameters.new(
329
+ region: context.config.region,
330
+ use_dual_stack: context.config.use_dualstack_endpoint,
331
+ use_fips: context.config.use_fips_endpoint,
332
+ endpoint: endpoint,
333
+ )
334
+ end
335
+ end
336
+
239
337
  class SendTaskFailure
240
338
  def self.build(context)
241
339
  unless context.config.regional_endpoint
@@ -376,5 +474,19 @@ module Aws::States
376
474
  end
377
475
  end
378
476
 
477
+ class UpdateStateMachineAlias
478
+ def self.build(context)
479
+ unless context.config.regional_endpoint
480
+ endpoint = context.config.endpoint.to_s
481
+ end
482
+ Aws::States::EndpointParameters.new(
483
+ region: context.config.region,
484
+ use_dual_stack: context.config.use_dualstack_endpoint,
485
+ use_fips: context.config.use_fips_endpoint,
486
+ endpoint: endpoint,
487
+ )
488
+ end
489
+ end
490
+
379
491
  end
380
492
  end
@@ -30,6 +30,7 @@ module Aws::States
30
30
  # * {ActivityDoesNotExist}
31
31
  # * {ActivityLimitExceeded}
32
32
  # * {ActivityWorkerLimitExceeded}
33
+ # * {ConflictException}
33
34
  # * {ExecutionAlreadyExists}
34
35
  # * {ExecutionDoesNotExist}
35
36
  # * {ExecutionLimitExceeded}
@@ -43,6 +44,7 @@ module Aws::States
43
44
  # * {InvalidTracingConfiguration}
44
45
  # * {MissingRequiredParameter}
45
46
  # * {ResourceNotFound}
47
+ # * {ServiceQuotaExceededException}
46
48
  # * {StateMachineAlreadyExists}
47
49
  # * {StateMachineDeleting}
48
50
  # * {StateMachineDoesNotExist}
@@ -104,6 +106,21 @@ module Aws::States
104
106
  end
105
107
  end
106
108
 
109
+ class ConflictException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::States::Types::ConflictException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+ end
123
+
107
124
  class ExecutionAlreadyExists < ServiceError
108
125
 
109
126
  # @param [Seahorse::Client::RequestContext] context
@@ -304,6 +321,21 @@ module Aws::States
304
321
  end
305
322
  end
306
323
 
324
+ class ServiceQuotaExceededException < ServiceError
325
+
326
+ # @param [Seahorse::Client::RequestContext] context
327
+ # @param [String] message
328
+ # @param [Aws::States::Types::ServiceQuotaExceededException] data
329
+ def initialize(context, message, data = Aws::EmptyStructure.new)
330
+ super(context, message, data)
331
+ end
332
+
333
+ # @return [String]
334
+ def message
335
+ @message || @data[:message]
336
+ end
337
+ end
338
+
307
339
  class StateMachineAlreadyExists < ServiceError
308
340
 
309
341
  # @param [Seahorse::Client::RequestContext] context
@@ -60,10 +60,16 @@ module Aws::States
60
60
  Aws::States::Endpoints::CreateActivity.build(context)
61
61
  when :create_state_machine
62
62
  Aws::States::Endpoints::CreateStateMachine.build(context)
63
+ when :create_state_machine_alias
64
+ Aws::States::Endpoints::CreateStateMachineAlias.build(context)
63
65
  when :delete_activity
64
66
  Aws::States::Endpoints::DeleteActivity.build(context)
65
67
  when :delete_state_machine
66
68
  Aws::States::Endpoints::DeleteStateMachine.build(context)
69
+ when :delete_state_machine_alias
70
+ Aws::States::Endpoints::DeleteStateMachineAlias.build(context)
71
+ when :delete_state_machine_version
72
+ Aws::States::Endpoints::DeleteStateMachineVersion.build(context)
67
73
  when :describe_activity
68
74
  Aws::States::Endpoints::DescribeActivity.build(context)
69
75
  when :describe_execution
@@ -72,6 +78,8 @@ module Aws::States
72
78
  Aws::States::Endpoints::DescribeMapRun.build(context)
73
79
  when :describe_state_machine
74
80
  Aws::States::Endpoints::DescribeStateMachine.build(context)
81
+ when :describe_state_machine_alias
82
+ Aws::States::Endpoints::DescribeStateMachineAlias.build(context)
75
83
  when :describe_state_machine_for_execution
76
84
  Aws::States::Endpoints::DescribeStateMachineForExecution.build(context)
77
85
  when :get_activity_task
@@ -84,10 +92,16 @@ module Aws::States
84
92
  Aws::States::Endpoints::ListExecutions.build(context)
85
93
  when :list_map_runs
86
94
  Aws::States::Endpoints::ListMapRuns.build(context)
95
+ when :list_state_machine_aliases
96
+ Aws::States::Endpoints::ListStateMachineAliases.build(context)
97
+ when :list_state_machine_versions
98
+ Aws::States::Endpoints::ListStateMachineVersions.build(context)
87
99
  when :list_state_machines
88
100
  Aws::States::Endpoints::ListStateMachines.build(context)
89
101
  when :list_tags_for_resource
90
102
  Aws::States::Endpoints::ListTagsForResource.build(context)
103
+ when :publish_state_machine_version
104
+ Aws::States::Endpoints::PublishStateMachineVersion.build(context)
91
105
  when :send_task_failure
92
106
  Aws::States::Endpoints::SendTaskFailure.build(context)
93
107
  when :send_task_heartbeat
@@ -108,6 +122,8 @@ module Aws::States
108
122
  Aws::States::Endpoints::UpdateMapRun.build(context)
109
123
  when :update_state_machine
110
124
  Aws::States::Endpoints::UpdateStateMachine.build(context)
125
+ when :update_state_machine_alias
126
+ Aws::States::Endpoints::UpdateStateMachineAlias.build(context)
111
127
  end
112
128
  end
113
129
  end