aws-sdk-ec2 1.173.0 → 1.178.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: 74b8950b066d1ef0de87b333ef51abbfe1f125c8f7a6e7cab6ac941b4f03d344
4
- data.tar.gz: 137cb4c3bde3e1443050052a4bb4f58ac8dd7c7c2afbc467ef9cf9ee60777500
3
+ metadata.gz: e097f1c67cf0635b0de778d237d4da027a650f0886266a0766a4b0a888c3a87c
4
+ data.tar.gz: 8f9dd7af8b597f6f692566d5a9b01186ddfc13f44523c4a95e82183a3f98414b
5
5
  SHA512:
6
- metadata.gz: 2bb44458e04d13777f80fc5e453578fc91e7fe43d86b758e2a2fee1f8fdc0a41fe1e78dcec31ecef31836f60a80801e498cd0b85e0d5898ac69ec0ab24e8b146
7
- data.tar.gz: 901cbd9451c4e4ac5dc4319bbdad337f40a42c7e977be367f93414b333eba98c7e82e0f866f750d11b372867096e4c13da9538b93b8307c5d83c7e721bbd1f28
6
+ metadata.gz: 57374ffb2f3640adad2fb7915667445a97d69c353752e482d13398dafbd15f801a3e1aff077dcb067d80676cf7f0b3cb6c273a068ae2623a229df4fd57807507
7
+ data.tar.gz: d919360ed106a579fe114b9f205f7c8b84620d6afda3aadf91eed2cce6ca4e55d97067dc11d186a97f49f80f7e5f8db16da4c19e1741198c5508bb3ac9c0700a
@@ -71,6 +71,6 @@ require_relative 'aws-sdk-ec2/customizations'
71
71
  # @service
72
72
  module Aws::EC2
73
73
 
74
- GEM_VERSION = '1.173.0'
74
+ GEM_VERSION = '1.178.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
@@ -7086,6 +7090,9 @@ module Aws::EC2
7086
7090
  # @option params [required, String] :vpc_id
7087
7091
  # The ID of the VPC.
7088
7092
  #
7093
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
7094
+ # The tags to assign to the route table.
7095
+ #
7089
7096
  # @return [Types::CreateRouteTableResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
7090
7097
  #
7091
7098
  # * {Types::CreateRouteTableResult#route_table #route_table} => Types::RouteTable
@@ -7125,6 +7132,17 @@ module Aws::EC2
7125
7132
  # resp = client.create_route_table({
7126
7133
  # dry_run: false,
7127
7134
  # vpc_id: "VpcId", # required
7135
+ # tag_specifications: [
7136
+ # {
7137
+ # 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
7138
+ # tags: [
7139
+ # {
7140
+ # key: "String",
7141
+ # value: "String",
7142
+ # },
7143
+ # ],
7144
+ # },
7145
+ # ],
7128
7146
  # })
7129
7147
  #
7130
7148
  # @example Response structure
@@ -7514,7 +7532,7 @@ module Aws::EC2
7514
7532
 
7515
7533
  # Creates a data feed for Spot Instances, enabling you to view Spot
7516
7534
  # Instance usage logs. You can create one data feed per AWS account. For
7517
- # more information, see [Spot Instance Data Feed][1] in the *Amazon EC2
7535
+ # more information, see [Spot Instance data feed][1] in the *Amazon EC2
7518
7536
  # User Guide for Linux Instances*.
7519
7537
  #
7520
7538
  #
@@ -9539,6 +9557,9 @@ module Aws::EC2
9539
9557
  #
9540
9558
  # Default: The Region in which you make the request.
9541
9559
  #
9560
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
9561
+ # The tags to assign to the peering connection.
9562
+ #
9542
9563
  # @return [Types::CreateVpcPeeringConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9543
9564
  #
9544
9565
  # * {Types::CreateVpcPeeringConnectionResult#vpc_peering_connection #vpc_peering_connection} => Types::VpcPeeringConnection
@@ -9551,6 +9572,17 @@ module Aws::EC2
9551
9572
  # peer_vpc_id: "String",
9552
9573
  # vpc_id: "VpcId",
9553
9574
  # peer_region: "String",
9575
+ # tag_specifications: [
9576
+ # {
9577
+ # 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
9578
+ # tags: [
9579
+ # {
9580
+ # key: "String",
9581
+ # value: "String",
9582
+ # },
9583
+ # ],
9584
+ # },
9585
+ # ],
9554
9586
  # })
