aws-sdk-imagebuilder 1.92.0 → 1.93.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-imagebuilder/client.rb +178 -5
- data/lib/aws-sdk-imagebuilder/client_api.rb +97 -2
- data/lib/aws-sdk-imagebuilder/errors.rb +48 -0
- data/lib/aws-sdk-imagebuilder/types.rb +302 -32
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/sig/client.rbs +44 -2
- data/sig/errors.rbs +9 -0
- data/sig/types.rbs +64 -0
- metadata +1 -1
data/sig/client.rbs
CHANGED
|
@@ -107,6 +107,7 @@ module Aws
|
|
|
107
107
|
def request_id: () -> ::String
|
|
108
108
|
def client_token: () -> ::String
|
|
109
109
|
def component_build_version_arn: () -> ::String
|
|
110
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
110
111
|
end
|
|
111
112
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#create_component-instance_method
|
|
112
113
|
def create_component: (
|
|
@@ -120,7 +121,8 @@ module Aws
|
|
|
120
121
|
?uri: ::String,
|
|
121
122
|
?kms_key_id: ::String,
|
|
122
123
|
?tags: Hash[::String, ::String],
|
|
123
|
-
client_token: ::String
|
|
124
|
+
client_token: ::String,
|
|
125
|
+
?dry_run: bool
|
|
124
126
|
) -> _CreateComponentResponseSuccess
|
|
125
127
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateComponentResponseSuccess
|
|
126
128
|
|
|
@@ -129,6 +131,7 @@ module Aws
|
|
|
129
131
|
def request_id: () -> ::String
|
|
130
132
|
def client_token: () -> ::String
|
|
131
133
|
def container_recipe_arn: () -> ::String
|
|
134
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
132
135
|
end
|
|
133
136
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#create_container_recipe-instance_method
|
|
134
137
|
def create_container_recipe: (
|
|
@@ -265,6 +268,7 @@ module Aws
|
|
|
265
268
|
def request_id: () -> ::String
|
|
266
269
|
def client_token: () -> ::String
|
|
267
270
|
def image_build_version_arn: () -> ::String
|
|
271
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
268
272
|
end
|
|
269
273
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#create_image-instance_method
|
|
270
274
|
def create_image: (
|
|
@@ -369,6 +373,7 @@ module Aws
|
|
|
369
373
|
def request_id: () -> ::String
|
|
370
374
|
def client_token: () -> ::String
|
|
371
375
|
def image_recipe_arn: () -> ::String
|
|
376
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
372
377
|
end
|
|
373
378
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#create_image_recipe-instance_method
|
|
374
379
|
def create_image_recipe: (
|
|
@@ -517,6 +522,7 @@ module Aws
|
|
|
517
522
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateWorkflowResponse]
|
|
518
523
|
def client_token: () -> ::String
|
|
519
524
|
def workflow_build_version_arn: () -> ::String
|
|
525
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
520
526
|
end
|
|
521
527
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#create_workflow-instance_method
|
|
522
528
|
def create_workflow: (
|
|
@@ -529,7 +535,8 @@ module Aws
|
|
|
529
535
|
?kms_key_id: ::String,
|
|
530
536
|
?tags: Hash[::String, ::String],
|
|
531
537
|
client_token: ::String,
|
|
532
|
-
type: ("BUILD" | "TEST" | "DISTRIBUTION")
|
|
538
|
+
type: ("BUILD" | "TEST" | "DISTRIBUTION"),
|
|
539
|
+
?dry_run: bool
|
|
533
540
|
) -> _CreateWorkflowResponseSuccess
|
|
534
541
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkflowResponseSuccess
|
|
535
542
|
|
|
@@ -630,10 +637,29 @@ module Aws
|
|
|
630
637
|
) -> _DeleteWorkflowResponseSuccess
|
|
631
638
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteWorkflowResponseSuccess
|
|
632
639
|
|
|
640
|
+
interface _DistributeImageResponseSuccess
|
|
641
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DistributeImageResponse]
|
|
642
|
+
def client_token: () -> ::String
|
|
643
|
+
def image_build_version_arn: () -> ::String
|
|
644
|
+
end
|
|
645
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#distribute_image-instance_method
|
|
646
|
+
def distribute_image: (
|
|
647
|
+
source_image: ::String,
|
|
648
|
+
distribution_configuration_arn: ::String,
|
|
649
|
+
execution_role: ::String,
|
|
650
|
+
?tags: Hash[::String, ::String],
|
|
651
|
+
client_token: ::String,
|
|
652
|
+
?logging_configuration: {
|
|
653
|
+
log_group_name: ::String?
|
|
654
|
+
}
|
|
655
|
+
) -> _DistributeImageResponseSuccess
|
|
656
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DistributeImageResponseSuccess
|
|
657
|
+
|
|
633
658
|
interface _GetComponentResponseSuccess
|
|
634
659
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetComponentResponse]
|
|
635
660
|
def request_id: () -> ::String
|
|
636
661
|
def component: () -> Types::Component
|
|
662
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
637
663
|
end
|
|
638
664
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#get_component-instance_method
|
|
639
665
|
def get_component: (
|
|
@@ -656,6 +682,7 @@ module Aws
|
|
|
656
682
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetContainerRecipeResponse]
|
|
657
683
|
def request_id: () -> ::String
|
|
658
684
|
def container_recipe: () -> Types::ContainerRecipe
|
|
685
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
659
686
|
end
|
|
660
687
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#get_container_recipe-instance_method
|
|
661
688
|
def get_container_recipe: (
|
|
@@ -689,6 +716,7 @@ module Aws
|
|
|
689
716
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetImageResponse]
|
|
690
717
|
def request_id: () -> ::String
|
|
691
718
|
def image: () -> Types::Image
|
|
719
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
692
720
|
end
|
|
693
721
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#get_image-instance_method
|
|
694
722
|
def get_image: (
|
|
@@ -722,6 +750,7 @@ module Aws
|
|
|
722
750
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetImageRecipeResponse]
|
|
723
751
|
def request_id: () -> ::String
|
|
724
752
|
def image_recipe: () -> Types::ImageRecipe
|
|
753
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
725
754
|
end
|
|
726
755
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#get_image_recipe-instance_method
|
|
727
756
|
def get_image_recipe: (
|
|
@@ -787,6 +816,7 @@ module Aws
|
|
|
787
816
|
interface _GetWorkflowResponseSuccess
|
|
788
817
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowResponse]
|
|
789
818
|
def workflow: () -> Types::Workflow
|
|
819
|
+
def latest_version_references: () -> Types::LatestVersionReferences
|
|
790
820
|
end
|
|
791
821
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#get_workflow-instance_method
|
|
792
822
|
def get_workflow: (
|
|
@@ -1339,6 +1369,18 @@ module Aws
|
|
|
1339
1369
|
) -> _PutImageRecipePolicyResponseSuccess
|
|
1340
1370
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutImageRecipePolicyResponseSuccess
|
|
1341
1371
|
|
|
1372
|
+
interface _RetryImageResponseSuccess
|
|
1373
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RetryImageResponse]
|
|
1374
|
+
def client_token: () -> ::String
|
|
1375
|
+
def image_build_version_arn: () -> ::String
|
|
1376
|
+
end
|
|
1377
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#retry_image-instance_method
|
|
1378
|
+
def retry_image: (
|
|
1379
|
+
image_build_version_arn: ::String,
|
|
1380
|
+
client_token: ::String
|
|
1381
|
+
) -> _RetryImageResponseSuccess
|
|
1382
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RetryImageResponseSuccess
|
|
1383
|
+
|
|
1342
1384
|
interface _SendWorkflowStepActionResponseSuccess
|
|
1343
1385
|
include ::Seahorse::Client::_ResponseSuccess[Types::SendWorkflowStepActionResponse]
|
|
1344
1386
|
def step_execution_id: () -> ::String
|
data/sig/errors.rbs
CHANGED
|
@@ -11,12 +11,18 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
14
17
|
class CallRateLimitExceededException < ::Aws::Errors::ServiceError
|
|
15
18
|
def message: () -> ::String
|
|
16
19
|
end
|
|
17
20
|
class ClientException < ::Aws::Errors::ServiceError
|
|
18
21
|
def message: () -> ::String
|
|
19
22
|
end
|
|
23
|
+
class DryRunOperationException < ::Aws::Errors::ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
20
26
|
class ForbiddenException < ::Aws::Errors::ServiceError
|
|
21
27
|
def message: () -> ::String
|
|
22
28
|
end
|
|
@@ -62,6 +68,9 @@ module Aws
|
|
|
62
68
|
class ServiceUnavailableException < ::Aws::Errors::ServiceError
|
|
63
69
|
def message: () -> ::String
|
|
64
70
|
end
|
|
71
|
+
class TooManyRequestsException < ::Aws::Errors::ServiceError
|
|
72
|
+
def message: () -> ::String
|
|
73
|
+
end
|
|
65
74
|
end
|
|
66
75
|
end
|
|
67
76
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
module Aws::Imagebuilder
|
|
9
9
|
module Types
|
|
10
10
|
|
|
11
|
+
class AccessDeniedException
|
|
12
|
+
attr_accessor message: ::String
|
|
13
|
+
SENSITIVE: []
|
|
14
|
+
end
|
|
15
|
+
|
|
11
16
|
class AccountAggregation
|
|
12
17
|
attr_accessor account_id: ::String
|
|
13
18
|
attr_accessor severity_counts: Types::SeverityCounts
|
|
@@ -220,6 +225,7 @@ module Aws::Imagebuilder
|
|
|
220
225
|
attr_accessor kms_key_id: ::String
|
|
221
226
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
222
227
|
attr_accessor client_token: ::String
|
|
228
|
+
attr_accessor dry_run: bool
|
|
223
229
|
SENSITIVE: []
|
|
224
230
|
end
|
|
225
231
|
|
|
@@ -227,6 +233,7 @@ module Aws::Imagebuilder
|
|
|
227
233
|
attr_accessor request_id: ::String
|
|
228
234
|
attr_accessor client_token: ::String
|
|
229
235
|
attr_accessor component_build_version_arn: ::String
|
|
236
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
230
237
|
SENSITIVE: []
|
|
231
238
|
end
|
|
232
239
|
|
|
@@ -254,6 +261,7 @@ module Aws::Imagebuilder
|
|
|
254
261
|
attr_accessor request_id: ::String
|
|
255
262
|
attr_accessor client_token: ::String
|
|
256
263
|
attr_accessor container_recipe_arn: ::String
|
|
264
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
257
265
|
SENSITIVE: []
|
|
258
266
|
end
|
|
259
267
|
|
|
@@ -319,6 +327,7 @@ module Aws::Imagebuilder
|
|
|
319
327
|
attr_accessor request_id: ::String
|
|
320
328
|
attr_accessor client_token: ::String
|
|
321
329
|
attr_accessor image_recipe_arn: ::String
|
|
330
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
322
331
|
SENSITIVE: []
|
|
323
332
|
end
|
|
324
333
|
|
|
@@ -342,6 +351,7 @@ module Aws::Imagebuilder
|
|
|
342
351
|
attr_accessor request_id: ::String
|
|
343
352
|
attr_accessor client_token: ::String
|
|
344
353
|
attr_accessor image_build_version_arn: ::String
|
|
354
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
345
355
|
SENSITIVE: []
|
|
346
356
|
end
|
|
347
357
|
|
|
@@ -401,12 +411,14 @@ module Aws::Imagebuilder
|
|
|
401
411
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
402
412
|
attr_accessor client_token: ::String
|
|
403
413
|
attr_accessor type: ("BUILD" | "TEST" | "DISTRIBUTION")
|
|
414
|
+
attr_accessor dry_run: bool
|
|
404
415
|
SENSITIVE: []
|
|
405
416
|
end
|
|
406
417
|
|
|
407
418
|
class CreateWorkflowResponse
|
|
408
419
|
attr_accessor client_token: ::String
|
|
409
420
|
attr_accessor workflow_build_version_arn: ::String
|
|
421
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
410
422
|
SENSITIVE: []
|
|
411
423
|
end
|
|
412
424
|
|
|
@@ -531,6 +543,22 @@ module Aws::Imagebuilder
|
|
|
531
543
|
SENSITIVE: []
|
|
532
544
|
end
|
|
533
545
|
|
|
546
|
+
class DistributeImageRequest
|
|
547
|
+
attr_accessor source_image: ::String
|
|
548
|
+
attr_accessor distribution_configuration_arn: ::String
|
|
549
|
+
attr_accessor execution_role: ::String
|
|
550
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
|
551
|
+
attr_accessor client_token: ::String
|
|
552
|
+
attr_accessor logging_configuration: Types::ImageLoggingConfiguration
|
|
553
|
+
SENSITIVE: []
|
|
554
|
+
end
|
|
555
|
+
|
|
556
|
+
class DistributeImageResponse
|
|
557
|
+
attr_accessor client_token: ::String
|
|
558
|
+
attr_accessor image_build_version_arn: ::String
|
|
559
|
+
SENSITIVE: []
|
|
560
|
+
end
|
|
561
|
+
|
|
534
562
|
class Distribution
|
|
535
563
|
attr_accessor region: ::String
|
|
536
564
|
attr_accessor ami_distribution_configuration: Types::AmiDistributionConfiguration
|
|
@@ -566,6 +594,11 @@ module Aws::Imagebuilder
|
|
|
566
594
|
SENSITIVE: []
|
|
567
595
|
end
|
|
568
596
|
|
|
597
|
+
class DryRunOperationException
|
|
598
|
+
attr_accessor message: ::String
|
|
599
|
+
SENSITIVE: []
|
|
600
|
+
end
|
|
601
|
+
|
|
569
602
|
class EbsInstanceBlockDeviceSpecification
|
|
570
603
|
attr_accessor encrypted: bool
|
|
571
604
|
attr_accessor delete_on_termination: bool
|
|
@@ -635,6 +668,7 @@ module Aws::Imagebuilder
|
|
|
635
668
|
class GetComponentResponse
|
|
636
669
|
attr_accessor request_id: ::String
|
|
637
670
|
attr_accessor component: Types::Component
|
|
671
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
638
672
|
SENSITIVE: []
|
|
639
673
|
end
|
|
640
674
|
|
|
@@ -657,6 +691,7 @@ module Aws::Imagebuilder
|
|
|
657
691
|
class GetContainerRecipeResponse
|
|
658
692
|
attr_accessor request_id: ::String
|
|
659
693
|
attr_accessor container_recipe: Types::ContainerRecipe
|
|
694
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
660
695
|
SENSITIVE: []
|
|
661
696
|
end
|
|
662
697
|
|
|
@@ -712,6 +747,7 @@ module Aws::Imagebuilder
|
|
|
712
747
|
class GetImageRecipeResponse
|
|
713
748
|
attr_accessor request_id: ::String
|
|
714
749
|
attr_accessor image_recipe: Types::ImageRecipe
|
|
750
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
715
751
|
SENSITIVE: []
|
|
716
752
|
end
|
|
717
753
|
|
|
@@ -723,6 +759,7 @@ module Aws::Imagebuilder
|
|
|
723
759
|
class GetImageResponse
|
|
724
760
|
attr_accessor request_id: ::String
|
|
725
761
|
attr_accessor image: Types::Image
|
|
762
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
726
763
|
SENSITIVE: []
|
|
727
764
|
end
|
|
728
765
|
|
|
@@ -801,6 +838,7 @@ module Aws::Imagebuilder
|
|
|
801
838
|
|
|
802
839
|
class GetWorkflowResponse
|
|
803
840
|
attr_accessor workflow: Types::Workflow
|
|
841
|
+
attr_accessor latest_version_references: Types::LatestVersionReferences
|
|
804
842
|
SENSITIVE: []
|
|
805
843
|
end
|
|
806
844
|
|
|
@@ -1190,6 +1228,14 @@ module Aws::Imagebuilder
|
|
|
1190
1228
|
SENSITIVE: []
|
|
1191
1229
|
end
|
|
1192
1230
|
|
|
1231
|
+
class LatestVersionReferences
|
|
1232
|
+
attr_accessor latest_version_arn: ::String
|
|
1233
|
+
attr_accessor latest_major_version_arn: ::String
|
|
1234
|
+
attr_accessor latest_minor_version_arn: ::String
|
|
1235
|
+
attr_accessor latest_patch_version_arn: ::String
|
|
1236
|
+
SENSITIVE: []
|
|
1237
|
+
end
|
|
1238
|
+
|
|
1193
1239
|
class LaunchPermissionConfiguration
|
|
1194
1240
|
attr_accessor user_ids: ::Array[::String]
|
|
1195
1241
|
attr_accessor user_groups: ::Array[::String]
|
|
@@ -1806,6 +1852,18 @@ module Aws::Imagebuilder
|
|
|
1806
1852
|
SENSITIVE: []
|
|
1807
1853
|
end
|
|
1808
1854
|
|
|
1855
|
+
class RetryImageRequest
|
|
1856
|
+
attr_accessor image_build_version_arn: ::String
|
|
1857
|
+
attr_accessor client_token: ::String
|
|
1858
|
+
SENSITIVE: []
|
|
1859
|
+
end
|
|
1860
|
+
|
|
1861
|
+
class RetryImageResponse
|
|
1862
|
+
attr_accessor client_token: ::String
|
|
1863
|
+
attr_accessor image_build_version_arn: ::String
|
|
1864
|
+
SENSITIVE: []
|
|
1865
|
+
end
|
|
1866
|
+
|
|
1809
1867
|
class S3ExportConfiguration
|
|
1810
1868
|
attr_accessor role_name: ::String
|
|
1811
1869
|
attr_accessor disk_image_format: ("VMDK" | "RAW" | "VHD")
|
|
@@ -1925,6 +1983,11 @@ module Aws::Imagebuilder
|
|
|
1925
1983
|
SENSITIVE: []
|
|
1926
1984
|
end
|
|
1927
1985
|
|
|
1986
|
+
class TooManyRequestsException
|
|
1987
|
+
attr_accessor message: ::String
|
|
1988
|
+
SENSITIVE: []
|
|
1989
|
+
end
|
|
1990
|
+
|
|
1928
1991
|
class UntagResourceRequest
|
|
1929
1992
|
attr_accessor resource_arn: ::String
|
|
1930
1993
|
attr_accessor tag_keys: ::Array[::String]
|
|
@@ -2075,6 +2138,7 @@ module Aws::Imagebuilder
|
|
|
2075
2138
|
attr_accessor start_time: ::String
|
|
2076
2139
|
attr_accessor end_time: ::String
|
|
2077
2140
|
attr_accessor parallel_group: ::String
|
|
2141
|
+
attr_accessor retried: bool
|
|
2078
2142
|
SENSITIVE: []
|
|
2079
2143
|
end
|
|
2080
2144
|
|