aws-sdk-ec2 1.173.0 → 1.178.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -837,6 +837,17 @@ module Aws::EC2
837
837
  # routetable = ec2.create_route_table({
838
838
  # dry_run: false,
839
839
  # vpc_id: "VpcId", # required
840
+ # tag_specifications: [
841
+ # {
842
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
843
+ # tags: [
844
+ # {
845
+ # key: "String",
846
+ # value: "String",
847
+ # },
848
+ # ],
849
+ # },
850
+ # ],
840
851
  # })
841
852
  # @param [Hash] options ({})
842
853
  # @option options [Boolean] :dry_run
@@ -846,6 +857,8 @@ module Aws::EC2
846
857
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
847
858
  # @option options [required, String] :vpc_id
848
859
  # The ID of the VPC.
860
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
861
+ # The tags to assign to the route table.
849
862
  # @return [RouteTable]
850
863
  def create_route_table(options = {})
851
864
  resp = @client.create_route_table(options)
@@ -1310,6 +1323,17 @@ module Aws::EC2
1310
1323
  # peer_vpc_id: "String",
1311
1324
  # vpc_id: "VpcId",
1312
1325
  # peer_region: "String",
1326
+ # tag_specifications: [
1327
+ # {
1328
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
1329
+ # tags: [
1330
+ # {
1331
+ # key: "String",
1332
+ # value: "String",
1333
+ # },
1334
+ # ],
1335
+ # },
1336
+ # ],
1313
1337
  # })
1314
1338
  # @param [Hash] options ({})
1315
1339
  # @option options [Boolean] :dry_run
@@ -1332,6 +1356,8 @@ module Aws::EC2
1332
1356
  # in a Region other than the Region in which you make the request.
1333
1357
  #
1334
1358
  # Default: The Region in which you make the request.
1359
+ # @option options [Array<Types::TagSpecification>] :tag_specifications
1360
+ # The tags to assign to the peering connection.
1335
1361
  # @return [VpcPeeringConnection]
1336
1362
  def create_vpc_peering_connection(options = {})
1337
1363
  resp = @client.create_vpc_peering_connection(options)
@@ -1730,12 +1756,13 @@ module Aws::EC2
1730
1756
  #
1731
1757
  # * `name` - The name of the AMI (provided during image creation).
1732
1758
  #
1733
- # * `owner-alias` - String value from an Amazon-maintained list
1734
- # (`amazon` \| `aws-marketplace` \| `microsoft`) of snapshot owners.
1735
- # Not to be confused with the user-configured AWS account alias, which
1736
- # is set from the IAM console.
1759
+ # * `owner-alias` - The owner alias, from an Amazon-maintained list
1760
+ # (`amazon` \| `aws-marketplace`). This is not the user-configured AWS
1761
+ # account alias set using the IAM console. We recommend that you use
1762
+ # the related parameter instead of this filter.
1737
1763
  #
1738
- # * `owner-id` - The AWS account ID of the image owner.
1764
+ # * `owner-id` - The AWS account ID of the owner. We recommend that you
1765
+ # use the related parameter instead of this filter.
1739
1766
  #
1740
1767
  # * `platform` - The platform. To only list Windows-based AMIs, use
1741
1768
  # `windows`.
@@ -1780,11 +1807,10 @@ module Aws::EC2
1780
1807
  #
1781
1808
  # Default: Describes all images available to you.
1782
1809
  # @option options [Array<String>] :owners
1783
- # Filters the images by the owner. Specify an AWS account ID, `self`
1784
- # (owner is the sender of the request), or an AWS owner alias (valid
1785
- # values are `amazon` \| `aws-marketplace` \| `microsoft`). Omitting
1786
- # this option returns all images for which you have launch permissions,
1787
- # regardless of ownership.
1810
+ # Scopes the results to images with the specified owners. You can
1811
+ # specify a combination of AWS account IDs, `self`, `amazon`, and
1812
+ # `aws-marketplace`. If you omit this parameter, the results include all
1813
+ # images for which you have launch permissions, regardless of ownership.
1788
1814
  # @option options [Boolean] :dry_run
1789
1815
  # Checks whether you have the required permissions for the action,
