aws-sdk-ec2 1.527.0 → 1.531.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +6 -0
- data/lib/aws-sdk-ec2/client.rb +182 -64
- data/lib/aws-sdk-ec2/client_api.rb +57 -0
- data/lib/aws-sdk-ec2/image.rb +18 -5
- data/lib/aws-sdk-ec2/network_interface.rb +9 -0
- data/lib/aws-sdk-ec2/resource.rb +11 -10
- data/lib/aws-sdk-ec2/subnet.rb +21 -1
- data/lib/aws-sdk-ec2/types.rb +257 -24
- data/lib/aws-sdk-ec2/vpc.rb +1 -1
- data/lib/aws-sdk-ec2/vpc_address.rb +6 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +3 -0
- data/sig/client.rbs +20 -1
- data/sig/image.rbs +1 -0
- data/sig/network_interface.rbs +4 -0
- data/sig/subnet.rbs +4 -1
- data/sig/types.rbs +45 -2
- data/sig/vpc_address.rbs +3 -0
- metadata +4 -4
@@ -55,6 +55,7 @@ module Aws::EC2
|
|
55
55
|
AccountID = Shapes::StringShape.new(name: 'AccountID')
|
56
56
|
ActiveInstance = Shapes::StructureShape.new(name: 'ActiveInstance')
|
57
57
|
ActiveInstanceSet = Shapes::ListShape.new(name: 'ActiveInstanceSet')
|
58
|
+
ActiveVpnTunnelStatus = Shapes::StructureShape.new(name: 'ActiveVpnTunnelStatus')
|
58
59
|
ActivityStatus = Shapes::StringShape.new(name: 'ActivityStatus')
|
59
60
|
AddIpamOperatingRegion = Shapes::StructureShape.new(name: 'AddIpamOperatingRegion')
|
60
61
|
AddIpamOperatingRegionSet = Shapes::ListShape.new(name: 'AddIpamOperatingRegionSet')
|
@@ -174,6 +175,7 @@ module Aws::EC2
|
|
174
175
|
AssociatedNetworkType = Shapes::StringShape.new(name: 'AssociatedNetworkType')
|
175
176
|
AssociatedRole = Shapes::StructureShape.new(name: 'AssociatedRole')
|
176
177
|
AssociatedRolesList = Shapes::ListShape.new(name: 'AssociatedRolesList')
|
178
|
+
AssociatedSubnetList = Shapes::ListShape.new(name: 'AssociatedSubnetList')
|
177
179
|
AssociatedTargetNetwork = Shapes::StructureShape.new(name: 'AssociatedTargetNetwork')
|
178
180
|
AssociatedTargetNetworkSet = Shapes::ListShape.new(name: 'AssociatedTargetNetworkSet')
|
179
181
|
AssociationIdList = Shapes::ListShape.new(name: 'AssociationIdList')
|
@@ -775,6 +777,8 @@ module Aws::EC2
|
|
775
777
|
DeleteSecurityGroupRequest = Shapes::StructureShape.new(name: 'DeleteSecurityGroupRequest')
|
776
778
|
DeleteSecurityGroupResult = Shapes::StructureShape.new(name: 'DeleteSecurityGroupResult')
|
777
779
|
DeleteSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteSnapshotRequest')
|
780
|
+
DeleteSnapshotResultSet = Shapes::ListShape.new(name: 'DeleteSnapshotResultSet')
|
781
|
+
DeleteSnapshotReturnCode = Shapes::StructureShape.new(name: 'DeleteSnapshotReturnCode')
|
778
782
|
DeleteSpotDatafeedSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteSpotDatafeedSubscriptionRequest')
|
779
783
|
DeleteSubnetCidrReservationRequest = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationRequest')
|
780
784
|
DeleteSubnetCidrReservationResult = Shapes::StructureShape.new(name: 'DeleteSubnetCidrReservationResult')
|
@@ -1599,6 +1603,8 @@ module Aws::EC2
|
|
1599
1603
|
GVCDMaxResults = Shapes::IntegerShape.new(name: 'GVCDMaxResults')
|
1600
1604
|
GatewayAssociationState = Shapes::StringShape.new(name: 'GatewayAssociationState')
|
1601
1605
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
1606
|
+
GetActiveVpnTunnelStatusRequest = Shapes::StructureShape.new(name: 'GetActiveVpnTunnelStatusRequest')
|
1607
|
+
GetActiveVpnTunnelStatusResult = Shapes::StructureShape.new(name: 'GetActiveVpnTunnelStatusResult')
|
1602
1608
|
GetAllowedImagesSettingsRequest = Shapes::StructureShape.new(name: 'GetAllowedImagesSettingsRequest')
|
1603
1609
|
GetAllowedImagesSettingsResult = Shapes::StructureShape.new(name: 'GetAllowedImagesSettingsResult')
|
1604
1610
|
GetAssociatedEnclaveCertificateIamRolesRequest = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesRequest')
|
@@ -3053,6 +3059,7 @@ module Aws::EC2
|
|
3053
3059
|
SnapshotLocationEnum = Shapes::StringShape.new(name: 'SnapshotLocationEnum')
|
3054
3060
|
SnapshotRecycleBinInfo = Shapes::StructureShape.new(name: 'SnapshotRecycleBinInfo')
|
3055
3061
|
SnapshotRecycleBinInfoList = Shapes::ListShape.new(name: 'SnapshotRecycleBinInfoList')
|
3062
|
+
SnapshotReturnCodes = Shapes::StringShape.new(name: 'SnapshotReturnCodes')
|
3056
3063
|
SnapshotSet = Shapes::ListShape.new(name: 'SnapshotSet')
|
3057
3064
|
SnapshotState = Shapes::StringShape.new(name: 'SnapshotState')
|
3058
3065
|
SnapshotTaskDetail = Shapes::StructureShape.new(name: 'SnapshotTaskDetail')
|
@@ -3134,6 +3141,7 @@ module Aws::EC2
|
|
3134
3141
|
SubnetConfiguration = Shapes::StructureShape.new(name: 'SubnetConfiguration')
|
3135
3142
|
SubnetConfigurationsList = Shapes::ListShape.new(name: 'SubnetConfigurationsList')
|
3136
3143
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
3144
|
+
SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
|
3137
3145
|
SubnetIdStringList = Shapes::ListShape.new(name: 'SubnetIdStringList')
|
3138
3146
|
SubnetIpPrefixes = Shapes::StructureShape.new(name: 'SubnetIpPrefixes')
|
3139
3147
|
SubnetIpPrefixesList = Shapes::ListShape.new(name: 'SubnetIpPrefixesList')
|
@@ -3542,6 +3550,7 @@ module Aws::EC2
|
|
3542
3550
|
VpnTunnelLogOptionsSpecification = Shapes::StructureShape.new(name: 'VpnTunnelLogOptionsSpecification')
|
3543
3551
|
VpnTunnelOptionsSpecification = Shapes::StructureShape.new(name: 'VpnTunnelOptionsSpecification')
|
3544
3552
|
VpnTunnelOptionsSpecificationsList = Shapes::ListShape.new(name: 'VpnTunnelOptionsSpecificationsList')
|
3553
|
+
VpnTunnelProvisioningStatus = Shapes::StringShape.new(name: 'VpnTunnelProvisioningStatus')
|
3545
3554
|
WeekDay = Shapes::StringShape.new(name: 'WeekDay')
|
3546
3555
|
WithdrawByoipCidrRequest = Shapes::StructureShape.new(name: 'WithdrawByoipCidrRequest')
|
3547
3556
|
WithdrawByoipCidrResult = Shapes::StructureShape.new(name: 'WithdrawByoipCidrResult')
|
@@ -3682,6 +3691,17 @@ module Aws::EC2
|
|
3682
3691
|
|
3683
3692
|
ActiveInstanceSet.member = Shapes::ShapeRef.new(shape: ActiveInstance, location_name: "item")
|
3684
3693
|
|
3694
|
+
ActiveVpnTunnelStatus.add_member(:phase_1_encryption_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase1EncryptionAlgorithm"))
|
3695
|
+
ActiveVpnTunnelStatus.add_member(:phase_2_encryption_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase2EncryptionAlgorithm"))
|
3696
|
+
ActiveVpnTunnelStatus.add_member(:phase_1_integrity_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase1IntegrityAlgorithm"))
|
3697
|
+
ActiveVpnTunnelStatus.add_member(:phase_2_integrity_algorithm, Shapes::ShapeRef.new(shape: String, location_name: "phase2IntegrityAlgorithm"))
|
3698
|
+
ActiveVpnTunnelStatus.add_member(:phase_1_dh_group, Shapes::ShapeRef.new(shape: Integer, location_name: "phase1DHGroup"))
|
3699
|
+
ActiveVpnTunnelStatus.add_member(:phase_2_dh_group, Shapes::ShapeRef.new(shape: Integer, location_name: "phase2DHGroup"))
|
3700
|
+
ActiveVpnTunnelStatus.add_member(:ike_version, Shapes::ShapeRef.new(shape: String, location_name: "ikeVersion"))
|
3701
|
+
ActiveVpnTunnelStatus.add_member(:provisioning_status, Shapes::ShapeRef.new(shape: VpnTunnelProvisioningStatus, location_name: "provisioningStatus"))
|
3702
|
+
ActiveVpnTunnelStatus.add_member(:provisioning_status_reason, Shapes::ShapeRef.new(shape: String, location_name: "provisioningStatusReason"))
|
3703
|
+
ActiveVpnTunnelStatus.struct_class = Types::ActiveVpnTunnelStatus
|
3704
|
+
|
3685
3705
|
AddIpamOperatingRegion.add_member(:region_name, Shapes::ShapeRef.new(shape: String, location_name: "RegionName"))
|
3686
3706
|
AddIpamOperatingRegion.struct_class = Types::AddIpamOperatingRegion
|
3687
3707
|
|
@@ -3730,6 +3750,7 @@ module Aws::EC2
|
|
3730
3750
|
Address.add_member(:customer_owned_ip, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIp"))
|
3731
3751
|
Address.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "customerOwnedIpv4Pool"))
|
3732
3752
|
Address.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
3753
|
+
Address.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
3733
3754
|
Address.add_member(:service_managed, Shapes::ShapeRef.new(shape: ServiceManaged, location_name: "serviceManaged"))
|
3734
3755
|
Address.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
3735
3756
|
Address.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
@@ -4150,6 +4171,8 @@ module Aws::EC2
|
|
4150
4171
|
|
4151
4172
|
AssociatedRolesList.member = Shapes::ShapeRef.new(shape: AssociatedRole, location_name: "item")
|
4152
4173
|
|
4174
|
+
AssociatedSubnetList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "item")
|
4175
|
+
|
4153
4176
|
AssociatedTargetNetwork.add_member(:network_id, Shapes::ShapeRef.new(shape: String, location_name: "networkId"))
|
4154
4177
|
AssociatedTargetNetwork.add_member(:network_type, Shapes::ShapeRef.new(shape: AssociatedNetworkType, location_name: "networkType"))
|
4155
4178
|
AssociatedTargetNetwork.struct_class = Types::AssociatedTargetNetwork
|
@@ -6225,6 +6248,7 @@ module Aws::EC2
|
|
6225
6248
|
CreateVpnConnectionRequest.add_member(:vpn_gateway_id, Shapes::ShapeRef.new(shape: VpnGatewayId, location_name: "VpnGatewayId"))
|
6226
6249
|
CreateVpnConnectionRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, location_name: "TransitGatewayId"))
|
6227
6250
|
CreateVpnConnectionRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
6251
|
+
CreateVpnConnectionRequest.add_member(:pre_shared_key_storage, Shapes::ShapeRef.new(shape: String, location_name: "PreSharedKeyStorage"))
|
6228
6252
|
CreateVpnConnectionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6229
6253
|
CreateVpnConnectionRequest.add_member(:options, Shapes::ShapeRef.new(shape: VpnConnectionOptionsSpecification, location_name: "options"))
|
6230
6254
|
CreateVpnConnectionRequest.struct_class = Types::CreateVpnConnectionRequest
|
@@ -6672,6 +6696,12 @@ module Aws::EC2
|
|
6672
6696
|
DeleteSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6673
6697
|
DeleteSnapshotRequest.struct_class = Types::DeleteSnapshotRequest
|
6674
6698
|
|
6699
|
+
DeleteSnapshotResultSet.member = Shapes::ShapeRef.new(shape: DeleteSnapshotReturnCode, location_name: "item")
|
6700
|
+
|
6701
|
+
DeleteSnapshotReturnCode.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
|
6702
|
+
DeleteSnapshotReturnCode.add_member(:return_code, Shapes::ShapeRef.new(shape: SnapshotReturnCodes, location_name: "returnCode"))
|
6703
|
+
DeleteSnapshotReturnCode.struct_class = Types::DeleteSnapshotReturnCode
|
6704
|
+
|
6675
6705
|
DeleteSpotDatafeedSubscriptionRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6676
6706
|
DeleteSpotDatafeedSubscriptionRequest.struct_class = Types::DeleteSpotDatafeedSubscriptionRequest
|
6677
6707
|
|
@@ -6920,9 +6950,12 @@ module Aws::EC2
|
|
6920
6950
|
DeprovisionedAddressSet.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
6921
6951
|
|
6922
6952
|
DeregisterImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
6953
|
+
DeregisterImageRequest.add_member(:delete_associated_snapshots, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteAssociatedSnapshots"))
|
6923
6954
|
DeregisterImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
6924
6955
|
DeregisterImageRequest.struct_class = Types::DeregisterImageRequest
|
6925
6956
|
|
6957
|
+
DeregisterImageResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
6958
|
+
DeregisterImageResult.add_member(:delete_snapshot_results, Shapes::ShapeRef.new(shape: DeleteSnapshotResultSet, location_name: "deleteSnapshotResultSet"))
|
6926
6959
|
DeregisterImageResult.struct_class = Types::DeregisterImageResult
|
6927
6960
|
|
6928
6961
|
DeregisterInstanceEventNotificationAttributesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -10011,6 +10044,14 @@ module Aws::EC2
|
|
10011
10044
|
FpgaInfo.add_member(:total_fpga_memory_in_mi_b, Shapes::ShapeRef.new(shape: totalFpgaMemory, location_name: "totalFpgaMemoryInMiB"))
|
10012
10045
|
FpgaInfo.struct_class = Types::FpgaInfo
|
10013
10046
|
|
10047
|
+
GetActiveVpnTunnelStatusRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
|
10048
|
+
GetActiveVpnTunnelStatusRequest.add_member(:vpn_tunnel_outside_ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VpnTunnelOutsideIpAddress"))
|
10049
|
+
GetActiveVpnTunnelStatusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10050
|
+
GetActiveVpnTunnelStatusRequest.struct_class = Types::GetActiveVpnTunnelStatusRequest
|
10051
|
+
|
10052
|
+
GetActiveVpnTunnelStatusResult.add_member(:active_vpn_tunnel_status, Shapes::ShapeRef.new(shape: ActiveVpnTunnelStatus, location_name: "activeVpnTunnelStatus"))
|
10053
|
+
GetActiveVpnTunnelStatusResult.struct_class = Types::GetActiveVpnTunnelStatusResult
|
10054
|
+
|
10014
10055
|
GetAllowedImagesSettingsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10015
10056
|
GetAllowedImagesSettingsRequest.struct_class = Types::GetAllowedImagesSettingsRequest
|
10016
10057
|
|
@@ -10550,6 +10591,7 @@ module Aws::EC2
|
|
10550
10591
|
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
|
10551
10592
|
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_device_type_id, Shapes::ShapeRef.new(shape: VpnConnectionDeviceTypeId, required: true, location_name: "VpnConnectionDeviceTypeId"))
|
10552
10593
|
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:internet_key_exchange_version, Shapes::ShapeRef.new(shape: String, location_name: "InternetKeyExchangeVersion"))
|
10594
|
+
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:sample_type, Shapes::ShapeRef.new(shape: String, location_name: "SampleType"))
|
10553
10595
|
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10554
10596
|
GetVpnConnectionDeviceSampleConfigurationRequest.struct_class = Types::GetVpnConnectionDeviceSampleConfigurationRequest
|
10555
10597
|
|
@@ -12960,6 +13002,7 @@ module Aws::EC2
|
|
12960
13002
|
ModifyNetworkInterfaceAttributeRequest.add_member(:enable_primary_ipv_6, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnablePrimaryIpv6"))
|
12961
13003
|
ModifyNetworkInterfaceAttributeRequest.add_member(:connection_tracking_specification, Shapes::ShapeRef.new(shape: ConnectionTrackingSpecificationRequest, location_name: "ConnectionTrackingSpecification"))
|
12962
13004
|
ModifyNetworkInterfaceAttributeRequest.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
|
13005
|
+
ModifyNetworkInterfaceAttributeRequest.add_member(:associated_subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "AssociatedSubnetId"))
|
12963
13006
|
ModifyNetworkInterfaceAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
12964
13007
|
ModifyNetworkInterfaceAttributeRequest.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "networkInterfaceId"))
|
12965
13008
|
ModifyNetworkInterfaceAttributeRequest.add_member(:description, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "description"))
|
@@ -13427,6 +13470,7 @@ module Aws::EC2
|
|
13427
13470
|
ModifyVpnTunnelOptionsRequest.add_member(:tunnel_options, Shapes::ShapeRef.new(shape: ModifyVpnTunnelOptionsSpecification, required: true, location_name: "TunnelOptions"))
|
13428
13471
|
ModifyVpnTunnelOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
13429
13472
|
ModifyVpnTunnelOptionsRequest.add_member(:skip_tunnel_replacement, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipTunnelReplacement"))
|
13473
|
+
ModifyVpnTunnelOptionsRequest.add_member(:pre_shared_key_storage, Shapes::ShapeRef.new(shape: String, location_name: "PreSharedKeyStorage"))
|
13430
13474
|
ModifyVpnTunnelOptionsRequest.struct_class = Types::ModifyVpnTunnelOptionsRequest
|
13431
13475
|
|
13432
13476
|
ModifyVpnTunnelOptionsResult.add_member(:vpn_connection, Shapes::ShapeRef.new(shape: VpnConnection, location_name: "vpnConnection"))
|
@@ -13713,6 +13757,7 @@ module Aws::EC2
|
|
13713
13757
|
NetworkInterface.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
|
13714
13758
|
NetworkInterface.add_member(:ipv_6_address, Shapes::ShapeRef.new(shape: String, location_name: "ipv6Address"))
|
13715
13759
|
NetworkInterface.add_member(:operator, Shapes::ShapeRef.new(shape: OperatorResponse, location_name: "operator"))
|
13760
|
+
NetworkInterface.add_member(:associated_subnets, Shapes::ShapeRef.new(shape: AssociatedSubnetList, location_name: "associatedSubnetSet"))
|
13716
13761
|
NetworkInterface.struct_class = Types::NetworkInterface
|
13717
13762
|
|
13718
13763
|
NetworkInterfaceAssociation.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
@@ -16013,6 +16058,7 @@ module Aws::EC2
|
|
16013
16058
|
Subnet.add_member(:ipv_6_native, Shapes::ShapeRef.new(shape: Boolean, location_name: "ipv6Native"))
|
16014
16059
|
Subnet.add_member(:private_dns_name_options_on_launch, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsOnLaunch, location_name: "privateDnsNameOptionsOnLaunch"))
|
16015
16060
|
Subnet.add_member(:block_public_access_states, Shapes::ShapeRef.new(shape: BlockPublicAccessStates, location_name: "blockPublicAccessStates"))
|
16061
|
+
Subnet.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
16016
16062
|
Subnet.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
16017
16063
|
Subnet.add_member(:state, Shapes::ShapeRef.new(shape: SubnetState, location_name: "state"))
|
16018
16064
|
Subnet.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
@@ -16051,6 +16097,8 @@ module Aws::EC2
|
|
16051
16097
|
|
16052
16098
|
SubnetConfigurationsList.member = Shapes::ShapeRef.new(shape: SubnetConfiguration, location_name: "item")
|
16053
16099
|
|
16100
|
+
SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "AssociatedSubnetId")
|
16101
|
+
|
16054
16102
|
SubnetIdStringList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")
|
16055
16103
|
|
16056
16104
|
SubnetIpPrefixes.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
@@ -17378,6 +17426,7 @@ module Aws::EC2
|
|
17378
17426
|
VpnConnection.add_member(:routes, Shapes::ShapeRef.new(shape: VpnStaticRouteList, location_name: "routes"))
|
17379
17427
|
VpnConnection.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
17380
17428
|
VpnConnection.add_member(:vgw_telemetry, Shapes::ShapeRef.new(shape: VgwTelemetryList, location_name: "vgwTelemetry"))
|
17429
|
+
VpnConnection.add_member(:pre_shared_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "preSharedKeyArn"))
|
17381
17430
|
VpnConnection.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpnConnectionId"))
|
17382
17431
|
VpnConnection.add_member(:state, Shapes::ShapeRef.new(shape: VpnState, location_name: "state"))
|
17383
17432
|
VpnConnection.add_member(:customer_gateway_configuration, Shapes::ShapeRef.new(shape: customerGatewayConfiguration, location_name: "customerGatewayConfiguration"))
|
@@ -22042,6 +22091,14 @@ module Aws::EC2
|
|
22042
22091
|
o.output = Shapes::ShapeRef.new(shape: ExportVerifiedAccessInstanceClientConfigurationResult)
|
22043
22092
|
end)
|
22044
22093
|
|
22094
|
+
api.add_operation(:get_active_vpn_tunnel_status, Seahorse::Model::Operation.new.tap do |o|
|
22095
|
+
o.name = "GetActiveVpnTunnelStatus"
|
22096
|
+
o.http_method = "POST"
|
22097
|
+
o.http_request_uri = "/"
|
22098
|
+
o.input = Shapes::ShapeRef.new(shape: GetActiveVpnTunnelStatusRequest)
|
22099
|
+
o.output = Shapes::ShapeRef.new(shape: GetActiveVpnTunnelStatusResult)
|
22100
|
+
end)
|
22101
|
+
|
22045
22102
|
api.add_operation(:get_allowed_images_settings, Seahorse::Model::Operation.new.tap do |o|
|
22046
22103
|
o.name = "GetAllowedImagesSettings"
|
22047
22104
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -142,8 +142,9 @@ module Aws::EC2
|
|
142
142
|
data[:virtualization_type]
|
143
143
|
end
|
144
144
|
|
145
|
-
# The boot mode of the image. For more information, see [
|
146
|
-
# in the *Amazon EC2 User
|
145
|
+
# The boot mode of the image. For more information, see [Instance launch
|
146
|
+
# behavior with Amazon EC2 boot modes][1] in the *Amazon EC2 User
|
147
|
+
# Guide*.
|
147
148
|
#
|
148
149
|
#
|
149
150
|
#
|
@@ -245,7 +246,8 @@ module Aws::EC2
|
|
245
246
|
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
246
247
|
# AMI was created using any other API. For some older AMIs, the ID might
|
247
248
|
# not be available. For more information, see [Identify the source AMI
|
248
|
-
# used to create a new AMI][1] in the *Amazon EC2 User
|
249
|
+
# used to create a new Amazon EC2 AMI][1] in the *Amazon EC2 User
|
250
|
+
# Guide*.
|
249
251
|
#
|
250
252
|
#
|
251
253
|
#
|
@@ -261,8 +263,8 @@ module Aws::EC2
|
|
261
263
|
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
262
264
|
# the AMI was created using any other API. For some older AMIs, the
|
263
265
|
# Region might not be available. For more information, see [Identify the
|
264
|
-
# source AMI used to create a new AMI][1] in the *Amazon EC2
|
265
|
-
# Guide*.
|
266
|
+
# source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon EC2
|
267
|
+
# User Guide*.
|
266
268
|
#
|
267
269
|
#
|
268
270
|
#
|
@@ -605,9 +607,20 @@ module Aws::EC2
|
|
605
607
|
# @example Request syntax with placeholder values
|
606
608
|
#
|
607
609
|
# image.deregister({
|
610
|
+
# delete_associated_snapshots: false,
|
608
611
|
# dry_run: false,
|
609
612
|
# })
|
610
613
|
# @param [Hash] options ({})
|
614
|
+
# @option options [Boolean] :delete_associated_snapshots
|
615
|
+
# Specifies whether to delete the snapshots associated with the AMI
|
616
|
+
# during deregistration.
|
617
|
+
#
|
618
|
+
# <note markdown="1"> If a snapshot is associated with multiple AMIs, it is not deleted,
|
619
|
+
# regardless of this setting.
|
620
|
+
#
|
621
|
+
# </note>
|
622
|
+
#
|
623
|
+
# Default: The snapshots are not deleted.
|
611
624
|
# @option options [Boolean] :dry_run
|
612
625
|
# Checks whether you have the required permissions for the action,
|
613
626
|
# without actually making the request, and provides an error response.
|
@@ -234,6 +234,12 @@ module Aws::EC2
|
|
234
234
|
data[:operator]
|
235
235
|
end
|
236
236
|
|
237
|
+
# The subnets associated with this network interface.
|
238
|
+
# @return [Array<String>]
|
239
|
+
def associated_subnets
|
240
|
+
data[:associated_subnets]
|
241
|
+
end
|
242
|
+
|
237
243
|
# @!endgroup
|
238
244
|
|
239
245
|
# @return [Client]
|
@@ -644,6 +650,7 @@ module Aws::EC2
|
|
644
650
|
# udp_timeout: 1,
|
645
651
|
# },
|
646
652
|
# associate_public_ip_address: false,
|
653
|
+
# associated_subnet_ids: ["SubnetId"],
|
647
654
|
# dry_run: false,
|
648
655
|
# description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
649
656
|
# source_dest_check: {
|
@@ -683,6 +690,8 @@ module Aws::EC2
|
|
683
690
|
# Indicates whether to assign a public IPv4 address to a network
|
684
691
|
# interface. This option can be enabled for any network interface but
|
685
692
|
# will only apply to the primary network interface (eth0).
|
693
|
+
# @option options [Array<String>] :associated_subnet_ids
|
694
|
+
# A list of subnet IDs to associate with the network interface.
|
686
695
|
# @option options [Boolean] :dry_run
|
687
696
|
# Checks whether you have the required permissions for the action,
|
688
697
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -1968,7 +1968,7 @@ module Aws::EC2
|
|
1968
1968
|
# The full path to your AMI manifest in Amazon S3 storage. The specified
|
1969
1969
|
# bucket must have the `aws-exec-read` canned access control list (ACL)
|
1970
1970
|
# to ensure that it can be accessed by Amazon EC2. For more information,
|
1971
|
-
# see [Canned
|
1971
|
+
# see [Canned ACL][1] in the *Amazon S3 Service Developer Guide*.
|
1972
1972
|
#
|
1973
1973
|
#
|
1974
1974
|
#
|
@@ -1981,8 +1981,9 @@ module Aws::EC2
|
|
1981
1981
|
# you can publish AMIs that include billable software and list them on
|
1982
1982
|
# the Amazon Web Services Marketplace. You must first register as a
|
1983
1983
|
# seller on the Amazon Web Services Marketplace. For more information,
|
1984
|
-
# see [Getting started as
|
1985
|
-
#
|
1984
|
+
# see [Getting started as an Amazon Web Services Marketplace seller][1]
|
1985
|
+
# and [AMI-based products in Amazon Web Services Marketplace][2] in the
|
1986
|
+
# *Amazon Web Services Marketplace Seller Guide*.
|
1986
1987
|
#
|
1987
1988
|
#
|
1988
1989
|
#
|
@@ -1997,8 +1998,8 @@ module Aws::EC2
|
|
1997
1998
|
#
|
1998
1999
|
# </note>
|
1999
2000
|
#
|
2000
|
-
# For more information, see [
|
2001
|
-
# Guide*.
|
2001
|
+
# For more information, see [Instance launch behavior with Amazon EC2
|
2002
|
+
# boot modes][1] in the *Amazon EC2 User Guide*.
|
2002
2003
|
#
|
2003
2004
|
#
|
2004
2005
|
#
|
@@ -2014,8 +2015,8 @@ module Aws::EC2
|
|
2014
2015
|
# Base64 representation of the non-volatile UEFI variable store. To
|
2015
2016
|
# retrieve the UEFI data, use the [GetInstanceUefiData][1] command. You
|
2016
2017
|
# can inspect and modify the UEFI data by using the [python-uefivars
|
2017
|
-
# tool][2] on GitHub. For more information, see [UEFI Secure Boot
|
2018
|
-
# the *Amazon EC2 User Guide*.
|
2018
|
+
# tool][2] on GitHub. For more information, see [UEFI Secure Boot for
|
2019
|
+
# Amazon EC2 instances][3] in the *Amazon EC2 User Guide*.
|
2019
2020
|
#
|
2020
2021
|
#
|
2021
2022
|
#
|
@@ -2082,8 +2083,8 @@ module Aws::EC2
|
|
2082
2083
|
# If you create an AMI on an Outpost, then all backing snapshots must be
|
2083
2084
|
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
2084
2085
|
# Outpost that include local snapshots can be used to launch instances
|
2085
|
-
# on the same Outpost only. For more information, [
|
2086
|
-
# snapshots
|
2086
|
+
# on the same Outpost only. For more information, [Create AMIs from
|
2087
|
+
# local snapshots][1] in the *Amazon EBS User Guide*.
|
2087
2088
|
#
|
2088
2089
|
#
|
2089
2090
|
#
|
@@ -3399,7 +3400,7 @@ module Aws::EC2
|
|
3399
3400
|
# * `interface-type` - The type of network interface
|
3400
3401
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
3401
3402
|
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
3402
|
-
# \| `efs` \| `gateway_load_balancer` \|
|
3403
|
+
# \| `efs` \| `evs` \| `gateway_load_balancer` \|
|
3403
3404
|
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
3404
3405
|
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
3405
3406
|
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -129,7 +129,27 @@ module Aws::EC2
|
|
129
129
|
data[:block_public_access_states]
|
130
130
|
end
|
131
131
|
|
132
|
+
# Indicates if this is a subnet used with Amazon Elastic VMware Service
|
133
|
+
# (EVS). Possible values are `Elastic VMware Service` or no value. For
|
134
|
+
# more information about Amazon EVS, see [ *Amazon Elastic VMware
|
135
|
+
# Service API Reference* ][1].
|
136
|
+
#
|
137
|
+
#
|
138
|
+
#
|
139
|
+
# [1]: https://docs.aws.amazon.com/evs/latest/APIReference/Welcome.html
|
140
|
+
# @return [String]
|
141
|
+
def type
|
142
|
+
data[:type]
|
143
|
+
end
|
144
|
+
|
132
145
|
# The current state of the subnet.
|
146
|
+
#
|
147
|
+
# * `failed`: The underlying infrastructure to support the subnet failed
|
148
|
+
# to provision as expected.
|
149
|
+
#
|
150
|
+
# * `failed-insufficient-capacity`: The underlying infrastructure to
|
151
|
+
# support the subnet failed to provision due to a shortage of EC2
|
152
|
+
# instance capacity.
|
133
153
|
# @return [String]
|
134
154
|
def state
|
135
155
|
data[:state]
|
@@ -1803,7 +1823,7 @@ module Aws::EC2
|
|
1803
1823
|
# * `interface-type` - The type of network interface
|
1804
1824
|
# (`api_gateway_managed` \| `aws_codestar_connections_managed` \|
|
1805
1825
|
# `branch` \| `ec2_instance_connect_endpoint` \| `efa` \| `efa-only`
|
1806
|
-
# \| `efs` \| `gateway_load_balancer` \|
|
1826
|
+
# \| `efs` \| `evs` \| `gateway_load_balancer` \|
|
1807
1827
|
# `gateway_load_balancer_endpoint` \| `global_accelerator_managed` \|
|
1808
1828
|
# `interface` \| `iot_rules_managed` \| `lambda` \| `load_balancer` \|
|
1809
1829
|
# `nat_gateway` \| `network_load_balancer` \| `quicksight` \|
|