aws-sdk-ec2 1.440.0 → 1.441.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4096e14580d5d715f23a1deac06e2a9da75f3a9cca335b1098a67ab862111649
4
- data.tar.gz: d09da30b9005c497e2047412ae68ea8da4cd58b7e6d7cff58be5db79683ca5a4
3
+ metadata.gz: 8351b64e436d0f6c1d3929e0755607e1ac8f83de6fea4ac3c78f66eb167b0767
4
+ data.tar.gz: 7839f528024bfa4a6a8659effb647ca8dfa2d2f5abeb80143bc5f4d0c3986ad5
5
5
  SHA512:
6
- metadata.gz: dbfbfbfa5c47fd17a13ae6ed716b4c4c0ccb1969b848b4a80909cac5b92cc1f949f2da4d63d4d2f5415c7b00b1b7b5c6840096405fe8de43298bac8714652dff
7
- data.tar.gz: b51bc24a00df8fcaa52d0b3c69a2468f38f167f5f43931dcab2542d42198b4b2e23b5c30385d0b65f3321fb2ae9f069cc51847ad01f0ced0b4113c8fef99e10d
6
+ metadata.gz: 93ac18dbf8ea0747a93c84b623fb2124d73cdba96f9e5b380bc275b30733b5f432be6ba41a905b187711a9a4491c6dcefe3c03fe8b30c2da42df6624b96b1877
7
+ data.tar.gz: a385cb4b4b690ce72a70a3e677bafe03e7d962319c1958f6bfecae605ad96f342f29d7d75126c715252c4fe130ab203e0da4656cf68b65620597d1524c4b1479
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.441.0 (2024-03-07)
5
+ ------------------
6
+
7
+ * Feature - This release adds an optional parameter to RegisterImage and CopyImage APIs to support tagging AMIs at the time of creation.
8
+
4
9
  1.440.0 (2024-03-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.440.0
1
+ 1.441.0
@@ -3759,12 +3759,8 @@ module Aws::EC2
3759
3759
  # @option params [required, String] :instance_id
3760
3760
  # The ID of the instance to bundle.
3761
3761
  #
3762
- # Type: String
3763
- #
3764
3762
  # Default: None
3765
3763
  #
3766
- # Required: Yes
3767
- #
3768
3764
  # @option params [required, Types::Storage] :storage
3769
3765
  # The bucket in which to store the AMI. You can specify a bucket that
3770
3766
  # you already own or a new bucket that Amazon EC2 creates on your
@@ -4584,6 +4580,24 @@ module Aws::EC2
4584
4580
  #
4585
4581
  # Default: Your user-defined AMI tags are not copied.
4586
4582
  #
4583
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4584
+ # The tags to apply to the new AMI and new snapshots. You can tag the
4585
+ # AMI, the snapshots, or both.
4586
+ #
4587
+ # * To tag the new AMI, the value for `ResourceType` must be `image`.
4588
+ #
4589
+ # * To tag the new snapshots, the value for `ResourceType` must be
4590
+ # `snapshot`. The same tag is applied to all the new snapshots.
4591
+ #
4592
+ # If you specify other values for `ResourceType`, the request fails.
4593
+ #
4594
+ # To tag an AMI or snapshot after it has been created, see
4595
+ # [CreateTags][1].
4596
+ #
4597
+ #
4598
+ #
4599
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
4600
+ #
4587
4601
  # @return [Types::CopyImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4588
4602
  #
4589
4603
  # * {Types::CopyImageResult#image_id #image_id} => String
@@ -4618,6 +4632,17 @@ module Aws::EC2
4618
4632
  # destination_outpost_arn: "String",
4619
4633
  # dry_run: false,
4620
4634
  # copy_image_tags: false,
4635
+ # tag_specifications: [
4636
+ # {
4637
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
4638
+ # tags: [
4639
+ # {
4640
+ # key: "String",
4641
+ # value: "String",
4642
+ # },
4643
+ # ],
4644
+ # },
4645
+ # ],
4621
4646
  # })
4622
4647
  #
4623
4648
  # @example Response structure
@@ -20027,6 +20052,12 @@ module Aws::EC2
20027
20052
  #
20028
20053
  # </note>
20029
20054
  #
20055
+ # <note markdown="1"> The order of the elements in the response, including those within
20056
+ # nested structures, might vary. Applications should not assume the
20057
+ # elements appear in a particular order.
20058
+ #
20059
+ # </note>
20060
+ #
20030
20061
  # @option params [Array<String>] :bundle_ids
20031
20062
  # The bundle task IDs.
20032
20063
  #
@@ -23268,6 +23299,12 @@ module Aws::EC2
23268
23299
  # Describes the specified attribute of the specified AMI. You can
23269
23300
  # specify only one attribute at a time.
23270
23301
  #
23302
+ # <note markdown="1"> The order of the elements in the response, including those within
23303
+ # nested structures, might vary. Applications should not assume the
23304
+ # elements appear in a particular order.
23305
+ #
23306
+ # </note>
23307
+ #
23271
23308
  # @option params [required, String] :attribute
23272
23309
  # The AMI attribute.
23273
23310
  #
@@ -23385,6 +23422,12 @@ module Aws::EC2
23385
23422
  # image will eventually return an error indicating that the AMI ID
23386
23423
  # cannot be found.
23387
23424
  #
23425
+ # <note markdown="1"> The order of the elements in the response, including those within
23426
+ # nested structures, might vary. Applications should not assume the
23427
+ # elements appear in a particular order.
23428
+ #
23429
+ # </note>
23430
+ #
23388
23431
  # @option params [Array<String>] :executable_users
23389
23432
  # Scopes the images by users with explicit launch permissions. Specify
23390
23433
  # an Amazon Web Services account ID, `self` (the sender of the request),
@@ -52155,8 +52198,8 @@ module Aws::EC2
52155
52198
  req.send_request(options)
52156
52199
  end
52157
52200
 
52158
- # Registers an AMI. When you're creating an AMI, this is the final step
52159
- # you must complete before you can launch an instance from the AMI. For
52201
+ # Registers an AMI. When you're creating an instance-store backed AMI,
52202
+ # registering the AMI is the final step in the creation process. For
52160
52203
  # more information about creating AMIs, see [Create your own AMI][1] in
52161
52204
  # the *Amazon Elastic Compute Cloud User Guide*.
52162
52205
  #
@@ -52369,6 +52412,18 @@ module Aws::EC2
52369
52412
  #
52370
52413
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
52371
52414
  #
52415
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
52416
+ # The tags to apply to the AMI.
52417
+ #
52418
+ # To tag the AMI, the value for `ResourceType` must be `image`. If you
52419
+ # specify another value for `ResourceType`, the request fails.
52420
+ #
52421
+ # To tag an AMI after it has been registered, see [CreateTags][1].
52422
+ #
52423
+ #
52424
+ #
52425
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
52426
+ #
52372
52427
  # @return [Types::RegisterImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
52373
52428
  #
52374
52429
  # * {Types::RegisterImageResult#image_id #image_id} => String
@@ -52410,6 +52465,17 @@ module Aws::EC2
52410
52465
  # tpm_support: "v2.0", # accepts v2.0
52411
52466
  # uefi_data: "StringType",
52412
52467
  # imds_support: "v2.0", # accepts v2.0
52468
+ # tag_specifications: [
52469
+ # {
52470
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
52471
+ # tags: [
52472
+ # {
52473
+ # key: "String",
52474
+ # value: "String",
52475
+ # },
52476
+ # ],
52477
+ # },
52478
+ # ],
52413
52479
  # })
52414
52480
  #
52415
52481
  # @example Response structure
@@ -58826,7 +58892,7 @@ module Aws::EC2
58826
58892
  params: params,
58827
58893
  config: config)