1790
1816
  # without actually making the request, and provides an error response.
@@ -2777,8 +2803,6 @@ module Aws::EC2
2777
2803
  # filter to find all resources assigned a tag with a specific key,
2778
2804
  # regardless of the tag value.
2779
2805
  #
2780
- # * `transit-gateway-id` - The ID of a transit gateway.
2781
- #
2782
2806
  # * `vpc-id` - The ID of the VPC for the route table.
2783
2807
  # @option options [Boolean] :dry_run
2784
2808
  # Checks whether you have the required permissions for the action,
@@ -453,7 +453,7 @@ module Aws::EC2
453
453
  #
454
454
  # {
455
455
  # domain: "vpc", # accepts vpc, standard
456
- # address: "String",
456
+ # address: "PublicIpAddress",
457
457
  # public_ipv_4_pool: "String",
458
458
  # network_border_group: "String",
459
459
  # customer_owned_ipv_4_pool: "String",
@@ -461,10 +461,11 @@ module Aws::EC2
461
461
  # }
462
462
  #
463
463
  # @!attribute [rw] domain
464
- # Set to `vpc` to allocate the address for use with instances in a
465
- # VPC.
464
+ # Indicates whether the Elastic IP address is for use with instances
465
+ # in a VPC or instances in EC2-Classic.
466
466
  #
467
- # Default: The address is for use with instances in EC2-Classic.
467
+ # Default: If the Region supports EC2-Classic, the default is
468
+ # `standard`. Otherwise, the default is `vpc`.
468
469
  # @return [String]
469
470
  #
470
471
  # @!attribute [rw] address
@@ -548,8 +549,8 @@ module Aws::EC2
548
549
  # @return [String]
549
550
  #
550
551
  # @!attribute [rw] domain
551
- # Indicates whether this Elastic IP address is for use with instances
552
- # in EC2-Classic (`standard`) or instances in a VPC (`vpc`).
552
+ # Indicates whether the Elastic IP address is for use with instances
553
+ # in a VPC (`vpc`) or instances in EC2-Classic (`standard`).
553
554
  # @return [String]
554
555
  #
555
556
  # @!attribute [rw] customer_owned_ip
@@ -1806,13 +1807,15 @@ module Aws::EC2
1806
1807
  #
1807
1808
  # @!attribute [rw] access_group_id
1808
1809
  # The ID of the group to grant access to, for example, the Active
1809
- # Directory group or identity provider (IdP) group.
1810
+ # Directory group or identity provider (IdP) group. Required if
1811
+ # `AuthorizeAllGroups` is `false` or not specified.
1810
1812
  # @return [String]
1811
1813
  #
1812
1814
  # @!attribute [rw] authorize_all_groups
1813
- # Indicates whether to grant access to all clients. Use `true` to
1815
+ # Indicates whether to grant access to all clients. Specify `true` to
1814
1816
  # grant all clients who successfully establish a VPN connection access
1815
- # to the network.
1817
+ # to the network. Must be set to `true` if `AccessGroupId` is not
1818
+ # specified.
1816
1819
  # @return [Boolean]
1817
1820
  #
1818
1821
  # @!attribute [rw] description
@@ -2130,10 +2133,10 @@ module Aws::EC2
2130
2133
  include Aws::Structure
2131
2134
  end
2132
2135
 
2133
- # Describes an Availability Zone or Local Zone.
2136
+ # Describes a Zone.
2134
2137
  #
2135
2138
  # @!attribute [rw] state
2136
- # The state of the Availability Zone or Local Zone.
2139
+ # The state of the Zone.
2137
2140
  # @return [String]
2138
2141
  #
2139
2142
  # @!attribute [rw] opt_in_status
@@ -2145,7 +2148,7 @@ module Aws::EC2
2145
2148
  # @return [String]
2146
2149
  #
2147
2150
  # @!attribute [rw] messages
2148
- # Any messages about the Availability Zone or Local Zone.
2151
+ # Any messages about the Zone.
2149
2152
  # @return [Array<Types::AvailabilityZoneMessage>]
2150
2153
  #
2151
2154
  # @!attribute [rw] region_name
