aws-sdk-imagebuilder 1.54.0 → 1.56.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +511 -14
- data/lib/aws-sdk-imagebuilder/client_api.rb +331 -0
- data/lib/aws-sdk-imagebuilder/endpoints.rb +98 -0
- data/lib/aws-sdk-imagebuilder/plugins/endpoints.rb +17 -2
- data/lib/aws-sdk-imagebuilder/types.rb +816 -37
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- metadata +2 -2
@@ -152,6 +152,20 @@ module Aws::Imagebuilder
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
+
class CreateWorkflow
|
156
|
+
def self.build(context)
|
157
|
+
unless context.config.regional_endpoint
|
158
|
+
endpoint = context.config.endpoint.to_s
|
159
|
+
end
|
160
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
161
|
+
region: context.config.region,
|
162
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
163
|
+
use_fips: context.config.use_fips_endpoint,
|
164
|
+
endpoint: endpoint,
|
165
|
+
)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
155
169
|
class DeleteComponent
|
156
170
|
def self.build(context)
|
157
171
|
unless context.config.regional_endpoint
|
@@ -264,6 +278,20 @@ module Aws::Imagebuilder
|
|
264
278
|
end
|
265
279
|
end
|
266
280
|
|
281
|
+
class DeleteWorkflow
|
282
|
+
def self.build(context)
|
283
|
+
unless context.config.regional_endpoint
|
284
|
+
endpoint = context.config.endpoint.to_s
|
285
|
+
end
|
286
|
+
Aws::Imagebuilder::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
|
+
|
267
295
|
class GetComponent
|
268
296
|
def self.build(context)
|
269
297
|
unless context.config.regional_endpoint
|
@@ -446,6 +474,20 @@ module Aws::Imagebuilder
|
|
446
474
|
end
|
447
475
|
end
|
448
476
|
|
477
|
+
class GetWorkflow
|
478
|
+
def self.build(context)
|
479
|
+
unless context.config.regional_endpoint
|
480
|
+
endpoint = context.config.endpoint.to_s
|
481
|
+
end
|
482
|
+
Aws::Imagebuilder::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
|
+
|
449
491
|
class GetWorkflowExecution
|
450
492
|
def self.build(context)
|
451
493
|
unless context.config.regional_endpoint
|
@@ -740,6 +782,34 @@ module Aws::Imagebuilder
|
|
740
782
|
end
|
741
783
|
end
|
742
784
|
|
785
|
+
class ListWaitingWorkflowSteps
|
786
|
+
def self.build(context)
|
787
|
+
unless context.config.regional_endpoint
|
788
|
+
endpoint = context.config.endpoint.to_s
|
789
|
+
end
|
790
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
791
|
+
region: context.config.region,
|
792
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
793
|
+
use_fips: context.config.use_fips_endpoint,
|
794
|
+
endpoint: endpoint,
|
795
|
+
)
|
796
|
+
end
|
797
|
+
end
|
798
|
+
|
799
|
+
class ListWorkflowBuildVersions
|
800
|
+
def self.build(context)
|
801
|
+
unless context.config.regional_endpoint
|
802
|
+
endpoint = context.config.endpoint.to_s
|
803
|
+
end
|
804
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
805
|
+
region: context.config.region,
|
806
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
807
|
+
use_fips: context.config.use_fips_endpoint,
|
808
|
+
endpoint: endpoint,
|
809
|
+
)
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
743
813
|
class ListWorkflowExecutions
|
744
814
|
def self.build(context)
|
745
815
|
unless context.config.regional_endpoint
|
@@ -768,6 +838,20 @@ module Aws::Imagebuilder
|
|
768
838
|
end
|
769
839
|
end
|
770
840
|
|
841
|
+
class ListWorkflows
|
842
|
+
def self.build(context)
|
843
|
+
unless context.config.regional_endpoint
|
844
|
+
endpoint = context.config.endpoint.to_s
|
845
|
+
end
|
846
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
847
|
+
region: context.config.region,
|
848
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
849
|
+
use_fips: context.config.use_fips_endpoint,
|
850
|
+
endpoint: endpoint,
|
851
|
+
)
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
771
855
|
class PutComponentPolicy
|
772
856
|
def self.build(context)
|
773
857
|
unless context.config.regional_endpoint
|
@@ -824,6 +908,20 @@ module Aws::Imagebuilder
|
|
824
908
|
end
|
825
909
|
end
|
826
910
|
|
911
|
+
class SendWorkflowStepAction
|
912
|
+
def self.build(context)
|
913
|
+
unless context.config.regional_endpoint
|
914
|
+
endpoint = context.config.endpoint.to_s
|
915
|
+
end
|
916
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
917
|
+
region: context.config.region,
|
918
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
919
|
+
use_fips: context.config.use_fips_endpoint,
|
920
|
+
endpoint: endpoint,
|
921
|
+
)
|
922
|
+
end
|
923
|
+
end
|
924
|
+
|
827
925
|
class StartImagePipelineExecution
|
828
926
|
def self.build(context)
|
829
927
|
unless context.config.regional_endpoint
|
@@ -25,16 +25,17 @@ module Aws::Imagebuilder
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -76,6 +77,8 @@ module Aws::Imagebuilder
|
|
76
77
|
Aws::Imagebuilder::Endpoints::CreateInfrastructureConfiguration.build(context)
|
77
78
|
when :create_lifecycle_policy
|
78
79
|
Aws::Imagebuilder::Endpoints::CreateLifecyclePolicy.build(context)
|
80
|
+
when :create_workflow
|
81
|
+
Aws::Imagebuilder::Endpoints::CreateWorkflow.build(context)
|
79
82
|
when :delete_component
|
80
83
|
Aws::Imagebuilder::Endpoints::DeleteComponent.build(context)
|
81
84
|
when :delete_container_recipe
|
@@ -92,6 +95,8 @@ module Aws::Imagebuilder
|
|
92
95
|
Aws::Imagebuilder::Endpoints::DeleteInfrastructureConfiguration.build(context)
|
93
96
|
when :delete_lifecycle_policy
|
94
97
|
Aws::Imagebuilder::Endpoints::DeleteLifecyclePolicy.build(context)
|
98
|
+
when :delete_workflow
|
99
|
+
Aws::Imagebuilder::Endpoints::DeleteWorkflow.build(context)
|
95
100
|
when :get_component
|
96
101
|
Aws::Imagebuilder::Endpoints::GetComponent.build(context)
|
97
102
|
when :get_component_policy
|
@@ -118,6 +123,8 @@ module Aws::Imagebuilder
|
|
118
123
|
Aws::Imagebuilder::Endpoints::GetLifecycleExecution.build(context)
|
119
124
|
when :get_lifecycle_policy
|
120
125
|
Aws::Imagebuilder::Endpoints::GetLifecyclePolicy.build(context)
|
126
|
+
when :get_workflow
|
127
|
+
Aws::Imagebuilder::Endpoints::GetWorkflow.build(context)
|
121
128
|
when :get_workflow_execution
|
122
129
|
Aws::Imagebuilder::Endpoints::GetWorkflowExecution.build(context)
|
123
130
|
when :get_workflow_step_execution
|
@@ -160,10 +167,16 @@ module Aws::Imagebuilder
|
|
160
167
|
Aws::Imagebuilder::Endpoints::ListLifecyclePolicies.build(context)
|
161
168
|
when :list_tags_for_resource
|
162
169
|
Aws::Imagebuilder::Endpoints::ListTagsForResource.build(context)
|
170
|
+
when :list_waiting_workflow_steps
|
171
|
+
Aws::Imagebuilder::Endpoints::ListWaitingWorkflowSteps.build(context)
|
172
|
+
when :list_workflow_build_versions
|
173
|
+
Aws::Imagebuilder::Endpoints::ListWorkflowBuildVersions.build(context)
|
163
174
|
when :list_workflow_executions
|
164
175
|
Aws::Imagebuilder::Endpoints::ListWorkflowExecutions.build(context)
|
165
176
|
when :list_workflow_step_executions
|
166
177
|
Aws::Imagebuilder::Endpoints::ListWorkflowStepExecutions.build(context)
|
178
|
+
when :list_workflows
|
179
|
+
Aws::Imagebuilder::Endpoints::ListWorkflows.build(context)
|
167
180
|
when :put_component_policy
|
168
181
|
Aws::Imagebuilder::Endpoints::PutComponentPolicy.build(context)
|
169
182
|
when :put_container_recipe_policy
|
@@ -172,6 +185,8 @@ module Aws::Imagebuilder
|
|
172
185
|
Aws::Imagebuilder::Endpoints::PutImagePolicy.build(context)
|
173
186
|
when :put_image_recipe_policy
|
174
187
|
Aws::Imagebuilder::Endpoints::PutImageRecipePolicy.build(context)
|
188
|
+
when :send_workflow_step_action
|
189
|
+
Aws::Imagebuilder::Endpoints::SendWorkflowStepAction.build(context)
|
175
190
|
when :start_image_pipeline_execution
|
176
191
|
Aws::Imagebuilder::Endpoints::StartImagePipelineExecution.build(context)
|
177
192
|
when :start_resource_state_update
|