9555
9587
  #
9556
9588
  # @example Response structure
@@ -11781,7 +11813,7 @@ module Aws::EC2
11781
11813
  #
11782
11814
  # resp = client.delete_vpc_endpoint_connection_notifications({
11783
11815
  # dry_run: false,
11784
- # connection_notification_ids: ["String"], # required
11816
+ # connection_notification_ids: ["ConnectionNotificationId"], # required
11785
11817
  # })
11786
11818
  #
11787
11819
  # @example Response structure
@@ -12668,13 +12700,16 @@ module Aws::EC2
12668
12700
  # Local Zones, use the name of the group associated with the Local
12669
12701
  # Zone (for example, `us-west-2-lax-1`).
12670
12702
  #
12671
- # * `message` - The Availability Zone or Local Zone message.
12703
+ # * `message` - The Zone message.
12672
12704
  #
12673
12705
  # * `opt-in-status` - The opt in status (`opted-in`, and `not-opted-in`
12674
12706
  # \| `opt-in-not-required`).
12675
12707
  #
12676
- # * `region-name` - The name of the Region for the Availability Zone or
12677
- # Local Zone (for example, `us-east-1`).
12708
+ # * The ID of the zone that handles some of the Local Zone control plane
12709
+ # operations, such as API calls.
12710
+ #
12711
+ # * `region-name` - The name of the Region for the Zone (for example,
12712
+ # `us-east-1`).
12678
12713
  #
12679
12714
  # * `state` - The state of the Availability Zone or Local Zone
12680
12715
  # (`available` \| `information` \| `impaired` \| `unavailable`).
@@ -12682,15 +12717,19 @@ module Aws::EC2
12682
12717
  # * `zone-id` - The ID of the Availability Zone (for example,
12683
12718
  # `use1-az1`) or the Local Zone (for example, use `usw2-lax1-az1`).
12684
12719
  #
12720
+ # * `zone-type` - The type of zone, for example, `local-zone`.
12721
+ #
12685
12722
  # * `zone-name` - The name of the Availability Zone (for example,
12686
12723
  # `us-east-1a`) or the Local Zone (for example, use
12687
12724
  # `us-west-2-lax-1a`).
12688
12725
  #
12726
+ # * `zone-type` - The type of zone, for example, `local-zone`.
12727
+ #
12689
12728
  # @option params [Array<String>] :zone_names
12690
- # The names of the Availability Zones and Local Zones.
12729
+ # The names of the Zones.
12691
12730
  #
12692
12731
  # @option params [Array<String>] :zone_ids
12693
- # The IDs of the Availability Zones and Local Zones.
12732
+ # The IDs of the Zones.
12694
12733
  #
12695
12734
  # @option params [Boolean] :all_availability_zones
12696
12735
  # Include all Availability Zones and Local Zones regardless of your opt
@@ -12779,6 +12818,9 @@ module Aws::EC2
12779
12818
  # resp.availability_zones[0].zone_id #=> String
12780
12819
  # resp.availability_zones[0].group_name #=> String
12781
12820
  # resp.availability_zones[0].network_border_group #=> String
12821
+ # resp.availability_zones[0].zone_type #=> String
12822
+ # resp.availability_zones[0].parent_zone_name #=> String
12823
+ # resp.availability_zones[0].parent_zone_id #=> String
12782
12824
  #
12783
12825
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones AWS API Documentation
12784
12826
  #
@@ -13647,6 +13689,7 @@ module Aws::EC2
13647
13689
  # resp.coip_pools[0].tags #=> Array
13648
13690
  # resp.coip_pools[0].tags[0].key #=> String
13649
13691
  # resp.coip_pools[0].tags[0].value #=> String
13692
+ # resp.coip_pools[0].pool_arn #=> String
13650
13693
  # resp.next_token #=> String
13651
13694
  #
13652
13695
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCoipPools AWS API Documentation
@@ -15584,12 +15627,13 @@ module Aws::EC2
15584
15627
  #
15585
15628
  # * `name` - The name of the AMI (provided during image creation).
15586
15629
  #