@@ -2153,11 +2156,11 @@ module Aws::EC2
2153
2156
  # @return [String]
2154
2157
  #
2155
2158
  # @!attribute [rw] zone_name
2156
- # The name of the Availability Zone or Local Zone.
2159
+ # The name of the Zone.
2157
2160
  # @return [String]
2158
2161
  #
2159
2162
  # @!attribute [rw] zone_id
2160
- # The ID of the Availability Zone or Local Zone.
2163
+ # The ID of the Zone.
2161
2164
  # @return [String]
2162
2165
  #
2163
2166
  # @!attribute [rw] group_name
@@ -2172,6 +2175,21 @@ module Aws::EC2
2172
2175
  # The name of the location from which the address is advertised.
2173
2176
  # @return [String]
2174
2177
  #
2178
+ # @!attribute [rw] zone_type
2179
+ # The type of zone. The valid values are `availability-zone` and
2180
+ # `local-zone`.
2181
+ # @return [String]
2182
+ #
2183
+ # @!attribute [rw] parent_zone_name
2184
+ # The name of the zone that handles some of the Local Zone control
2185
+ # plane operations, such as API calls.
2186
+ # @return [String]
2187
+ #
2188
+ # @!attribute [rw] parent_zone_id
2189
+ # The ID of the zone that handles some of the Local Zone control plane
2190
+ # operations, such as API calls.
2191
+ # @return [String]
2192
+ #
2175
2193
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZone AWS API Documentation
2176
2194
  #
2177
2195
  class AvailabilityZone < Struct.new(
@@ -2182,15 +2200,18 @@ module Aws::EC2
2182
2200
  :zone_name,
2183
2201
  :zone_id,
2184
2202
  :group_name,
2185
- :network_border_group)
2203
+ :network_border_group,
2204
+ :zone_type,
2205
+ :parent_zone_name,
2206
+ :parent_zone_id)
2186
2207
  SENSITIVE = []
2187
2208
  include Aws::Structure
2188
2209
  end
2189
2210
 
2190
- # Describes a message about an Availability Zone or Local Zone.
2211
+ # Describes a message about a Zone.
2191
2212
  #
2192
2213
  # @!attribute [rw] message
2193
- # The message about the Availability Zone or Local Zone.
2214
+ # The message about the Zone.
2194
2215
  # @return [String]
2195
2216
  #
2196
2217
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZoneMessage AWS API Documentation
@@ -3172,6 +3193,9 @@ module Aws::EC2
3172
3193
  # * `none` - The instance avoids running in a Capacity Reservation
3173
3194
  # even if one is available. The instance runs as an On-Demand
3174
3195
  # Instance.
3196
+ #
3197
+ # When `CapacityReservationPreference` is not specified, it defaults
3198
+ # to `open`.
3175
3199
  # @return [String]
3176
3200
  #
3177
3201
  # @!attribute [rw] capacity_reservation_target
@@ -3971,13 +3995,18 @@ module Aws::EC2
3971
3995
  # The tags.
3972
3996
  # @return [Array<Types::Tag>]
3973
3997
  #
3998
+ # @!attribute [rw] pool_arn
3999
+ # The ARN of the address pool.
4000
+ # @return [String]
4001
+ #
3974
4002
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CoipPool AWS API Documentation
3975
4003
  #
3976
4004
  class CoipPool < Struct.new(
3977
4005
  :pool_id,
3978
4006
  :pool_cidrs,
3979
4007
  :local_gateway_route_table_id,
3980
- :tags)
4008
+ :tags,
4009
+ :pool_arn)
3981
4010
  SENSITIVE = []
3982
4011
  include Aws::Structure
3983
4012
  end
@@ -4053,7 +4082,8 @@ module Aws::EC2
4053
4082
  # @return [Boolean]
4054
4083
  #
4055
4084
  # @!attribute [rw] cloudwatch_log_group
4056
- # The name of the CloudWatch Logs log group.
4085
+ # The name of the CloudWatch Logs log group. Required if connection
4086
+ # logging is enabled.
4057
4087
  # @return [String]
4058
4088
  #
4059
4089
  # @!attribute [rw] cloudwatch_log_stream
