aws-sdk-ec2 1.172.0 → 1.177.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 88c536d792da59536c4a34d93356e4602715069f02a447d441e82f5dab2dd99e
4
- data.tar.gz: d401e3e36ab7177b5d96d7eef179c6302501b3904f23a42dc3ee1ac0819d8921
3
+ metadata.gz: 8c070e55ca7a6534306e92285d2a2df73b008eb8f5ce8d7017f64b84db421ac5
4
+ data.tar.gz: 4b15b24778fcdd25b6ee4197ba81a9e0506f7b09830d0adccdf13b930c5ce43b
5
5
  SHA512:
6
- metadata.gz: bbf03437c880e61b3b582a2df9f57024de330afd8b14637c1ade4434d4bfc125f633446764661d999e0d9bd6da90216bd9e8273b1634c4ee9ebea80a4dd96b0d
7
- data.tar.gz: efd154ded05df8355f90a7d209f1b3e987293c0eb35949aa99fd09207fb26e487a07e876360cbc2a6d1586c8e556a03a5b7f39d03d3db15ab6f63ee49abdc2aa
6
+ metadata.gz: 6163b0723cd09f94fe8a05b7148845a77ef7e45791217ac2289a1609bdc4ac0082806e35e663c934332fa0805c95dd6cd42b6b220f27eb4718fc61f71dab8796
7
+ data.tar.gz: 63ba744f0378869901177e8260474cfaac226d4740f9b7b598a0593ed1a77838aab027cd9f165bf662b094f1d86338b05783c7444a770965dec6ac531b2836d0
@@ -71,6 +71,6 @@ require_relative 'aws-sdk-ec2/customizations'
71
71
  # @service
72
72
  module Aws::EC2
73
73
 
74
- GEM_VERSION = '1.172.0'
74
+ GEM_VERSION = '1.177.0'
75
75
 
76
76
  end
@@ -665,9 +665,11 @@ module Aws::EC2
665
665
  # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
666
666
  #
667
667
  # @option params [String] :domain
668
- # Set to `vpc` to allocate the address for use with instances in a VPC.
668
+ # Indicates whether the Elastic IP address is for use with instances in
669
+ # a VPC or instances in EC2-Classic.
669
670
  #
670
- # Default: The address is for use with instances in EC2-Classic.
671
+ # Default: If the Region supports EC2-Classic, the default is
672
+ # `standard`. Otherwise, the default is `vpc`.
671
673
  #
672
674
  # @option params [String] :address
673
675
  # \[EC2-VPC\] The Elastic IP address to recover or an IPv4 address from
@@ -755,7 +757,7 @@ module Aws::EC2
755
757
  #
756
758
  # resp = client.allocate_address({
757
759
  # domain: "vpc", # accepts vpc, standard
758
- # address: "String",
760
+ # address: "PublicIpAddress",
759
761
  # public_ipv_4_pool: "String",
760
762
  # network_border_group: "String",
761
763
  # customer_owned_ipv_4_pool: "String",
@@ -2081,12 +2083,14 @@ module Aws::EC2
2081
2083
  #
2082
2084
  # @option params [String] :access_group_id
2083
2085
  # The ID of the group to grant access to, for example, the Active
2084
- # Directory group or identity provider (IdP) group.
2086
+ # Directory group or identity provider (IdP) group. Required if
2087
+ # `AuthorizeAllGroups` is `false` or not specified.
2085
2088
  #
2086
2089
  # @option params [Boolean] :authorize_all_groups
2087
- # Indicates whether to grant access to all clients. Use `true` to grant
2088
- # all clients who successfully establish a VPN connection access to the
2089
- # network.
2090
+ # Indicates whether to grant access to all clients. Specify `true` to
2091
+ # grant all clients who successfully establish a VPN connection access
2092
+ # to the network. Must be set to `true` if `AccessGroupId` is not
2093
+ # specified.
2090
2094
  #
2091
2095
  # @option params [String] :description
2092
2096
  # A brief description of the authorization rule.
@@ -3136,7 +3140,7 @@ module Aws::EC2
3136
3140
  #
3137
3141
  # resp = client.copy_fpga_image({
3138
3142
  # dry_run: false,
3139
- # source_fpga_image_id: "FpgaImageId", # required
3143
+ # source_fpga_image_id: "String", # required
3140
3144
  # description: "String",
3141
3145
  # name: "String",
3142
3146
  # source_region: "String", # required