15587
- # * `owner-alias` - String value from an Amazon-maintained list
15588
- # (`amazon` \| `aws-marketplace` \| `microsoft`) of snapshot owners.
15589
- # Not to be confused with the user-configured AWS account alias, which
15590
- # is set from the IAM console.
15630
+ # * `owner-alias` - The owner alias, from an Amazon-maintained list
15631
+ # (`amazon` \| `aws-marketplace`). This is not the user-configured AWS
15632
+ # account alias set using the IAM console. We recommend that you use
15633
+ # the related parameter instead of this filter.
15591
15634
  #
15592
- # * `owner-id` - The AWS account ID of the image owner.
15635
+ # * `owner-id` - The AWS account ID of the owner. We recommend that you
15636
+ # use the related parameter instead of this filter.
15593
15637
  #
15594
15638
  # * `platform` - The platform. To only list Windows-based AMIs, use
15595
15639
  # `windows`.
@@ -15636,11 +15680,10 @@ module Aws::EC2
15636
15680
  # Default: Describes all images available to you.
15637
15681
  #
15638
15682
  # @option params [Array<String>] :owners
15639
- # Filters the images by the owner. Specify an AWS account ID, `self`
15640
- # (owner is the sender of the request), or an AWS owner alias (valid
15641
- # values are `amazon` \| `aws-marketplace` \| `microsoft`). Omitting
15642
- # this option returns all images for which you have launch permissions,
15643
- # regardless of ownership.
15683
+ # Scopes the results to images with the specified owners. You can
15684
+ # specify a combination of AWS account IDs, `self`, `amazon`, and
15685
+ # `aws-marketplace`. If you omit this parameter, the results include all
15686
+ # images for which you have launch permissions, regardless of ownership.
15644
15687
  #
15645
15688
  # @option params [Boolean] :dry_run
15646
15689
  # Checks whether you have the required permissions for the action,
@@ -17587,6 +17630,8 @@ module Aws::EC2
17587
17630
 
17588
17631
  # Describes one or more versions of a specified launch template. You can
17589
17632
  # describe all versions, individual versions, or a range of versions.
17633
+ # You can also describe all the latest versions or all the default
17634
+ # versions of all the launch templates in your account.
17590
17635
  #
17591
17636
  # @option params [Boolean] :dry_run
17592
17637
  # Checks whether you have the required permissions for the action,
@@ -17595,15 +17640,32 @@ module Aws::EC2
17595
17640
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
17596
17641
  #
17597
17642
  # @option params [String] :launch_template_id
17598
- # The ID of the launch template. You must specify either the launch
17599
- # template ID or launch template name in the request.
17643
+ # The ID of the launch template. To describe one or more versions of a
17644
+ # specified launch template, you must specify either the launch template
17645
+ # ID or the launch template name in the request. To describe all the
17646
+ # latest or default launch template versions in your account, you must
17647
+ # omit this parameter.
17600
17648
  #
17601
17649
  # @option params [String] :launch_template_name
17602
- # The name of the launch template. You must specify either the launch
17603
- # template ID or launch template name in the request.
17650
+ # The name of the launch template. To describe one or more versions of a
17651
+ # specified launch template, you must specify either the launch template
17652
+ # ID or the launch template name in the request. To describe all the
17653
+ # latest or default launch template versions in your account, you must
17654
+ # omit this parameter.
17604
17655
  #
17605
17656
  # @option params [Array<String>] :versions
17606
- # One or more versions of the launch template.
17657
+ # One or more versions of the launch template. Valid values depend on
17658
+ # whether you are describing a specified launch template (by ID or name)
17659
+ # or all launch templates in your account.
17660
+ #
17661
+ # To describe one or more versions of a specified launch template, valid
17662
+ # values are `$Latest`, `$Default`, and numbers.
17663
+ #
17664
+ # To describe all launch templates in your account that are defined as
17665
+ # the latest version, the valid value is `$Latest`. To describe all
17666
+ # launch templates in your account that are defined as the default
17667
+ # version, the valid value is `$Default`. You can specify `$Latest` and
17668
+ # `$Default` in the same call. You cannot specify numbers.
17607
17669
  #
17608
17670
  # @option params [String] :min_version
17609
17671
  # The version number after which to describe launch template versions.
@@ -20442,8 +20504,6 @@ module Aws::EC2
20442
20504
  # filter to find all resources assigned a tag with a specific key,
20443
20505
  # regardless of the tag value.
20444
20506
  #
20445
- # * `transit-gateway-id` - The ID of a transit gateway.
20446
- #
20447
20507
  # * `vpc-id` - The ID of the VPC for the route table.