@@ -4197,7 +4227,7 @@ module Aws::EC2
4197
4227
  #
4198
4228
  # {
4199
4229
  # dry_run: false,
4200
- # source_fpga_image_id: "FpgaImageId", # required
4230
+ # source_fpga_image_id: "String", # required
4201
4231
  # description: "String",
4202
4232
  # name: "String",
4203
4233
  # source_region: "String", # required
@@ -7564,6 +7594,17 @@ module Aws::EC2
7564
7594
  # {
7565
7595
  # dry_run: false,
7566
7596
  # vpc_id: "VpcId", # required
7597
+ # tag_specifications: [
7598
+ # {
7599
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
7600
+ # tags: [
7601
+ # {
7602
+ # key: "String",
7603
+ # value: "String",
7604
+ # },
7605
+ # ],
7606
+ # },
7607
+ # ],
7567
7608
  # }
7568
7609
  #
7569
7610
  # @!attribute [rw] dry_run
@@ -7577,11 +7618,16 @@ module Aws::EC2
7577
7618
  # The ID of the VPC.
7578
7619
  # @return [String]
7579
7620
  #
7621
+ # @!attribute [rw] tag_specifications
7622
+ # The tags to assign to the route table.
7623
+ # @return [Array<Types::TagSpecification>]
7624
+ #
7580
7625
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTableRequest AWS API Documentation
7581
7626
  #
7582
7627
  class CreateRouteTableRequest < Struct.new(
7583
7628
  :dry_run,
7584
- :vpc_id)
7629
+ :vpc_id,
7630
+ :tag_specifications)
7585
7631
  SENSITIVE = []
7586
7632
  include Aws::Structure
7587
7633
  end
@@ -9427,6 +9473,17 @@ module Aws::EC2
9427
9473
  # peer_vpc_id: "String",
9428
9474
  # vpc_id: "VpcId",
9429
9475
  # peer_region: "String",
9476
+ # tag_specifications: [
9477
+ # {
9478
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
9479
+ # tags: [
9480
+ # {
9481
+ # key: "String",
9482
+ # value: "String",
9483
+ # },
9484
+ # ],
9485
+ # },
9486
+ # ],
9430
9487
  # }
9431
9488
  #
9432
9489
  # @!attribute [rw] dry_run
@@ -9459,6 +9516,10 @@ module Aws::EC2
9459
9516
  # Default: The Region in which you make the request.
9460
9517
  # @return [String]
9461
9518
  #
9519
+ # @!attribute [rw] tag_specifications
9520
+ # The tags to assign to the peering connection.
9521
+ # @return [Array<Types::TagSpecification>]
9522
+ #
9462
9523
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnectionRequest AWS API Documentation
9463
9524
  #
9464
9525
  class CreateVpcPeeringConnectionRequest < Struct.new(
@@ -9466,7 +9527,8 @@ module Aws::EC2
9466
9527
  :peer_owner_id,
9467
9528
  :peer_vpc_id,
9468
9529
  :vpc_id,
9469
- :peer_region)
9530
+ :peer_region,
9531
+ :tag_specifications)
9470
9532
  SENSITIVE = []
9471
9533
  include Aws::Structure
9472
9534
  end
@@ -9802,11 +9864,12 @@ module Aws::EC2
9802
9864
  include Aws::Structure
9803
9865
  end
9804
9866
 
9805
- # Describes the credit option for CPU usage of a T2 or T3 instance.
9867
+ # Describes the credit option for CPU usage of a T2, T3, or T3a
9868
+ # instance.
9806
9869
  #
9807
9870
  # @!attribute [rw] cpu_credits
9808
- # The credit option for CPU usage of a T2 or T3 instance. Valid values
9809
- # are `standard` and `unlimited`.
9871
+ # The credit option for CPU usage of a T2, T3, or T3a instance. Valid
9872
+ # values are `standard` and `unlimited`.
9810
9873
  # @return [String]
9811
9874
  #
9812
9875
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecification AWS API Documentation
@@ -9817,7 +9880,7 @@ module Aws::EC2
9817
9880
  include Aws::Structure
9818
9881
  end
9819
9882
 