@@ -4213,7 +4217,7 @@ module Aws::EC2
4213
4217
  # specify `ec2.internal`. If you're using AmazonProvidedDNS in
4214
4218
  # another Region, specify `region.compute.internal` (for example,
4215
4219
  # `ap-northeast-1.compute.internal`). Otherwise, specify a domain name
4216
- # (for example, `MyCompany.com`). This value is used to complete
4220
+ # (for example, `ExampleCompany.com`). This value is used to complete
4217
4221
  # unqualified DNS hostnames. **Important**\: Some Linux operating
4218
4222
  # systems accept multiple domain names separated by spaces. However,
4219
4223
  # Windows and other Linux operating systems treat the value as a
@@ -4248,6 +4252,9 @@ module Aws::EC2
4248
4252
  # @option params [required, Array<Types::NewDhcpConfiguration>] :dhcp_configurations
4249
4253
  # A DHCP configuration option.
4250
4254
  #
4255
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4256
+ # The tags to assign to the DHCP option.
4257
+ #
4251
4258
  # @option params [Boolean] :dry_run
4252
4259
  # Checks whether you have the required permissions for the action,
4253
4260
  # without actually making the request, and provides an error response.
@@ -4304,6 +4311,17 @@ module Aws::EC2
4304
4311
  # values: ["String"],
4305
4312
  # },
4306
4313
  # ],
4314
+ # tag_specifications: [
4315
+ # {
4316
+ # 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
4317
+ # tags: [
4318
+ # {
4319
+ # key: "String",
4320
+ # value: "String",
4321
+ # },
4322
+ # ],
4323
+ # },
4324
+ # ],
4307
4325
  # dry_run: false,
4308
4326
  # })
4309
4327
  #
@@ -4353,6 +4371,9 @@ module Aws::EC2
4353
4371
  # The ID of the VPC for which to create the egress-only internet
4354
4372
  # gateway.
4355
4373
  #
4374
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
4375
+ # The tags to assign to the egress-only internet gateway.
4376
+ #
4356
4377
  # @return [Types::CreateEgressOnlyInternetGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4357
4378
  #
4358
4379
  # * {Types::CreateEgressOnlyInternetGatewayResult#client_token #client_token} => String
@@ -4364,6 +4385,17 @@ module Aws::EC2
4364
4385
  # client_token: "String",
4365
4386
  # dry_run: false,
4366
4387
  # vpc_id: "VpcId", # required
4388
+ # tag_specifications: [
4389
+ # {
4390
+ # 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
4391
+ # tags: [
4392
+ # {
4393
+ # key: "String",
4394
+ # value: "String",
4395
+ # },
4396
+ # ],
4397
+ # },
4398
+ # ],
4367
4399
  # })
4368
4400
  #
4369
4401
  # @example Response structure
@@ -5090,6 +5122,9 @@ module Aws::EC2
5090
5122
  #
5091
5123
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/
5092
5124
  #
5125
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
5126
+ # The tags to assign to the internet gateway.
5127
+ #
5093
5128
  # @option params [Boolean] :dry_run
5094
5129
  # Checks whether you have the required permissions for the action,
5095
5130
  # without actually making the request, and provides an error response.
@@ -5122,6 +5157,17 @@ module Aws::EC2
5122
5157
  # @example Request syntax with placeholder values
5123
5158
  #
5124
5159
  # resp = client.create_internet_gateway({
5160
+ # tag_specifications: [
5161
+ # {
5162
+ # 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
5163
+ # tags: [
5164
+ # {
5165
+ # key: "String",
5166
+ # value: "String",
5167
+ # },
5168
+ # ],
5169
+ # },
5170
+ # ],
5125
5171
  # dry_run: false,
5126
5172
  # })
5127
5173
  #
@@ -6204,6 +6250,9 @@ module Aws::EC2
6204
6250
  # @option params [required, String] :vpc_id
6205
6251
  # The ID of the VPC.
6206
6252
  #
6253
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
6254
+ # The tags to assign to the network ACL.
6255
+ #
6207
6256
  # @return [Types::CreateNetworkAclResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6208
6257
  #
6209
6258
  # * {Types::CreateNetworkAclResult#network_acl #network_acl} => Types::NetworkAcl
@@ -6251,6 +6300,17 @@ module Aws::EC2
6251
6300
  # resp = client.create_network_acl({
6252
6301
  # dry_run: false,