58828
58894
  context[:gem_name] = 'aws-sdk-ec2'
58829
- context[:gem_version] = '1.440.0'
58895
+ context[:gem_version] = '1.441.0'
58830
58896
  Seahorse::Client::Request.new(handlers, context)
58831
58897
  end
58832
58898
 
@@ -4423,6 +4423,7 @@ module Aws::EC2
4423
4423
  CopyImageRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
4424
4424
  CopyImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
4425
4425
  CopyImageRequest.add_member(:copy_image_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "CopyImageTags"))
4426
+ CopyImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4426
4427
  CopyImageRequest.struct_class = Types::CopyImageRequest
4427
4428
 
4428
4429
  CopyImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
@@ -12816,6 +12817,7 @@ module Aws::EC2
12816
12817
  RegisterImageRequest.add_member(:tpm_support, Shapes::ShapeRef.new(shape: TpmSupportValues, location_name: "TpmSupport"))
12817
12818
  RegisterImageRequest.add_member(:uefi_data, Shapes::ShapeRef.new(shape: StringType, location_name: "UefiData"))
12818
12819
  RegisterImageRequest.add_member(:imds_support, Shapes::ShapeRef.new(shape: ImdsSupportValues, location_name: "ImdsSupport"))
12820
+ RegisterImageRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
12819
12821
  RegisterImageRequest.struct_class = Types::RegisterImageRequest