9820
- # The credit option for CPU usage of a T2 or T3 instance.
9883
+ # The credit option for CPU usage of a T2, T3, or T3a instance.
9821
9884
  #
9822
9885
  # @note When making an API call, you may pass CreditSpecificationRequest
9823
9886
  # data as a hash:
@@ -9827,8 +9890,8 @@ module Aws::EC2
9827
9890
  # }
9828
9891
  #
9829
9892
  # @!attribute [rw] cpu_credits
9830
- # The credit option for CPU usage of a T2 or T3 instance. Valid values
9831
- # are `standard` and `unlimited`.
9893
+ # The credit option for CPU usage of a T2, T3, or T3a instance. Valid
9894
+ # values are `standard` and `unlimited`.
9832
9895
  # @return [String]
9833
9896
  #
9834
9897
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecificationRequest AWS API Documentation
@@ -11598,7 +11661,7 @@ module Aws::EC2
11598
11661
  #
11599
11662
  # {
11600
11663
  # dry_run: false,
11601
- # connection_notification_ids: ["String"], # required
11664
+ # connection_notification_ids: ["ConnectionNotificationId"], # required
11602
11665
  # }
11603
11666
  #
11604
11667
  # @!attribute [rw] dry_run
@@ -12322,13 +12385,16 @@ module Aws::EC2
12322
12385
  # Local Zones, use the name of the group associated with the Local
12323
12386
  # Zone (for example, `us-west-2-lax-1`).
12324
12387
  #
12325
- # * `message` - The Availability Zone or Local Zone message.
12388
+ # * `message` - The Zone message.
12326
12389
  #
12327
12390
  # * `opt-in-status` - The opt in status (`opted-in`, and
12328
12391
  # `not-opted-in` \| `opt-in-not-required`).
12329
12392
  #
12330
- # * `region-name` - The name of the Region for the Availability Zone
12331
- # or Local Zone (for example, `us-east-1`).
12393
+ # * The ID of the zone that handles some of the Local Zone control
12394
+ # plane operations, such as API calls.
12395
+ #
12396
+ # * `region-name` - The name of the Region for the Zone (for example,
12397
+ # `us-east-1`).
12332
12398
  #
12333
12399
  # * `state` - The state of the Availability Zone or Local Zone
12334
12400
  # (`available` \| `information` \| `impaired` \| `unavailable`).
@@ -12336,17 +12402,21 @@ module Aws::EC2
12336
12402
  # * `zone-id` - The ID of the Availability Zone (for example,
12337
12403
  # `use1-az1`) or the Local Zone (for example, use `usw2-lax1-az1`).
12338
12404
  #
12405
+ # * `zone-type` - The type of zone, for example, `local-zone`.
12406
+ #
12339
12407
  # * `zone-name` - The name of the Availability Zone (for example,
12340
12408
  # `us-east-1a`) or the Local Zone (for example, use
12341
12409
  # `us-west-2-lax-1a`).
12410
+ #
12411
+ # * `zone-type` - The type of zone, for example, `local-zone`.
12342
12412
  # @return [Array<Types::Filter>]
12343
12413
  #
12344
12414
  # @!attribute [rw] zone_names
12345
- # The names of the Availability Zones and Local Zones.
12415
+ # The names of the Zones.
12346
12416
  # @return [Array<String>]
12347
12417
  #
12348
12418
  # @!attribute [rw] zone_ids
12349
- # The IDs of the Availability Zones and Local Zones.
12419
+ # The IDs of the Zones.
12350
12420
  # @return [Array<String>]
12351
12421
  #
12352
12422
  # @!attribute [rw] all_availability_zones
@@ -12377,7 +12447,7 @@ module Aws::EC2
12377
12447
  end
12378
12448
 
12379
12449
  # @!attribute [rw] availability_zones
12380
- # Information about the Availability Zones and Local Zones.
12450
+ # Information about the Zones.
12381
12451
  # @return [Array<Types::AvailabilityZone>]
12382
12452
  #
12383
12453
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZonesResult AWS API Documentation
@@ -15019,12 +15089,13 @@ module Aws::EC2
15019
15089
  #
15020
15090
  # * `name` - The name of the AMI (provided during image creation).
15021
15091
  #