6253
6302
  # vpc_id: "VpcId", # required
6303
+ # tag_specifications: [
6304
+ # {
6305
+ # 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
6306
+ # tags: [
6307
+ # {
6308
+ # key: "String",
6309
+ # value: "String",
6310
+ # },
6311
+ # ],
6312
+ # },
6313
+ # ],
6254
6314
  # })
6255
6315
  #
6256
6316
  # @example Response structure
@@ -6484,6 +6544,9 @@ module Aws::EC2
6484
6544
  # @option params [required, String] :subnet_id
6485
6545
  # The ID of the subnet to associate with the network interface.
6486
6546
  #
6547
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
6548
+ # The tags to apply to the new network interface.
6549
+ #
6487
6550
  # @return [Types::CreateNetworkInterfaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6488
6551
  #
6489
6552
  # * {Types::CreateNetworkInterfaceResult#network_interface #network_interface} => Types::NetworkInterface
@@ -6555,6 +6618,17 @@ module Aws::EC2
6555
6618
  # secondary_private_ip_address_count: 1,
6556
6619
  # interface_type: "efa", # accepts efa
6557
6620
  # subnet_id: "SubnetId", # required
6621
+ # tag_specifications: [
6622
+ # {
6623
+ # 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
6624
+ # tags: [
6625
+ # {
6626
+ # key: "String",
6627
+ # value: "String",
6628
+ # },
6629
+ # ],
6630
+ # },
6631
+ # ],
6558
6632
  # })
6559
6633
  #
6560
6634
  # @example Response structure
@@ -7157,6 +7231,9 @@ module Aws::EC2
7157
7231
  # @option params [String] :vpc_id
7158
7232
  # \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
7159
7233
  #
7234
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
7235
+ # The tags to assign to the security group.
7236
+ #
7160
7237
  # @option params [Boolean] :dry_run
7161
7238
  # Checks whether you have the required permissions for the action,
7162
7239
  # without actually making the request, and provides an error response.
@@ -7166,6 +7243,7 @@ module Aws::EC2
7166
7243
  # @return [Types::CreateSecurityGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7167
7244
  #
7168
7245
  # * {Types::CreateSecurityGroupResult#group_id #group_id} => String
7246
+ # * {Types::CreateSecurityGroupResult#tags #tags} => Array&lt;Types::Tag&gt;
7169
7247
  #
7170
7248
  #
7171
7249
  # @example Example: To create a security group for a VPC
@@ -7189,12 +7267,26 @@ module Aws::EC2
7189
7267
  # description: "String", # required
7190
7268
  # group_name: "String", # required
7191
7269
  # vpc_id: "VpcId",
7270
+ # tag_specifications: [
7271
+ # {
7272
+ # 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
7273
+ # tags: [
7274
+ # {
7275
+ # key: "String",
7276
+ # value: "String",
7277
+ # },
7278
+ # ],
7279
+ # },
7280
+ # ],
7192
7281
  # dry_run: false,
7193
7282
  # })
7194
7283
  #
7195
7284
  # @example Response structure
7196
7285
  #
7197
7286
  # resp.group_id #=> String
7287
+ # resp.tags #=> Array
7288
+ # resp.tags[0].key #=> String
7289
+ # resp.tags[0].value #=> String
7198
7290
  #
7199
7291
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup AWS API Documentation
7200
7292
  #
@@ -7426,7 +7518,7 @@ module Aws::EC2
7426
7518
 
7427
7519
  # Creates a data feed for Spot Instances, enabling you to view Spot
7428
7520
  # Instance usage logs. You can create one data feed per AWS account. For
7429
- # more information, see [Spot Instance Data Feed][1] in the *Amazon EC2
7521
+ # more information, see [Spot Instance data feed][1] in the *Amazon EC2
7430
7522
  # User Guide for Linux Instances*.
7431
7523
  #
7432
7524
  #
@@ -7524,6 +7616,9 @@ module Aws::EC2
7524
7616
  #
7525
7617
  # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
7526
7618
  #
7619
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
7620
+ # The tags to assign to the subnet.
7621
+ #
7527
7622
  # @option params [String] :availability_zone
7528
7623
  # The Availability Zone or Local Zone for the subnet.
7529
7624
  #
@@ -7600,6 +7695,17 @@ module Aws::EC2
7600
7695
  # @example Request syntax with placeholder values
7601
7696
  #
7602
7697
  # resp = client.create_subnet({
