aws-sdk-ec2 1.622.0 → 1.623.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-ec2/client.rb +116 -1
- data/lib/aws-sdk-ec2/client_api.rb +50 -0
- data/lib/aws-sdk-ec2/image.rb +6 -0
- data/lib/aws-sdk-ec2/types.rb +133 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +24 -0
- data/sig/image.rbs +3 -0
- data/sig/types.rbs +35 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0c3b9efb3a7b2d124c5406c8269aea0a1581188efa75aa5a67c3283d71e2fba
|
|
4
|
+
data.tar.gz: cf3297756330cca993bed7d8fe46342890ab830af3b7b259068a1c992e0c80e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c328218fc97720afeae0cf71617792af25b9e4d700d4509644eb40d32a4c1bf99a755be4336885eafd5b437aec76ff8dcb6cfdc9e14c6f10e4314877cddc312
|
|
7
|
+
data.tar.gz: a8b6fd74951e7c46cf7d3ca7cf8fa5131a7b464ba94b09ac6f079ace0561d0e2085aee58c7b533653c532a6681f28fecbb0a8b5ee75894a6dee2728e10a1d46a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.623.0 (2026-06-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for AMI Watermark which a structured identifier that helps in tracking AMI provenance
|
|
8
|
+
|
|
4
9
|
1.622.0 (2026-06-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.623.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -3202,6 +3202,62 @@ module Aws::EC2
|
|
|
3202
3202
|
req.send_request(options)
|
|
3203
3203
|
end
|
|
3204
3204
|
|
|
3205
|
+
# Attaches a watermark to a non-public AMI. The watermark is a
|
|
3206
|
+
# structured identifier that automatically propagates to all derivative
|
|
3207
|
+
# images created through [CreateImage][1], [CopyImage][2], and
|
|
3208
|
+
# [CreateRestoreImageTask][3].
|
|
3209
|
+
#
|
|
3210
|
+
# Only the AMI owner can attach watermarks. Watermarks cannot be added
|
|
3211
|
+
# to public AMIs.
|
|
3212
|
+
#
|
|
3213
|
+
#
|
|
3214
|
+
#
|
|
3215
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateImage.html
|
|
3216
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopyImage.html
|
|
3217
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateRestoreImageTask.html
|
|
3218
|
+
#
|
|
3219
|
+
# @option params [required, String] :image_id
|
|
3220
|
+
# The ID of the AMI.
|
|
3221
|
+
#
|
|
3222
|
+
# @option params [required, String] :watermark_name
|
|
3223
|
+
# The name for the watermark. Combined with the caller's account ID to
|
|
3224
|
+
# form the `WatermarkKey` (`accountId:watermarkName`).
|
|
3225
|
+
#
|
|
3226
|
+
# Constraints: 3-128 alphanumeric characters, parentheses (()), square
|
|
3227
|
+
# brackets (\[\]), spaces ( ), periods (.), slashes (/), dashes (-),
|
|
3228
|
+
# single quotes ('), at-signs (@), or underscores(\_)
|
|
3229
|
+
#
|
|
3230
|
+
# @option params [Boolean] :dry_run
|
|
3231
|
+
# Checks whether you have the required permissions for the action,
|
|
3232
|
+
# without actually making the request, and provides an error response.
|
|
3233
|
+
# If you have the required permissions, the error response is
|
|
3234
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
3235
|
+
#
|
|
3236
|
+
# @return [Types::AttachImageWatermarkResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3237
|
+
#
|
|
3238
|
+
# * {Types::AttachImageWatermarkResult#watermark_key #watermark_key} => String
|
|
3239
|
+
#
|
|
3240
|
+
# @example Request syntax with placeholder values
|
|
3241
|
+
#
|
|
3242
|
+
# resp = client.attach_image_watermark({
|
|
3243
|
+
# image_id: "ImageId", # required
|
|
3244
|
+
# watermark_name: "ImageWatermarkNameRequest", # required
|
|
3245
|
+
# dry_run: false,
|
|
3246
|
+
# })
|
|
3247
|
+
#
|
|
3248
|
+
# @example Response structure
|
|
3249
|
+
#
|
|
3250
|
+
# resp.watermark_key #=> String
|
|
3251
|
+
#
|
|
3252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachImageWatermark AWS API Documentation
|
|
3253
|
+
#
|
|
3254
|
+
# @overload attach_image_watermark(params = {})
|
|
3255
|
+
# @param [Hash] params ({})
|
|
3256
|
+
def attach_image_watermark(params = {}, options = {})
|
|
3257
|
+
req = build_request(:attach_image_watermark, params)
|
|
3258
|
+
req.send_request(options)
|
|
3259
|
+
end
|
|
3260
|
+
|
|
3205
3261
|
# Attaches an internet gateway or a virtual private gateway to a VPC,
|
|
3206
3262
|
# enabling connectivity between the internet and the VPC. For more
|
|
3207
3263
|
# information, see [Internet gateways][1] in the *Amazon VPC User
|
|
@@ -30401,6 +30457,12 @@ module Aws::EC2
|
|
|
30401
30457
|
# resp.images[0].source_image_id #=> String
|
|
30402
30458
|
# resp.images[0].source_image_region #=> String
|
|
30403
30459
|
# resp.images[0].free_tier_eligible #=> Boolean
|
|
30460
|
+
# resp.images[0].image_watermarks #=> Array
|
|
30461
|
+
# resp.images[0].image_watermarks[0].watermark_key #=> String
|
|
30462
|
+
# resp.images[0].image_watermarks[0].source_image_region #=> String
|
|
30463
|
+
# resp.images[0].image_watermarks[0].source_image_id #=> String
|
|
30464
|
+
# resp.images[0].image_watermarks[0].source_image_creation_time #=> Time
|
|
30465
|
+
# resp.images[0].image_watermarks[0].watermark_creation_time #=> Time
|
|
30404
30466
|
# resp.images[0].image_id #=> String
|
|
30405
30467
|
# resp.images[0].image_location #=> String
|
|
30406
30468
|
# resp.images[0].state #=> String, one of "pending", "available", "invalid", "deregistered", "transient", "failed", "error", "disabled"
|
|
@@ -31288,6 +31350,12 @@ module Aws::EC2
|
|
|
31288
31350
|
# resp.instance_image_metadata[0].image_metadata.deprecation_time #=> String
|
|
31289
31351
|
# resp.instance_image_metadata[0].image_metadata.image_allowed #=> Boolean
|
|
31290
31352
|
# resp.instance_image_metadata[0].image_metadata.is_public #=> Boolean
|
|
31353
|
+
# resp.instance_image_metadata[0].image_metadata.image_watermarks #=> Array
|
|
31354
|
+
# resp.instance_image_metadata[0].image_metadata.image_watermarks[0].watermark_key #=> String
|
|
31355
|
+
# resp.instance_image_metadata[0].image_metadata.image_watermarks[0].source_image_region #=> String
|
|
31356
|
+
# resp.instance_image_metadata[0].image_metadata.image_watermarks[0].source_image_id #=> String
|
|
31357
|
+
# resp.instance_image_metadata[0].image_metadata.image_watermarks[0].source_image_creation_time #=> Time
|
|
31358
|
+
# resp.instance_image_metadata[0].image_metadata.image_watermarks[0].watermark_creation_time #=> Time
|
|
31291
31359
|
# resp.instance_image_metadata[0].operator.managed #=> Boolean
|
|
31292
31360
|
# resp.instance_image_metadata[0].operator.principal #=> String
|
|
31293
31361
|
# resp.instance_image_metadata[0].operator.hidden_by_default #=> Boolean
|
|
@@ -47661,6 +47729,53 @@ module Aws::EC2
|
|
|
47661
47729
|
req.send_request(options)
|
|
47662
47730
|
end
|
|
47663
47731
|
|
|
47732
|
+
# Removes a watermark from the specified AMI. This is an idempotent
|
|
47733
|
+
# operation. It succeeds even if the watermark does not exist on the
|
|
47734
|
+
# image.
|
|
47735
|
+
#
|
|
47736
|
+
# Removing a watermark from an image does not affect derivative images
|
|
47737
|
+
# that already carry the watermark.
|
|
47738
|
+
#
|
|
47739
|
+
# Only the AMI owner can detach watermarks.
|
|
47740
|
+
#
|
|
47741
|
+
# @option params [required, String] :image_id
|
|
47742
|
+
# The ID of the AMI.
|
|
47743
|
+
#
|
|
47744
|
+
# @option params [required, String] :watermark_key
|
|
47745
|
+
# The watermark key to remove, in `accountId:watermarkName` format (for
|
|
47746
|
+
# example, `123456789012:approvedAmi`).
|
|
47747
|
+
#
|
|
47748
|
+
# @option params [Boolean] :dry_run
|
|
47749
|
+
# Checks whether you have the required permissions for the action,
|
|
47750
|
+
# without actually making the request, and provides an error response.
|
|
47751
|
+
# If you have the required permissions, the error response is
|
|
47752
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
47753
|
+
#
|
|
47754
|
+
# @return [Types::DetachImageWatermarkResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
47755
|
+
#
|
|
47756
|
+
# * {Types::DetachImageWatermarkResult#return #return} => Boolean
|
|
47757
|
+
#
|
|
47758
|
+
# @example Request syntax with placeholder values
|
|
47759
|
+
#
|
|
47760
|
+
# resp = client.detach_image_watermark({
|
|
47761
|
+
# image_id: "ImageId", # required
|
|
47762
|
+
# watermark_key: "String", # required
|
|
47763
|
+
# dry_run: false,
|
|
47764
|
+
# })
|
|
47765
|
+
#
|
|
47766
|
+
# @example Response structure
|
|
47767
|
+
#
|
|
47768
|
+
# resp.return #=> Boolean
|
|
47769
|
+
#
|
|
47770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachImageWatermark AWS API Documentation
|
|
47771
|
+
#
|
|
47772
|
+
# @overload detach_image_watermark(params = {})
|
|
47773
|
+
# @param [Hash] params ({})
|
|
47774
|
+
def detach_image_watermark(params = {}, options = {})
|
|
47775
|
+
req = build_request(:detach_image_watermark, params)
|
|
47776
|
+
req.send_request(options)
|
|
47777
|
+
end
|
|
47778
|
+
|
|
47664
47779
|
# Detaches an internet gateway from a VPC, disabling connectivity
|
|
47665
47780
|
# between the internet and the VPC. The VPC must not contain any running
|
|
47666
47781
|
# instances with Elastic IP addresses or public IPv4 addresses.
|
|
@@ -73969,7 +74084,7 @@ module Aws::EC2
|
|
|
73969
74084
|
tracer: tracer
|
|
73970
74085
|
)
|
|
73971
74086
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
73972
|
-
context[:gem_version] = '1.
|
|
74087
|
+
context[:gem_version] = '1.623.0'
|
|
73973
74088
|
Seahorse::Client::Request.new(handlers, context)
|
|
73974
74089
|
end
|
|
73975
74090
|
|
|
@@ -189,6 +189,8 @@ module Aws::EC2
|
|
|
189
189
|
AthenaIntegrationsSet = Shapes::ListShape.new(name: 'AthenaIntegrationsSet')
|
|
190
190
|
AttachClassicLinkVpcRequest = Shapes::StructureShape.new(name: 'AttachClassicLinkVpcRequest')
|
|
191
191
|
AttachClassicLinkVpcResult = Shapes::StructureShape.new(name: 'AttachClassicLinkVpcResult')
|
|
192
|
+
AttachImageWatermarkRequest = Shapes::StructureShape.new(name: 'AttachImageWatermarkRequest')
|
|
193
|
+
AttachImageWatermarkResult = Shapes::StructureShape.new(name: 'AttachImageWatermarkResult')
|
|
192
194
|
AttachInternetGatewayRequest = Shapes::StructureShape.new(name: 'AttachInternetGatewayRequest')
|
|
193
195
|
AttachNetworkInterfaceRequest = Shapes::StructureShape.new(name: 'AttachNetworkInterfaceRequest')
|
|
194
196
|
AttachNetworkInterfaceResult = Shapes::StructureShape.new(name: 'AttachNetworkInterfaceResult')
|
|
@@ -1442,6 +1444,8 @@ module Aws::EC2
|
|
|
1442
1444
|
DestinationOptionsResponse = Shapes::StructureShape.new(name: 'DestinationOptionsResponse')
|
|
1443
1445
|
DetachClassicLinkVpcRequest = Shapes::StructureShape.new(name: 'DetachClassicLinkVpcRequest')
|
|
1444
1446
|
DetachClassicLinkVpcResult = Shapes::StructureShape.new(name: 'DetachClassicLinkVpcResult')
|
|
1447
|
+
DetachImageWatermarkRequest = Shapes::StructureShape.new(name: 'DetachImageWatermarkRequest')
|
|
1448
|
+
DetachImageWatermarkResult = Shapes::StructureShape.new(name: 'DetachImageWatermarkResult')
|
|
1445
1449
|
DetachInternetGatewayRequest = Shapes::StructureShape.new(name: 'DetachInternetGatewayRequest')
|
|
1446
1450
|
DetachNetworkInterfaceRequest = Shapes::StructureShape.new(name: 'DetachNetworkInterfaceRequest')
|
|
1447
1451
|
DetachVerifiedAccessTrustProviderRequest = Shapes::StructureShape.new(name: 'DetachVerifiedAccessTrustProviderRequest')
|
|
@@ -2068,6 +2072,9 @@ module Aws::EC2
|
|
|
2068
2072
|
ImageUsageResourceTypeOptionValuesList = Shapes::ListShape.new(name: 'ImageUsageResourceTypeOptionValuesList')
|
|
2069
2073
|
ImageUsageResourceTypeRequest = Shapes::StructureShape.new(name: 'ImageUsageResourceTypeRequest')
|
|
2070
2074
|
ImageUsageResourceTypeRequestList = Shapes::ListShape.new(name: 'ImageUsageResourceTypeRequestList')
|
|
2075
|
+
ImageWatermark = Shapes::StructureShape.new(name: 'ImageWatermark')
|
|
2076
|
+
ImageWatermarkList = Shapes::ListShape.new(name: 'ImageWatermarkList')
|
|
2077
|
+
ImageWatermarkNameRequest = Shapes::StringShape.new(name: 'ImageWatermarkNameRequest')
|
|
2071
2078
|
ImdsSupportValues = Shapes::StringShape.new(name: 'ImdsSupportValues')
|
|
2072
2079
|
ImportClientVpnClientCertificateRevocationListRequest = Shapes::StructureShape.new(name: 'ImportClientVpnClientCertificateRevocationListRequest')
|
|
2073
2080
|
ImportClientVpnClientCertificateRevocationListResult = Shapes::StructureShape.new(name: 'ImportClientVpnClientCertificateRevocationListResult')
|
|
@@ -4702,6 +4709,14 @@ module Aws::EC2
|
|
|
4702
4709
|
AttachClassicLinkVpcResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
|
4703
4710
|
AttachClassicLinkVpcResult.struct_class = Types::AttachClassicLinkVpcResult
|
|
4704
4711
|
|
|
4712
|
+
AttachImageWatermarkRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
|
4713
|
+
AttachImageWatermarkRequest.add_member(:watermark_name, Shapes::ShapeRef.new(shape: ImageWatermarkNameRequest, required: true, location_name: "WatermarkName"))
|
|
4714
|
+
AttachImageWatermarkRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
4715
|
+
AttachImageWatermarkRequest.struct_class = Types::AttachImageWatermarkRequest
|
|
4716
|
+
|
|
4717
|
+
AttachImageWatermarkResult.add_member(:watermark_key, Shapes::ShapeRef.new(shape: String, location_name: "watermarkKey"))
|
|
4718
|
+
AttachImageWatermarkResult.struct_class = Types::AttachImageWatermarkResult
|
|
4719
|
+
|
|
4705
4720
|
AttachInternetGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
4706
4721
|
AttachInternetGatewayRequest.add_member(:internet_gateway_id, Shapes::ShapeRef.new(shape: InternetGatewayId, required: true, location_name: "internetGatewayId"))
|
|
4707
4722
|
AttachInternetGatewayRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
|
@@ -10068,6 +10083,14 @@ module Aws::EC2
|
|
|
10068
10083
|
DetachClassicLinkVpcResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
|
10069
10084
|
DetachClassicLinkVpcResult.struct_class = Types::DetachClassicLinkVpcResult
|
|
10070
10085
|
|
|
10086
|
+
DetachImageWatermarkRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
|
10087
|
+
DetachImageWatermarkRequest.add_member(:watermark_key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "WatermarkKey"))
|
|
10088
|
+
DetachImageWatermarkRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
10089
|
+
DetachImageWatermarkRequest.struct_class = Types::DetachImageWatermarkRequest
|
|
10090
|
+
|
|
10091
|
+
DetachImageWatermarkResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
|
10092
|
+
DetachImageWatermarkResult.struct_class = Types::DetachImageWatermarkResult
|
|
10093
|
+
|
|
10071
10094
|
DetachInternetGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
|
10072
10095
|
DetachInternetGatewayRequest.add_member(:internet_gateway_id, Shapes::ShapeRef.new(shape: InternetGatewayId, required: true, location_name: "internetGatewayId"))
|
|
10073
10096
|
DetachInternetGatewayRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
|
@@ -12280,6 +12303,7 @@ module Aws::EC2
|
|
|
12280
12303
|
Image.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageId"))
|
|
12281
12304
|
Image.add_member(:source_image_region, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageRegion"))
|
|
12282
12305
|
Image.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: Boolean, location_name: "freeTierEligible"))
|
|
12306
|
+
Image.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkList, location_name: "imageWatermarkSet"))
|
|
12283
12307
|
Image.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
|
12284
12308
|
Image.add_member(:image_location, Shapes::ShapeRef.new(shape: String, location_name: "imageLocation"))
|
|
12285
12309
|
Image.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "imageState"))
|
|
@@ -12362,6 +12386,7 @@ module Aws::EC2
|
|
|
12362
12386
|
ImageMetadata.add_member(:deprecation_time, Shapes::ShapeRef.new(shape: String, location_name: "deprecationTime"))
|
|
12363
12387
|
ImageMetadata.add_member(:image_allowed, Shapes::ShapeRef.new(shape: Boolean, location_name: "imageAllowed"))
|
|
12364
12388
|
ImageMetadata.add_member(:is_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPublic"))
|
|
12389
|
+
ImageMetadata.add_member(:image_watermarks, Shapes::ShapeRef.new(shape: ImageWatermarkList, location_name: "imageWatermarkSet"))
|
|
12365
12390
|
ImageMetadata.struct_class = Types::ImageMetadata
|
|
12366
12391
|
|
|
12367
12392
|
ImageNameCriteriaRequestList.member = Shapes::ShapeRef.new(shape: ImageNameCriteriaRequest, location_name: "item")
|
|
@@ -12441,6 +12466,15 @@ module Aws::EC2
|
|
|
12441
12466
|
|
|
12442
12467
|
ImageUsageResourceTypeRequestList.member = Shapes::ShapeRef.new(shape: ImageUsageResourceTypeRequest)
|
|
12443
12468
|
|
|
12469
|
+
ImageWatermark.add_member(:watermark_key, Shapes::ShapeRef.new(shape: String, location_name: "watermarkKey"))
|
|
12470
|
+
ImageWatermark.add_member(:source_image_region, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageRegion"))
|
|
12471
|
+
ImageWatermark.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageId"))
|
|
12472
|
+
ImageWatermark.add_member(:source_image_creation_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "sourceImageCreationTime"))
|
|
12473
|
+
ImageWatermark.add_member(:watermark_creation_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "watermarkCreationTime"))
|
|
12474
|
+
ImageWatermark.struct_class = Types::ImageWatermark
|
|
12475
|
+
|
|
12476
|
+
ImageWatermarkList.member = Shapes::ShapeRef.new(shape: ImageWatermark, location_name: "item")
|
|
12477
|
+
|
|
12444
12478
|
ImportClientVpnClientCertificateRevocationListRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
|
12445
12479
|
ImportClientVpnClientCertificateRevocationListRequest.add_member(:certificate_revocation_list, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CertificateRevocationList"))
|
|
12446
12480
|
ImportClientVpnClientCertificateRevocationListRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
@@ -20143,6 +20177,14 @@ module Aws::EC2
|
|
|
20143
20177
|
o.output = Shapes::ShapeRef.new(shape: AttachClassicLinkVpcResult)
|
|
20144
20178
|
end)
|
|
20145
20179
|
|
|
20180
|
+
api.add_operation(:attach_image_watermark, Seahorse::Model::Operation.new.tap do |o|
|
|
20181
|
+
o.name = "AttachImageWatermark"
|
|
20182
|
+
o.http_method = "POST"
|
|
20183
|
+
o.http_request_uri = "/"
|
|
20184
|
+
o.input = Shapes::ShapeRef.new(shape: AttachImageWatermarkRequest)
|
|
20185
|
+
o.output = Shapes::ShapeRef.new(shape: AttachImageWatermarkResult)
|
|
20186
|
+
end)
|
|
20187
|
+
|
|
20146
20188
|
api.add_operation(:attach_internet_gateway, Seahorse::Model::Operation.new.tap do |o|
|
|
20147
20189
|
o.name = "AttachInternetGateway"
|
|
20148
20190
|
o.http_method = "POST"
|
|
@@ -24310,6 +24352,14 @@ module Aws::EC2
|
|
|
24310
24352
|
o.output = Shapes::ShapeRef.new(shape: DetachClassicLinkVpcResult)
|
|
24311
24353
|
end)
|
|
24312
24354
|
|
|
24355
|
+
api.add_operation(:detach_image_watermark, Seahorse::Model::Operation.new.tap do |o|
|
|
24356
|
+
o.name = "DetachImageWatermark"
|
|
24357
|
+
o.http_method = "POST"
|
|
24358
|
+
o.http_request_uri = "/"
|
|
24359
|
+
o.input = Shapes::ShapeRef.new(shape: DetachImageWatermarkRequest)
|
|
24360
|
+
o.output = Shapes::ShapeRef.new(shape: DetachImageWatermarkResult)
|
|
24361
|
+
end)
|
|
24362
|
+
|
|
24313
24363
|
api.add_operation(:detach_internet_gateway, Seahorse::Model::Operation.new.tap do |o|
|
|
24314
24364
|
o.name = "DetachInternetGateway"
|
|
24315
24365
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
|
@@ -264,6 +264,12 @@ module Aws::EC2
|
|
|
264
264
|
data[:free_tier_eligible]
|
|
265
265
|
end
|
|
266
266
|
|
|
267
|
+
# The watermarks attached to the AMI.
|
|
268
|
+
# @return [Array<Types::ImageWatermark>]
|
|
269
|
+
def image_watermarks
|
|
270
|
+
data[:image_watermarks]
|
|
271
|
+
end
|
|
272
|
+
|
|
267
273
|
# The location of the AMI.
|
|
268
274
|
# @return [String]
|
|
269
275
|
def image_location
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -3189,6 +3189,49 @@ module Aws::EC2
|
|
|
3189
3189
|
include Aws::Structure
|
|
3190
3190
|
end
|
|
3191
3191
|
|
|
3192
|
+
# @!attribute [rw] image_id
|
|
3193
|
+
# The ID of the AMI.
|
|
3194
|
+
# @return [String]
|
|
3195
|
+
#
|
|
3196
|
+
# @!attribute [rw] watermark_name
|
|
3197
|
+
# The name for the watermark. Combined with the caller's account ID
|
|
3198
|
+
# to form the `WatermarkKey` (`accountId:watermarkName`).
|
|
3199
|
+
#
|
|
3200
|
+
# Constraints: 3-128 alphanumeric characters, parentheses (()), square
|
|
3201
|
+
# brackets (\[\]), spaces ( ), periods (.), slashes (/), dashes (-),
|
|
3202
|
+
# single quotes ('), at-signs (@), or underscores(\_)
|
|
3203
|
+
# @return [String]
|
|
3204
|
+
#
|
|
3205
|
+
# @!attribute [rw] dry_run
|
|
3206
|
+
# Checks whether you have the required permissions for the action,
|
|
3207
|
+
# without actually making the request, and provides an error response.
|
|
3208
|
+
# If you have the required permissions, the error response is
|
|
3209
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
3210
|
+
# @return [Boolean]
|
|
3211
|
+
#
|
|
3212
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachImageWatermarkRequest AWS API Documentation
|
|
3213
|
+
#
|
|
3214
|
+
class AttachImageWatermarkRequest < Struct.new(
|
|
3215
|
+
:image_id,
|
|
3216
|
+
:watermark_name,
|
|
3217
|
+
:dry_run)
|
|
3218
|
+
SENSITIVE = []
|
|
3219
|
+
include Aws::Structure
|
|
3220
|
+
end
|
|
3221
|
+
|
|
3222
|
+
# @!attribute [rw] watermark_key
|
|
3223
|
+
# The watermark identifier, in `accountId:watermarkName` format (for
|
|
3224
|
+
# example, `123456789012:approvedAmi`).
|
|
3225
|
+
# @return [String]
|
|
3226
|
+
#
|
|
3227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachImageWatermarkResult AWS API Documentation
|
|
3228
|
+
#
|
|
3229
|
+
class AttachImageWatermarkResult < Struct.new(
|
|
3230
|
+
:watermark_key)
|
|
3231
|
+
SENSITIVE = []
|
|
3232
|
+
include Aws::Structure
|
|
3233
|
+
end
|
|
3234
|
+
|
|
3192
3235
|
# @!attribute [rw] dry_run
|
|
3193
3236
|
# Checks whether you have the required permissions for the action,
|
|
3194
3237
|
# without actually making the request, and provides an error response.
|
|
@@ -36479,6 +36522,45 @@ module Aws::EC2
|
|
|
36479
36522
|
include Aws::Structure
|
|
36480
36523
|
end
|
|
36481
36524
|
|
|
36525
|
+
# @!attribute [rw] image_id
|
|
36526
|
+
# The ID of the AMI.
|
|
36527
|
+
# @return [String]
|
|
36528
|
+
#
|
|
36529
|
+
# @!attribute [rw] watermark_key
|
|
36530
|
+
# The watermark key to remove, in `accountId:watermarkName` format
|
|
36531
|
+
# (for example, `123456789012:approvedAmi`).
|
|
36532
|
+
# @return [String]
|
|
36533
|
+
#
|
|
36534
|
+
# @!attribute [rw] dry_run
|
|
36535
|
+
# Checks whether you have the required permissions for the action,
|
|
36536
|
+
# without actually making the request, and provides an error response.
|
|
36537
|
+
# If you have the required permissions, the error response is
|
|
36538
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
36539
|
+
# @return [Boolean]
|
|
36540
|
+
#
|
|
36541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachImageWatermarkRequest AWS API Documentation
|
|
36542
|
+
#
|
|
36543
|
+
class DetachImageWatermarkRequest < Struct.new(
|
|
36544
|
+
:image_id,
|
|
36545
|
+
:watermark_key,
|
|
36546
|
+
:dry_run)
|
|
36547
|
+
SENSITIVE = []
|
|
36548
|
+
include Aws::Structure
|
|
36549
|
+
end
|
|
36550
|
+
|
|
36551
|
+
# @!attribute [rw] return
|
|
36552
|
+
# Returns `true` if the request succeeds; otherwise, it returns an
|
|
36553
|
+
# error.
|
|
36554
|
+
# @return [Boolean]
|
|
36555
|
+
#
|
|
36556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachImageWatermarkResult AWS API Documentation
|
|
36557
|
+
#
|
|
36558
|
+
class DetachImageWatermarkResult < Struct.new(
|
|
36559
|
+
:return)
|
|
36560
|
+
SENSITIVE = []
|
|
36561
|
+
include Aws::Structure
|
|
36562
|
+
end
|
|
36563
|
+
|
|
36482
36564
|
# @!attribute [rw] dry_run
|
|
36483
36565
|
# Checks whether you have the required permissions for the action,
|
|
36484
36566
|
# without actually making the request, and provides an error response.
|
|
@@ -48469,6 +48551,10 @@ module Aws::EC2
|
|
|
48469
48551
|
# * If `false`, the AMI is not eligible for Free Tier.
|
|
48470
48552
|
# @return [Boolean]
|
|
48471
48553
|
#
|
|
48554
|
+
# @!attribute [rw] image_watermarks
|
|
48555
|
+
# The watermarks attached to the AMI.
|
|
48556
|
+
# @return [Array<Types::ImageWatermark>]
|
|
48557
|
+
#
|
|
48472
48558
|
# @!attribute [rw] image_id
|
|
48473
48559
|
# The ID of the AMI.
|
|
48474
48560
|
# @return [String]
|
|
@@ -48551,6 +48637,7 @@ module Aws::EC2
|
|
|
48551
48637
|
:source_image_id,
|
|
48552
48638
|
:source_image_region,
|
|
48553
48639
|
:free_tier_eligible,
|
|
48640
|
+
:image_watermarks,
|
|
48554
48641
|
:image_id,
|
|
48555
48642
|
:image_location,
|
|
48556
48643
|
:state,
|
|
@@ -48991,6 +49078,10 @@ module Aws::EC2
|
|
|
48991
49078
|
# account) launch permissions.
|
|
48992
49079
|
# @return [Boolean]
|
|
48993
49080
|
#
|
|
49081
|
+
# @!attribute [rw] image_watermarks
|
|
49082
|
+
# The watermarks attached to the AMI.
|
|
49083
|
+
# @return [Array<Types::ImageWatermark>]
|
|
49084
|
+
#
|
|
48994
49085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageMetadata AWS API Documentation
|
|
48995
49086
|
#
|
|
48996
49087
|
class ImageMetadata < Struct.new(
|
|
@@ -49002,7 +49093,8 @@ module Aws::EC2
|
|
|
49002
49093
|
:creation_date,
|
|
49003
49094
|
:deprecation_time,
|
|
49004
49095
|
:image_allowed,
|
|
49005
|
-
:is_public
|
|
49096
|
+
:is_public,
|
|
49097
|
+
:image_watermarks)
|
|
49006
49098
|
SENSITIVE = []
|
|
49007
49099
|
include Aws::Structure
|
|
49008
49100
|
end
|
|
@@ -49262,6 +49354,46 @@ module Aws::EC2
|
|
|
49262
49354
|
include Aws::Structure
|
|
49263
49355
|
end
|
|
49264
49356
|
|
|
49357
|
+
# Describes a watermark attached to an AMI.
|
|
49358
|
+
#
|
|
49359
|
+
# @!attribute [rw] watermark_key
|
|
49360
|
+
# The watermark identifier, in `accountId:watermarkName` format (for
|
|
49361
|
+
# example, `123456789012:approvedAmi`). The `accountId` portion is the
|
|
49362
|
+
# Amazon Web Services account ID of the watermark creator. The
|
|
49363
|
+
# `watermarkName` portion is customer-provided.
|
|
49364
|
+
# @return [String]
|
|
49365
|
+
#
|
|
49366
|
+
# @!attribute [rw] source_image_region
|
|
49367
|
+
# The Region where the watermark was originally attached.
|
|
49368
|
+
# @return [String]
|
|
49369
|
+
#
|
|
49370
|
+
# @!attribute [rw] source_image_id
|
|
49371
|
+
# The ID of the AMI to which the watermark was originally attached.
|
|
49372
|
+
# @return [String]
|
|
49373
|
+
#
|
|
49374
|
+
# @!attribute [rw] source_image_creation_time
|
|
49375
|
+
# The creation date of the source AMI, in the following format:
|
|
49376
|
+
# *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*.*ssssss*+*HH*:*MM*.
|
|
49377
|
+
# @return [Time]
|
|
49378
|
+
#
|
|
49379
|
+
# @!attribute [rw] watermark_creation_time
|
|
49380
|
+
# The date and time the watermark was attached to the AMI, in the
|
|
49381
|
+
# following format:
|
|
49382
|
+
# *YYYY*-*MM*-*DD*T*HH*:*MM*:*SS*.*ssssss*+*HH*:*MM*.
|
|
49383
|
+
# @return [Time]
|
|
49384
|
+
#
|
|
49385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageWatermark AWS API Documentation
|
|
49386
|
+
#
|
|
49387
|
+
class ImageWatermark < Struct.new(
|
|
49388
|
+
:watermark_key,
|
|
49389
|
+
:source_image_region,
|
|
49390
|
+
:source_image_id,
|
|
49391
|
+
:source_image_creation_time,
|
|
49392
|
+
:watermark_creation_time)
|
|
49393
|
+
SENSITIVE = []
|
|
49394
|
+
include Aws::Structure
|
|
49395
|
+
end
|
|
49396
|
+
|
|
49265
49397
|
# @!attribute [rw] client_vpn_endpoint_id
|
|
49266
49398
|
# The ID of the Client VPN endpoint to which the client certificate
|
|
49267
49399
|
# revocation list applies.
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -657,6 +657,18 @@ module Aws
|
|
|
657
657
|
) -> _AttachClassicLinkVpcResponseSuccess
|
|
658
658
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AttachClassicLinkVpcResponseSuccess
|
|
659
659
|
|
|
660
|
+
interface _AttachImageWatermarkResponseSuccess
|
|
661
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AttachImageWatermarkResult]
|
|
662
|
+
def watermark_key: () -> ::String
|
|
663
|
+
end
|
|
664
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#attach_image_watermark-instance_method
|
|
665
|
+
def attach_image_watermark: (
|
|
666
|
+
image_id: ::String,
|
|
667
|
+
watermark_name: ::String,
|
|
668
|
+
?dry_run: bool
|
|
669
|
+
) -> _AttachImageWatermarkResponseSuccess
|
|
670
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AttachImageWatermarkResponseSuccess
|
|
671
|
+
|
|
660
672
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#attach_internet_gateway-instance_method
|
|
661
673
|
def attach_internet_gateway: (
|
|
662
674
|
?dry_run: bool,
|
|
@@ -8833,6 +8845,18 @@ module Aws
|
|
|
8833
8845
|
) -> _DetachClassicLinkVpcResponseSuccess
|
|
8834
8846
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetachClassicLinkVpcResponseSuccess
|
|
8835
8847
|
|
|
8848
|
+
interface _DetachImageWatermarkResponseSuccess
|
|
8849
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DetachImageWatermarkResult]
|
|
8850
|
+
def return: () -> bool
|
|
8851
|
+
end
|
|
8852
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#detach_image_watermark-instance_method
|
|
8853
|
+
def detach_image_watermark: (
|
|
8854
|
+
image_id: ::String,
|
|
8855
|
+
watermark_key: ::String,
|
|
8856
|
+
?dry_run: bool
|
|
8857
|
+
) -> _DetachImageWatermarkResponseSuccess
|
|
8858
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetachImageWatermarkResponseSuccess
|
|
8859
|
+
|
|
8836
8860
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#detach_internet_gateway-instance_method
|
|
8837
8861
|
def detach_internet_gateway: (
|
|
8838
8862
|
?dry_run: bool,
|
data/sig/image.rbs
CHANGED
|
@@ -93,6 +93,9 @@ module Aws
|
|
|
93
93
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#free_tier_eligible-instance_method
|
|
94
94
|
def free_tier_eligible: () -> bool
|
|
95
95
|
|
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#image_watermarks-instance_method
|
|
97
|
+
def image_watermarks: () -> ::Array[Types::ImageWatermark]
|
|
98
|
+
|
|
96
99
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Image.html#image_location-instance_method
|
|
97
100
|
def image_location: () -> ::String
|
|
98
101
|
|
data/sig/types.rbs
CHANGED
|
@@ -802,6 +802,18 @@ module Aws::EC2
|
|
|
802
802
|
SENSITIVE: []
|
|
803
803
|
end
|
|
804
804
|
|
|
805
|
+
class AttachImageWatermarkRequest
|
|
806
|
+
attr_accessor image_id: ::String
|
|
807
|
+
attr_accessor watermark_name: ::String
|
|
808
|
+
attr_accessor dry_run: bool
|
|
809
|
+
SENSITIVE: []
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
class AttachImageWatermarkResult
|
|
813
|
+
attr_accessor watermark_key: ::String
|
|
814
|
+
SENSITIVE: []
|
|
815
|
+
end
|
|
816
|
+
|
|
805
817
|
class AttachInternetGatewayRequest
|
|
806
818
|
attr_accessor dry_run: bool
|
|
807
819
|
attr_accessor internet_gateway_id: ::String
|
|
@@ -7876,6 +7888,18 @@ module Aws::EC2
|
|
|
7876
7888
|
SENSITIVE: []
|
|
7877
7889
|
end
|
|
7878
7890
|
|
|
7891
|
+
class DetachImageWatermarkRequest
|
|
7892
|
+
attr_accessor image_id: ::String
|
|
7893
|
+
attr_accessor watermark_key: ::String
|
|
7894
|
+
attr_accessor dry_run: bool
|
|
7895
|
+
SENSITIVE: []
|
|
7896
|
+
end
|
|
7897
|
+
|
|
7898
|
+
class DetachImageWatermarkResult
|
|
7899
|
+
attr_accessor return: bool
|
|
7900
|
+
SENSITIVE: []
|
|
7901
|
+
end
|
|
7902
|
+
|
|
7879
7903
|
class DetachInternetGatewayRequest
|
|
7880
7904
|
attr_accessor dry_run: bool
|
|
7881
7905
|
attr_accessor internet_gateway_id: ::String
|
|
@@ -10717,6 +10741,7 @@ module Aws::EC2
|
|
|
10717
10741
|
attr_accessor source_image_id: ::String
|
|
10718
10742
|
attr_accessor source_image_region: ::String
|
|
10719
10743
|
attr_accessor free_tier_eligible: bool
|
|
10744
|
+
attr_accessor image_watermarks: ::Array[Types::ImageWatermark]
|
|
10720
10745
|
attr_accessor image_id: ::String
|
|
10721
10746
|
attr_accessor image_location: ::String
|
|
10722
10747
|
attr_accessor state: ("pending" | "available" | "invalid" | "deregistered" | "transient" | "failed" | "error" | "disabled")
|
|
@@ -10797,6 +10822,7 @@ module Aws::EC2
|
|
|
10797
10822
|
attr_accessor deprecation_time: ::String
|
|
10798
10823
|
attr_accessor image_allowed: bool
|
|
10799
10824
|
attr_accessor is_public: bool
|
|
10825
|
+
attr_accessor image_watermarks: ::Array[Types::ImageWatermark]
|
|
10800
10826
|
SENSITIVE: []
|
|
10801
10827
|
end
|
|
10802
10828
|
|
|
@@ -10863,6 +10889,15 @@ module Aws::EC2
|
|
|
10863
10889
|
SENSITIVE: []
|
|
10864
10890
|
end
|
|
10865
10891
|
|
|
10892
|
+
class ImageWatermark
|
|
10893
|
+
attr_accessor watermark_key: ::String
|
|
10894
|
+
attr_accessor source_image_region: ::String
|
|
10895
|
+
attr_accessor source_image_id: ::String
|
|
10896
|
+
attr_accessor source_image_creation_time: ::Time
|
|
10897
|
+
attr_accessor watermark_creation_time: ::Time
|
|
10898
|
+
SENSITIVE: []
|
|
10899
|
+
end
|
|
10900
|
+
|
|
10866
10901
|
class ImportClientVpnClientCertificateRevocationListRequest
|
|
10867
10902
|
attr_accessor client_vpn_endpoint_id: ::String
|
|
10868
10903
|
attr_accessor certificate_revocation_list: ::String
|