15022
- # * `owner-alias` - String value from an Amazon-maintained list
15023
- # (`amazon` \| `aws-marketplace` \| `microsoft`) of snapshot owners.
15024
- # Not to be confused with the user-configured AWS account alias,
15025
- # which is set from the IAM console.
15092
+ # * `owner-alias` - The owner alias, from an Amazon-maintained list
15093
+ # (`amazon` \| `aws-marketplace`). This is not the user-configured
15094
+ # AWS account alias set using the IAM console. We recommend that you
15095
+ # use the related parameter instead of this filter.
15026
15096
  #
15027
- # * `owner-id` - The AWS account ID of the image owner.
15097
+ # * `owner-id` - The AWS account ID of the owner. We recommend that
15098
+ # you use the related parameter instead of this filter.
15028
15099
  #
15029
15100
  # * `platform` - The platform. To only list Windows-based AMIs, use
15030
15101
  # `windows`.
@@ -15073,11 +15144,11 @@ module Aws::EC2
15073
15144
  # @return [Array<String>]
15074
15145
  #
15075
15146
  # @!attribute [rw] owners
15076
- # Filters the images by the owner. Specify an AWS account ID, `self`
15077
- # (owner is the sender of the request), or an AWS owner alias (valid
15078
- # values are `amazon` \| `aws-marketplace` \| `microsoft`). Omitting
15079
- # this option returns all images for which you have launch
15080
- # permissions, regardless of ownership.
15147
+ # Scopes the results to images with the specified owners. You can
15148
+ # specify a combination of AWS account IDs, `self`, `amazon`, and
15149
+ # `aws-marketplace`. If you omit this parameter, the results include
15150
+ # all images for which you have launch permissions, regardless of
15151
+ # ownership.
15081
15152
  # @return [Array<String>]
15082
15153
  #
15083
15154
  # @!attribute [rw] dry_run
@@ -16433,17 +16504,34 @@ module Aws::EC2
16433
16504
  # @return [Boolean]
16434
16505
  #
16435
16506
  # @!attribute [rw] launch_template_id
16436
- # The ID of the launch template. You must specify either the launch
16437
- # template ID or launch template name in the request.
16507
+ # The ID of the launch template. To describe one or more versions of a
16508
+ # specified launch template, you must specify either the launch
16509
+ # template ID or the launch template name in the request. To describe
16510
+ # all the latest or default launch template versions in your account,
16511
+ # you must omit this parameter.
16438
16512
  # @return [String]
16439
16513
  #
16440
16514
  # @!attribute [rw] launch_template_name
16441
- # The name of the launch template. You must specify either the launch
16442
- # template ID or launch template name in the request.
16515
+ # The name of the launch template. To describe one or more versions of
16516
+ # a specified launch template, you must specify either the launch
16517
+ # template ID or the launch template name in the request. To describe
16518
+ # all the latest or default launch template versions in your account,
16519
+ # you must omit this parameter.
16443
16520
  # @return [String]
16444
16521
  #
16445
16522
  # @!attribute [rw] versions
16446
- # One or more versions of the launch template.
16523
+ # One or more versions of the launch template. Valid values depend on
16524
+ # whether you are describing a specified launch template (by ID or
16525
+ # name) or all launch templates in your account.
16526
+ #
16527
+ # To describe one or more versions of a specified launch template,
16528
+ # valid values are `$Latest`, `$Default`, and numbers.
16529
+ #
16530
+ # To describe all launch templates in your account that are defined as
16531
+ # the latest version, the valid value is `$Latest`. To describe all
16532
+ # launch templates in your account that are defined as the default
16533
+ # version, the valid value is `$Default`. You can specify `$Latest`
16534
+ # and `$Default` in the same call. You cannot specify numbers.
16447
16535
  # @return [Array<String>]
16448
16536
  #
16449
16537
  # @!attribute [rw] min_version
@@ -18734,8 +18822,6 @@ module Aws::EC2
18734
18822
  # filter to find all resources assigned a tag with a specific key,
18735
18823
  # regardless of the tag value.
18736
18824
  #