7698
+ # tag_specifications: [
7699
+ # {
7700
+ # 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
7701
+ # tags: [
7702
+ # {
7703
+ # key: "String",
7704
+ # value: "String",
7705
+ # },
7706
+ # ],
7707
+ # },
7708
+ # ],
7603
7709
  # availability_zone: "String",
7604
7710
  # availability_zone_id: "String",
7605
7711
  # cidr_block: "String", # required
@@ -8959,6 +9065,9 @@ module Aws::EC2
8959
9065
  # You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
8960
9066
  # parameter.
8961
9067
  #
9068
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
9069
+ # The tags to assign to the VPC.
9070
+ #
8962
9071
  # @return [Types::CreateVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8963
9072
  #
8964
9073
  # * {Types::CreateVpcResult#vpc #vpc} => Types::Vpc
@@ -8993,6 +9102,17 @@ module Aws::EC2
8993
9102
  # dry_run: false,
8994
9103
  # instance_tenancy: "default", # accepts default, dedicated, host
8995
9104
  # ipv_6_cidr_block_network_border_group: "String",
9105
+ # tag_specifications: [
9106
+ # {
9107
+ # 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
9108
+ # tags: [
9109
+ # {
9110
+ # key: "String",
9111
+ # value: "String",
9112
+ # },
9113
+ # ],
9114
+ # },
9115
+ # ],
8996
9116
  # })
8997
9117
  #
8998
9118
  # @example Response structure
@@ -11665,7 +11785,7 @@ module Aws::EC2
11665
11785
  #
11666
11786
  # resp = client.delete_vpc_endpoint_connection_notifications({
11667
11787
  # dry_run: false,
11668
- # connection_notification_ids: ["String"], # required
11788
+ # connection_notification_ids: ["ConnectionNotificationId"], # required
11669
11789
  # })
11670
11790
  #
11671
11791
  # @example Response structure
@@ -12552,13 +12672,16 @@ module Aws::EC2
12552
12672
  # Local Zones, use the name of the group associated with the Local
12553
12673
  # Zone (for example, `us-west-2-lax-1`).
12554
12674
  #
12555
- # * `message` - The Availability Zone or Local Zone message.
12675
+ # * `message` - The Zone message.
12556
12676
  #
12557
12677
  # * `opt-in-status` - The opt in status (`opted-in`, and `not-opted-in`
12558
12678
  # \| `opt-in-not-required`).
12559
12679
  #
12560
- # * `region-name` - The name of the Region for the Availability Zone or
12561
- # Local Zone (for example, `us-east-1`).
12680
+ # * The ID of the zone that handles some of the Local Zone control plane
12681
+ # operations, such as API calls.
12682
+ #
12683
+ # * `region-name` - The name of the Region for the Zone (for example,
12684
+ # `us-east-1`).
12562
12685
  #
12563
12686
  # * `state` - The state of the Availability Zone or Local Zone
12564
12687
  # (`available` \| `information` \| `impaired` \| `unavailable`).
@@ -12566,15 +12689,19 @@ module Aws::EC2
12566
12689
  # * `zone-id` - The ID of the Availability Zone (for example,
12567
12690
  # `use1-az1`) or the Local Zone (for example, use `usw2-lax1-az1`).
12568
12691
  #
12692
+ # * `zone-type` - The type of zone, for example, `local-zone`.
12693
+ #
12569
12694
  # * `zone-name` - The name of the Availability Zone (for example,
12570
12695
  # `us-east-1a`) or the Local Zone (for example, use
12571
12696
  # `us-west-2-lax-1a`).
12572
12697
  #
12698
+ # * `zone-type` - The type of zone, for example, `local-zone`.
12699
+ #
12573
12700
  # @option params [Array<String>] :zone_names
12574
- # The names of the Availability Zones and Local Zones.
12701
+ # The names of the Zones.
12575
12702
  #
12576
12703
  # @option params [Array<String>] :zone_ids
12577
- # The IDs of the Availability Zones and Local Zones.
12704
+ # The IDs of the Zones.
12578
12705
  #
12579
12706
  # @option params [Boolean] :all_availability_zones
12580
12707
  # Include all Availability Zones and Local Zones regardless of your opt
@@ -12663,6 +12790,9 @@ module Aws::EC2
12663
12790
  # resp.availability_zones[0].zone_id #=> String
12664
12791
  # resp.availability_zones[0].group_name #=> String
