aws-sdk-imagebuilder 1.73.0 → 1.74.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 +61 -8
- data/lib/aws-sdk-imagebuilder/client_api.rb +41 -0
- data/lib/aws-sdk-imagebuilder/types.rb +99 -9
- data/lib/aws-sdk-imagebuilder.rb +1 -1
- data/sig/client.rbs +18 -5
- data/sig/types.rbs +29 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20d1df149f957a7bf1e34390be588d34a0decb58986d05fa2a8051732cddf856
|
4
|
+
data.tar.gz: 634f8a35adce43c937d287cfd3d970069b5d5fde6f0d16ca406bea288565ec7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c73fdd1b164ec63a01788111bebe5342912660e4661d95a26665508de820b9305b9957d0c699ddbd7b6759fe4c6aac622a57b7a8b19bd8f821c7977cbc156b0b
|
7
|
+
data.tar.gz: 361546a568dbadef9b10a45a16c8ef8b6d97eacfd179a02013c0b99fd20d913f388c80685be8c873a1da4e0fe611cf309791e7bcc2888bf28556c4593a2d5225
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
@@ -1998,7 +1998,7 @@ module Aws::Imagebuilder
|
|
1998
1998
|
# resp.component.platform #=> String, one of "Windows", "Linux", "macOS"
|
1999
1999
|
# resp.component.supported_os_versions #=> Array
|
2000
2000
|
# resp.component.supported_os_versions[0] #=> String
|
2001
|
-
# resp.component.state.status #=> String, one of "DEPRECATED"
|
2001
|
+
# resp.component.state.status #=> String, one of "DEPRECATED", "DISABLED", "ACTIVE"
|
2002
2002
|
# resp.component.state.reason #=> String
|
2003
2003
|
# resp.component.parameters #=> Array
|
2004
2004
|
# resp.component.parameters[0].name #=> String
|
@@ -2015,6 +2015,9 @@ module Aws::Imagebuilder
|
|
2015
2015
|
# resp.component.tags["TagKey"] #=> String
|
2016
2016
|
# resp.component.publisher #=> String
|
2017
2017
|
# resp.component.obfuscate #=> Boolean
|
2018
|
+
# resp.component.product_codes #=> Array
|
2019
|
+
# resp.component.product_codes[0].product_code_id #=> String
|
2020
|
+
# resp.component.product_codes[0].product_code_type #=> String, one of "marketplace"
|
2018
2021
|
#
|
2019
2022
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent AWS API Documentation
|
2020
2023
|
#
|
@@ -2792,6 +2795,52 @@ module Aws::Imagebuilder
|
|
2792
2795
|
req.send_request(options)
|
2793
2796
|
end
|
2794
2797
|
|
2798
|
+
# Verify the subscription and perform resource dependency checks on the
|
2799
|
+
# requested Amazon Web Services Marketplace resource. For Amazon Web
|
2800
|
+
# Services Marketplace components, the response contains fields to
|
2801
|
+
# download the components and their artifacts.
|
2802
|
+
#
|
2803
|
+
# @option params [required, String] :resource_type
|
2804
|
+
# Specifies which type of Amazon Web Services Marketplace resource Image
|
2805
|
+
# Builder retrieves.
|
2806
|
+
#
|
2807
|
+
# @option params [required, String] :resource_arn
|
2808
|
+
# The Amazon Resource Name (ARN) that uniquely identifies an Amazon Web
|
2809
|
+
# Services Marketplace resource.
|
2810
|
+
#
|
2811
|
+
# @option params [String] :resource_location
|
2812
|
+
# The bucket path that you can specify to download the resource from
|
2813
|
+
# Amazon S3.
|
2814
|
+
#
|
2815
|
+
# @return [Types::GetMarketplaceResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2816
|
+
#
|
2817
|
+
# * {Types::GetMarketplaceResourceResponse#resource_arn #resource_arn} => String
|
2818
|
+
# * {Types::GetMarketplaceResourceResponse#url #url} => String
|
2819
|
+
# * {Types::GetMarketplaceResourceResponse#data #data} => String
|
2820
|
+
#
|
2821
|
+
# @example Request syntax with placeholder values
|
2822
|
+
#
|
2823
|
+
# resp = client.get_marketplace_resource({
|
2824
|
+
# resource_type: "COMPONENT_DATA", # required, accepts COMPONENT_DATA, COMPONENT_ARTIFACT
|
2825
|
+
# resource_arn: "ImageBuilderArn", # required
|
2826
|
+
# resource_location: "MarketplaceResourceLocation",
|
2827
|
+
# })
|
2828
|
+
#
|
2829
|
+
# @example Response structure
|
2830
|
+
#
|
2831
|
+
# resp.resource_arn #=> String
|
2832
|
+
# resp.url #=> String
|
2833
|
+
# resp.data #=> String
|
2834
|
+
#
|
2835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetMarketplaceResource AWS API Documentation
|
2836
|
+
#
|
2837
|
+
# @overload get_marketplace_resource(params = {})
|
2838
|
+
# @param [Hash] params ({})
|
2839
|
+
def get_marketplace_resource(params = {}, options = {})
|
2840
|
+
req = build_request(:get_marketplace_resource, params)
|
2841
|
+
req.send_request(options)
|
2842
|
+
end
|
2843
|
+
|
2795
2844
|
# Get a workflow resource object.
|
2796
2845
|
#
|
2797
2846
|
# @option params [required, String] :workflow_build_version_arn
|
@@ -3213,7 +3262,7 @@ module Aws::Imagebuilder
|
|
3213
3262
|
# resp.component_summary_list[0].platform #=> String, one of "Windows", "Linux", "macOS"
|
3214
3263
|
# resp.component_summary_list[0].supported_os_versions #=> Array
|
3215
3264
|
# resp.component_summary_list[0].supported_os_versions[0] #=> String
|
3216
|
-
# resp.component_summary_list[0].state.status #=> String, one of "DEPRECATED"
|
3265
|
+
# resp.component_summary_list[0].state.status #=> String, one of "DEPRECATED", "DISABLED", "ACTIVE"
|
3217
3266
|
# resp.component_summary_list[0].state.reason #=> String
|
3218
3267
|
# resp.component_summary_list[0].type #=> String, one of "BUILD", "TEST"
|
3219
3268
|
# resp.component_summary_list[0].owner #=> String
|
@@ -3295,7 +3344,7 @@ module Aws::Imagebuilder
|
|
3295
3344
|
# @example Request syntax with placeholder values
|
3296
3345
|
#
|
3297
3346
|
# resp = client.list_components({
|
3298
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
3347
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
3299
3348
|
# filters: [
|
3300
3349
|
# {
|
3301
3350
|
# name: "FilterName",
|
@@ -3321,6 +3370,10 @@ module Aws::Imagebuilder
|
|
3321
3370
|
# resp.component_version_list[0].type #=> String, one of "BUILD", "TEST"
|
3322
3371
|
# resp.component_version_list[0].owner #=> String
|
3323
3372
|
# resp.component_version_list[0].date_created #=> String
|
3373
|
+
# resp.component_version_list[0].status #=> String, one of "DEPRECATED", "DISABLED", "ACTIVE"
|
3374
|
+
# resp.component_version_list[0].product_codes #=> Array
|
3375
|
+
# resp.component_version_list[0].product_codes[0].product_code_id #=> String
|
3376
|
+
# resp.component_version_list[0].product_codes[0].product_code_type #=> String, one of "marketplace"
|
3324
3377
|
# resp.next_token #=> String
|
3325
3378
|
#
|
3326
3379
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponents AWS API Documentation
|
@@ -3368,7 +3421,7 @@ module Aws::Imagebuilder
|
|
3368
3421
|
# @example Request syntax with placeholder values
|
3369
3422
|
#
|
3370
3423
|
# resp = client.list_container_recipes({
|
3371
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
3424
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
3372
3425
|
# filters: [
|
3373
3426
|
# {
|
3374
3427
|
# name: "FilterName",
|
@@ -3814,7 +3867,7 @@ module Aws::Imagebuilder
|
|
3814
3867
|
# @example Request syntax with placeholder values
|
3815
3868
|
#
|
3816
3869
|
# resp = client.list_image_recipes({
|
3817
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
3870
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
3818
3871
|
# filters: [
|
3819
3872
|
# {
|
3820
3873
|
# name: "FilterName",
|
@@ -4086,7 +4139,7 @@ module Aws::Imagebuilder
|
|
4086
4139
|
# @example Request syntax with placeholder values
|
4087
4140
|
#
|
4088
4141
|
# resp = client.list_images({
|
4089
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
4142
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
4090
4143
|
# filters: [
|
4091
4144
|
# {
|
4092
4145
|
# name: "FilterName",
|
@@ -4652,7 +4705,7 @@ module Aws::Imagebuilder
|
|
4652
4705
|
# @example Request syntax with placeholder values
|
4653
4706
|
#
|
4654
4707
|
# resp = client.list_workflows({
|
4655
|
-
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty
|
4708
|
+
# owner: "Self", # accepts Self, Shared, Amazon, ThirdParty, AWSMarketplace
|
4656
4709
|
# filters: [
|
4657
4710
|
# {
|
4658
4711
|
# name: "FilterName",
|
@@ -5627,7 +5680,7 @@ module Aws::Imagebuilder
|
|
5627
5680
|
tracer: tracer
|
5628
5681
|
)
|
5629
5682
|
context[:gem_name] = 'aws-sdk-imagebuilder'
|
5630
|
-
context[:gem_version] = '1.
|
5683
|
+
context[:gem_version] = '1.74.0'
|
5631
5684
|
Seahorse::Client::Request.new(handlers, context)
|
5632
5685
|
end
|
5633
5686
|
|
@@ -161,6 +161,8 @@ module Aws::Imagebuilder
|
|
161
161
|
GetLifecycleExecutionResponse = Shapes::StructureShape.new(name: 'GetLifecycleExecutionResponse')
|
162
162
|
GetLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'GetLifecyclePolicyRequest')
|
163
163
|
GetLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'GetLifecyclePolicyResponse')
|
164
|
+
GetMarketplaceResourceRequest = Shapes::StructureShape.new(name: 'GetMarketplaceResourceRequest')
|
165
|
+
GetMarketplaceResourceResponse = Shapes::StructureShape.new(name: 'GetMarketplaceResourceResponse')
|
164
166
|
GetWorkflowExecutionRequest = Shapes::StructureShape.new(name: 'GetWorkflowExecutionRequest')
|
165
167
|
GetWorkflowExecutionResponse = Shapes::StructureShape.new(name: 'GetWorkflowExecutionResponse')
|
166
168
|
GetWorkflowRequest = Shapes::StructureShape.new(name: 'GetWorkflowRequest')
|
@@ -320,6 +322,8 @@ module Aws::Imagebuilder
|
|
320
322
|
ListWorkflowsRequest = Shapes::StructureShape.new(name: 'ListWorkflowsRequest')
|
321
323
|
ListWorkflowsResponse = Shapes::StructureShape.new(name: 'ListWorkflowsResponse')
|
322
324
|
Logging = Shapes::StructureShape.new(name: 'Logging')
|
325
|
+
MarketplaceResourceLocation = Shapes::StringShape.new(name: 'MarketplaceResourceLocation')
|
326
|
+
MarketplaceResourceType = Shapes::StringShape.new(name: 'MarketplaceResourceType')
|
323
327
|
MaxParallelLaunches = Shapes::IntegerShape.new(name: 'MaxParallelLaunches')
|
324
328
|
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
325
329
|
NonEmptyStringList = Shapes::ListShape.new(name: 'NonEmptyStringList')
|
@@ -343,6 +347,10 @@ module Aws::Imagebuilder
|
|
343
347
|
PipelineStatus = Shapes::StringShape.new(name: 'PipelineStatus')
|
344
348
|
Placement = Shapes::StructureShape.new(name: 'Placement')
|
345
349
|
Platform = Shapes::StringShape.new(name: 'Platform')
|
350
|
+
ProductCodeId = Shapes::StringShape.new(name: 'ProductCodeId')
|
351
|
+
ProductCodeList = Shapes::ListShape.new(name: 'ProductCodeList')
|
352
|
+
ProductCodeListItem = Shapes::StructureShape.new(name: 'ProductCodeListItem')
|
353
|
+
ProductCodeType = Shapes::StringShape.new(name: 'ProductCodeType')
|
346
354
|
PutComponentPolicyRequest = Shapes::StructureShape.new(name: 'PutComponentPolicyRequest')
|
347
355
|
PutComponentPolicyResponse = Shapes::StructureShape.new(name: 'PutComponentPolicyResponse')
|
348
356
|
PutContainerRecipePolicyRequest = Shapes::StructureShape.new(name: 'PutContainerRecipePolicyRequest')
|
@@ -529,6 +537,7 @@ module Aws::Imagebuilder
|
|
529
537
|
Component.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
530
538
|
Component.add_member(:publisher, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "publisher"))
|
531
539
|
Component.add_member(:obfuscate, Shapes::ShapeRef.new(shape: Boolean, location_name: "obfuscate"))
|
540
|
+
Component.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeList, location_name: "productCodes"))
|
532
541
|
Component.struct_class = Types::Component
|
533
542
|
|
534
543
|
ComponentConfiguration.add_member(:component_arn, Shapes::ShapeRef.new(shape: ComponentVersionArnOrBuildVersionArn, required: true, location_name: "componentArn"))
|
@@ -584,6 +593,8 @@ module Aws::Imagebuilder
|
|
584
593
|
ComponentVersion.add_member(:type, Shapes::ShapeRef.new(shape: ComponentType, location_name: "type"))
|
585
594
|
ComponentVersion.add_member(:owner, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "owner"))
|
586
595
|
ComponentVersion.add_member(:date_created, Shapes::ShapeRef.new(shape: DateTime, location_name: "dateCreated"))
|
596
|
+
ComponentVersion.add_member(:status, Shapes::ShapeRef.new(shape: ComponentStatus, location_name: "status"))
|
597
|
+
ComponentVersion.add_member(:product_codes, Shapes::ShapeRef.new(shape: ProductCodeList, location_name: "productCodes"))
|
587
598
|
ComponentVersion.struct_class = Types::ComponentVersion
|
588
599
|
|
589
600
|
ComponentVersionList.member = Shapes::ShapeRef.new(shape: ComponentVersion)
|
@@ -1039,6 +1050,16 @@ module Aws::Imagebuilder
|
|
1039
1050
|
GetLifecyclePolicyResponse.add_member(:lifecycle_policy, Shapes::ShapeRef.new(shape: LifecyclePolicy, location_name: "lifecyclePolicy"))
|
1040
1051
|
GetLifecyclePolicyResponse.struct_class = Types::GetLifecyclePolicyResponse
|
1041
1052
|
|
1053
|
+
GetMarketplaceResourceRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: MarketplaceResourceType, required: true, location_name: "resourceType"))
|
1054
|
+
GetMarketplaceResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, required: true, location_name: "resourceArn"))
|
1055
|
+
GetMarketplaceResourceRequest.add_member(:resource_location, Shapes::ShapeRef.new(shape: MarketplaceResourceLocation, location_name: "resourceLocation"))
|
1056
|
+
GetMarketplaceResourceRequest.struct_class = Types::GetMarketplaceResourceRequest
|
1057
|
+
|
1058
|
+
GetMarketplaceResourceResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ImageBuilderArn, location_name: "resourceArn"))
|
1059
|
+
GetMarketplaceResourceResponse.add_member(:url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "url"))
|
1060
|
+
GetMarketplaceResourceResponse.add_member(:data, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "data"))
|
1061
|
+
GetMarketplaceResourceResponse.struct_class = Types::GetMarketplaceResourceResponse
|
1062
|
+
|
1042
1063
|
GetWorkflowExecutionRequest.add_member(:workflow_execution_id, Shapes::ShapeRef.new(shape: WorkflowExecutionId, required: true, location: "querystring", location_name: "workflowExecutionId"))
|
1043
1064
|
GetWorkflowExecutionRequest.struct_class = Types::GetWorkflowExecutionRequest
|
1044
1065
|
|
@@ -1767,6 +1788,12 @@ module Aws::Imagebuilder
|
|
1767
1788
|
Placement.add_member(:host_resource_group_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "hostResourceGroupArn"))
|
1768
1789
|
Placement.struct_class = Types::Placement
|
1769
1790
|
|
1791
|
+
ProductCodeList.member = Shapes::ShapeRef.new(shape: ProductCodeListItem)
|
1792
|
+
|
1793
|
+
ProductCodeListItem.add_member(:product_code_id, Shapes::ShapeRef.new(shape: ProductCodeId, required: true, location_name: "productCodeId"))
|
1794
|
+
ProductCodeListItem.add_member(:product_code_type, Shapes::ShapeRef.new(shape: ProductCodeType, required: true, location_name: "productCodeType"))
|
1795
|
+
ProductCodeListItem.struct_class = Types::ProductCodeListItem
|
1796
|
+
|
1770
1797
|
PutComponentPolicyRequest.add_member(:component_arn, Shapes::ShapeRef.new(shape: ComponentBuildVersionArn, required: true, location_name: "componentArn"))
|
1771
1798
|
PutComponentPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicyDocument, required: true, location_name: "policy"))
|
1772
1799
|
PutComponentPolicyRequest.struct_class = Types::PutComponentPolicyRequest
|
@@ -2658,6 +2685,20 @@ module Aws::Imagebuilder
|
|
2658
2685
|
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
2659
2686
|
end)
|
2660
2687
|
|
2688
|
+
api.add_operation(:get_marketplace_resource, Seahorse::Model::Operation.new.tap do |o|
|
2689
|
+
o.name = "GetMarketplaceResource"
|
2690
|
+
o.http_method = "POST"
|
2691
|
+
o.http_request_uri = "/GetMarketplaceResource"
|
2692
|
+
o.input = Shapes::ShapeRef.new(shape: GetMarketplaceResourceRequest)
|
2693
|
+
o.output = Shapes::ShapeRef.new(shape: GetMarketplaceResourceResponse)
|
2694
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2695
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2696
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2697
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2698
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
2699
|
+
o.errors << Shapes::ShapeRef.new(shape: CallRateLimitExceededException)
|
2700
|
+
end)
|
2701
|
+
|
2661
2702
|
api.add_operation(:get_workflow, Seahorse::Model::Operation.new.tap do |o|
|
2662
2703
|
o.name = "GetWorkflow"
|
2663
2704
|
o.http_method = "GET"
|
@@ -324,8 +324,7 @@ module Aws::Imagebuilder
|
|
324
324
|
# @return [Array<String>]
|
325
325
|
#
|
326
326
|
# @!attribute [rw] state
|
327
|
-
# Describes the current status of the component.
|
328
|
-
# components that are no longer active.
|
327
|
+
# Describes the current status of the component.
|
329
328
|
# @return [Types::ComponentState]
|
330
329
|
#
|
331
330
|
# @!attribute [rw] parameters
|
@@ -368,6 +367,11 @@ module Aws::Imagebuilder
|
|
368
367
|
# operations.
|
369
368
|
# @return [Boolean]
|
370
369
|
#
|
370
|
+
# @!attribute [rw] product_codes
|
371
|
+
# Contains product codes that are used for billing purposes for Amazon
|
372
|
+
# Web Services Marketplace components.
|
373
|
+
# @return [Array<Types::ProductCodeListItem>]
|
374
|
+
#
|
371
375
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/Component AWS API Documentation
|
372
376
|
#
|
373
377
|
class Component < Struct.new(
|
@@ -388,7 +392,8 @@ module Aws::Imagebuilder
|
|
388
392
|
:date_created,
|
389
393
|
:tags,
|
390
394
|
:publisher,
|
391
|
-
:obfuscate
|
395
|
+
:obfuscate,
|
396
|
+
:product_codes)
|
392
397
|
SENSITIVE = []
|
393
398
|
include Aws::Structure
|
394
399
|
end
|
@@ -647,6 +652,15 @@ module Aws::Imagebuilder
|
|
647
652
|
# The date that the component was created.
|
648
653
|
# @return [String]
|
649
654
|
#
|
655
|
+
# @!attribute [rw] status
|
656
|
+
# Describes the current status of the component version.
|
657
|
+
# @return [String]
|
658
|
+
#
|
659
|
+
# @!attribute [rw] product_codes
|
660
|
+
# Contains product codes that are used for billing purposes for Amazon
|
661
|
+
# Web Services Marketplace components.
|
662
|
+
# @return [Array<Types::ProductCodeListItem>]
|
663
|
+
#
|
650
664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ComponentVersion AWS API Documentation
|
651
665
|
#
|
652
666
|
class ComponentVersion < Struct.new(
|
@@ -658,7 +672,9 @@ module Aws::Imagebuilder
|
|
658
672
|
:supported_os_versions,
|
659
673
|
:type,
|
660
674
|
:owner,
|
661
|
-
:date_created
|
675
|
+
:date_created,
|
676
|
+
:status,
|
677
|
+
:product_codes)
|
662
678
|
SENSITIVE = []
|
663
679
|
include Aws::Structure
|
664
680
|
end
|
@@ -2991,6 +3007,55 @@ module Aws::Imagebuilder
|
|
2991
3007
|
include Aws::Structure
|
2992
3008
|
end
|
2993
3009
|
|
3010
|
+
# @!attribute [rw] resource_type
|
3011
|
+
# Specifies which type of Amazon Web Services Marketplace resource
|
3012
|
+
# Image Builder retrieves.
|
3013
|
+
# @return [String]
|
3014
|
+
#
|
3015
|
+
# @!attribute [rw] resource_arn
|
3016
|
+
# The Amazon Resource Name (ARN) that uniquely identifies an Amazon
|
3017
|
+
# Web Services Marketplace resource.
|
3018
|
+
# @return [String]
|
3019
|
+
#
|
3020
|
+
# @!attribute [rw] resource_location
|
3021
|
+
# The bucket path that you can specify to download the resource from
|
3022
|
+
# Amazon S3.
|
3023
|
+
# @return [String]
|
3024
|
+
#
|
3025
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetMarketplaceResourceRequest AWS API Documentation
|
3026
|
+
#
|
3027
|
+
class GetMarketplaceResourceRequest < Struct.new(
|
3028
|
+
:resource_type,
|
3029
|
+
:resource_arn,
|
3030
|
+
:resource_location)
|
3031
|
+
SENSITIVE = []
|
3032
|
+
include Aws::Structure
|
3033
|
+
end
|
3034
|
+
|
3035
|
+
# @!attribute [rw] resource_arn
|
3036
|
+
# The Amazon Resource Name (ARN) for the Amazon Web Services
|
3037
|
+
# Marketplace resource that was requested.
|
3038
|
+
# @return [String]
|
3039
|
+
#
|
3040
|
+
# @!attribute [rw] url
|
3041
|
+
# The obfuscated S3 URL to download the component artifact from.
|
3042
|
+
# @return [String]
|
3043
|
+
#
|
3044
|
+
# @!attribute [rw] data
|
3045
|
+
# Returns obfuscated data that contains the YAML content of the
|
3046
|
+
# component.
|
3047
|
+
# @return [String]
|
3048
|
+
#
|
3049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetMarketplaceResourceResponse AWS API Documentation
|
3050
|
+
#
|
3051
|
+
class GetMarketplaceResourceResponse < Struct.new(
|
3052
|
+
:resource_arn,
|
3053
|
+
:url,
|
3054
|
+
:data)
|
3055
|
+
SENSITIVE = []
|
3056
|
+
include Aws::Structure
|
3057
|
+
end
|
3058
|
+
|
2994
3059
|
# @!attribute [rw] workflow_execution_id
|
2995
3060
|
# Use the unique identifier for a runtime instance of the workflow to
|
2996
3061
|
# get runtime details.
|
@@ -3479,15 +3544,16 @@ module Aws::Imagebuilder
|
|
3479
3544
|
include Aws::Structure
|
3480
3545
|
end
|
3481
3546
|
|
3482
|
-
#
|
3547
|
+
# A software package that's installed on top of the base image to
|
3548
|
+
# create a customized image.
|
3483
3549
|
#
|
3484
3550
|
# @!attribute [rw] package_name
|
3485
|
-
# The name of the package
|
3486
|
-
# manager.
|
3551
|
+
# The name of the package that's reported to the operating system
|
3552
|
+
# package manager.
|
3487
3553
|
# @return [String]
|
3488
3554
|
#
|
3489
3555
|
# @!attribute [rw] package_version
|
3490
|
-
# The version of the package
|
3556
|
+
# The version of the package that's reported to the operating system
|
3491
3557
|
# package manager.
|
3492
3558
|
# @return [String]
|
3493
3559
|
#
|
@@ -4085,7 +4151,7 @@ module Aws::Imagebuilder
|
|
4085
4151
|
# @!attribute [rw] timeout_minutes
|
4086
4152
|
# The maximum time in minutes that tests are permitted to run.
|
4087
4153
|
#
|
4088
|
-
# <note markdown="1"> The
|
4154
|
+
# <note markdown="1"> The timeout attribute is not currently active. This value is
|
4089
4155
|
# ignored.
|
4090
4156
|
#
|
4091
4157
|
# </note>
|
@@ -6863,6 +6929,29 @@ module Aws::Imagebuilder
|
|
6863
6929
|
include Aws::Structure
|
6864
6930
|
end
|
6865
6931
|
|
6932
|
+
# Information about a single product code.
|
6933
|
+
#
|
6934
|
+
# @!attribute [rw] product_code_id
|
6935
|
+
# For Amazon Web Services Marketplace components, this contains the
|
6936
|
+
# product code ID that can be stamped onto an EC2 AMI to ensure that
|
6937
|
+
# components are billed correctly. If this property is empty, it might
|
6938
|
+
# mean that the component is not published.
|
6939
|
+
# @return [String]
|
6940
|
+
#
|
6941
|
+
# @!attribute [rw] product_code_type
|
6942
|
+
# The owner of the product code that's billed. If this property is
|
6943
|
+
# empty, it might mean that the component is not published.
|
6944
|
+
# @return [String]
|
6945
|
+
#
|
6946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ProductCodeListItem AWS API Documentation
|
6947
|
+
#
|
6948
|
+
class ProductCodeListItem < Struct.new(
|
6949
|
+
:product_code_id,
|
6950
|
+
:product_code_type)
|
6951
|
+
SENSITIVE = []
|
6952
|
+
include Aws::Structure
|
6953
|
+
end
|
6954
|
+
|
6866
6955
|
# @!attribute [rw] component_arn
|
6867
6956
|
# The Amazon Resource Name (ARN) of the component that this policy
|
6868
6957
|
# should be applied to.
|
@@ -7586,6 +7675,7 @@ module Aws::Imagebuilder
|
|
7586
7675
|
# @!attribute [rw] repository_name
|
7587
7676
|
# The name of the container repository where the output container
|
7588
7677
|
# image is stored. This name is prefixed by the repository location.
|
7678
|
+
# For example, `<repository location url>/repository_name`.
|
7589
7679
|
# @return [String]
|
7590
7680
|
#
|
7591
7681
|
# @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TargetContainerRepository AWS API Documentation
|
data/lib/aws-sdk-imagebuilder.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -750,6 +750,19 @@ module Aws
|
|
750
750
|
) -> _GetLifecyclePolicyResponseSuccess
|
751
751
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLifecyclePolicyResponseSuccess
|
752
752
|
|
753
|
+
interface _GetMarketplaceResourceResponseSuccess
|
754
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMarketplaceResourceResponse]
|
755
|
+
def resource_arn: () -> ::String
|
756
|
+
def url: () -> ::String
|
757
|
+
end
|
758
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#get_marketplace_resource-instance_method
|
759
|
+
def get_marketplace_resource: (
|
760
|
+
resource_type: ("COMPONENT_DATA" | "COMPONENT_ARTIFACT"),
|
761
|
+
resource_arn: ::String,
|
762
|
+
?resource_location: ::String
|
763
|
+
) -> _GetMarketplaceResourceResponseSuccess
|
764
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMarketplaceResourceResponseSuccess
|
765
|
+
|
753
766
|
interface _GetWorkflowResponseSuccess
|
754
767
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowResponse]
|
755
768
|
def workflow: () -> Types::Workflow
|
@@ -873,7 +886,7 @@ module Aws
|
|
873
886
|
end
|
874
887
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_components-instance_method
|
875
888
|
def list_components: (
|
876
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
889
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
877
890
|
?filters: Array[
|
878
891
|
{
|
879
892
|
name: ::String?,
|
@@ -894,7 +907,7 @@ module Aws
|
|
894
907
|
end
|
895
908
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_container_recipes-instance_method
|
896
909
|
def list_container_recipes: (
|
897
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
910
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
898
911
|
?filters: Array[
|
899
912
|
{
|
900
913
|
name: ::String?,
|
@@ -1006,7 +1019,7 @@ module Aws
|
|
1006
1019
|
end
|
1007
1020
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_image_recipes-instance_method
|
1008
1021
|
def list_image_recipes: (
|
1009
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
1022
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
1010
1023
|
?filters: Array[
|
1011
1024
|
{
|
1012
1025
|
name: ::String?,
|
@@ -1062,7 +1075,7 @@ module Aws
|
|
1062
1075
|
end
|
1063
1076
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_images-instance_method
|
1064
1077
|
def list_images: (
|
1065
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
1078
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
1066
1079
|
?filters: Array[
|
1067
1080
|
{
|
1068
1081
|
name: ::String?,
|
@@ -1218,7 +1231,7 @@ module Aws
|
|
1218
1231
|
end
|
1219
1232
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Imagebuilder/Client.html#list_workflows-instance_method
|
1220
1233
|
def list_workflows: (
|
1221
|
-
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty"),
|
1234
|
+
?owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"),
|
1222
1235
|
?filters: Array[
|
1223
1236
|
{
|
1224
1237
|
name: ::String?,
|
data/sig/types.rbs
CHANGED
@@ -93,6 +93,7 @@ module Aws::Imagebuilder
|
|
93
93
|
attr_accessor tags: ::Hash[::String, ::String]
|
94
94
|
attr_accessor publisher: ::String
|
95
95
|
attr_accessor obfuscate: bool
|
96
|
+
attr_accessor product_codes: ::Array[Types::ProductCodeListItem]
|
96
97
|
SENSITIVE: []
|
97
98
|
end
|
98
99
|
|
@@ -117,7 +118,7 @@ module Aws::Imagebuilder
|
|
117
118
|
end
|
118
119
|
|
119
120
|
class ComponentState
|
120
|
-
attr_accessor status: ("DEPRECATED")
|
121
|
+
attr_accessor status: ("DEPRECATED" | "DISABLED" | "ACTIVE")
|
121
122
|
attr_accessor reason: ::String
|
122
123
|
SENSITIVE: []
|
123
124
|
end
|
@@ -150,6 +151,8 @@ module Aws::Imagebuilder
|
|
150
151
|
attr_accessor type: ("BUILD" | "TEST")
|
151
152
|
attr_accessor owner: ::String
|
152
153
|
attr_accessor date_created: ::String
|
154
|
+
attr_accessor status: ("DEPRECATED" | "DISABLED" | "ACTIVE")
|
155
|
+
attr_accessor product_codes: ::Array[Types::ProductCodeListItem]
|
153
156
|
SENSITIVE: []
|
154
157
|
end
|
155
158
|
|
@@ -744,6 +747,20 @@ module Aws::Imagebuilder
|
|
744
747
|
SENSITIVE: []
|
745
748
|
end
|
746
749
|
|
750
|
+
class GetMarketplaceResourceRequest
|
751
|
+
attr_accessor resource_type: ("COMPONENT_DATA" | "COMPONENT_ARTIFACT")
|
752
|
+
attr_accessor resource_arn: ::String
|
753
|
+
attr_accessor resource_location: ::String
|
754
|
+
SENSITIVE: []
|
755
|
+
end
|
756
|
+
|
757
|
+
class GetMarketplaceResourceResponse
|
758
|
+
attr_accessor resource_arn: ::String
|
759
|
+
attr_accessor url: ::String
|
760
|
+
attr_accessor data: ::String
|
761
|
+
SENSITIVE: []
|
762
|
+
end
|
763
|
+
|
747
764
|
class GetWorkflowExecutionRequest
|
748
765
|
attr_accessor workflow_execution_id: ::String
|
749
766
|
SENSITIVE: []
|
@@ -1303,7 +1320,7 @@ module Aws::Imagebuilder
|
|
1303
1320
|
end
|
1304
1321
|
|
1305
1322
|
class ListComponentsRequest
|
1306
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1323
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1307
1324
|
attr_accessor filters: ::Array[Types::Filter]
|
1308
1325
|
attr_accessor by_name: bool
|
1309
1326
|
attr_accessor max_results: ::Integer
|
@@ -1319,7 +1336,7 @@ module Aws::Imagebuilder
|
|
1319
1336
|
end
|
1320
1337
|
|
1321
1338
|
class ListContainerRecipesRequest
|
1322
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1339
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1323
1340
|
attr_accessor filters: ::Array[Types::Filter]
|
1324
1341
|
attr_accessor max_results: ::Integer
|
1325
1342
|
attr_accessor next_token: ::String
|
@@ -1406,7 +1423,7 @@ module Aws::Imagebuilder
|
|
1406
1423
|
end
|
1407
1424
|
|
1408
1425
|
class ListImageRecipesRequest
|
1409
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1426
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1410
1427
|
attr_accessor filters: ::Array[Types::Filter]
|
1411
1428
|
attr_accessor max_results: ::Integer
|
1412
1429
|
attr_accessor next_token: ::String
|
@@ -1449,7 +1466,7 @@ module Aws::Imagebuilder
|
|
1449
1466
|
end
|
1450
1467
|
|
1451
1468
|
class ListImagesRequest
|
1452
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1469
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1453
1470
|
attr_accessor filters: ::Array[Types::Filter]
|
1454
1471
|
attr_accessor by_name: bool
|
1455
1472
|
attr_accessor max_results: ::Integer
|
@@ -1591,7 +1608,7 @@ module Aws::Imagebuilder
|
|
1591
1608
|
end
|
1592
1609
|
|
1593
1610
|
class ListWorkflowsRequest
|
1594
|
-
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty")
|
1611
|
+
attr_accessor owner: ("Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace")
|
1595
1612
|
attr_accessor filters: ::Array[Types::Filter]
|
1596
1613
|
attr_accessor by_name: bool
|
1597
1614
|
attr_accessor max_results: ::Integer
|
@@ -1638,6 +1655,12 @@ module Aws::Imagebuilder
|
|
1638
1655
|
SENSITIVE: []
|
1639
1656
|
end
|
1640
1657
|
|
1658
|
+
class ProductCodeListItem
|
1659
|
+
attr_accessor product_code_id: ::String
|
1660
|
+
attr_accessor product_code_type: ("marketplace")
|
1661
|
+
SENSITIVE: []
|
1662
|
+
end
|
1663
|
+
|
1641
1664
|
class PutComponentPolicyRequest
|
1642
1665
|
attr_accessor component_arn: ::String
|
1643
1666
|
attr_accessor policy: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-imagebuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.74.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-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|