18737
- # * `transit-gateway-id` - The ID of a transit gateway.
18738
- #
18739
18825
  # * `vpc-id` - The ID of the VPC for the route table.
18740
18826
  # @return [Array<Types::Filter>]
18741
18827
  #
@@ -19795,8 +19881,8 @@ module Aws::EC2
19795
19881
  # * `state` - The state of the Spot Instance request (`open` \|
19796
19882
  # `active` \| `closed` \| `cancelled` \| `failed`). Spot request
19797
19883
  # status information can help you track your Amazon EC2 Spot
19798
- # Instance requests. For more information, see [Spot Request
19799
- # Status][1] in the *Amazon EC2 User Guide for Linux Instances*.
19884
+ # Instance requests. For more information, see [Spot request
19885
+ # status][1] in the *Amazon EC2 User Guide for Linux Instances*.
19800
19886
  #
19801
19887
  # * `status-code` - The short code describing the most recent
19802
19888
  # evaluation of your Spot Instance request.
@@ -40464,8 +40550,8 @@ module Aws::EC2
40464
40550
  # @return [Types::LaunchTemplateInstanceMarketOptionsRequest]
40465
40551
  #
40466
40552
  # @!attribute [rw] credit_specification
40467
- # The credit option for CPU usage of the instance. Valid for T2 or T3
40468
- # instances only.
40553
+ # The credit option for CPU usage of the instance. Valid for T2, T3,
40554
+ # or T3a instances only.
40469
40555
  # @return [Types::CreditSpecificationRequest]
40470
40556
  #
40471
40557
  # @!attribute [rw] cpu_options
@@ -40824,6 +40910,17 @@ module Aws::EC2
40824
40910
  # type: "one-time", # accepts one-time, persistent
40825
40911
  # valid_from: Time.now,
40826
40912
  # valid_until: Time.now,
40913
+ # tag_specifications: [
40914
+ # {
40915
+ # resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
40916
+ # tags: [
40917
+ # {
40918
+ # key: "String",
40919
+ # value: "String",
40920
+ # },
40921
+ # ],
40922
+ # },
40923
+ # ],
40827
40924
  # instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
40828
40925
  # }
40829
40926
  #
@@ -40933,6 +41030,18 @@ module Aws::EC2
40933
41030
  # default end date is 7 days from the current date.
40934
41031
  # @return [Time]
40935
41032
  #
41033
+ # @!attribute [rw] tag_specifications
41034
+ # The key-value pair for tagging the Spot Instance request on
41035
+ # creation. The value for `ResourceType` must be
41036
+ # `spot-instances-request`, otherwise the Spot Instance request fails.
41037
+ # To tag the Spot Instance request after it has been created, see
41038
+ # [CreateTags][1].
41039
+ #
41040
+ #
41041
+ #
41042
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
41043
+ # @return [Array<Types::TagSpecification>]
41044
+ #
40936
41045
  # @!attribute [rw] instance_interruption_behavior
40937
41046
  # The behavior when a Spot Instance is interrupted. The default is
40938
41047
  # `terminate`.
@@ -40952,6 +41061,7 @@ module Aws::EC2
40952
41061
  :type,
40953
41062
  :valid_from,
40954
41063
  :valid_until,
41064
+ :tag_specifications,
40955
41065
  :instance_interruption_behavior)
40956
41066
  SENSITIVE = []
40957
41067
  include Aws::Structure
@@ -45694,7 +45804,7 @@ module Aws::EC2
45694
45804
  # The Amazon Resource Name (ARN) of an AWS Identity and Access
45695
45805
  # Management (IAM) role that grants the Spot Fleet the permission to
45696
45806
  # request, launch, terminate, and tag instances on your behalf. For
45697
- # more information, see [Spot Fleet Prerequisites][1] in the *Amazon
45807
+ # more information, see [Spot Fleet prerequisites][1] in the *Amazon
45698
45808
  # EC2 User Guide for Linux Instances*. Spot Fleet can terminate Spot
45699
45809
  # Instances on your behalf when you cancel its Spot Fleet request
45700
45810
  # using [CancelSpotFleetRequests][2] or when the Spot Fleet request
@@ -45971,7 +46081,7 @@ module Aws::EC2
45971
46081
  # @!attribute [rw] state