12665
12792
  # resp.availability_zones[0].network_border_group #=> String
12793
+ # resp.availability_zones[0].zone_type #=> String
12794
+ # resp.availability_zones[0].parent_zone_name #=> String
12795
+ # resp.availability_zones[0].parent_zone_id #=> String
12666
12796
  #
12667
12797
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones AWS API Documentation
12668
12798
  #
@@ -15468,12 +15598,13 @@ module Aws::EC2
15468
15598
  #
15469
15599
  # * `name` - The name of the AMI (provided during image creation).
15470
15600
  #
15471
- # * `owner-alias` - String value from an Amazon-maintained list
15472
- # (`amazon` \| `aws-marketplace` \| `microsoft`) of snapshot owners.
15473
- # Not to be confused with the user-configured AWS account alias, which
15474
- # is set from the IAM console.
15601
+ # * `owner-alias` - The owner alias, from an Amazon-maintained list
15602
+ # (`amazon` \| `aws-marketplace`). This is not the user-configured AWS
15603
+ # account alias set using the IAM console. We recommend that you use
15604
+ # the related parameter instead of this filter.
15475
15605
  #
15476
- # * `owner-id` - The AWS account ID of the image owner.
15606
+ # * `owner-id` - The AWS account ID of the owner. We recommend that you
15607
+ # use the related parameter instead of this filter.
15477
15608
  #
15478
15609
  # * `platform` - The platform. To only list Windows-based AMIs, use
15479
15610
  # `windows`.
@@ -15520,11 +15651,10 @@ module Aws::EC2
15520
15651
  # Default: Describes all images available to you.
15521
15652
  #
15522
15653
  # @option params [Array<String>] :owners
15523
- # Filters the images by the owner. Specify an AWS account ID, `self`
15524
- # (owner is the sender of the request), or an AWS owner alias (valid
15525
- # values are `amazon` \| `aws-marketplace` \| `microsoft`). Omitting
15526
- # this option returns all images for which you have launch permissions,
15527
- # regardless of ownership.
15654
+ # Scopes the results to images with the specified owners. You can
15655
+ # specify a combination of AWS account IDs, `self`, `amazon`, and
15656
+ # `aws-marketplace`. If you omit this parameter, the results include all
15657
+ # images for which you have launch permissions, regardless of ownership.
15528
15658
  #
15529
15659
  # @option params [Boolean] :dry_run
15530
15660
  # Checks whether you have the required permissions for the action,
@@ -17471,6 +17601,8 @@ module Aws::EC2
17471
17601
 
17472
17602
  # Describes one or more versions of a specified launch template. You can
17473
17603
  # describe all versions, individual versions, or a range of versions.
17604
+ # You can also describe all the latest versions or all the default
17605
+ # versions of all the launch templates in your account.
17474
17606
  #
17475
17607
  # @option params [Boolean] :dry_run
17476
17608
  # Checks whether you have the required permissions for the action,
@@ -17479,15 +17611,32 @@ module Aws::EC2
17479
17611
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
17480
17612
  #
17481
17613
  # @option params [String] :launch_template_id
17482
- # The ID of the launch template. You must specify either the launch
17483
- # template ID or launch template name in the request.
17614
+ # The ID of the launch template. To describe one or more versions of a
17615
+ # specified launch template, you must specify either the launch template
17616
+ # ID or the launch template name in the request. To describe all the
17617
+ # latest or default launch template versions in your account, you must
17618
+ # omit this parameter.
17484
17619
  #
17485
17620
  # @option params [String] :launch_template_name
17486
- # The name of the launch template. You must specify either the launch
17487
- # template ID or launch template name in the request.
17621
+ # The name of the launch template. To describe one or more versions of a
17622
+ # specified launch template, you must specify either the launch template
17623
+ # ID or the launch template name in the request. To describe all the
17624
+ # latest or default launch template versions in your account, you must
17625
+ # omit this parameter.
17488
17626
  #
17489
17627
  # @option params [Array<String>] :versions
17490
- # One or more versions of the launch template.
17628
+ # One or more versions of the launch template. Valid values depend on
17629
+ # whether you are describing a specified launch template (by ID or name)
17630
+ # or all launch templates in your account.
17631
+ #
17632
+ # To describe one or more versions of a specified launch template, valid
17633
+ # values are `$Latest`, `$Default`, and numbers.
17634
+ #
17635
+ # To describe all launch templates in your account that are defined as
17636
+ # the latest version, the valid value is `$Latest`. To describe all
17637
+ # launch templates in your account that are defined as the default
17638
+ # version, the valid value is `$Default`. You can specify `$Latest` and
17639
+ # `$Default` in the same call. You cannot specify numbers.
17491
17640
  #
