aws-sdk-ec2 1.261.0 → 1.262.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -4064,6 +4064,7 @@ module Aws::EC2
4064
4064
  CreateVpcPeeringConnectionResult.add_member(:vpc_peering_connection, Shapes::ShapeRef.new(shape: VpcPeeringConnection, location_name: "vpcPeeringConnection"))
4065
4065
  CreateVpcPeeringConnectionResult.struct_class = Types::CreateVpcPeeringConnectionResult
4066
4066
 
4067
+ CreateVpcRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
4067
4068
  CreateVpcRequest.add_member(:amazon_provided_ipv_6_cidr_block, Shapes::ShapeRef.new(shape: Boolean, location_name: "amazonProvidedIpv6CidrBlock"))
4068
4069
  CreateVpcRequest.add_member(:ipv_6_pool, Shapes::ShapeRef.new(shape: Ipv6PoolEc2Id, location_name: "Ipv6Pool"))
4069
4070
  CreateVpcRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
@@ -4071,7 +4072,6 @@ module Aws::EC2
4071
4072
  CreateVpcRequest.add_member(:instance_tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "instanceTenancy"))
4072
4073
  CreateVpcRequest.add_member(:ipv_6_cidr_block_network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlockNetworkBorderGroup"))
4073
4074
  CreateVpcRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
4074
- CreateVpcRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
4075
4075
  CreateVpcRequest.struct_class = Types::CreateVpcRequest
4076
4076
 
4077
4077
  CreateVpcResult.add_member(:vpc, Shapes::ShapeRef.new(shape: Vpc, location_name: "vpc"))
@@ -74,7 +74,7 @@ module Aws::EC2
74
74
  data[:kernel_id]
75
75
  end
76
76
 
77
- # The AWS account ID of the image owner.
77
+ # The ID of the Amazon Web Services account that owns the image.
78
78
  # @return [String]
79
79
  def owner_id
80
80
  data[:owner_id]
@@ -88,8 +88,8 @@ module Aws::EC2
88
88
  end
89
89
 
90
90
  # The platform details associated with the billing code of the AMI. For
91
- # more information, see [Obtaining Billing Information][1] in the
92
- # *Amazon Elastic Compute Cloud User Guide*.
91
+ # more information, see [Understanding AMI billing][1] in the *Amazon
92
+ # Elastic Compute Cloud User Guide*.
93
93
  #
94
94
  #
95
95
  #
@@ -101,16 +101,19 @@ module Aws::EC2
101
101
 
102
102
  # The operation of the Amazon EC2 instance and the billing code that is
103
103
  # associated with the AMI. `usageOperation` corresponds to the
104
- # [lineitem/Operation][1] column on your AWS Cost and Usage Report and
105
- # in the [AWS Price List API][2]. For the list of `UsageOperation`
106
- # codes, see [Platform Details and Usage Operation Billing Codes][3] in
107
- # the *Amazon Elastic Compute Cloud User Guide*.
104
+ # [lineitem/Operation][1] column on your Amazon Web Services Cost and
105
+ # Usage Report and in the [Amazon Web Services Price List API][2]. You
106
+ # can view these fields on the **Instances** or **AMIs** pages in the
107
+ # Amazon EC2 console, or in the responses that are returned by the
108
+ # [DescribeImages][3] command in the Amazon EC2 API, or the
109
+ # [describe-images][4] command in the CLI.
108
110
  #
109
111
  #
110
112
  #
111
113
  # [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
112
114
  # [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html
113
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html#billing-info
115
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
116
+ # [4]: https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html
114
117
  # @return [String]
115
118
  def usage_operation
116
119
  data[:usage_operation]
@@ -160,8 +163,8 @@ module Aws::EC2
160
163
  data[:hypervisor]
161
164
  end
162
165
 
163
- # The AWS account alias (for example, `amazon`, `self`) or the AWS
164
- # account ID of the AMI owner.
166
+ # The Amazon Web Services account alias (for example, `amazon`, `self`)
167
+ # or the Amazon Web Services account ID of the AMI owner.
165
168
  # @return [String]
166
169
  def image_owner_alias
167
170
  data[:image_owner_alias]
@@ -179,8 +182,8 @@ module Aws::EC2
179
182
  data[:root_device_name]
180
183
  end
181
184
 
182
- # The type of root device used by the AMI. The AMI can use an EBS volume
183
- # or an instance store volume.
185
+ # The type of root device used by the AMI. The AMI can use an Amazon EBS
186
+ # volume or an instance store volume.
184
187
  # @return [String]
185
188
  def root_device_type
186
189
  data[:root_device_type]
@@ -549,7 +552,7 @@ module Aws::EC2
549
552
  # @param [Hash] options ({})
550
553
  # @option options [String] :attribute
551
554
  # The name of the attribute to modify. The valid values are
552
- # `description`, `launchPermission`, and `productCodes`.
555
+ # `description` and `launchPermission`.
553
556
  # @option options [Types::AttributeValue] :description
554
557
  # A new description for the AMI.
555
558
  # @option options [Types::LaunchPermissionModifications] :launch_permission
@@ -558,18 +561,16 @@ module Aws::EC2
558
561
  # The operation type. This parameter can be used only when the
559
562
  # `Attribute` parameter is `launchPermission`.
560
563
  # @option options [Array<String>] :product_codes
561
- # The DevPay product codes. After you add a product code to an AMI, it
562
- # can't be removed.
564
+ # Not supported.
563
565
  # @option options [Array<String>] :user_groups
564
566
  # The user groups. This parameter can be used only when the `Attribute`
565
567
  # parameter is `launchPermission`.
566
568
  # @option options [Array<String>] :user_ids
567
- # The AWS account IDs. This parameter can be used only when the
568
- # `Attribute` parameter is `launchPermission`.
569
+ # The Amazon Web Services account IDs. This parameter can be used only
570
+ # when the `Attribute` parameter is `launchPermission`.
569
571
  # @option options [String] :value
570
572
  # The value of the attribute being modified. This parameter can be used
571
- # only when the `Attribute` parameter is `description` or
572
- # `productCodes`.
573
+ # only when the `Attribute` parameter is `description`.
573
574
  # @option options [Boolean] :dry_run
574
575
  # Checks whether you have the required permissions for the action,
575
576
  # without actually making the request, and provides an error response.
@@ -669,7 +669,7 @@ module Aws::EC2
669
669
  # no_reboot: false,
670
670
  # tag_specifications: [
671
671
  # {
672
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
672
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
673
673
  # tags: [
674
674
  # {
675
675
  # key: "String",
@@ -700,9 +700,11 @@ module Aws::EC2
700
700
  # @option options [Boolean] :no_reboot
701
701
  # By default, Amazon EC2 attempts to shut down and reboot the instance
702
702
  # before creating the image. If the `No Reboot` option is set, Amazon
703
- # EC2 doesn't shut down the instance before creating the image. When
704
- # this option is used, file system integrity on the created image can't
705
- # be guaranteed.
703
+ # EC2 doesn't shut down the instance before creating the image. Without
704
+ # a reboot, the AMI will be crash consistent (all the volumes are
705
+ # snapshotted at the same time), but not application consistent (all the
706
+ # operating system buffers are not flushed to disk before the snapshots
707
+ # are created).
706
708
  # @option options [Array<Types::TagSpecification>] :tag_specifications
707
709
  # The tags to apply to the AMI and snapshots on creation. You can tag
708
710
  # the AMI, the snapshots, or both.
@@ -710,9 +712,9 @@ module Aws::EC2
710
712
  # * To tag the AMI, the value for `ResourceType` must be `image`.
711
713
  #
712
714
  # * To tag the snapshots that are created of the root volume and of
713
- # other EBS volumes that are attached to the instance, the value for
714
- # `ResourceType` must be `snapshot`. The same tag is applied to all of
715
- # the snapshots that are created.
715
+ # other Amazon EBS volumes that are attached to the instance, the
716
+ # value for `ResourceType` must be `snapshot`. The same tag is applied
717
+ # to all of the snapshots that are created.
716
718
  #
717
719
  # If you specify other values for `ResourceType`, the request fails.
718
720
  #
@@ -46,7 +46,7 @@ module Aws::EC2
46
46
  # ],
47
47
  # tag_specifications: [
48
48
  # {
49
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
49
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
50
50
  # tags: [
51
51
  # {
52
52
  # key: "String",
@@ -192,7 +192,7 @@ module Aws::EC2
192
192
  # ],
193
193
  # tag_specifications: [
194
194
  # {
195
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
195
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
196
196
  # tags: [
197
197
  # {
198
198
  # key: "String",
@@ -501,6 +501,8 @@ module Aws::EC2
501
501
  #
502
502
  # Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
503
503
  #
504
+ # For T3 instances with `host` tenancy, only `standard` is supported.
505
+ #
504
506
  #
505
507
  #
506
508
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyInstanceCreditSpecification.html
@@ -569,7 +571,7 @@ module Aws::EC2
569
571
  # internetgateway = ec2.create_internet_gateway({
570
572
  # tag_specifications: [
571
573
  # {
572
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
574
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
573
575
  # tags: [
574
576
  # {
575
577
  # key: "String",
@@ -606,7 +608,7 @@ module Aws::EC2
606
608
  # key_type: "rsa", # accepts rsa, ed25519
607
609
  # tag_specifications: [
608
610
  # {
609
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
611
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
610
612
  # tags: [
611
613
  # {
612
614
  # key: "String",
@@ -652,7 +654,7 @@ module Aws::EC2
652
654
  # subnet_id: "SubnetId", # required
653
655
  # tag_specifications: [
654
656
  # {
655
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
657
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
656
658
  # tags: [
657
659
  # {
658
660
  # key: "String",
@@ -709,7 +711,7 @@ module Aws::EC2
709
711
  # vpc_id: "VpcId", # required
710
712
  # tag_specifications: [
711
713
  # {
712
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
714
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
713
715
  # tags: [
714
716
  # {
715
717
  # key: "String",
@@ -775,7 +777,7 @@ module Aws::EC2
775
777
  # subnet_id: "SubnetId", # required
776
778
  # tag_specifications: [
777
779
  # {
778
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
780
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
779
781
  # tags: [
780
782
  # {
781
783
  # key: "String",
@@ -886,7 +888,7 @@ module Aws::EC2
886
888
  # partition_count: 1,
887
889
  # tag_specifications: [
888
890
  # {
889
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
891
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
890
892
  # tags: [
891
893
  # {
892
894
  # key: "String",
@@ -930,7 +932,7 @@ module Aws::EC2
930
932
  # vpc_id: "VpcId", # required
931
933
  # tag_specifications: [
932
934
  # {
933
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
935
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
934
936
  # tags: [
935
937
  # {
936
938
  # key: "String",
@@ -968,7 +970,7 @@ module Aws::EC2
968
970
  # vpc_id: "VpcId",
969
971
  # tag_specifications: [
970
972
  # {
971
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
973
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
972
974
  # tags: [
973
975
  # {
974
976
  # key: "String",
@@ -1024,7 +1026,7 @@ module Aws::EC2
1024
1026
  # volume_id: "VolumeId", # required
1025
1027
  # tag_specifications: [
1026
1028
  # {
1027
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1029
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1028
1030
  # tags: [
1029
1031
  # {
1030
1032
  # key: "String",
@@ -1083,7 +1085,7 @@ module Aws::EC2
1083
1085
  # subnet = ec2.create_subnet({
1084
1086
  # tag_specifications: [
1085
1087
  # {
1086
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1088
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1087
1089
  # tags: [
1088
1090
  # {
1089
1091
  # key: "String",
@@ -1238,7 +1240,7 @@ module Aws::EC2
1238
1240
  # dry_run: false,
1239
1241
  # tag_specifications: [
1240
1242
  # {
1241
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1243
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1242
1244
  # tags: [
1243
1245
  # {
1244
1246
  # key: "String",
@@ -1405,6 +1407,7 @@ module Aws::EC2
1405
1407
  # @example Request syntax with placeholder values
1406
1408
  #
1407
1409
  # vpc = ec2.create_vpc({
1410
+ # cidr_block: "String", # required
1408
1411
  # amazon_provided_ipv_6_cidr_block: false,
1409
1412
  # ipv_6_pool: "Ipv6PoolEc2Id",
1410
1413
  # ipv_6_cidr_block: "String",
@@ -1413,7 +1416,7 @@ module Aws::EC2
1413
1416
  # ipv_6_cidr_block_network_border_group: "String",
1414
1417
  # tag_specifications: [
1415
1418
  # {
1416
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1419
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1417
1420
  # tags: [
1418
1421
  # {
1419
1422
  # key: "String",
@@ -1422,9 +1425,13 @@ module Aws::EC2
1422
1425
  # ],
1423
1426
  # },
1424
1427
  # ],
1425
- # cidr_block: "String", # required
1426
1428
  # })
1427
1429
  # @param [Hash] options ({})
1430
+ # @option options [required, String] :cidr_block
1431
+ # The IPv4 network range for the VPC, in CIDR notation. For example,
1432
+ # `10.0.0.0/16`. We modify the specified CIDR block to its canonical
1433
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
1434
+ # `100.68.0.0/18`.
1428
1435
  # @option options [Boolean] :amazon_provided_ipv_6_cidr_block
1429
1436
  # Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length
1430
1437
  # for the VPC. You cannot specify the range of IP addresses, or the size
@@ -1462,11 +1469,6 @@ module Aws::EC2
1462
1469
  # parameter.
1463
1470
  # @option options [Array<Types::TagSpecification>] :tag_specifications
1464
1471
  # The tags to assign to the VPC.
1465
- # @option options [required, String] :cidr_block
1466
- # The IPv4 network range for the VPC, in CIDR notation. For example,
1467
- # `10.0.0.0/16`. We modify the specified CIDR block to its canonical
1468
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
1469
- # `100.68.0.0/18`.
1470
1472
  # @return [Vpc]
1471
1473
  def create_vpc(options = {})
1472
1474
  resp = @client.create_vpc(options)
@@ -1487,7 +1489,7 @@ module Aws::EC2
1487
1489
  # peer_region: "String",
1488
1490
  # tag_specifications: [
1489
1491
  # {
1490
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1492
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1491
1493
  # tags: [
1492
1494
  # {
1493
1495
  # key: "String",
@@ -1559,7 +1561,7 @@ module Aws::EC2
1559
1561
  # public_key_material: "data", # required
1560
1562
  # tag_specifications: [
1561
1563
  # {
1562
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1564
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1563
1565
  # tags: [
1564
1566
  # {
1565
1567
  # key: "String",
@@ -1595,7 +1597,7 @@ module Aws::EC2
1595
1597
  #
1596
1598
  # image = ec2.register_image({
1597
1599
  # image_location: "String",
1598
- # architecture: "i386", # accepts i386, x86_64, arm64
1600
+ # architecture: "i386", # accepts i386, x86_64, arm64, x86_64_mac
1599
1601
  # block_device_mappings: [
1600
1602
  # {
1601
1603
  # device_name: "String",
@@ -1644,8 +1646,8 @@ module Aws::EC2
1644
1646
  # @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
1645
1647
  # The block device mapping entries.
1646
1648
  #
1647
- # If you specify an EBS volume using the ID of an EBS snapshot, you
1648
- # can't specify the encryption state of the volume.
1649
+ # If you specify an Amazon EBS volume using the ID of an Amazon EBS
1650
+ # snapshot, you can't specify the encryption state of the volume.
1649
1651
  #
1650
1652
  # If you create an AMI on an Outpost, then all backing snapshots must be
1651
1653
  # on the same Outpost or in the Region of that Outpost. AMIs on an
@@ -1680,8 +1682,8 @@ module Aws::EC2
1680
1682
  # single quotes ('), at-signs (@), or underscores(\_)
1681
1683
  # @option options [Array<String>] :billing_products
1682
1684
  # The billing product codes. Your account must be authorized to specify
1683
- # billing product codes. Otherwise, you can use the AWS Marketplace to
1684
- # bill for the use of an AMI.
1685
+ # billing product codes. Otherwise, you can use the Amazon Web Services
1686
+ # Marketplace to bill for the use of an AMI.
1685
1687
  # @option options [String] :ramdisk_id
1686
1688
  # The ID of the RAM disk.
1687
1689
  # @option options [String] :root_device_name
@@ -1898,8 +1900,8 @@ module Aws::EC2
1898
1900
  # @param [Hash] options ({})
1899
1901
  # @option options [Array<String>] :executable_users
1900
1902
  # Scopes the images by users with explicit launch permissions. Specify
1901
- # an AWS account ID, `self` (the sender of the request), or `all`
1902
- # (public AMIs).
1903
+ # an Amazon Web Services account ID, `self` (the sender of the request),
1904
+ # or `all` (public AMIs).
1903
1905
  # @option options [Array<Types::Filter>] :filters
1904
1906
  # The filters.
1905
1907
  #
@@ -1914,16 +1916,17 @@ module Aws::EC2
1914
1916
  # the block device mapping (for example, `/dev/sdh` or `xvdh`).
1915
1917
  #
1916
1918
  # * `block-device-mapping.snapshot-id` - The ID of the snapshot used for
1917
- # the EBS volume.
1919
+ # the Amazon EBS volume.
1918
1920
  #
1919
- # * `block-device-mapping.volume-size` - The volume size of the EBS
1920
- # volume, in GiB.
1921
+ # * `block-device-mapping.volume-size` - The volume size of the Amazon
1922
+ # EBS volume, in GiB.
1921
1923
  #
1922
- # * `block-device-mapping.volume-type` - The volume type of the EBS
1923
- # volume (`gp2` \| `io1` \| `io2` \| `st1 `\| `sc1` \| `standard`).
1924
+ # * `block-device-mapping.volume-type` - The volume type of the Amazon
1925
+ # EBS volume (`io1` \| `io2` \| `gp2` \| `gp3` \| `sc1 `\| `st1` \|
1926
+ # `standard`).
1924
1927
  #
1925
1928
  # * `block-device-mapping.encrypted` - A Boolean that indicates whether
1926
- # the EBS volume is encrypted.
1929
+ # the Amazon EBS volume is encrypted.
1927
1930
  #
1928
1931
  # * `description` - The description of the image (provided during image
1929
1932
  # creation).
@@ -1947,20 +1950,20 @@ module Aws::EC2
1947
1950
  #
1948
1951
  # * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`). The
1949
1952
  # valid aliases are defined in an Amazon-maintained list. This is not
1950
- # the AWS account alias that can be set using the IAM console. We
1953
+ # the Amazon Web Services account alias that can be set using the IAM
1954
+ # console. We recommend that you use the **Owner** request parameter
1955
+ # instead of this filter.
1956
+ #
1957
+ # * `owner-id` - The Amazon Web Services account ID of the owner. We
1951
1958
  # recommend that you use the **Owner** request parameter instead of
1952
1959
  # this filter.
1953
1960
  #
1954
- # * `owner-id` - The AWS account ID of the owner. We recommend that you
1955
- # use the **Owner** request parameter instead of this filter.
1956
- #
1957
1961
  # * `platform` - The platform. To only list Windows-based AMIs, use
1958
1962
  # `windows`.
1959
1963
  #
1960
1964
  # * `product-code` - The product code.
1961
1965
  #
1962
- # * `product-code.type` - The type of the product code (`devpay` \|
1963
- # `marketplace`).
1966
+ # * `product-code.type` - The type of the product code (`marketplace`).
1964
1967
  #
1965
1968
  # * `ramdisk-id` - The RAM disk ID.
1966
1969
  #
@@ -1998,9 +2001,10 @@ module Aws::EC2
1998
2001
  # Default: Describes all images available to you.
1999
2002
  # @option options [Array<String>] :owners
2000
2003
  # Scopes the results to images with the specified owners. You can
2001
- # specify a combination of AWS account IDs, `self`, `amazon`, and
2002
- # `aws-marketplace`. If you omit this parameter, the results include all
2003
- # images for which you have launch permissions, regardless of ownership.
2004
+ # specify a combination of Amazon Web Services account IDs, `self`,
2005
+ # `amazon`, and `aws-marketplace`. If you omit this parameter, the
2006
+ # results include all images for which you have launch permissions,
2007
+ # regardless of ownership.
2004
2008
  # @option options [Boolean] :include_deprecated
2005
2009
  # If `true`, all deprecated AMIs are included in the response. If
2006
2010
  # `false`, no deprecated AMIs are included in the response. If no value
@@ -253,7 +253,7 @@ module Aws::EC2
253
253
  # ],
254
254
  # tag_specifications: [
255
255
  # {
256
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
256
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
257
257
  # tags: [
258
258
  # {
259
259
  # key: "String",
@@ -351,7 +351,7 @@ module Aws::EC2
351
351
  # dry_run: false,
352
352
  # tag_specifications: [
353
353
  # {
354
- # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
354
+ # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, 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, 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, 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, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
355
355
  # tags: [
356
356
  # {
357
357
  # key: "String",