45972
46082
  # The state of the Spot Instance request. Spot status information
45973
46083
  # helps track your Spot Instance requests. For more information, see
45974
- # [Spot Status][1] in the *Amazon EC2 User Guide for Linux Instances*.
46084
+ # [Spot status][1] in the *Amazon EC2 User Guide for Linux Instances*.
45975
46085
  #
45976
46086
  #
45977
46087
  #
@@ -46058,8 +46168,8 @@ module Aws::EC2
46058
46168
  # Describes the status of a Spot Instance request.
46059
46169
  #
46060
46170
  # @!attribute [rw] code
46061
- # The status code. For a list of status codes, see [Spot Status
46062
- # Codes][1] in the *Amazon EC2 User Guide for Linux Instances*.
46171
+ # The status code. For a list of status codes, see [Spot status
46172
+ # codes][1] in the *Amazon EC2 User Guide for Linux Instances*.
46063
46173
  #
46064
46174
  #
46065
46175
  #
@@ -47000,9 +47110,9 @@ module Aws::EC2
47000
47110
  # `fpga-image` \| `host-reservation` \| `import-image-task` \|
47001
47111
  # `import-snapshot-task` \| `instance` \| `internet-gateway` \|
47002
47112
  # `ipv4pool-ec2` \| `ipv6pool-ec2` \| `key-pair` \| `launch-template`
47003
- # \| `placement-group` \| `prefix-list` \| `launch-template` \|
47004
- # `natgateway` \| `network-acl` \| `security-group` \|
47005
- # `spot-fleet-request` \| `snapshot` \| `subnet` \|
47113
+ # \| `placement-group` \| `prefix-list` \| `natgateway` \|
47114
+ # `network-acl` \| `security-group` \| `spot-fleet-request` \|
47115
+ # `spot-instances-request` \| `snapshot` \| `subnet` \|
47006
47116
  # `traffic-mirror-filter` \| `traffic-mirror-session` \|
47007
47117
  # `traffic-mirror-target` \| `transit-gateway` \|
47008
47118
  # `transit-gateway-attachment` \| `transit-gateway-route-table` \|
@@ -48298,30 +48408,31 @@ module Aws::EC2
48298
48408
  # @!attribute [rw] amazon_side_asn
48299
48409
  # A private Autonomous System Number (ASN) for the Amazon side of a
48300
48410
  # BGP session. The range is 64512 to 65534 for 16-bit ASNs and
48301
- # 4200000000 to 4294967294 for 32-bit ASNs.
48411
+ # 4200000000 to 4294967294 for 32-bit ASNs. The default is `64512`.
48302
48412
  # @return [Integer]
48303
48413
  #
48304
48414
  # @!attribute [rw] auto_accept_shared_attachments
48305
- # Enable or disable automatic acceptance of attachment requests. The
48306
- # default is `disable`.
48415
+ # Enable or disable automatic acceptance of attachment requests.
48416
+ # Disabled by default.
48307
48417
  # @return [String]
48308
48418
  #
48309
48419
  # @!attribute [rw] default_route_table_association
48310
48420
  # Enable or disable automatic association with the default association
48311
- # route table. The default is `enable`.
48421
+ # route table. Enabled by default.
48312
48422
  # @return [String]
48313
48423
  #
48314
48424
  # @!attribute [rw] default_route_table_propagation
48315
48425
  # Enable or disable automatic propagation of routes to the default
48316
- # propagation route table. The default is `enable`.
48426
+ # propagation route table. Enabled by default.
48317
48427
  # @return [String]
48318
48428
  #
48319
48429
  # @!attribute [rw] vpn_ecmp_support
48320
- # Enable or disable Equal Cost Multipath Protocol support.
48430
+ # Enable or disable Equal Cost Multipath Protocol support. Enabled by
48431
+ # default.
48321
48432
  # @return [String]
48322
48433
  #
48323
48434
  # @!attribute [rw] dns_support
48324
- # Enable or disable DNS support.
48435
+ # Enable or disable DNS support. Enabled by default.
48325
48436
  # @return [String]
48326
48437
  #
48327
48438
  # @!attribute [rw] multicast_support