aws-sdk-ec2 1.180.0 → 1.185.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +12 -2
- data/lib/aws-sdk-ec2/client.rb +371 -62
- data/lib/aws-sdk-ec2/client_api.rb +127 -2
- data/lib/aws-sdk-ec2/instance.rb +8 -4
- data/lib/aws-sdk-ec2/network_interface_association.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +8 -6
- data/lib/aws-sdk-ec2/route.rb +9 -0
- data/lib/aws-sdk-ec2/route_table.rb +6 -0
- data/lib/aws-sdk-ec2/subnet.rb +2 -0
- data/lib/aws-sdk-ec2/types.rb +552 -106
- data/lib/aws-sdk-ec2/vpc.rb +1 -2
- data/lib/aws-sdk-ec2/vpc_address.rb +12 -2
- metadata +2 -2
@@ -161,6 +161,8 @@ module Aws::EC2
|
|
161
161
|
CancelledSpotInstanceRequest = Shapes::StructureShape.new(name: 'CancelledSpotInstanceRequest')
|
162
162
|
CancelledSpotInstanceRequestList = Shapes::ListShape.new(name: 'CancelledSpotInstanceRequestList')
|
163
163
|
CapacityReservation = Shapes::StructureShape.new(name: 'CapacityReservation')
|
164
|
+
CapacityReservationGroup = Shapes::StructureShape.new(name: 'CapacityReservationGroup')
|
165
|
+
CapacityReservationGroupSet = Shapes::ListShape.new(name: 'CapacityReservationGroupSet')
|
164
166
|
CapacityReservationId = Shapes::StringShape.new(name: 'CapacityReservationId')
|
165
167
|
CapacityReservationIdSet = Shapes::ListShape.new(name: 'CapacityReservationIdSet')
|
166
168
|
CapacityReservationInstancePlatform = Shapes::StringShape.new(name: 'CapacityReservationInstancePlatform')
|
@@ -174,6 +176,12 @@ module Aws::EC2
|
|
174
176
|
CapacityReservationTarget = Shapes::StructureShape.new(name: 'CapacityReservationTarget')
|
175
177
|
CapacityReservationTargetResponse = Shapes::StructureShape.new(name: 'CapacityReservationTargetResponse')
|
176
178
|
CapacityReservationTenancy = Shapes::StringShape.new(name: 'CapacityReservationTenancy')
|
179
|
+
CarrierGateway = Shapes::StructureShape.new(name: 'CarrierGateway')
|
180
|
+
CarrierGatewayId = Shapes::StringShape.new(name: 'CarrierGatewayId')
|
181
|
+
CarrierGatewayIdSet = Shapes::ListShape.new(name: 'CarrierGatewayIdSet')
|
182
|
+
CarrierGatewayMaxResults = Shapes::IntegerShape.new(name: 'CarrierGatewayMaxResults')
|
183
|
+
CarrierGatewaySet = Shapes::ListShape.new(name: 'CarrierGatewaySet')
|
184
|
+
CarrierGatewayState = Shapes::StringShape.new(name: 'CarrierGatewayState')
|
177
185
|
CertificateAuthentication = Shapes::StructureShape.new(name: 'CertificateAuthentication')
|
178
186
|
CertificateAuthenticationRequest = Shapes::StructureShape.new(name: 'CertificateAuthenticationRequest')
|
179
187
|
CidrAuthorizationContext = Shapes::StructureShape.new(name: 'CidrAuthorizationContext')
|
@@ -246,6 +254,8 @@ module Aws::EC2
|
|
246
254
|
CpuOptionsRequest = Shapes::StructureShape.new(name: 'CpuOptionsRequest')
|
247
255
|
CreateCapacityReservationRequest = Shapes::StructureShape.new(name: 'CreateCapacityReservationRequest')
|
248
256
|
CreateCapacityReservationResult = Shapes::StructureShape.new(name: 'CreateCapacityReservationResult')
|
257
|
+
CreateCarrierGatewayRequest = Shapes::StructureShape.new(name: 'CreateCarrierGatewayRequest')
|
258
|
+
CreateCarrierGatewayResult = Shapes::StructureShape.new(name: 'CreateCarrierGatewayResult')
|
249
259
|
CreateClientVpnEndpointRequest = Shapes::StructureShape.new(name: 'CreateClientVpnEndpointRequest')
|
250
260
|
CreateClientVpnEndpointResult = Shapes::StructureShape.new(name: 'CreateClientVpnEndpointResult')
|
251
261
|
CreateClientVpnRouteRequest = Shapes::StructureShape.new(name: 'CreateClientVpnRouteRequest')
|
@@ -372,6 +382,8 @@ module Aws::EC2
|
|
372
382
|
DefaultRouteTablePropagationValue = Shapes::StringShape.new(name: 'DefaultRouteTablePropagationValue')
|
373
383
|
DefaultTargetCapacityType = Shapes::StringShape.new(name: 'DefaultTargetCapacityType')
|
374
384
|
DefaultingDhcpOptionsId = Shapes::StringShape.new(name: 'DefaultingDhcpOptionsId')
|
385
|
+
DeleteCarrierGatewayRequest = Shapes::StructureShape.new(name: 'DeleteCarrierGatewayRequest')
|
386
|
+
DeleteCarrierGatewayResult = Shapes::StructureShape.new(name: 'DeleteCarrierGatewayResult')
|
375
387
|
DeleteClientVpnEndpointRequest = Shapes::StructureShape.new(name: 'DeleteClientVpnEndpointRequest')
|
376
388
|
DeleteClientVpnEndpointResult = Shapes::StructureShape.new(name: 'DeleteClientVpnEndpointResult')
|
377
389
|
DeleteClientVpnRouteRequest = Shapes::StructureShape.new(name: 'DeleteClientVpnRouteRequest')
|
@@ -487,6 +499,8 @@ module Aws::EC2
|
|
487
499
|
DescribeCapacityReservationsMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityReservationsMaxResults')
|
488
500
|
DescribeCapacityReservationsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityReservationsRequest')
|
489
501
|
DescribeCapacityReservationsResult = Shapes::StructureShape.new(name: 'DescribeCapacityReservationsResult')
|
502
|
+
DescribeCarrierGatewaysRequest = Shapes::StructureShape.new(name: 'DescribeCarrierGatewaysRequest')
|
503
|
+
DescribeCarrierGatewaysResult = Shapes::StructureShape.new(name: 'DescribeCarrierGatewaysResult')
|
490
504
|
DescribeClassicLinkInstancesMaxResults = Shapes::IntegerShape.new(name: 'DescribeClassicLinkInstancesMaxResults')
|
491
505
|
DescribeClassicLinkInstancesRequest = Shapes::StructureShape.new(name: 'DescribeClassicLinkInstancesRequest')
|
492
506
|
DescribeClassicLinkInstancesResult = Shapes::StructureShape.new(name: 'DescribeClassicLinkInstancesResult')
|
@@ -961,6 +975,9 @@ module Aws::EC2
|
|
961
975
|
GetEbsDefaultKmsKeyIdResult = Shapes::StructureShape.new(name: 'GetEbsDefaultKmsKeyIdResult')
|
962
976
|
GetEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'GetEbsEncryptionByDefaultRequest')
|
963
977
|
GetEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'GetEbsEncryptionByDefaultResult')
|
978
|
+
GetGroupsForCapacityReservationRequest = Shapes::StructureShape.new(name: 'GetGroupsForCapacityReservationRequest')
|
979
|
+
GetGroupsForCapacityReservationRequestMaxResults = Shapes::IntegerShape.new(name: 'GetGroupsForCapacityReservationRequestMaxResults')
|
980
|
+
GetGroupsForCapacityReservationResult = Shapes::StructureShape.new(name: 'GetGroupsForCapacityReservationResult')
|
964
981
|
GetHostReservationPurchasePreviewRequest = Shapes::StructureShape.new(name: 'GetHostReservationPurchasePreviewRequest')
|
965
982
|
GetHostReservationPurchasePreviewResult = Shapes::StructureShape.new(name: 'GetHostReservationPurchasePreviewResult')
|
966
983
|
GetLaunchTemplateDataRequest = Shapes::StructureShape.new(name: 'GetLaunchTemplateDataRequest')
|
@@ -2138,6 +2155,7 @@ module Aws::EC2
|
|
2138
2155
|
Address.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "networkBorderGroup"))
|
2139
2156
|
Address.add_member(:customer_owned_ip, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIp"))
|
2140
2157
|
Address.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIpv4Pool"))
|
2158
|
+
Address.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
2141
2159
|
Address.struct_class = Types::Address
|
2142
2160
|
|
2143
2161
|
AddressList.member = Shapes::ShapeRef.new(shape: Address, location_name: "item")
|
@@ -2164,6 +2182,7 @@ module Aws::EC2
|
|
2164
2182
|
AllocateAddressResult.add_member(:domain, Shapes::ShapeRef.new(shape: DomainType, location_name: "domain"))
|
2165
2183
|
AllocateAddressResult.add_member(:customer_owned_ip, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIp"))
|
2166
2184
|
AllocateAddressResult.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIpv4Pool"))
|
2185
|
+
AllocateAddressResult.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
2167
2186
|
AllocateAddressResult.struct_class = Types::AllocateAddressResult
|
2168
2187
|
|
2169
2188
|
AllocateHostsRequest.add_member(:auto_placement, Shapes::ShapeRef.new(shape: AutoPlacement, location_name: "autoPlacement"))
|
@@ -2578,6 +2597,12 @@ module Aws::EC2
|
|
2578
2597
|
CapacityReservation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
2579
2598
|
CapacityReservation.struct_class = Types::CapacityReservation
|
2580
2599
|
|
2600
|
+
CapacityReservationGroup.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "groupArn"))
|
2601
|
+
CapacityReservationGroup.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
2602
|
+
CapacityReservationGroup.struct_class = Types::CapacityReservationGroup
|
2603
|
+
|
2604
|
+
CapacityReservationGroupSet.member = Shapes::ShapeRef.new(shape: CapacityReservationGroup, location_name: "item")
|
2605
|
+
|
2581
2606
|
CapacityReservationIdSet.member = Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "item")
|
2582
2607
|
|
2583
2608
|
CapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: FleetCapacityReservationUsageStrategy, location_name: "usageStrategy"))
|
@@ -2597,11 +2622,24 @@ module Aws::EC2
|
|
2597
2622
|
CapacityReservationSpecificationResponse.struct_class = Types::CapacityReservationSpecificationResponse
|
2598
2623
|
|
2599
2624
|
CapacityReservationTarget.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "CapacityReservationId"))
|
2625
|
+
CapacityReservationTarget.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "CapacityReservationResourceGroupArn"))
|
2600
2626
|
CapacityReservationTarget.struct_class = Types::CapacityReservationTarget
|
2601
2627
|
|
2602
2628
|
CapacityReservationTargetResponse.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
2629
|
+
CapacityReservationTargetResponse.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationResourceGroupArn"))
|
2603
2630
|
CapacityReservationTargetResponse.struct_class = Types::CapacityReservationTargetResponse
|
2604
2631
|
|
2632
|
+
CarrierGateway.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: CarrierGatewayId, location_name: "carrierGatewayId"))
|
2633
|
+
CarrierGateway.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "vpcId"))
|
2634
|
+
CarrierGateway.add_member(:state, Shapes::ShapeRef.new(shape: CarrierGatewayState, location_name: "state"))
|
2635
|
+
CarrierGateway.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
2636
|
+
CarrierGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
2637
|
+
CarrierGateway.struct_class = Types::CarrierGateway
|
2638
|
+
|
2639
|
+
CarrierGatewayIdSet.member = Shapes::ShapeRef.new(shape: CarrierGatewayId)
|
2640
|
+
|
2641
|
+
CarrierGatewaySet.member = Shapes::ShapeRef.new(shape: CarrierGateway, location_name: "item")
|
2642
|
+
|
2605
2643
|
CertificateAuthentication.add_member(:client_root_certificate_chain, Shapes::ShapeRef.new(shape: String, location_name: "clientRootCertificateChain"))
|
2606
2644
|
CertificateAuthentication.struct_class = Types::CertificateAuthentication
|
2607
2645
|
|
@@ -2864,6 +2902,15 @@ module Aws::EC2
|
|
2864
2902
|
CreateCapacityReservationResult.add_member(:capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "capacityReservation"))
|
2865
2903
|
CreateCapacityReservationResult.struct_class = Types::CreateCapacityReservationResult
|
2866
2904
|
|
2905
|
+
CreateCarrierGatewayRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
2906
|
+
CreateCarrierGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2907
|
+
CreateCarrierGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
2908
|
+
CreateCarrierGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
2909
|
+
CreateCarrierGatewayRequest.struct_class = Types::CreateCarrierGatewayRequest
|
2910
|
+
|
2911
|
+
CreateCarrierGatewayResult.add_member(:carrier_gateway, Shapes::ShapeRef.new(shape: CarrierGateway, location_name: "carrierGateway"))
|
2912
|
+
CreateCarrierGatewayResult.struct_class = Types::CreateCarrierGatewayResult
|
2913
|
+
|
2867
2914
|
CreateClientVpnEndpointRequest.add_member(:client_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ClientCidrBlock"))
|
2868
2915
|
CreateClientVpnEndpointRequest.add_member(:server_certificate_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServerCertificateArn"))
|
2869
2916
|
CreateClientVpnEndpointRequest.add_member(:authentication_options, Shapes::ShapeRef.new(shape: ClientVpnAuthenticationRequestList, required: true, location_name: "Authentication"))
|
@@ -3182,6 +3229,7 @@ module Aws::EC2
|
|
3182
3229
|
CreateRouteRequest.add_member(:nat_gateway_id, Shapes::ShapeRef.new(shape: NatGatewayId, location_name: "natGatewayId"))
|
3183
3230
|
CreateRouteRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, location_name: "TransitGatewayId"))
|
3184
3231
|
CreateRouteRequest.add_member(:local_gateway_id, Shapes::ShapeRef.new(shape: LocalGatewayId, location_name: "LocalGatewayId"))
|
3232
|
+
CreateRouteRequest.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: CarrierGatewayId, location_name: "CarrierGatewayId"))
|
3185
3233
|
CreateRouteRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "networkInterfaceId"))
|
3186
3234
|
CreateRouteRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
3187
3235
|
CreateRouteRequest.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: VpcPeeringConnectionId, location_name: "vpcPeeringConnectionId"))
|
@@ -3502,6 +3550,13 @@ module Aws::EC2
|
|
3502
3550
|
|
3503
3551
|
CustomerGatewayList.member = Shapes::ShapeRef.new(shape: CustomerGateway, location_name: "item")
|
3504
3552
|
|
3553
|
+
DeleteCarrierGatewayRequest.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: CarrierGatewayId, required: true, location_name: "CarrierGatewayId"))
|
3554
|
+
DeleteCarrierGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3555
|
+
DeleteCarrierGatewayRequest.struct_class = Types::DeleteCarrierGatewayRequest
|
3556
|
+
|
3557
|
+
DeleteCarrierGatewayResult.add_member(:carrier_gateway, Shapes::ShapeRef.new(shape: CarrierGateway, location_name: "carrierGateway"))
|
3558
|
+
DeleteCarrierGatewayResult.struct_class = Types::DeleteCarrierGatewayResult
|
3559
|
+
|
3505
3560
|
DeleteClientVpnEndpointRequest.add_member(:client_vpn_endpoint_id, Shapes::ShapeRef.new(shape: ClientVpnEndpointId, required: true, location_name: "ClientVpnEndpointId"))
|
3506
3561
|
DeleteClientVpnEndpointRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3507
3562
|
DeleteClientVpnEndpointRequest.struct_class = Types::DeleteClientVpnEndpointRequest
|
@@ -3936,6 +3991,17 @@ module Aws::EC2
|
|
3936
3991
|
DescribeCapacityReservationsResult.add_member(:capacity_reservations, Shapes::ShapeRef.new(shape: CapacityReservationSet, location_name: "capacityReservationSet"))
|
3937
3992
|
DescribeCapacityReservationsResult.struct_class = Types::DescribeCapacityReservationsResult
|
3938
3993
|
|
3994
|
+
DescribeCarrierGatewaysRequest.add_member(:carrier_gateway_ids, Shapes::ShapeRef.new(shape: CarrierGatewayIdSet, location_name: "CarrierGatewayId"))
|
3995
|
+
DescribeCarrierGatewaysRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
3996
|
+
DescribeCarrierGatewaysRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CarrierGatewayMaxResults, location_name: "MaxResults"))
|
3997
|
+
DescribeCarrierGatewaysRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
3998
|
+
DescribeCarrierGatewaysRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3999
|
+
DescribeCarrierGatewaysRequest.struct_class = Types::DescribeCarrierGatewaysRequest
|
4000
|
+
|
4001
|
+
DescribeCarrierGatewaysResult.add_member(:carrier_gateways, Shapes::ShapeRef.new(shape: CarrierGatewaySet, location_name: "carrierGatewaySet"))
|
4002
|
+
DescribeCarrierGatewaysResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
4003
|
+
DescribeCarrierGatewaysResult.struct_class = Types::DescribeCarrierGatewaysResult
|
4004
|
+
|
3939
4005
|
DescribeClassicLinkInstancesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
3940
4006
|
DescribeClassicLinkInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3941
4007
|
DescribeClassicLinkInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, location_name: "InstanceId"))
|
@@ -5827,6 +5893,16 @@ module Aws::EC2
|
|
5827
5893
|
GetEbsEncryptionByDefaultResult.add_member(:ebs_encryption_by_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsEncryptionByDefault"))
|
5828
5894
|
GetEbsEncryptionByDefaultResult.struct_class = Types::GetEbsEncryptionByDefaultResult
|
5829
5895
|
|
5896
|
+
GetGroupsForCapacityReservationRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, required: true, location_name: "CapacityReservationId"))
|
5897
|
+
GetGroupsForCapacityReservationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
5898
|
+
GetGroupsForCapacityReservationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetGroupsForCapacityReservationRequestMaxResults, location_name: "MaxResults"))
|
5899
|
+
GetGroupsForCapacityReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5900
|
+
GetGroupsForCapacityReservationRequest.struct_class = Types::GetGroupsForCapacityReservationRequest
|
5901
|
+
|
5902
|
+
GetGroupsForCapacityReservationResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
5903
|
+
GetGroupsForCapacityReservationResult.add_member(:capacity_reservation_groups, Shapes::ShapeRef.new(shape: CapacityReservationGroupSet, location_name: "capacityReservationGroupSet"))
|
5904
|
+
GetGroupsForCapacityReservationResult.struct_class = Types::GetGroupsForCapacityReservationResult
|
5905
|
+
|
5830
5906
|
GetHostReservationPurchasePreviewRequest.add_member(:host_id_set, Shapes::ShapeRef.new(shape: RequestHostIdSet, required: true, location_name: "HostIdSet"))
|
5831
5907
|
GetHostReservationPurchasePreviewRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: OfferingId, required: true, location_name: "OfferingId"))
|
5832
5908
|
GetHostReservationPurchasePreviewRequest.struct_class = Types::GetHostReservationPurchasePreviewRequest
|
@@ -6485,6 +6561,7 @@ module Aws::EC2
|
|
6485
6561
|
InstanceNetworkInterface.add_member(:interface_type, Shapes::ShapeRef.new(shape: String, location_name: "interfaceType"))
|
6486
6562
|
InstanceNetworkInterface.struct_class = Types::InstanceNetworkInterface
|
6487
6563
|
|
6564
|
+
InstanceNetworkInterfaceAssociation.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
6488
6565
|
InstanceNetworkInterfaceAssociation.add_member(:ip_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ipOwnerId"))
|
6489
6566
|
InstanceNetworkInterfaceAssociation.add_member(:public_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "publicDnsName"))
|
6490
6567
|
InstanceNetworkInterfaceAssociation.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
@@ -6511,6 +6588,7 @@ module Aws::EC2
|
|
6511
6588
|
InstanceNetworkInterfaceSpecification.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: PrivateIpAddressSpecificationList, location_name: "privateIpAddressesSet", metadata: {"queryName"=>"PrivateIpAddresses"}))
|
6512
6589
|
InstanceNetworkInterfaceSpecification.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "secondaryPrivateIpAddressCount"))
|
6513
6590
|
InstanceNetworkInterfaceSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
6591
|
+
InstanceNetworkInterfaceSpecification.add_member(:associate_carrier_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociateCarrierIpAddress"))
|
6514
6592
|
InstanceNetworkInterfaceSpecification.add_member(:interface_type, Shapes::ShapeRef.new(shape: String, location_name: "InterfaceType"))
|
6515
6593
|
InstanceNetworkInterfaceSpecification.struct_class = Types::InstanceNetworkInterfaceSpecification
|
6516
6594
|
|
@@ -6855,6 +6933,7 @@ module Aws::EC2
|
|
6855
6933
|
LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataEndpointState, location_name: "HttpEndpoint"))
|
6856
6934
|
LaunchTemplateInstanceMetadataOptionsRequest.struct_class = Types::LaunchTemplateInstanceMetadataOptionsRequest
|
6857
6935
|
|
6936
|
+
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:associate_carrier_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateCarrierIpAddress"))
|
6858
6937
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "associatePublicIpAddress"))
|
6859
6938
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
|
6860
6939
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
@@ -6872,6 +6951,7 @@ module Aws::EC2
|
|
6872
6951
|
|
6873
6952
|
LaunchTemplateInstanceNetworkInterfaceSpecificationList.member = Shapes::ShapeRef.new(shape: LaunchTemplateInstanceNetworkInterfaceSpecification, location_name: "item")
|
6874
6953
|
|
6954
|
+
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:associate_carrier_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociateCarrierIpAddress"))
|
6875
6955
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
|
6876
6956
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteOnTermination"))
|
6877
6957
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
@@ -7337,8 +7417,6 @@ module Aws::EC2
|
|
7337
7417
|
ModifySubnetAttributeRequest.add_member(:assign_ipv_6_address_on_creation, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "AssignIpv6AddressOnCreation"))
|
7338
7418
|
ModifySubnetAttributeRequest.add_member(:map_public_ip_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "MapPublicIpOnLaunch"))
|
7339
7419
|
ModifySubnetAttributeRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
7340
|
-
ModifySubnetAttributeRequest.add_member(:map_customer_owned_ip_on_launch, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "MapCustomerOwnedIpOnLaunch"))
|
7341
|
-
ModifySubnetAttributeRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CoipPoolId, location_name: "CustomerOwnedIpv4Pool"))
|
7342
7420
|
ModifySubnetAttributeRequest.struct_class = Types::ModifySubnetAttributeRequest
|
7343
7421
|
|
7344
7422
|
ModifyTrafficMirrorFilterNetworkServicesRequest.add_member(:traffic_mirror_filter_id, Shapes::ShapeRef.new(shape: TrafficMirrorFilterId, required: true, location_name: "TrafficMirrorFilterId"))
|
@@ -7641,6 +7719,7 @@ module Aws::EC2
|
|
7641
7719
|
NetworkInterfaceAssociation.add_member(:ip_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ipOwnerId"))
|
7642
7720
|
NetworkInterfaceAssociation.add_member(:public_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "publicDnsName"))
|
7643
7721
|
NetworkInterfaceAssociation.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
7722
|
+
NetworkInterfaceAssociation.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
7644
7723
|
NetworkInterfaceAssociation.struct_class = Types::NetworkInterfaceAssociation
|
7645
7724
|
|
7646
7725
|
NetworkInterfaceAttachment.add_member(:attach_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "attachTime"))
|
@@ -8181,6 +8260,7 @@ module Aws::EC2
|
|
8181
8260
|
ReplaceRouteRequest.add_member(:nat_gateway_id, Shapes::ShapeRef.new(shape: NatGatewayId, location_name: "natGatewayId"))
|
8182
8261
|
ReplaceRouteRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, location_name: "TransitGatewayId"))
|
8183
8262
|
ReplaceRouteRequest.add_member(:local_gateway_id, Shapes::ShapeRef.new(shape: LocalGatewayId, location_name: "LocalGatewayId"))
|
8263
|
+
ReplaceRouteRequest.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: CarrierGatewayId, location_name: "CarrierGatewayId"))
|
8184
8264
|
ReplaceRouteRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "networkInterfaceId"))
|
8185
8265
|
ReplaceRouteRequest.add_member(:route_table_id, Shapes::ShapeRef.new(shape: RouteTableId, required: true, location_name: "routeTableId"))
|
8186
8266
|
ReplaceRouteRequest.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: VpcPeeringConnectionId, location_name: "vpcPeeringConnectionId"))
|
@@ -8553,6 +8633,7 @@ module Aws::EC2
|
|
8553
8633
|
Route.add_member(:nat_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "natGatewayId"))
|
8554
8634
|
Route.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayId"))
|
8555
8635
|
Route.add_member(:local_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "localGatewayId"))
|
8636
|
+
Route.add_member(:carrier_gateway_id, Shapes::ShapeRef.new(shape: CarrierGatewayId, location_name: "carrierGatewayId"))
|
8556
8637
|
Route.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "networkInterfaceId"))
|
8557
8638
|
Route.add_member(:origin, Shapes::ShapeRef.new(shape: RouteOrigin, location_name: "origin"))
|
8558
8639
|
Route.add_member(:state, Shapes::ShapeRef.new(shape: RouteState, location_name: "state"))
|
@@ -10356,6 +10437,14 @@ module Aws::EC2
|
|
10356
10437
|
o.output = Shapes::ShapeRef.new(shape: CreateCapacityReservationResult)
|
10357
10438
|
end)
|
10358
10439
|
|
10440
|
+
api.add_operation(:create_carrier_gateway, Seahorse::Model::Operation.new.tap do |o|
|
10441
|
+
o.name = "CreateCarrierGateway"
|
10442
|
+
o.http_method = "POST"
|
10443
|
+
o.http_request_uri = "/"
|
10444
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCarrierGatewayRequest)
|
10445
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCarrierGatewayResult)
|
10446
|
+
end)
|
10447
|
+
|
10359
10448
|
api.add_operation(:create_client_vpn_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
10360
10449
|
o.name = "CreateClientVpnEndpoint"
|
10361
10450
|
o.http_method = "POST"
|
@@ -10780,6 +10869,14 @@ module Aws::EC2
|
|
10780
10869
|
o.output = Shapes::ShapeRef.new(shape: CreateVpnGatewayResult)
|
10781
10870
|
end)
|
10782
10871
|
|
10872
|
+
api.add_operation(:delete_carrier_gateway, Seahorse::Model::Operation.new.tap do |o|
|
10873
|
+
o.name = "DeleteCarrierGateway"
|
10874
|
+
o.http_method = "POST"
|
10875
|
+
o.http_request_uri = "/"
|
10876
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCarrierGatewayRequest)
|
10877
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCarrierGatewayResult)
|
10878
|
+
end)
|
10879
|
+
|
10783
10880
|
api.add_operation(:delete_client_vpn_endpoint, Seahorse::Model::Operation.new.tap do |o|
|
10784
10881
|
o.name = "DeleteClientVpnEndpoint"
|
10785
10882
|
o.http_method = "POST"
|
@@ -11272,6 +11369,20 @@ module Aws::EC2
|
|
11272
11369
|
)
|
11273
11370
|
end)
|
11274
11371
|
|
11372
|
+
api.add_operation(:describe_carrier_gateways, Seahorse::Model::Operation.new.tap do |o|
|
11373
|
+
o.name = "DescribeCarrierGateways"
|
11374
|
+
o.http_method = "POST"
|
11375
|
+
o.http_request_uri = "/"
|
11376
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCarrierGatewaysRequest)
|
11377
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCarrierGatewaysResult)
|
11378
|
+
o[:pager] = Aws::Pager.new(
|
11379
|
+
limit_key: "max_results",
|
11380
|
+
tokens: {
|
11381
|
+
"next_token" => "next_token"
|
11382
|
+
}
|
11383
|
+
)
|
11384
|
+
end)
|
11385
|
+
|
11275
11386
|
api.add_operation(:describe_classic_link_instances, Seahorse::Model::Operation.new.tap do |o|
|
11276
11387
|
o.name = "DescribeClassicLinkInstances"
|
11277
11388
|
o.http_method = "POST"
|
@@ -12899,6 +13010,20 @@ module Aws::EC2
|
|
12899
13010
|
o.output = Shapes::ShapeRef.new(shape: GetEbsEncryptionByDefaultResult)
|
12900
13011
|
end)
|
12901
13012
|
|
13013
|
+
api.add_operation(:get_groups_for_capacity_reservation, Seahorse::Model::Operation.new.tap do |o|
|
13014
|
+
o.name = "GetGroupsForCapacityReservation"
|
13015
|
+
o.http_method = "POST"
|
13016
|
+
o.http_request_uri = "/"
|
13017
|
+
o.input = Shapes::ShapeRef.new(shape: GetGroupsForCapacityReservationRequest)
|
13018
|
+
o.output = Shapes::ShapeRef.new(shape: GetGroupsForCapacityReservationResult)
|
13019
|
+
o[:pager] = Aws::Pager.new(
|
13020
|
+
limit_key: "max_results",
|
13021
|
+
tokens: {
|
13022
|
+
"next_token" => "next_token"
|
13023
|
+
}
|
13024
|
+
)
|
13025
|
+
end)
|
13026
|
+
|
12902
13027
|
api.add_operation(:get_host_reservation_purchase_preview, Seahorse::Model::Operation.new.tap do |o|
|
12903
13028
|
o.name = "GetHostReservationPurchasePreview"
|
12904
13029
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -126,7 +126,11 @@ module Aws::EC2
|
|
126
126
|
data[:public_dns_name]
|
127
127
|
end
|
128
128
|
|
129
|
-
# The public IPv4 address assigned to the
|
129
|
+
# The public IPv4 address, or the Carrier IP address assigned to the
|
130
|
+
# instance, if applicable.
|
131
|
+
#
|
132
|
+
# A Carrier IP address only applies to an instance launched in a subnet
|
133
|
+
# associated with a Wavelength Zone.
|
130
134
|
# @return [String]
|
131
135
|
def public_ip_address
|
132
136
|
data[:public_ip_address]
|
@@ -1492,8 +1496,8 @@ module Aws::EC2
|
|
1492
1496
|
# * `instance-id` - The ID of the instance the address is associated
|
1493
1497
|
# with, if any.
|
1494
1498
|
#
|
1495
|
-
# * `network-border-group` -
|
1496
|
-
#
|
1499
|
+
# * `network-border-group` - A unique set of Availability Zones, Local
|
1500
|
+
# Zones, or Wavelength Zones from where AWS advertises IP addresses.
|
1497
1501
|
#
|
1498
1502
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1499
1503
|
# that the address is associated with, if any.
|
@@ -1503,7 +1507,7 @@ module Aws::EC2
|
|
1503
1507
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1504
1508
|
# with the Elastic IP address.
|
1505
1509
|
#
|
1506
|
-
# * `public-ip` - The Elastic IP address.
|
1510
|
+
# * `public-ip` - The Elastic IP address, or the carrier IP address.
|
1507
1511
|
#
|
1508
1512
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1509
1513
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -34,6 +34,12 @@ module Aws::EC2
|
|
34
34
|
@id
|
35
35
|
end
|
36
36
|
|
37
|
+
# The carrier IP address associated with the network interface.
|
38
|
+
# @return [String]
|
39
|
+
def carrier_ip
|
40
|
+
data[:carrier_ip]
|
41
|
+
end
|
42
|
+
|
37
43
|
# The ID of the owner of the Elastic IP address.
|
38
44
|
# @return [String]
|
39
45
|
def ip_owner_id
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -159,6 +159,7 @@ module Aws::EC2
|
|
159
159
|
# ],
|
160
160
|
# secondary_private_ip_address_count: 1,
|
161
161
|
# subnet_id: "String",
|
162
|
+
# associate_carrier_ip_address: false,
|
162
163
|
# interface_type: "String",
|
163
164
|
# },
|
164
165
|
# ],
|
@@ -211,6 +212,7 @@ module Aws::EC2
|
|
211
212
|
# capacity_reservation_preference: "open", # accepts open, none
|
212
213
|
# capacity_reservation_target: {
|
213
214
|
# capacity_reservation_id: "CapacityReservationId",
|
215
|
+
# capacity_reservation_resource_group_arn: "String",
|
214
216
|
# },
|
215
217
|
# },
|
216
218
|
# hibernation_options: {
|
@@ -1558,8 +1560,8 @@ module Aws::EC2
|
|
1558
1560
|
# * `instance-id` - The ID of the instance the address is associated
|
1559
1561
|
# with, if any.
|
1560
1562
|
#
|
1561
|
-
# * `network-border-group` -
|
1562
|
-
#
|
1563
|
+
# * `network-border-group` - A unique set of Availability Zones, Local
|
1564
|
+
# Zones, or Wavelength Zones from where AWS advertises IP addresses.
|
1563
1565
|
#
|
1564
1566
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1565
1567
|
# that the address is associated with, if any.
|
@@ -1569,7 +1571,7 @@ module Aws::EC2
|
|
1569
1571
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1570
1572
|
# with the Elastic IP address.
|
1571
1573
|
#
|
1572
|
-
# * `public-ip` - The Elastic IP address.
|
1574
|
+
# * `public-ip` - The Elastic IP address, or the carrier IP address.
|
1573
1575
|
#
|
1574
1576
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
1575
1577
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -3306,8 +3308,8 @@ module Aws::EC2
|
|
3306
3308
|
# * `instance-id` - The ID of the instance the address is associated
|
3307
3309
|
# with, if any.
|
3308
3310
|
#
|
3309
|
-
# * `network-border-group` -
|
3310
|
-
#
|
3311
|
+
# * `network-border-group` - A unique set of Availability Zones, Local
|
3312
|
+
# Zones, or Wavelength Zones from where AWS advertises IP addresses.
|
3311
3313
|
#
|
3312
3314
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
3313
3315
|
# that the address is associated with, if any.
|
@@ -3317,7 +3319,7 @@ module Aws::EC2
|
|
3317
3319
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
3318
3320
|
# with the Elastic IP address.
|
3319
3321
|
#
|
3320
|
-
# * `public-ip` - The Elastic IP address.
|
3322
|
+
# * `public-ip` - The Elastic IP address, or the carrier IP address.
|
3321
3323
|
#
|
3322
3324
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
3323
3325
|
# the resource. Use the tag key in the filter name and the tag value
|
data/lib/aws-sdk-ec2/route.rb
CHANGED
@@ -96,6 +96,12 @@ module Aws::EC2
|
|
96
96
|
data[:local_gateway_id]
|
97
97
|
end
|
98
98
|
|
99
|
+
# The ID of the carrier gateway.
|
100
|
+
# @return [String]
|
101
|
+
def carrier_gateway_id
|
102
|
+
data[:carrier_gateway_id]
|
103
|
+
end
|
104
|
+
|
99
105
|
# The ID of the network interface.
|
100
106
|
# @return [String]
|
101
107
|
def network_interface_id
|
@@ -301,6 +307,7 @@ module Aws::EC2
|
|
301
307
|
# nat_gateway_id: "NatGatewayId",
|
302
308
|
# transit_gateway_id: "TransitGatewayId",
|
303
309
|
# local_gateway_id: "LocalGatewayId",
|
310
|
+
# carrier_gateway_id: "CarrierGatewayId",
|
304
311
|
# network_interface_id: "NetworkInterfaceId",
|
305
312
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
306
313
|
# })
|
@@ -331,6 +338,8 @@ module Aws::EC2
|
|
331
338
|
# The ID of a transit gateway.
|
332
339
|
# @option options [String] :local_gateway_id
|
333
340
|
# The ID of the local gateway.
|
341
|
+
# @option options [String] :carrier_gateway_id
|
342
|
+
# \[IPv4 traffic only\] The ID of a carrier gateway.
|
334
343
|
# @option options [String] :network_interface_id
|
335
344
|
# The ID of a network interface.
|
336
345
|
# @option options [String] :vpc_peering_connection_id
|
@@ -233,6 +233,7 @@ module Aws::EC2
|
|
233
233
|
# nat_gateway_id: "NatGatewayId",
|
234
234
|
# transit_gateway_id: "TransitGatewayId",
|
235
235
|
# local_gateway_id: "LocalGatewayId",
|
236
|
+
# carrier_gateway_id: "CarrierGatewayId",
|
236
237
|
# network_interface_id: "NetworkInterfaceId",
|
237
238
|
# vpc_peering_connection_id: "VpcPeeringConnectionId",
|
238
239
|
# })
|
@@ -267,6 +268,11 @@ module Aws::EC2
|
|
267
268
|
# The ID of a transit gateway.
|
268
269
|
# @option options [String] :local_gateway_id
|
269
270
|
# The ID of the local gateway.
|
271
|
+
# @option options [String] :carrier_gateway_id
|
272
|
+
# The ID of the carrier gateway.
|
273
|
+
#
|
274
|
+
# You can only use this option when the VPC contains a subnet which is
|
275
|
+
# associated with a Wavelength Zone.
|
270
276
|
# @option options [String] :network_interface_id
|
271
277
|
# The ID of a network interface.
|
272
278
|
# @option options [String] :vpc_peering_connection_id
|