12820
12822
 
12821
12823
  RegisterImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
@@ -1902,6 +1902,17 @@ module Aws::EC2
1902
1902
  # tpm_support: "v2.0", # accepts v2.0
1903
1903
  # uefi_data: "StringType",
1904
1904
  # imds_support: "v2.0", # accepts v2.0
1905
+ # tag_specifications: [
1906
+ # {
1907
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
1908
+ # tags: [
1909
+ # {
1910
+ # key: "String",
1911
+ # value: "String",
1912
+ # },
1913
+ # ],
1914
+ # },
1915
+ # ],
1905
1916
  # })
1906
1917
  # @param [Hash] options ({})
1907
1918
  # @option options [String] :image_location
@@ -2036,6 +2047,17 @@ module Aws::EC2
2036
2047
  #
2037
2048
  #
2038
2049
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
2050
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
2051
+ # The tags to apply to the AMI.
2052
+ #
2053
+ # To tag the AMI, the value for `ResourceType` must be `image`. If you
2054
+ # specify another value for `ResourceType`, the request fails.
2055
+ #
2056
+ # To tag an AMI after it has been registered, see [CreateTags][1].
2057
+ #
2058
+ #
2059
+ #
2060
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
2039
2061
  # @return [Image]
2040
2062
  def register_image(options = {})
2041
2063
  resp = Aws::Plugins::UserAgent.feature('resource') do
@@ -3674,11 +3674,7 @@ module Aws::EC2
3674
3674
  # @!attribute [rw] instance_id
3675
3675
  # The ID of the instance to bundle.
3676
3676
  #
3677
- # Type: String
3678
- #
3679
3677
  # Default: None
3680
- #
3681
- # Required: Yes
3682
3678
  # @return [String]
3683
3679
  #
3684
3680
  # @!attribute [rw] storage
@@ -6448,6 +6444,25 @@ module Aws::EC2
6448
6444
  # Default: Your user-defined AMI tags are not copied.
6449
6445
  # @return [Boolean]
6450
6446
  #
6447
+ # @!attribute [rw] tag_specifications
6448
+ # The tags to apply to the new AMI and new snapshots. You can tag the
6449
+ # AMI, the snapshots, or both.
6450
+ #
6451
+ # * To tag the new AMI, the value for `ResourceType` must be `image`.
6452
+ #
6453
+ # * To tag the new snapshots, the value for `ResourceType` must be
6454
+ # `snapshot`. The same tag is applied to all the new snapshots.
6455
+ #
6456
+ # If you specify other values for `ResourceType`, the request fails.
6457
+ #
6458
+ # To tag an AMI or snapshot after it has been created, see
6459
+ # [CreateTags][1].
6460
+ #
6461
+ #
6462
+ #
6463
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
6464
+ # @return [Array<Types::TagSpecification>]
6465
+ #
6451
6466
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImageRequest AWS API Documentation
6452
6467
  #
6453
6468
  class CopyImageRequest < Struct.new(
@@ -6460,7 +6475,8 @@ module Aws::EC2
6460
6475
  :source_region,
6461
6476
  :destination_outpost_arn,
6462
6477
  :dry_run,
6463
- :copy_image_tags)
6478
+ :copy_image_tags,
6479
+ :tag_specifications)
6464
6480
  SENSITIVE = []
6465
6481
  include Aws::Structure
6466
6482
  end
@@ -54692,6 +54708,19 @@ module Aws::EC2
54692
54708
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-IMDS-new-instances.html#configure-IMDS-new-instances-ami-configuration
54693
54709
  # @return [String]
54694
54710
  #
