aws-sdk-ec2 1.334.0 → 1.336.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +855 -85
- data/lib/aws-sdk-ec2/client_api.rb +17 -0
- data/lib/aws-sdk-ec2/resource.rb +34 -0
- data/lib/aws-sdk-ec2/types.rb +229 -156
- data/lib/aws-sdk-ec2/vpc.rb +34 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -79,6 +79,7 @@ module Aws::EC2
|
|
79
79
|
AllocationIds = Shapes::ListShape.new(name: 'AllocationIds')
|
80
80
|
AllocationState = Shapes::StringShape.new(name: 'AllocationState')
|
81
81
|
AllocationStrategy = Shapes::StringShape.new(name: 'AllocationStrategy')
|
82
|
+
AllocationType = Shapes::StringShape.new(name: 'AllocationType')
|
82
83
|
AllowedPrincipal = Shapes::StructureShape.new(name: 'AllowedPrincipal')
|
83
84
|
AllowedPrincipalSet = Shapes::ListShape.new(name: 'AllowedPrincipalSet')
|
84
85
|
AllowsMultipleInstanceTypes = Shapes::StringShape.new(name: 'AllowsMultipleInstanceTypes')
|
@@ -235,6 +236,8 @@ module Aws::EC2
|
|
235
236
|
CancelSpotInstanceRequestsResult = Shapes::StructureShape.new(name: 'CancelSpotInstanceRequestsResult')
|
236
237
|
CancelledSpotInstanceRequest = Shapes::StructureShape.new(name: 'CancelledSpotInstanceRequest')
|
237
238
|
CancelledSpotInstanceRequestList = Shapes::ListShape.new(name: 'CancelledSpotInstanceRequestList')
|
239
|
+
CapacityAllocation = Shapes::StructureShape.new(name: 'CapacityAllocation')
|
240
|
+
CapacityAllocations = Shapes::ListShape.new(name: 'CapacityAllocations')
|
238
241
|
CapacityReservation = Shapes::StructureShape.new(name: 'CapacityReservation')
|
239
242
|
CapacityReservationFleet = Shapes::StructureShape.new(name: 'CapacityReservationFleet')
|
240
243
|
CapacityReservationFleetCancellationState = Shapes::StructureShape.new(name: 'CapacityReservationFleetCancellationState')
|
@@ -318,6 +321,8 @@ module Aws::EC2
|
|
318
321
|
CoipPoolIdSet = Shapes::ListShape.new(name: 'CoipPoolIdSet')
|
319
322
|
CoipPoolMaxResults = Shapes::IntegerShape.new(name: 'CoipPoolMaxResults')
|
320
323
|
CoipPoolSet = Shapes::ListShape.new(name: 'CoipPoolSet')
|
324
|
+
ComponentAccount = Shapes::StringShape.new(name: 'ComponentAccount')
|
325
|
+
ComponentRegion = Shapes::StringShape.new(name: 'ComponentRegion')
|
321
326
|
ConfirmProductInstanceRequest = Shapes::StructureShape.new(name: 'ConfirmProductInstanceRequest')
|
322
327
|
ConfirmProductInstanceResult = Shapes::StructureShape.new(name: 'ConfirmProductInstanceResult')
|
323
328
|
ConnectionLogOptions = Shapes::StructureShape.new(name: 'ConnectionLogOptions')
|
@@ -3038,6 +3043,7 @@ module Aws::EC2
|
|
3038
3043
|
AnalysisRouteTableRoute.add_member(:origin, Shapes::ShapeRef.new(shape: String, location_name: "origin"))
|
3039
3044
|
AnalysisRouteTableRoute.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayId"))
|
3040
3045
|
AnalysisRouteTableRoute.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
|
3046
|
+
AnalysisRouteTableRoute.add_member(:state, Shapes::ShapeRef.new(shape: String, location_name: "state"))
|
3041
3047
|
AnalysisRouteTableRoute.struct_class = Types::AnalysisRouteTableRoute
|
3042
3048
|
|
3043
3049
|
AnalysisSecurityGroupRule.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "cidr"))
|
@@ -3521,6 +3527,12 @@ module Aws::EC2
|
|
3521
3527
|
|
3522
3528
|
CancelledSpotInstanceRequestList.member = Shapes::ShapeRef.new(shape: CancelledSpotInstanceRequest, location_name: "item")
|
3523
3529
|
|
3530
|
+
CapacityAllocation.add_member(:allocation_type, Shapes::ShapeRef.new(shape: AllocationType, location_name: "allocationType"))
|
3531
|
+
CapacityAllocation.add_member(:count, Shapes::ShapeRef.new(shape: Integer, location_name: "count"))
|
3532
|
+
CapacityAllocation.struct_class = Types::CapacityAllocation
|
3533
|
+
|
3534
|
+
CapacityAllocations.member = Shapes::ShapeRef.new(shape: CapacityAllocation, location_name: "item")
|
3535
|
+
|
3524
3536
|
CapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
3525
3537
|
CapacityReservation.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
3526
3538
|
CapacityReservation.add_member(:capacity_reservation_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationArn"))
|
@@ -3543,6 +3555,7 @@ module Aws::EC2
|
|
3543
3555
|
CapacityReservation.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OutpostArn, location_name: "outpostArn"))
|
3544
3556
|
CapacityReservation.add_member(:capacity_reservation_fleet_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationFleetId"))
|
3545
3557
|
CapacityReservation.add_member(:placement_group_arn, Shapes::ShapeRef.new(shape: PlacementGroupArn, location_name: "placementGroupArn"))
|
3558
|
+
CapacityReservation.add_member(:capacity_allocations, Shapes::ShapeRef.new(shape: CapacityAllocations, location_name: "capacityAllocationSet"))
|
3546
3559
|
CapacityReservation.struct_class = Types::CapacityReservation
|
3547
3560
|
|
3548
3561
|
CapacityReservationFleet.add_member(:capacity_reservation_fleet_id, Shapes::ShapeRef.new(shape: CapacityReservationFleetId, location_name: "capacityReservationFleetId"))
|
@@ -7454,6 +7467,8 @@ module Aws::EC2
|
|
7454
7467
|
Explanation.add_member(:transit_gateway_route_table, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "transitGatewayRouteTable"))
|
7455
7468
|
Explanation.add_member(:transit_gateway_route_table_route, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableRoute, location_name: "transitGatewayRouteTableRoute"))
|
7456
7469
|
Explanation.add_member(:transit_gateway_attachment, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "transitGatewayAttachment"))
|
7470
|
+
Explanation.add_member(:component_account, Shapes::ShapeRef.new(shape: ComponentAccount, location_name: "componentAccount"))
|
7471
|
+
Explanation.add_member(:component_region, Shapes::ShapeRef.new(shape: ComponentRegion, location_name: "componentRegion"))
|
7457
7472
|
Explanation.struct_class = Types::Explanation
|
7458
7473
|
|
7459
7474
|
ExplanationList.member = Shapes::ShapeRef.new(shape: Explanation, location_name: "item")
|
@@ -10730,6 +10745,8 @@ module Aws::EC2
|
|
10730
10745
|
PathComponent.add_member(:additional_details, Shapes::ShapeRef.new(shape: AdditionalDetailList, location_name: "additionalDetailSet"))
|
10731
10746
|
PathComponent.add_member(:transit_gateway, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "transitGateway"))
|
10732
10747
|
PathComponent.add_member(:transit_gateway_route_table_route, Shapes::ShapeRef.new(shape: TransitGatewayRouteTableRoute, location_name: "transitGatewayRouteTableRoute"))
|
10748
|
+
PathComponent.add_member(:explanations, Shapes::ShapeRef.new(shape: ExplanationList, location_name: "explanationSet"))
|
10749
|
+
PathComponent.add_member(:elastic_load_balancer_listener, Shapes::ShapeRef.new(shape: AnalysisComponent, location_name: "elasticLoadBalancerListener"))
|
10733
10750
|
PathComponent.struct_class = Types::PathComponent
|
10734
10751
|
|
10735
10752
|
PathComponentList.member = Shapes::ShapeRef.new(shape: PathComponent, location_name: "item")
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -3479,10 +3479,22 @@ module Aws::EC2
|
|
3479
3479
|
# to be returned for the subnet. You can also use `cidr` or
|
3480
3480
|
# `cidrBlock` as the filter names.
|
3481
3481
|
#
|
3482
|
+
# * `customer-owned-ipv4-pool` - The customer-owned IPv4 address pool
|
3483
|
+
# associated with the subnet.
|
3484
|
+
#
|
3482
3485
|
# * `default-for-az` - Indicates whether this is the default subnet for
|
3483
3486
|
# the Availability Zone (`true` \| `false`). You can also use
|
3484
3487
|
# `defaultForAz` as the filter name.
|
3485
3488
|
#
|
3489
|
+
# * `enable-dns64` - Indicates whether DNS queries made to the
|
3490
|
+
# Amazon-provided DNS Resolver in this subnet should return synthetic
|
3491
|
+
# IPv6 addresses for IPv4-only destinations.
|
3492
|
+
#
|
3493
|
+
# * `enable-lni-at-device-index` - Indicates the device position for
|
3494
|
+
# local network interfaces in this subnet. For example, `1` indicates
|
3495
|
+
# local network interfaces in this subnet are the secondary network
|
3496
|
+
# interface (eth1).
|
3497
|
+
#
|
3486
3498
|
# * `ipv6-cidr-block-association.ipv6-cidr-block` - An IPv6 CIDR block
|
3487
3499
|
# associated with the subnet.
|
3488
3500
|
#
|
@@ -3495,11 +3507,33 @@ module Aws::EC2
|
|
3495
3507
|
# * `ipv6-native` - Indicates whether this is an IPv6 only subnet
|
3496
3508
|
# (`true` \| `false`).
|
3497
3509
|
#
|
3510
|
+
# * `map-customer-owned-ip-on-launch` - Indicates whether a network
|
3511
|
+
# interface created in this subnet (including a network interface
|
3512
|
+
# created by RunInstances) receives a customer-owned IPv4 address.
|
3513
|
+
#
|
3514
|
+
# * `map-public-ip-on-launch` - Indicates whether instances launched in
|
3515
|
+
# this subnet receive a public IPv4 address.
|
3516
|
+
#
|
3498
3517
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
3499
3518
|
#
|
3500
3519
|
# * `owner-id` - The ID of the Amazon Web Services account that owns the
|
3501
3520
|
# subnet.
|
3502
3521
|
#
|
3522
|
+
# * `private-dns-name-options-on-launch.hostname-type` - The type of
|
3523
|
+
# hostname to assign to instances in the subnet at launch. For
|
3524
|
+
# IPv4-only and dual-stack (IPv4 and IPv6) subnets, an instance DNS
|
3525
|
+
# name can be based on the instance IPv4 address (ip-name) or the
|
3526
|
+
# instance ID (resource-name). For IPv6 only subnets, an instance DNS
|
3527
|
+
# name must be based on the instance ID (resource-name).
|
3528
|
+
#
|
3529
|
+
# * `private-dns-name-options-on-launch.enable-resource-name-dns-a-record`
|
3530
|
+
# - Indicates whether to respond to DNS queries for instance hostnames
|
3531
|
+
# with DNS A records.
|
3532
|
+
#
|
3533
|
+
# * `private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record`
|
3534
|
+
# - Indicates whether to respond to DNS queries for instance hostnames
|
3535
|
+
# with DNS AAAA records.
|
3536
|
+
#
|
3503
3537
|
# * `state` - The state of the subnet (`pending` \| `available`).
|
3504
3538
|
#
|
3505
3539
|
# * `subnet-arn` - The Amazon Resource Name (ARN) of the subnet.
|