17492
17641
  # @option params [String] :min_version
17493
17642
  # The version number after which to describe launch template versions.
@@ -20326,8 +20475,6 @@ module Aws::EC2
20326
20475
  # filter to find all resources assigned a tag with a specific key,
20327
20476
  # regardless of the tag value.
20328
20477
  #
20329
- # * `transit-gateway-id` - The ID of a transit gateway.
20330
- #
20331
20478
  # * `vpc-id` - The ID of the VPC for the route table.
20332
20479
  #
20333
20480
  # @option params [Boolean] :dry_run
@@ -21406,7 +21553,7 @@ module Aws::EC2
21406
21553
  end
21407
21554
 
21408
21555
  # Describes the data feed for Spot Instances. For more information, see
21409
- # [Spot Instance Data Feed][1] in the *Amazon EC2 User Guide for Linux
21556
+ # [Spot Instance data feed][1] in the *Amazon EC2 User Guide for Linux
21410
21557
  # Instances*.
21411
21558
  #
21412
21559
  #
@@ -21989,7 +22136,7 @@ module Aws::EC2
21989
22136
  # * `state` - The state of the Spot Instance request (`open` \| `active`
21990
22137
  # \| `closed` \| `cancelled` \| `failed`). Spot request status
21991
22138
  # information can help you track your Amazon EC2 Spot Instance
21992
- # requests. For more information, see [Spot Request Status][1] in the
22139
+ # requests. For more information, see [Spot request status][1] in the
21993
22140
  # *Amazon EC2 User Guide for Linux Instances*.
21994
22141
  #
21995
22142
  # * `status-code` - The short code describing the most recent evaluation
@@ -22203,7 +22350,7 @@ module Aws::EC2
22203
22350
  end
22204
22351
 
22205
22352
  # Describes the Spot price history. For more information, see [Spot
22206
- # Instance Pricing History][1] in the *Amazon EC2 User Guide for Linux
22353
+ # Instance pricing history][1] in the *Amazon EC2 User Guide for Linux
22207
22354
  # Instances*.
22208
22355
  #
22209
22356
  # When you specify a start and end time, this operation returns the
@@ -27541,6 +27688,13 @@ module Aws::EC2
27541
27688
  # Retrieves the configuration data of the specified instance. You can
27542
27689
  # use this data to create a launch template.
27543
27690
  #
27691
+ # This action calls on other describe actions to get instance
27692
+ # information. Depending on your instance configuration, you may need to
27693
+ # allow the following actions in your IAM policy:
27694
+ # DescribeSpotInstanceRequests, DescribeInstanceCreditSpecifications,
27695
+ # DescribeVolumes, DescribeInstanceAttribute, and DescribeElasticGpus.
27696
+ # Or, you can allow `describe*` depending on your instance requirements.
27697
+ #
27544
27698
  # @option params [Boolean] :dry_run
27545
27699
  # Checks whether you have the required permissions for the action,
27546
27700
  # without actually making the request, and provides an error response.
@@ -28968,12 +29122,11 @@ module Aws::EC2
28968
29122
 
28969
29123
  # Enables or disables an Availability Zone group for your account.
28970
29124
  #
28971
- # Use [describe-availability-zones][1] to view the value for
28972
- # `GroupName`.
29125
+ # Use [ DescribeAvailabilityZones][1] to view the value for `GroupName`.
28973
29126
  #
28974
29127
  #
28975
29128
  #
28976
- # [1]: https://docs.aws.amazon.com/AWSEC2ApiDocReef/build/server-root/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
29129
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
28977
29130
  #
28978
29131
  # @option params [required, String] :group_name
28979
29132
  # The name of the Availability Zone Group.
@@ -32972,7 +33125,7 @@ module Aws::EC2
32972
33125
 
32973
33126
  # Registers an AMI. When you're creating an AMI, this is the final step
32974
33127
  # you must complete before you can launch an instance from the AMI. For
32975
- # more information about creating AMIs, see [Creating Your Own AMIs][1]
33128
+ # more information about creating AMIs, see [Creating your own AMIs][1]
32976
33129
  # in the *Amazon Elastic Compute Cloud User Guide*.