20448
20508
  #
20449
20509
  # @option params [Boolean] :dry_run
@@ -21522,7 +21582,7 @@ module Aws::EC2
21522
21582
  end
21523
21583
 
21524
21584
  # Describes the data feed for Spot Instances. For more information, see
21525
- # [Spot Instance Data Feed][1] in the *Amazon EC2 User Guide for Linux
21585
+ # [Spot Instance data feed][1] in the *Amazon EC2 User Guide for Linux
21526
21586
  # Instances*.
21527
21587
  #
21528
21588
  #
@@ -22105,7 +22165,7 @@ module Aws::EC2
22105
22165
  # * `state` - The state of the Spot Instance request (`open` \| `active`
22106
22166
  # \| `closed` \| `cancelled` \| `failed`). Spot request status
22107
22167
  # information can help you track your Amazon EC2 Spot Instance
22108
- # requests. For more information, see [Spot Request Status][1] in the
22168
+ # requests. For more information, see [Spot request status][1] in the
22109
22169
  # *Amazon EC2 User Guide for Linux Instances*.
22110
22170
  #
22111
22171
  # * `status-code` - The short code describing the most recent evaluation
@@ -22319,7 +22379,7 @@ module Aws::EC2
22319
22379
  end
22320
22380
 
22321
22381
  # Describes the Spot price history. For more information, see [Spot
22322
- # Instance Pricing History][1] in the *Amazon EC2 User Guide for Linux
22382
+ # Instance pricing history][1] in the *Amazon EC2 User Guide for Linux
22323
22383
  # Instances*.
22324
22384
  #
22325
22385
  # When you specify a start and end time, this operation returns the
@@ -27657,6 +27717,13 @@ module Aws::EC2
27657
27717
  # Retrieves the configuration data of the specified instance. You can
27658
27718
  # use this data to create a launch template.
27659
27719
  #
27720
+ # This action calls on other describe actions to get instance
27721
+ # information. Depending on your instance configuration, you may need to
27722
+ # allow the following actions in your IAM policy:
27723
+ # DescribeSpotInstanceRequests, DescribeInstanceCreditSpecifications,
27724
+ # DescribeVolumes, DescribeInstanceAttribute, and DescribeElasticGpus.
27725
+ # Or, you can allow `describe*` depending on your instance requirements.
27726
+ #
27660
27727
  # @option params [Boolean] :dry_run
27661
27728
  # Checks whether you have the required permissions for the action,
27662
27729
  # without actually making the request, and provides an error response.
@@ -29084,12 +29151,11 @@ module Aws::EC2
29084
29151
 
29085
29152
  # Enables or disables an Availability Zone group for your account.
29086
29153
  #
29087
- # Use [describe-availability-zones][1] to view the value for
29088
- # `GroupName`.
29154
+ # Use [ DescribeAvailabilityZones][1] to view the value for `GroupName`.
29089
29155
  #
29090
29156
  #
29091
29157
  #
29092
- # [1]: https://docs.aws.amazon.com/AWSEC2ApiDocReef/build/server-root/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
29158
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html
29093
29159
  #
29094
29160
  # @option params [required, String] :group_name
29095
29161
  # The name of the Availability Zone Group.
@@ -33088,7 +33154,7 @@ module Aws::EC2
33088
33154
 
33089
33155
  # Registers an AMI. When you're creating an AMI, this is the final step
33090
33156
  # you must complete before you can launch an instance from the AMI. For
33091
- # more information about creating AMIs, see [Creating Your Own AMIs][1]
33157
+ # more information about creating AMIs, see [Creating your own AMIs][1]
33092
33158
  # in the *Amazon Elastic Compute Cloud User Guide*.
33093
33159
  #
33094
33160
  # <note markdown="1"> For Amazon EBS-backed instances, CreateImage creates and registers the
@@ -33100,11 +33166,11 @@ module Aws::EC2
33100
33166
  # You can also use `RegisterImage` to create an Amazon EBS-backed Linux
33101
33167
  # AMI from a snapshot of a root device volume. You specify the snapshot
33102
33168
  # using the block device mapping. For more information, see [Launching a
33103
- # Linux Instance from a Backup][2] in the *Amazon Elastic Compute Cloud
33169
+ # Linux instance from a backup][2] in the *Amazon Elastic Compute Cloud
33104
33170
  # User Guide*.