54711
+ # @!attribute [rw] tag_specifications
54712
+ # The tags to apply to the AMI.
54713
+ #
54714
+ # To tag the AMI, the value for `ResourceType` must be `image`. If you
54715
+ # specify another value for `ResourceType`, the request fails.
54716
+ #
54717
+ # To tag an AMI after it has been registered, see [CreateTags][1].
54718
+ #
54719
+ #
54720
+ #
54721
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
54722
+ # @return [Array<Types::TagSpecification>]
54723
+ #
54695
54724
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImageRequest AWS API Documentation
54696
54725
  #
54697
54726
  class RegisterImageRequest < Struct.new(
@@ -54711,7 +54740,8 @@ module Aws::EC2
54711
54740
  :boot_mode,
54712
54741
  :tpm_support,
54713
54742
  :uefi_data,
54714
- :imds_support)
54743
+ :imds_support,
54744
+ :tag_specifications)
54715
54745
  SENSITIVE = []
54716
54746
  include Aws::Structure
54717
54747
  end
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.440.0'
79
+ GEM_VERSION = '1.441.0'
80
80
 
81
81
  end
data/sig/client.rbs CHANGED
@@ -967,7 +967,18 @@ module Aws
967
967
  source_region: ::String,
968
968
  ?destination_outpost_arn: ::String,
969
969
  ?dry_run: bool,
970
- ?copy_image_tags: bool
970
+ ?copy_image_tags: bool,
971
+ ?tag_specifications: Array[
972
+ {
973
+ resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
974
+ tags: Array[
975
+ {
976
+ key: ::String?,
977
+ value: ::String?
978
+ },
979
+ ]?
980
+ },
981
+ ]
971
982
  ) -> _CopyImageResponseSuccess
972
983
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyImageResponseSuccess
973
984
 
@@ -11199,7 +11210,18 @@ module Aws
11199
11210
  ?boot_mode: ("legacy-bios" | "uefi" | "uefi-preferred"),
11200
11211
  ?tpm_support: ("v2.0"),
11201
11212
  ?uefi_data: ::String,
11202
- ?imds_support: ("v2.0")
11213
+ ?imds_support: ("v2.0"),
11214
+ ?tag_specifications: Array[
11215
+ {
11216
+ resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
11217
+ tags: Array[
11218
+ {
11219
+ key: ::String?,
11220
+ value: ::String?
11221
+ },
11222
+ ]?
11223
+ },
11224
+ ]
11203
11225
  ) -> _RegisterImageResponseSuccess
11204
11226
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterImageResponseSuccess
11205
11227
 
data/sig/resource.rbs CHANGED
@@ -703,7 +703,18 @@ module Aws
703
703
  ?boot_mode: ("legacy-bios" | "uefi" | "uefi-preferred"),
704
704
  ?tpm_support: ("v2.0"),
705
705
  ?uefi_data: ::String,
706
- ?imds_support: ("v2.0")
706
+ ?imds_support: ("v2.0"),
707
+ ?tag_specifications: Array[
708
+ {
709
+ resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint")?,
710
+ tags: Array[
711
+ {
712
+ key: ::String?,
713
+ value: ::String?
714
+ },
715
+ ]?
716
+ },
717
+ ]
707
718
  ) -> Image
708
719
  | (?Hash[Symbol, untyped]) -> Image
709
720
 
data/sig/types.rbs CHANGED
@@ -1542,6 +1542,7 @@ module Aws::EC2
1542
1542
  attr_accessor destination_outpost_arn: ::String
1543
1543
  attr_accessor dry_run: bool
1544
1544
  attr_accessor copy_image_tags: bool
1545
+ attr_accessor tag_specifications: ::Array[Types::TagSpecification]
1545
1546
  SENSITIVE: []
1546
1547
  end
1547
1548
 
@@ -12049,6 +12050,7 @@ module Aws::EC2
12049
12050
  attr_accessor tpm_support: ("v2.0")
12050
12051
  attr_accessor uefi_data: ::String
12051
12052
  attr_accessor imds_support: ("v2.0")
12053
+ attr_accessor tag_specifications: ::Array[Types::TagSpecification]
12052
12054
  SENSITIVE: []
12053
12055
  end
12054
12056
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.440.0
4
+ version: 1.441.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-03-01 00:00:00.000000000 Z
11
+ date: 2024-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core