32977
33130
  #
32978
33131
  # <note markdown="1"> For Amazon EBS-backed instances, CreateImage creates and registers the
@@ -32984,11 +33137,11 @@ module Aws::EC2
32984
33137
  # You can also use `RegisterImage` to create an Amazon EBS-backed Linux
32985
33138
  # AMI from a snapshot of a root device volume. You specify the snapshot
32986
33139
  # using the block device mapping. For more information, see [Launching a
32987
- # Linux Instance from a Backup][2] in the *Amazon Elastic Compute Cloud
33140
+ # Linux instance from a backup][2] in the *Amazon Elastic Compute Cloud
32988
33141
  # User Guide*.
32989
33142
  #
32990
- # You can't register an image where a secondary (non-root) snapshot has
32991
- # AWS Marketplace product codes.
33143
+ # If any snapshots have AWS Marketplace product codes, they are copied
33144
+ # to the new AMI.
32992
33145
  #
32993
33146
  # Windows and some Linux distributions, such as Red Hat Enterprise Linux
32994
33147
  # (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing
@@ -33010,7 +33163,7 @@ module Aws::EC2
33010
33163
  # you purchase a Reserved Instance without the matching billing product
33011
33164
  # code, the Reserved Instance will not be applied to the On-Demand
33012
33165
  # Instance. For information about how to obtain the platform details and
33013
- # billing information of an AMI, see [Obtaining Billing Information][3]
33166
+ # billing information of an AMI, see [Obtaining billing information][3]
33014
33167
  # in the *Amazon Elastic Compute Cloud User Guide*.
33015
33168
  #
33016
33169
  # If needed, you can deregister an AMI at any time. Any modifications
@@ -34178,7 +34331,7 @@ module Aws::EC2
34178
34331
  # request because only the `spot-fleet-request` and `instance` resource
34179
34332
  # types are supported.
34180
34333
  #
34181
- # For more information, see [Spot Fleet Requests][1] in the *Amazon EC2
34334
+ # For more information, see [Spot Fleet requests][1] in the *Amazon EC2
34182
34335
  # User Guide for Linux Instances*.
34183
34336
  #
34184
34337
  #
@@ -34523,7 +34676,7 @@ module Aws::EC2
34523
34676
 
34524
34677
  # Creates a Spot Instance request.
34525
34678
  #
34526
- # For more information, see [Spot Instance Requests][1] in the *Amazon
34679
+ # For more information, see [Spot Instance requests][1] in the *Amazon
34527
34680
  # EC2 User Guide for Linux Instances*.
34528
34681
  #
34529
34682
  #
@@ -34623,6 +34776,16 @@ module Aws::EC2
34623
34776
  # remains active until it is canceled or this date is reached. The
34624
34777
  # default end date is 7 days from the current date.
34625
34778
  #
34779
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
34780
+ # The key-value pair for tagging the Spot Instance request on creation.
34781
+ # The value for `ResourceType` must be `spot-instances-request`,
34782
+ # otherwise the Spot Instance request fails. To tag the Spot Instance
34783
+ # request after it has been created, see [CreateTags][1].
34784
+ #
34785
+ #
34786
+ #
34787
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
34788
+ #
34626
34789
  # @option params [String] :instance_interruption_behavior
34627
34790
  # The behavior when a Spot Instance is interrupted. The default is
34628
34791
  # `terminate`.
@@ -34762,6 +34925,17 @@ module Aws::EC2
34762
34925
  # type: "one-time", # accepts one-time, persistent
34763
34926
  # valid_from: Time.now,
34764
34927
  # valid_until: Time.now,
34928
+ # tag_specifications: [
34929
+ # {
34930
+ # 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
34931
+ # tags: [
34932
+ # {
34933
+ # key: "String",
34934
+ # value: "String",
34935
+ # },
34936
+ # ],
34937
+ # },
34938
+ # ],
34765
34939
  # instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
34766
34940
  # })
34767
34941
  #
@@ -37617,7 +37791,7 @@ module Aws::EC2
37617
37791
  params: params,
37618
37792
  config: config)
37619
37793
  context[:gem_name] = 'aws-sdk-ec2'
37620
- context[:gem_version] = '1.172.0'
37794
+ context[:gem_version] = '1.177.0'
37621
37795
  Seahorse::Client::Request.new(handlers, context)
37622
37796
  end
37623
37797