33105
33171
  #
33106
- # You can't register an image where a secondary (non-root) snapshot has
33107
- # AWS Marketplace product codes.
33172
+ # If any snapshots have AWS Marketplace product codes, they are copied
33173
+ # to the new AMI.
33108
33174
  #
33109
33175
  # Windows and some Linux distributions, such as Red Hat Enterprise Linux
33110
33176
  # (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing
@@ -33126,7 +33192,7 @@ module Aws::EC2
33126
33192
  # you purchase a Reserved Instance without the matching billing product
33127
33193
  # code, the Reserved Instance will not be applied to the On-Demand
33128
33194
  # Instance. For information about how to obtain the platform details and
33129
- # billing information of an AMI, see [Obtaining Billing Information][3]
33195
+ # billing information of an AMI, see [Obtaining billing information][3]
33130
33196
  # in the *Amazon Elastic Compute Cloud User Guide*.
33131
33197
  #
33132
33198
  # If needed, you can deregister an AMI at any time. Any modifications
@@ -34294,7 +34360,7 @@ module Aws::EC2
34294
34360
  # request because only the `spot-fleet-request` and `instance` resource
34295
34361
  # types are supported.
34296
34362
  #
34297
- # For more information, see [Spot Fleet Requests][1] in the *Amazon EC2
34363
+ # For more information, see [Spot Fleet requests][1] in the *Amazon EC2
34298
34364
  # User Guide for Linux Instances*.
34299
34365
  #
34300
34366
  #
@@ -34639,7 +34705,7 @@ module Aws::EC2
34639
34705
 
34640
34706
  # Creates a Spot Instance request.
34641
34707
  #
34642
- # For more information, see [Spot Instance Requests][1] in the *Amazon
34708
+ # For more information, see [Spot Instance requests][1] in the *Amazon
34643
34709
  # EC2 User Guide for Linux Instances*.
34644
34710
  #
34645
34711
  #
@@ -34739,6 +34805,16 @@ module Aws::EC2
34739
34805
  # remains active until it is canceled or this date is reached. The
34740
34806
  # default end date is 7 days from the current date.
34741
34807
  #
34808
+ # @option params [Array<Types::TagSpecification>] :tag_specifications
34809
+ # The key-value pair for tagging the Spot Instance request on creation.
34810
+ # The value for `ResourceType` must be `spot-instances-request`,
34811
+ # otherwise the Spot Instance request fails. To tag the Spot Instance
34812
+ # request after it has been created, see [CreateTags][1].
34813
+ #
34814
+ #
34815
+ #
34816
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
34817
+ #
34742
34818
  # @option params [String] :instance_interruption_behavior
34743
34819
  # The behavior when a Spot Instance is interrupted. The default is
34744
34820
  # `terminate`.
@@ -34878,6 +34954,17 @@ module Aws::EC2
34878
34954
  # type: "one-time", # accepts one-time, persistent
34879
34955
  # valid_from: Time.now,
34880
34956
  # valid_until: Time.now,
34957
+ # tag_specifications: [
34958
+ # {
34959
+ # 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
34960
+ # tags: [
34961
+ # {
34962
+ # key: "String",
34963
+ # value: "String",
34964
+ # },
34965
+ # ],
34966
+ # },
34967
+ # ],
34881
34968
  # instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
34882
34969
  # })
34883
34970
  #
@@ -37733,7 +37820,7 @@ module Aws::EC2
37733
37820
  params: params,
37734
37821
  config: config)
37735
37822
  context[:gem_name] = 'aws-sdk-ec2'
37736
- context[:gem_version] = '1.173.0'
37823
+ context[:gem_version] = '1.178.0'
37737
37824
  Seahorse::Client::Request.new(handlers, context)
37738
37825
  end
37739
37826
 
@@ -224,6 +224,7 @@ module Aws::EC2
224
224
  ConnectionLogResponseOptions = Shapes::StructureShape.new(name: 'ConnectionLogResponseOptions')
225
225
  ConnectionNotification = Shapes::StructureShape.new(name: 'ConnectionNotification')
226
226
  ConnectionNotificationId = Shapes::StringShape.new(name: 'ConnectionNotificationId')
