aws-sdk-imagebuilder 1.52.0 → 1.53.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +779 -34
- data/lib/aws-sdk-imagebuilder/client_api.rb +464 -0
- data/lib/aws-sdk-imagebuilder/endpoint_provider.rb +2 -2
- data/lib/aws-sdk-imagebuilder/endpoints.rb +140 -0
- data/lib/aws-sdk-imagebuilder/plugins/endpoints.rb +20 -0
- data/lib/aws-sdk-imagebuilder/types.rb +1341 -114
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- metadata +2 -2
@@ -32,8 +32,8 @@ module Aws::Imagebuilder
|
|
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://imagebuilder.#{region}.amazonaws.com", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
return Aws::Endpoints::Endpoint.new(url: "https://imagebuilder-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
@@ -26,6 +26,20 @@ module Aws::Imagebuilder
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
+
class CancelLifecycleExecution
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
35
|
+
region: context.config.region,
|
36
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
37
|
+
use_fips: context.config.use_fips_endpoint,
|
38
|
+
endpoint: endpoint,
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
29
43
|
class CreateComponent
|
30
44
|
def self.build(context)
|
31
45
|
unless context.config.regional_endpoint
|
@@ -124,6 +138,20 @@ module Aws::Imagebuilder
|
|
124
138
|
end
|
125
139
|
end
|
126
140
|
|
141
|
+
class CreateLifecyclePolicy
|
142
|
+
def self.build(context)
|
143
|
+
unless context.config.regional_endpoint
|
144
|
+
endpoint = context.config.endpoint.to_s
|
145
|
+
end
|
146
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
147
|
+
region: context.config.region,
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
150
|
+
endpoint: endpoint,
|
151
|
+
)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
127
155
|
class DeleteComponent
|
128
156
|
def self.build(context)
|
129
157
|
unless context.config.regional_endpoint
|
@@ -222,6 +250,20 @@ module Aws::Imagebuilder
|
|
222
250
|
end
|
223
251
|
end
|
224
252
|
|
253
|
+
class DeleteLifecyclePolicy
|
254
|
+
def self.build(context)
|
255
|
+
unless context.config.regional_endpoint
|
256
|
+
endpoint = context.config.endpoint.to_s
|
257
|
+
end
|
258
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
259
|
+
region: context.config.region,
|
260
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
endpoint: endpoint,
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
225
267
|
class GetComponent
|
226
268
|
def self.build(context)
|
227
269
|
unless context.config.regional_endpoint
|
@@ -376,6 +418,34 @@ module Aws::Imagebuilder
|
|
376
418
|
end
|
377
419
|
end
|
378
420
|
|
421
|
+
class GetLifecycleExecution
|
422
|
+
def self.build(context)
|
423
|
+
unless context.config.regional_endpoint
|
424
|
+
endpoint = context.config.endpoint.to_s
|
425
|
+
end
|
426
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
427
|
+
region: context.config.region,
|
428
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
429
|
+
use_fips: context.config.use_fips_endpoint,
|
430
|
+
endpoint: endpoint,
|
431
|
+
)
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
class GetLifecyclePolicy
|
436
|
+
def self.build(context)
|
437
|
+
unless context.config.regional_endpoint
|
438
|
+
endpoint = context.config.endpoint.to_s
|
439
|
+
end
|
440
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
441
|
+
region: context.config.region,
|
442
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
443
|
+
use_fips: context.config.use_fips_endpoint,
|
444
|
+
endpoint: endpoint,
|
445
|
+
)
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
379
449
|
class GetWorkflowExecution
|
380
450
|
def self.build(context)
|
381
451
|
unless context.config.regional_endpoint
|
@@ -614,6 +684,48 @@ module Aws::Imagebuilder
|
|
614
684
|
end
|
615
685
|
end
|
616
686
|
|
687
|
+
class ListLifecycleExecutionResources
|
688
|
+
def self.build(context)
|
689
|
+
unless context.config.regional_endpoint
|
690
|
+
endpoint = context.config.endpoint.to_s
|
691
|
+
end
|
692
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
693
|
+
region: context.config.region,
|
694
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
695
|
+
use_fips: context.config.use_fips_endpoint,
|
696
|
+
endpoint: endpoint,
|
697
|
+
)
|
698
|
+
end
|
699
|
+
end
|
700
|
+
|
701
|
+
class ListLifecycleExecutions
|
702
|
+
def self.build(context)
|
703
|
+
unless context.config.regional_endpoint
|
704
|
+
endpoint = context.config.endpoint.to_s
|
705
|
+
end
|
706
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
707
|
+
region: context.config.region,
|
708
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
709
|
+
use_fips: context.config.use_fips_endpoint,
|
710
|
+
endpoint: endpoint,
|
711
|
+
)
|
712
|
+
end
|
713
|
+
end
|
714
|
+
|
715
|
+
class ListLifecyclePolicies
|
716
|
+
def self.build(context)
|
717
|
+
unless context.config.regional_endpoint
|
718
|
+
endpoint = context.config.endpoint.to_s
|
719
|
+
end
|
720
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
721
|
+
region: context.config.region,
|
722
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
723
|
+
use_fips: context.config.use_fips_endpoint,
|
724
|
+
endpoint: endpoint,
|
725
|
+
)
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
617
729
|
class ListTagsForResource
|
618
730
|
def self.build(context)
|
619
731
|
unless context.config.regional_endpoint
|
@@ -726,6 +838,20 @@ module Aws::Imagebuilder
|
|
726
838
|
end
|
727
839
|
end
|
728
840
|
|
841
|
+
class StartResourceStateUpdate
|
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
|
+
|
729
855
|
class TagResource
|
730
856
|
def self.build(context)
|
731
857
|
unless context.config.regional_endpoint
|
@@ -796,5 +922,19 @@ module Aws::Imagebuilder
|
|
796
922
|
end
|
797
923
|
end
|
798
924
|
|
925
|
+
class UpdateLifecyclePolicy
|
926
|
+
def self.build(context)
|
927
|
+
unless context.config.regional_endpoint
|
928
|
+
endpoint = context.config.endpoint.to_s
|
929
|
+
end
|
930
|
+
Aws::Imagebuilder::EndpointParameters.new(
|
931
|
+
region: context.config.region,
|
932
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
933
|
+
use_fips: context.config.use_fips_endpoint,
|
934
|
+
endpoint: endpoint,
|
935
|
+
)
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
799
939
|
end
|
800
940
|
end
|
@@ -58,6 +58,8 @@ module Aws::Imagebuilder
|
|
58
58
|
case context.operation_name
|
59
59
|
when :cancel_image_creation
|
60
60
|
Aws::Imagebuilder::Endpoints::CancelImageCreation.build(context)
|
61
|
+
when :cancel_lifecycle_execution
|
62
|
+
Aws::Imagebuilder::Endpoints::CancelLifecycleExecution.build(context)
|
61
63
|
when :create_component
|
62
64
|
Aws::Imagebuilder::Endpoints::CreateComponent.build(context)
|
63
65
|
when :create_container_recipe
|
@@ -72,6 +74,8 @@ module Aws::Imagebuilder
|
|
72
74
|
Aws::Imagebuilder::Endpoints::CreateImageRecipe.build(context)
|
73
75
|
when :create_infrastructure_configuration
|
74
76
|
Aws::Imagebuilder::Endpoints::CreateInfrastructureConfiguration.build(context)
|
77
|
+
when :create_lifecycle_policy
|
78
|
+
Aws::Imagebuilder::Endpoints::CreateLifecyclePolicy.build(context)
|
75
79
|
when :delete_component
|
76
80
|
Aws::Imagebuilder::Endpoints::DeleteComponent.build(context)
|
77
81
|
when :delete_container_recipe
|
@@ -86,6 +90,8 @@ module Aws::Imagebuilder
|
|
86
90
|
Aws::Imagebuilder::Endpoints::DeleteImageRecipe.build(context)
|
87
91
|
when :delete_infrastructure_configuration
|
88
92
|
Aws::Imagebuilder::Endpoints::DeleteInfrastructureConfiguration.build(context)
|
93
|
+
when :delete_lifecycle_policy
|
94
|
+
Aws::Imagebuilder::Endpoints::DeleteLifecyclePolicy.build(context)
|
89
95
|
when :get_component
|
90
96
|
Aws::Imagebuilder::Endpoints::GetComponent.build(context)
|
91
97
|
when :get_component_policy
|
@@ -108,6 +114,10 @@ module Aws::Imagebuilder
|
|
108
114
|
Aws::Imagebuilder::Endpoints::GetImageRecipePolicy.build(context)
|
109
115
|
when :get_infrastructure_configuration
|
110
116
|
Aws::Imagebuilder::Endpoints::GetInfrastructureConfiguration.build(context)
|
117
|
+
when :get_lifecycle_execution
|
118
|
+
Aws::Imagebuilder::Endpoints::GetLifecycleExecution.build(context)
|
119
|
+
when :get_lifecycle_policy
|
120
|
+
Aws::Imagebuilder::Endpoints::GetLifecyclePolicy.build(context)
|
111
121
|
when :get_workflow_execution
|
112
122
|
Aws::Imagebuilder::Endpoints::GetWorkflowExecution.build(context)
|
113
123
|
when :get_workflow_step_execution
|
@@ -142,6 +152,12 @@ module Aws::Imagebuilder
|
|
142
152
|
Aws::Imagebuilder::Endpoints::ListImages.build(context)
|
143
153
|
when :list_infrastructure_configurations
|
144
154
|
Aws::Imagebuilder::Endpoints::ListInfrastructureConfigurations.build(context)
|
155
|
+
when :list_lifecycle_execution_resources
|
156
|
+
Aws::Imagebuilder::Endpoints::ListLifecycleExecutionResources.build(context)
|
157
|
+
when :list_lifecycle_executions
|
158
|
+
Aws::Imagebuilder::Endpoints::ListLifecycleExecutions.build(context)
|
159
|
+
when :list_lifecycle_policies
|
160
|
+
Aws::Imagebuilder::Endpoints::ListLifecyclePolicies.build(context)
|
145
161
|
when :list_tags_for_resource
|
146
162
|
Aws::Imagebuilder::Endpoints::ListTagsForResource.build(context)
|
147
163
|
when :list_workflow_executions
|
@@ -158,6 +174,8 @@ module Aws::Imagebuilder
|
|
158
174
|
Aws::Imagebuilder::Endpoints::PutImageRecipePolicy.build(context)
|
159
175
|
when :start_image_pipeline_execution
|
160
176
|
Aws::Imagebuilder::Endpoints::StartImagePipelineExecution.build(context)
|
177
|
+
when :start_resource_state_update
|
178
|
+
Aws::Imagebuilder::Endpoints::StartResourceStateUpdate.build(context)
|
161
179
|
when :tag_resource
|
162
180
|
Aws::Imagebuilder::Endpoints::TagResource.build(context)
|
163
181
|
when :untag_resource
|
@@ -168,6 +186,8 @@ module Aws::Imagebuilder
|
|
168
186
|
Aws::Imagebuilder::Endpoints::UpdateImagePipeline.build(context)
|
169
187
|
when :update_infrastructure_configuration
|
170
188
|
Aws::Imagebuilder::Endpoints::UpdateInfrastructureConfiguration.build(context)
|
189
|
+
when :update_lifecycle_policy
|
190
|
+
Aws::Imagebuilder::Endpoints::UpdateLifecyclePolicy.build(context)
|
171
191
|
end
|
172
192
|
end
|
173
193
|
end
|