aws-sdk-ec2 1.260.0 → 1.264.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +451 -315
- data/lib/aws-sdk-ec2/client_api.rb +68 -8
- data/lib/aws-sdk-ec2/image.rb +20 -19
- data/lib/aws-sdk-ec2/instance.rb +12 -10
- data/lib/aws-sdk-ec2/resource.rb +46 -42
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +6 -4
- data/lib/aws-sdk-ec2/types.rb +530 -326
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +7 -7
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +5 -5
@@ -1085,6 +1085,7 @@ module Aws::EC2
|
|
1085
1085
|
FpgaImageStateCode = Shapes::StringShape.new(name: 'FpgaImageStateCode')
|
1086
1086
|
FpgaInfo = Shapes::StructureShape.new(name: 'FpgaInfo')
|
1087
1087
|
FreeTierEligibleFlag = Shapes::BooleanShape.new(name: 'FreeTierEligibleFlag')
|
1088
|
+
GVCDMaxResults = Shapes::IntegerShape.new(name: 'GVCDMaxResults')
|
1088
1089
|
GatewayType = Shapes::StringShape.new(name: 'GatewayType')
|
1089
1090
|
GetAssociatedEnclaveCertificateIamRolesRequest = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesRequest')
|
1090
1091
|
GetAssociatedEnclaveCertificateIamRolesResult = Shapes::StructureShape.new(name: 'GetAssociatedEnclaveCertificateIamRolesResult')
|
@@ -1138,6 +1139,10 @@ module Aws::EC2
|
|
1138
1139
|
GetTransitGatewayRouteTableAssociationsResult = Shapes::StructureShape.new(name: 'GetTransitGatewayRouteTableAssociationsResult')
|
1139
1140
|
GetTransitGatewayRouteTablePropagationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayRouteTablePropagationsRequest')
|
1140
1141
|
GetTransitGatewayRouteTablePropagationsResult = Shapes::StructureShape.new(name: 'GetTransitGatewayRouteTablePropagationsResult')
|
1142
|
+
GetVpnConnectionDeviceSampleConfigurationRequest = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceSampleConfigurationRequest')
|
1143
|
+
GetVpnConnectionDeviceSampleConfigurationResult = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceSampleConfigurationResult')
|
1144
|
+
GetVpnConnectionDeviceTypesRequest = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceTypesRequest')
|
1145
|
+
GetVpnConnectionDeviceTypesResult = Shapes::StructureShape.new(name: 'GetVpnConnectionDeviceTypesResult')
|
1141
1146
|
GpuDeviceCount = Shapes::IntegerShape.new(name: 'GpuDeviceCount')
|
1142
1147
|
GpuDeviceInfo = Shapes::StructureShape.new(name: 'GpuDeviceInfo')
|
1143
1148
|
GpuDeviceInfoList = Shapes::ListShape.new(name: 'GpuDeviceInfoList')
|
@@ -1425,6 +1430,7 @@ module Aws::EC2
|
|
1425
1430
|
LaunchTemplateInstanceMetadataOptions = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceMetadataOptions')
|
1426
1431
|
LaunchTemplateInstanceMetadataOptionsRequest = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceMetadataOptionsRequest')
|
1427
1432
|
LaunchTemplateInstanceMetadataOptionsState = Shapes::StringShape.new(name: 'LaunchTemplateInstanceMetadataOptionsState')
|
1433
|
+
LaunchTemplateInstanceMetadataProtocolIpv6 = Shapes::StringShape.new(name: 'LaunchTemplateInstanceMetadataProtocolIpv6')
|
1428
1434
|
LaunchTemplateInstanceNetworkInterfaceSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecification')
|
1429
1435
|
LaunchTemplateInstanceNetworkInterfaceSpecificationList = Shapes::ListShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecificationList')
|
1430
1436
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = Shapes::StructureShape.new(name: 'LaunchTemplateInstanceNetworkInterfaceSpecificationRequest')
|
@@ -2335,6 +2341,10 @@ module Aws::EC2
|
|
2335
2341
|
VpcState = Shapes::StringShape.new(name: 'VpcState')
|
2336
2342
|
VpcTenancy = Shapes::StringShape.new(name: 'VpcTenancy')
|
2337
2343
|
VpnConnection = Shapes::StructureShape.new(name: 'VpnConnection')
|
2344
|
+
VpnConnectionDeviceSampleConfiguration = Shapes::StringShape.new(name: 'VpnConnectionDeviceSampleConfiguration')
|
2345
|
+
VpnConnectionDeviceType = Shapes::StructureShape.new(name: 'VpnConnectionDeviceType')
|
2346
|
+
VpnConnectionDeviceTypeId = Shapes::StringShape.new(name: 'VpnConnectionDeviceTypeId')
|
2347
|
+
VpnConnectionDeviceTypeList = Shapes::ListShape.new(name: 'VpnConnectionDeviceTypeList')
|
2338
2348
|
VpnConnectionId = Shapes::StringShape.new(name: 'VpnConnectionId')
|
2339
2349
|
VpnConnectionIdStringList = Shapes::ListShape.new(name: 'VpnConnectionIdStringList')
|
2340
2350
|
VpnConnectionList = Shapes::ListShape.new(name: 'VpnConnectionList')
|
@@ -6168,7 +6178,7 @@ module Aws::EC2
|
|
6168
6178
|
|
6169
6179
|
EbsBlockDevice.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
|
6170
6180
|
EbsBlockDevice.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "iops"))
|
6171
|
-
EbsBlockDevice.add_member(:snapshot_id, Shapes::ShapeRef.new(shape:
|
6181
|
+
EbsBlockDevice.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "snapshotId"))
|
6172
6182
|
EbsBlockDevice.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
|
6173
6183
|
EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
|
6174
6184
|
EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
@@ -6921,6 +6931,24 @@ module Aws::EC2
|
|
6921
6931
|
GetTransitGatewayRouteTablePropagationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
6922
6932
|
GetTransitGatewayRouteTablePropagationsResult.struct_class = Types::GetTransitGatewayRouteTablePropagationsResult
|
6923
6933
|
|
6934
|
+
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_id, Shapes::ShapeRef.new(shape: VpnConnectionId, required: true, location_name: "VpnConnectionId"))
|
6935
|
+
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:vpn_connection_device_type_id, Shapes::ShapeRef.new(shape: VpnConnectionDeviceTypeId, required: true, location_name: "VpnConnectionDeviceTypeId"))
|
6936
|
+
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:internet_key_exchange_version, Shapes::ShapeRef.new(shape: String, location_name: "InternetKeyExchangeVersion"))
|
6937
|
+
GetVpnConnectionDeviceSampleConfigurationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6938
|
+
GetVpnConnectionDeviceSampleConfigurationRequest.struct_class = Types::GetVpnConnectionDeviceSampleConfigurationRequest
|
6939
|
+
|
6940
|
+
GetVpnConnectionDeviceSampleConfigurationResult.add_member(:vpn_connection_device_sample_configuration, Shapes::ShapeRef.new(shape: VpnConnectionDeviceSampleConfiguration, location_name: "vpnConnectionDeviceSampleConfiguration"))
|
6941
|
+
GetVpnConnectionDeviceSampleConfigurationResult.struct_class = Types::GetVpnConnectionDeviceSampleConfigurationResult
|
6942
|
+
|
6943
|
+
GetVpnConnectionDeviceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GVCDMaxResults, location_name: "MaxResults"))
|
6944
|
+
GetVpnConnectionDeviceTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
6945
|
+
GetVpnConnectionDeviceTypesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6946
|
+
GetVpnConnectionDeviceTypesRequest.struct_class = Types::GetVpnConnectionDeviceTypesRequest
|
6947
|
+
|
6948
|
+
GetVpnConnectionDeviceTypesResult.add_member(:vpn_connection_device_types, Shapes::ShapeRef.new(shape: VpnConnectionDeviceTypeList, location_name: "vpnConnectionDeviceTypeSet"))
|
6949
|
+
GetVpnConnectionDeviceTypesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
6950
|
+
GetVpnConnectionDeviceTypesResult.struct_class = Types::GetVpnConnectionDeviceTypesResult
|
6951
|
+
|
6924
6952
|
GpuDeviceInfo.add_member(:name, Shapes::ShapeRef.new(shape: GpuDeviceName, location_name: "name"))
|
6925
6953
|
GpuDeviceInfo.add_member(:manufacturer, Shapes::ShapeRef.new(shape: GpuDeviceManufacturerName, location_name: "manufacturer"))
|
6926
6954
|
GpuDeviceInfo.add_member(:count, Shapes::ShapeRef.new(shape: GpuDeviceCount, location_name: "count"))
|
@@ -6936,7 +6964,7 @@ module Aws::EC2
|
|
6936
6964
|
GpuInfo.add_member(:total_gpu_memory_in_mi_b, Shapes::ShapeRef.new(shape: totalGpuMemory, location_name: "totalGpuMemoryInMiB"))
|
6937
6965
|
GpuInfo.struct_class = Types::GpuInfo
|
6938
6966
|
|
6939
|
-
GroupIdStringList.member = Shapes::ShapeRef.new(shape:
|
6967
|
+
GroupIdStringList.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "groupId")
|
6940
6968
|
|
6941
6969
|
GroupIdentifier.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
|
6942
6970
|
GroupIdentifier.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
|
@@ -7970,11 +7998,13 @@ module Aws::EC2
|
|
7970
7998
|
LaunchTemplateInstanceMetadataOptions.add_member(:http_tokens, Shapes::ShapeRef.new(shape: LaunchTemplateHttpTokensState, location_name: "httpTokens"))
|
7971
7999
|
LaunchTemplateInstanceMetadataOptions.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "httpPutResponseHopLimit"))
|
7972
8000
|
LaunchTemplateInstanceMetadataOptions.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataEndpointState, location_name: "httpEndpoint"))
|
8001
|
+
LaunchTemplateInstanceMetadataOptions.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataProtocolIpv6, location_name: "httpProtocolIpv6"))
|
7973
8002
|
LaunchTemplateInstanceMetadataOptions.struct_class = Types::LaunchTemplateInstanceMetadataOptions
|
7974
8003
|
|
7975
8004
|
LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_tokens, Shapes::ShapeRef.new(shape: LaunchTemplateHttpTokensState, location_name: "HttpTokens"))
|
7976
8005
|
LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "HttpPutResponseHopLimit"))
|
7977
8006
|
LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataEndpointState, location_name: "HttpEndpoint"))
|
8007
|
+
LaunchTemplateInstanceMetadataOptionsRequest.add_member(:http_protocol_ipv_6, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMetadataProtocolIpv6, location_name: "HttpProtocolIpv6"))
|
7978
8008
|
LaunchTemplateInstanceMetadataOptionsRequest.struct_class = Types::LaunchTemplateInstanceMetadataOptionsRequest
|
7979
8009
|
|
7980
8010
|
LaunchTemplateInstanceNetworkInterfaceSpecification.add_member(:associate_carrier_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "associateCarrierIpAddress"))
|
@@ -9127,7 +9157,7 @@ module Aws::EC2
|
|
9127
9157
|
|
9128
9158
|
PlacementGroupStringList.member = Shapes::ShapeRef.new(shape: PlacementGroupName)
|
9129
9159
|
|
9130
|
-
PlacementResponse.add_member(:group_name, Shapes::ShapeRef.new(shape:
|
9160
|
+
PlacementResponse.add_member(:group_name, Shapes::ShapeRef.new(shape: PlacementGroupName, location_name: "groupName"))
|
9131
9161
|
PlacementResponse.struct_class = Types::PlacementResponse
|
9132
9162
|
|
9133
9163
|
PoolCidrBlock.add_member(:cidr, Shapes::ShapeRef.new(shape: String, location_name: "poolCidrBlock"))
|
@@ -10137,10 +10167,10 @@ module Aws::EC2
|
|
10137
10167
|
ScheduledInstancesSecurityGroupIdSet.member = Shapes::ShapeRef.new(shape: SecurityGroupId, location_name: "SecurityGroupId")
|
10138
10168
|
|
10139
10169
|
SearchLocalGatewayRoutesRequest.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, required: true, location_name: "LocalGatewayRouteTableId"))
|
10140
|
-
SearchLocalGatewayRoutesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, required: true, location_name: "Filter"))
|
10141
10170
|
SearchLocalGatewayRoutesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
10142
10171
|
SearchLocalGatewayRoutesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
10143
10172
|
SearchLocalGatewayRoutesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
10173
|
+
SearchLocalGatewayRoutesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, required: true, location_name: "Filter"))
|
10144
10174
|
SearchLocalGatewayRoutesRequest.struct_class = Types::SearchLocalGatewayRoutesRequest
|
10145
10175
|
|
10146
10176
|
SearchLocalGatewayRoutesResult.add_member(:routes, Shapes::ShapeRef.new(shape: LocalGatewayRouteList, location_name: "routeSet"))
|
@@ -10371,16 +10401,16 @@ module Aws::EC2
|
|
10371
10401
|
SpotFleetLaunchSpecification.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
|
10372
10402
|
SpotFleetLaunchSpecification.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsOptimized"))
|
10373
10403
|
SpotFleetLaunchSpecification.add_member(:iam_instance_profile, Shapes::ShapeRef.new(shape: IamInstanceProfileSpecification, location_name: "iamInstanceProfile"))
|
10374
|
-
SpotFleetLaunchSpecification.add_member(:image_id, Shapes::ShapeRef.new(shape:
|
10404
|
+
SpotFleetLaunchSpecification.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
|
10375
10405
|
SpotFleetLaunchSpecification.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
10376
10406
|
SpotFleetLaunchSpecification.add_member(:kernel_id, Shapes::ShapeRef.new(shape: String, location_name: "kernelId"))
|
10377
|
-
SpotFleetLaunchSpecification.add_member(:key_name, Shapes::ShapeRef.new(shape:
|
10407
|
+
SpotFleetLaunchSpecification.add_member(:key_name, Shapes::ShapeRef.new(shape: KeyPairName, location_name: "keyName"))
|
10378
10408
|
SpotFleetLaunchSpecification.add_member(:monitoring, Shapes::ShapeRef.new(shape: SpotFleetMonitoring, location_name: "monitoring"))
|
10379
10409
|
SpotFleetLaunchSpecification.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: InstanceNetworkInterfaceSpecificationList, location_name: "networkInterfaceSet"))
|
10380
10410
|
SpotFleetLaunchSpecification.add_member(:placement, Shapes::ShapeRef.new(shape: SpotPlacement, location_name: "placement"))
|
10381
10411
|
SpotFleetLaunchSpecification.add_member(:ramdisk_id, Shapes::ShapeRef.new(shape: String, location_name: "ramdiskId"))
|
10382
10412
|
SpotFleetLaunchSpecification.add_member(:spot_price, Shapes::ShapeRef.new(shape: String, location_name: "spotPrice"))
|
10383
|
-
SpotFleetLaunchSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape:
|
10413
|
+
SpotFleetLaunchSpecification.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "subnetId"))
|
10384
10414
|
SpotFleetLaunchSpecification.add_member(:user_data, Shapes::ShapeRef.new(shape: String, location_name: "userData"))
|
10385
10415
|
SpotFleetLaunchSpecification.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "weightedCapacity"))
|
10386
10416
|
SpotFleetLaunchSpecification.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: SpotFleetTagSpecificationList, location_name: "tagSpecificationSet"))
|
@@ -10499,7 +10529,7 @@ module Aws::EC2
|
|
10499
10529
|
SpotOptionsRequest.struct_class = Types::SpotOptionsRequest
|
10500
10530
|
|
10501
10531
|
SpotPlacement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
10502
|
-
SpotPlacement.add_member(:group_name, Shapes::ShapeRef.new(shape:
|
10532
|
+
SpotPlacement.add_member(:group_name, Shapes::ShapeRef.new(shape: PlacementGroupName, location_name: "groupName"))
|
10503
10533
|
SpotPlacement.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "tenancy"))
|
10504
10534
|
SpotPlacement.struct_class = Types::SpotPlacement
|
10505
10535
|
|
@@ -11499,6 +11529,14 @@ module Aws::EC2
|
|
11499
11529
|
VpnConnection.add_member(:vgw_telemetry, Shapes::ShapeRef.new(shape: VgwTelemetryList, location_name: "vgwTelemetry"))
|
11500
11530
|
VpnConnection.struct_class = Types::VpnConnection
|
11501
11531
|
|
11532
|
+
VpnConnectionDeviceType.add_member(:vpn_connection_device_type_id, Shapes::ShapeRef.new(shape: String, location_name: "vpnConnectionDeviceTypeId"))
|
11533
|
+
VpnConnectionDeviceType.add_member(:vendor, Shapes::ShapeRef.new(shape: String, location_name: "vendor"))
|
11534
|
+
VpnConnectionDeviceType.add_member(:platform, Shapes::ShapeRef.new(shape: String, location_name: "platform"))
|
11535
|
+
VpnConnectionDeviceType.add_member(:software, Shapes::ShapeRef.new(shape: String, location_name: "software"))
|
11536
|
+
VpnConnectionDeviceType.struct_class = Types::VpnConnectionDeviceType
|
11537
|
+
|
11538
|
+
VpnConnectionDeviceTypeList.member = Shapes::ShapeRef.new(shape: VpnConnectionDeviceType, location_name: "item")
|
11539
|
+
|
11502
11540
|
VpnConnectionIdStringList.member = Shapes::ShapeRef.new(shape: VpnConnectionId, location_name: "VpnConnectionId")
|
11503
11541
|
|
11504
11542
|
VpnConnectionList.member = Shapes::ShapeRef.new(shape: VpnConnection, location_name: "item")
|
@@ -15035,6 +15073,28 @@ module Aws::EC2
|
|
15035
15073
|
)
|
15036
15074
|
end)
|
15037
15075
|
|
15076
|
+
api.add_operation(:get_vpn_connection_device_sample_configuration, Seahorse::Model::Operation.new.tap do |o|
|
15077
|
+
o.name = "GetVpnConnectionDeviceSampleConfiguration"
|
15078
|
+
o.http_method = "POST"
|
15079
|
+
o.http_request_uri = "/"
|
15080
|
+
o.input = Shapes::ShapeRef.new(shape: GetVpnConnectionDeviceSampleConfigurationRequest)
|
15081
|
+
o.output = Shapes::ShapeRef.new(shape: GetVpnConnectionDeviceSampleConfigurationResult)
|
15082
|
+
end)
|
15083
|
+
|
15084
|
+
api.add_operation(:get_vpn_connection_device_types, Seahorse::Model::Operation.new.tap do |o|
|
15085
|
+
o.name = "GetVpnConnectionDeviceTypes"
|
15086
|
+
o.http_method = "POST"
|
15087
|
+
o.http_request_uri = "/"
|
15088
|
+
o.input = Shapes::ShapeRef.new(shape: GetVpnConnectionDeviceTypesRequest)
|
15089
|
+
o.output = Shapes::ShapeRef.new(shape: GetVpnConnectionDeviceTypesResult)
|
15090
|
+
o[:pager] = Aws::Pager.new(
|
15091
|
+
limit_key: "max_results",
|
15092
|
+
tokens: {
|
15093
|
+
"next_token" => "next_token"
|
15094
|
+
}
|
15095
|
+
)
|
15096
|
+
end)
|
15097
|
+
|
15038
15098
|
api.add_operation(:import_client_vpn_client_certificate_revocation_list, Seahorse::Model::Operation.new.tap do |o|
|
15039
15099
|
o.name = "ImportClientVpnClientCertificateRevocationList"
|
15040
15100
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -74,7 +74,7 @@ module Aws::EC2
|
|
74
74
|
data[:kernel_id]
|
75
75
|
end
|
76
76
|
|
77
|
-
# The
|
77
|
+
# The ID of the Amazon Web Services account that owns the image.
|
78
78
|
# @return [String]
|
79
79
|
def owner_id
|
80
80
|
data[:owner_id]
|
@@ -88,8 +88,8 @@ module Aws::EC2
|
|
88
88
|
end
|
89
89
|
|
90
90
|
# The platform details associated with the billing code of the AMI. For
|
91
|
-
# more information, see [
|
92
|
-
#
|
91
|
+
# more information, see [Understanding AMI billing][1] in the *Amazon
|
92
|
+
# Elastic Compute Cloud User Guide*.
|
93
93
|
#
|
94
94
|
#
|
95
95
|
#
|
@@ -101,16 +101,19 @@ module Aws::EC2
|
|
101
101
|
|
102
102
|
# The operation of the Amazon EC2 instance and the billing code that is
|
103
103
|
# associated with the AMI. `usageOperation` corresponds to the
|
104
|
-
# [lineitem/Operation][1] column on your
|
105
|
-
# in the [
|
106
|
-
#
|
107
|
-
# the
|
104
|
+
# [lineitem/Operation][1] column on your Amazon Web Services Cost and
|
105
|
+
# Usage Report and in the [Amazon Web Services Price List API][2]. You
|
106
|
+
# can view these fields on the **Instances** or **AMIs** pages in the
|
107
|
+
# Amazon EC2 console, or in the responses that are returned by the
|
108
|
+
# [DescribeImages][3] command in the Amazon EC2 API, or the
|
109
|
+
# [describe-images][4] command in the CLI.
|
108
110
|
#
|
109
111
|
#
|
110
112
|
#
|
111
113
|
# [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
|
112
114
|
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html
|
113
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/
|
115
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeImages.html
|
116
|
+
# [4]: https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html
|
114
117
|
# @return [String]
|
115
118
|
def usage_operation
|
116
119
|
data[:usage_operation]
|
@@ -160,8 +163,8 @@ module Aws::EC2
|
|
160
163
|
data[:hypervisor]
|
161
164
|
end
|
162
165
|
|
163
|
-
# The
|
164
|
-
# account ID of the AMI owner.
|
166
|
+
# The Amazon Web Services account alias (for example, `amazon`, `self`)
|
167
|
+
# or the Amazon Web Services account ID of the AMI owner.
|
165
168
|
# @return [String]
|
166
169
|
def image_owner_alias
|
167
170
|
data[:image_owner_alias]
|
@@ -179,8 +182,8 @@ module Aws::EC2
|
|
179
182
|
data[:root_device_name]
|
180
183
|
end
|
181
184
|
|
182
|
-
# The type of root device used by the AMI. The AMI can use an EBS
|
183
|
-
# or an instance store volume.
|
185
|
+
# The type of root device used by the AMI. The AMI can use an Amazon EBS
|
186
|
+
# volume or an instance store volume.
|
184
187
|
# @return [String]
|
185
188
|
def root_device_type
|
186
189
|
data[:root_device_type]
|
@@ -549,7 +552,7 @@ module Aws::EC2
|
|
549
552
|
# @param [Hash] options ({})
|
550
553
|
# @option options [String] :attribute
|
551
554
|
# The name of the attribute to modify. The valid values are
|
552
|
-
# `description
|
555
|
+
# `description` and `launchPermission`.
|
553
556
|
# @option options [Types::AttributeValue] :description
|
554
557
|
# A new description for the AMI.
|
555
558
|
# @option options [Types::LaunchPermissionModifications] :launch_permission
|
@@ -558,18 +561,16 @@ module Aws::EC2
|
|
558
561
|
# The operation type. This parameter can be used only when the
|
559
562
|
# `Attribute` parameter is `launchPermission`.
|
560
563
|
# @option options [Array<String>] :product_codes
|
561
|
-
#
|
562
|
-
# can't be removed.
|
564
|
+
# Not supported.
|
563
565
|
# @option options [Array<String>] :user_groups
|
564
566
|
# The user groups. This parameter can be used only when the `Attribute`
|
565
567
|
# parameter is `launchPermission`.
|
566
568
|
# @option options [Array<String>] :user_ids
|
567
|
-
# The
|
568
|
-
# `Attribute` parameter is `launchPermission`.
|
569
|
+
# The Amazon Web Services account IDs. This parameter can be used only
|
570
|
+
# when the `Attribute` parameter is `launchPermission`.
|
569
571
|
# @option options [String] :value
|
570
572
|
# The value of the attribute being modified. This parameter can be used
|
571
|
-
# only when the `Attribute` parameter is `description
|
572
|
-
# `productCodes`.
|
573
|
+
# only when the `Attribute` parameter is `description`.
|
573
574
|
# @option options [Boolean] :dry_run
|
574
575
|
# Checks whether you have the required permissions for the action,
|
575
576
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -573,7 +573,7 @@ module Aws::EC2
|
|
573
573
|
#
|
574
574
|
# instance.attach_classic_link_vpc({
|
575
575
|
# dry_run: false,
|
576
|
-
# groups: ["
|
576
|
+
# groups: ["SecurityGroupId"], # required
|
577
577
|
# vpc_id: "VpcId", # required
|
578
578
|
# })
|
579
579
|
# @param [Hash] options ({})
|
@@ -652,7 +652,7 @@ module Aws::EC2
|
|
652
652
|
# ebs: {
|
653
653
|
# delete_on_termination: false,
|
654
654
|
# iops: 1,
|
655
|
-
# snapshot_id: "
|
655
|
+
# snapshot_id: "SnapshotId",
|
656
656
|
# volume_size: 1,
|
657
657
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
658
658
|
# kms_key_id: "String",
|
@@ -669,7 +669,7 @@ module Aws::EC2
|
|
669
669
|
# no_reboot: false,
|
670
670
|
# tag_specifications: [
|
671
671
|
# {
|
672
|
-
# resource_type: "
|
672
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-endpoint, vpc-endpoint-service, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
673
673
|
# tags: [
|
674
674
|
# {
|
675
675
|
# key: "String",
|
@@ -700,9 +700,11 @@ module Aws::EC2
|
|
700
700
|
# @option options [Boolean] :no_reboot
|
701
701
|
# By default, Amazon EC2 attempts to shut down and reboot the instance
|
702
702
|
# before creating the image. If the `No Reboot` option is set, Amazon
|
703
|
-
# EC2 doesn't shut down the instance before creating the image.
|
704
|
-
#
|
705
|
-
#
|
703
|
+
# EC2 doesn't shut down the instance before creating the image. Without
|
704
|
+
# a reboot, the AMI will be crash consistent (all the volumes are
|
705
|
+
# snapshotted at the same time), but not application consistent (all the
|
706
|
+
# operating system buffers are not flushed to disk before the snapshots
|
707
|
+
# are created).
|
706
708
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
707
709
|
# The tags to apply to the AMI and snapshots on creation. You can tag
|
708
710
|
# the AMI, the snapshots, or both.
|
@@ -710,9 +712,9 @@ module Aws::EC2
|
|
710
712
|
# * To tag the AMI, the value for `ResourceType` must be `image`.
|
711
713
|
#
|
712
714
|
# * To tag the snapshots that are created of the root volume and of
|
713
|
-
# other EBS volumes that are attached to the instance, the
|
714
|
-
# `ResourceType` must be `snapshot`. The same tag is applied
|
715
|
-
# the snapshots that are created.
|
715
|
+
# other Amazon EBS volumes that are attached to the instance, the
|
716
|
+
# value for `ResourceType` must be `snapshot`. The same tag is applied
|
717
|
+
# to all of the snapshots that are created.
|
716
718
|
#
|
717
719
|
# If you specify other values for `ResourceType`, the request fails.
|
718
720
|
#
|
@@ -918,7 +920,7 @@ module Aws::EC2
|
|
918
920
|
# ena_support: {
|
919
921
|
# value: false,
|
920
922
|
# },
|
921
|
-
# groups: ["
|
923
|
+
# groups: ["SecurityGroupId"],
|
922
924
|
# instance_initiated_shutdown_behavior: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
923
925
|
# instance_type: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
924
926
|
# kernel: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|