227
+ ConnectionNotificationIdsList = Shapes::ListShape.new(name: 'ConnectionNotificationIdsList')
227
228
  ConnectionNotificationSet = Shapes::ListShape.new(name: 'ConnectionNotificationSet')
228
229
  ConnectionNotificationState = Shapes::StringShape.new(name: 'ConnectionNotificationState')
229
230
  ConnectionNotificationType = Shapes::StringShape.new(name: 'ConnectionNotificationType')
@@ -1534,6 +1535,7 @@ module Aws::EC2
1534
1535
  ProvisionByoipCidrRequest = Shapes::StructureShape.new(name: 'ProvisionByoipCidrRequest')
1535
1536
  ProvisionByoipCidrResult = Shapes::StructureShape.new(name: 'ProvisionByoipCidrResult')
1536
1537
  ProvisionedBandwidth = Shapes::StructureShape.new(name: 'ProvisionedBandwidth')
1538
+ PublicIpAddress = Shapes::StringShape.new(name: 'PublicIpAddress')
1537
1539
  PublicIpStringList = Shapes::ListShape.new(name: 'PublicIpStringList')
1538
1540
  PublicIpv4Pool = Shapes::StructureShape.new(name: 'PublicIpv4Pool')
1539
1541
  PublicIpv4PoolIdStringList = Shapes::ListShape.new(name: 'PublicIpv4PoolIdStringList')
@@ -2148,7 +2150,7 @@ module Aws::EC2
2148
2150
  AdvertiseByoipCidrResult.struct_class = Types::AdvertiseByoipCidrResult
2149
2151
 
2150
2152
  AllocateAddressRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainType, location_name: "Domain"))
2151
- AllocateAddressRequest.add_member(:address, Shapes::ShapeRef.new(shape: String, location_name: "Address"))
2153
+ AllocateAddressRequest.add_member(:address, Shapes::ShapeRef.new(shape: PublicIpAddress, location_name: "Address"))
2152
2154
  AllocateAddressRequest.add_member(:public_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "PublicIpv4Pool"))
2153
2155
  AllocateAddressRequest.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "NetworkBorderGroup"))
2154
2156
  AllocateAddressRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "CustomerOwnedIpv4Pool"))
@@ -2410,6 +2412,9 @@ module Aws::EC2
2410
2412
  AvailabilityZone.add_member(:zone_id, Shapes::ShapeRef.new(shape: String, location_name: "zoneId"))
2411
2413
  AvailabilityZone.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
2412
2414
  AvailabilityZone.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "networkBorderGroup"))
2415
+ AvailabilityZone.add_member(:zone_type, Shapes::ShapeRef.new(shape: String, location_name: "zoneType"))
2416
+ AvailabilityZone.add_member(:parent_zone_name, Shapes::ShapeRef.new(shape: String, location_name: "parentZoneName"))
2417
+ AvailabilityZone.add_member(:parent_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "parentZoneId"))
2413
2418
  AvailabilityZone.struct_class = Types::AvailabilityZone
2414
2419
 
2415
2420
  AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "item")
@@ -2741,6 +2746,7 @@ module Aws::EC2
2741
2746
  CoipPool.add_member(:pool_cidrs, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "poolCidrSet"))
2742
2747
  CoipPool.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, location_name: "localGatewayRouteTableId"))
2743
2748
  CoipPool.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
2749
+ CoipPool.add_member(:pool_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "poolArn"))
2744
2750
  CoipPool.struct_class = Types::CoipPool
2745
2751
 
2746
2752
  CoipPoolIdSet.member = Shapes::ShapeRef.new(shape: CoipPoolId, location_name: "item")
@@ -2775,6 +2781,8 @@ module Aws::EC2
2775
2781
  ConnectionNotification.add_member(:connection_notification_state, Shapes::ShapeRef.new(shape: ConnectionNotificationState, location_name: "connectionNotificationState"))
2776
2782
  ConnectionNotification.struct_class = Types::ConnectionNotification
2777
2783
 
2784
+ ConnectionNotificationIdsList.member = Shapes::ShapeRef.new(shape: ConnectionNotificationId, location_name: "item")
2785
+
2778
2786
  ConnectionNotificationSet.member = Shapes::ShapeRef.new(shape: ConnectionNotification, location_name: "item")
2779
2787
 
2780
2788
  ConversionIdStringList.member = Shapes::ShapeRef.new(shape: ConversionTaskId, location_name: "item")
@@ -2789,7 +2797,7 @@ module Aws::EC2
2789
2797
  ConversionTask.struct_class = Types::ConversionTask
2790
2798
 
2791
2799
  CopyFpgaImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2792
- CopyFpgaImageRequest.add_member(:source_fpga_image_id, Shapes::ShapeRef.new(shape: FpgaImageId, required: true, location_name: "SourceFpgaImageId"))
2800
+ CopyFpgaImageRequest.add_member(:source_fpga_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceFpgaImageId"))
2793
2801
  CopyFpgaImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
2794
2802
  CopyFpgaImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
2795
2803
  CopyFpgaImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
@@ -3183,6 +3191,7 @@ module Aws::EC2
3183
3191
 
3184
3192
  CreateRouteTableRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3185
3193
  CreateRouteTableRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
3194
+ CreateRouteTableRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3186
3195
  CreateRouteTableRequest.struct_class = Types::CreateRouteTableRequest
3187
3196
 
3188
3197
  CreateRouteTableResult.add_member(:route_table, Shapes::ShapeRef.new(shape: RouteTable, location_name: "routeTable"))
@@ -3427,6 +3436,7 @@ module Aws::EC2
3427
3436
  CreateVpcPeeringConnectionRequest.add_member(:peer_vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "peerVpcId"))
3428
3437
  CreateVpcPeeringConnectionRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "vpcId"))
3429
3438
  CreateVpcPeeringConnectionRequest.add_member(:peer_region, Shapes::ShapeRef.new(shape: String, location_name: "PeerRegion"))
3439
+ CreateVpcPeeringConnectionRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3430
3440
  CreateVpcPeeringConnectionRequest.struct_class = Types::CreateVpcPeeringConnectionRequest
3431
3441
 
3432
3442
  CreateVpcPeeringConnectionResult.add_member(:vpc_peering_connection, Shapes::ShapeRef.new(shape: VpcPeeringConnection, location_name: "vpcPeeringConnection"))
@@ -3779,7 +3789,7 @@ module Aws::EC2
3779
3789
  DeleteVolumeRequest.struct_class = Types::DeleteVolumeRequest
3780
3790
 
3781
3791
  DeleteVpcEndpointConnectionNotificationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3782
- DeleteVpcEndpointConnectionNotificationsRequest.add_member(:connection_notification_ids, Shapes::ShapeRef.new(shape: ValueStringList, required: true, location_name: "ConnectionNotificationId"))
3792
+ DeleteVpcEndpointConnectionNotificationsRequest.add_member(:connection_notification_ids, Shapes::ShapeRef.new(shape: ConnectionNotificationIdsList, required: true, location_name: "ConnectionNotificationId"))
3783
3793
  DeleteVpcEndpointConnectionNotificationsRequest.struct_class = Types::DeleteVpcEndpointConnectionNotificationsRequest
3784
3794
 
3785
3795
  DeleteVpcEndpointConnectionNotificationsResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: UnsuccessfulItemSet, location_name: "unsuccessful"))
@@ -6415,7 +6425,7 @@ module Aws::EC2
6415
6425
  InstanceFamilyCreditSpecification.add_member(:cpu_credits, Shapes::ShapeRef.new(shape: String, location_name: "cpuCredits"))
6416
6426
  InstanceFamilyCreditSpecification.struct_class = Types::InstanceFamilyCreditSpecification
6417
6427
 
6418
- InstanceIdSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
6428
+ InstanceIdSet.member = Shapes::ShapeRef.new(shape: InstanceId, location_name: "item")
6419
6429
 
6420
6430
  InstanceIdStringList.member = Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId")
6421
6431
 
@@ -8253,6 +8263,7 @@ module Aws::EC2
8253
8263
  RequestSpotInstancesRequest.add_member(:type, Shapes::ShapeRef.new(shape: SpotInstanceType, location_name: "type"))
8254
8264
  RequestSpotInstancesRequest.add_member(:valid_from, Shapes::ShapeRef.new(shape: DateTime, location_name: "validFrom"))
8255
8265
  RequestSpotInstancesRequest.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "validUntil"))
8266
+ RequestSpotInstancesRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
8256
8267
  RequestSpotInstancesRequest.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "InstanceInterruptionBehavior"))
8257
8268
  RequestSpotInstancesRequest.struct_class = Types::RequestSpotInstancesRequest
8258
8269