aws-sdk-ec2 1.313.0 → 1.316.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +116 -22
- data/lib/aws-sdk-ec2/client_api.rb +34 -1
- data/lib/aws-sdk-ec2/instance.rb +15 -3
- data/lib/aws-sdk-ec2/resource.rb +8 -0
- data/lib/aws-sdk-ec2/subnet.rb +8 -0
- data/lib/aws-sdk-ec2/types.rb +234 -52
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -1032,6 +1032,9 @@ module Aws::EC2
|
|
1032
1032
|
DnsEntry = Shapes::StructureShape.new(name: 'DnsEntry')
|
1033
1033
|
DnsEntrySet = Shapes::ListShape.new(name: 'DnsEntrySet')
|
1034
1034
|
DnsNameState = Shapes::StringShape.new(name: 'DnsNameState')
|
1035
|
+
DnsOptions = Shapes::StructureShape.new(name: 'DnsOptions')
|
1036
|
+
DnsOptionsSpecification = Shapes::StructureShape.new(name: 'DnsOptionsSpecification')
|
1037
|
+
DnsRecordIpType = Shapes::StringShape.new(name: 'DnsRecordIpType')
|
1035
1038
|
DnsServersOptionsModifyStructure = Shapes::StructureShape.new(name: 'DnsServersOptionsModifyStructure')
|
1036
1039
|
DnsSupportValue = Shapes::StringShape.new(name: 'DnsSupportValue')
|
1037
1040
|
DomainType = Shapes::StringShape.new(name: 'DomainType')
|
@@ -1506,6 +1509,7 @@ module Aws::EC2
|
|
1506
1509
|
InternetGatewayList = Shapes::ListShape.new(name: 'InternetGatewayList')
|
1507
1510
|
IpAddress = Shapes::StringShape.new(name: 'IpAddress')
|
1508
1511
|
IpAddressList = Shapes::ListShape.new(name: 'IpAddressList')
|
1512
|
+
IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
|
1509
1513
|
IpPermission = Shapes::StructureShape.new(name: 'IpPermission')
|
1510
1514
|
IpPermissionList = Shapes::ListShape.new(name: 'IpPermissionList')
|
1511
1515
|
IpPrefixList = Shapes::ListShape.new(name: 'IpPrefixList')
|
@@ -2289,6 +2293,7 @@ module Aws::EC2
|
|
2289
2293
|
SensitiveUserData = Shapes::StringShape.new(name: 'SensitiveUserData')
|
2290
2294
|
ServiceConfiguration = Shapes::StructureShape.new(name: 'ServiceConfiguration')
|
2291
2295
|
ServiceConfigurationSet = Shapes::ListShape.new(name: 'ServiceConfigurationSet')
|
2296
|
+
ServiceConnectivityType = Shapes::StringShape.new(name: 'ServiceConnectivityType')
|
2292
2297
|
ServiceDetail = Shapes::StructureShape.new(name: 'ServiceDetail')
|
2293
2298
|
ServiceDetailSet = Shapes::ListShape.new(name: 'ServiceDetailSet')
|
2294
2299
|
ServiceState = Shapes::StringShape.new(name: 'ServiceState')
|
@@ -2394,6 +2399,7 @@ module Aws::EC2
|
|
2394
2399
|
SuccessfulQueuedPurchaseDeletion = Shapes::StructureShape.new(name: 'SuccessfulQueuedPurchaseDeletion')
|
2395
2400
|
SuccessfulQueuedPurchaseDeletionSet = Shapes::ListShape.new(name: 'SuccessfulQueuedPurchaseDeletionSet')
|
2396
2401
|
SummaryStatus = Shapes::StringShape.new(name: 'SummaryStatus')
|
2402
|
+
SupportedIpAddressTypes = Shapes::ListShape.new(name: 'SupportedIpAddressTypes')
|
2397
2403
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
2398
2404
|
TagDescription = Shapes::StructureShape.new(name: 'TagDescription')
|
2399
2405
|
TagDescriptionList = Shapes::ListShape.new(name: 'TagDescriptionList')
|
@@ -4349,12 +4355,12 @@ module Aws::EC2
|
|
4349
4355
|
CreateStoreImageTaskResult.add_member(:object_key, Shapes::ShapeRef.new(shape: String, location_name: "objectKey"))
|
4350
4356
|
CreateStoreImageTaskResult.struct_class = Types::CreateStoreImageTaskResult
|
4351
4357
|
|
4352
|
-
CreateSubnetCidrReservationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4353
4358
|
CreateSubnetCidrReservationRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
4354
4359
|
CreateSubnetCidrReservationRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
|
4355
4360
|
CreateSubnetCidrReservationRequest.add_member(:reservation_type, Shapes::ShapeRef.new(shape: SubnetCidrReservationType, required: true, location_name: "ReservationType"))
|
4356
4361
|
CreateSubnetCidrReservationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
4357
4362
|
CreateSubnetCidrReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4363
|
+
CreateSubnetCidrReservationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4358
4364
|
CreateSubnetCidrReservationRequest.struct_class = Types::CreateSubnetCidrReservationRequest
|
4359
4365
|
|
4360
4366
|
CreateSubnetCidrReservationResult.add_member(:subnet_cidr_reservation, Shapes::ShapeRef.new(shape: SubnetCidrReservation, location_name: "subnetCidrReservation"))
|
@@ -4429,6 +4435,7 @@ module Aws::EC2
|
|
4429
4435
|
CreateTrafficMirrorTargetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4430
4436
|
CreateTrafficMirrorTargetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4431
4437
|
CreateTrafficMirrorTargetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
4438
|
+
CreateTrafficMirrorTargetRequest.add_member(:gateway_load_balancer_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "GatewayLoadBalancerEndpointId"))
|
4432
4439
|
CreateTrafficMirrorTargetRequest.struct_class = Types::CreateTrafficMirrorTargetRequest
|
4433
4440
|
|
4434
4441
|
CreateTrafficMirrorTargetResult.add_member(:traffic_mirror_target, Shapes::ShapeRef.new(shape: TrafficMirrorTarget, location_name: "trafficMirrorTarget"))
|
@@ -4582,6 +4589,8 @@ module Aws::EC2
|
|
4582
4589
|
CreateVpcEndpointRequest.add_member(:route_table_ids, Shapes::ShapeRef.new(shape: VpcEndpointRouteTableIdList, location_name: "RouteTableId"))
|
4583
4590
|
CreateVpcEndpointRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: VpcEndpointSubnetIdList, location_name: "SubnetId"))
|
4584
4591
|
CreateVpcEndpointRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: VpcEndpointSecurityGroupIdList, location_name: "SecurityGroupId"))
|
4592
|
+
CreateVpcEndpointRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
4593
|
+
CreateVpcEndpointRequest.add_member(:dns_options, Shapes::ShapeRef.new(shape: DnsOptionsSpecification, location_name: "DnsOptions"))
|
4585
4594
|
CreateVpcEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
4586
4595
|
CreateVpcEndpointRequest.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrivateDnsEnabled"))
|
4587
4596
|
CreateVpcEndpointRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
@@ -4596,6 +4605,7 @@ module Aws::EC2
|
|
4596
4605
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "PrivateDnsName"))
|
4597
4606
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "NetworkLoadBalancerArn"))
|
4598
4607
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "GatewayLoadBalancerArn"))
|
4608
|
+
CreateVpcEndpointServiceConfigurationRequest.add_member(:supported_ip_address_types, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "SupportedIpAddressType"))
|
4599
4609
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
4600
4610
|
CreateVpcEndpointServiceConfigurationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4601
4611
|
CreateVpcEndpointServiceConfigurationRequest.struct_class = Types::CreateVpcEndpointServiceConfigurationRequest
|
@@ -6917,6 +6927,12 @@ module Aws::EC2
|
|
6917
6927
|
|
6918
6928
|
DnsEntrySet.member = Shapes::ShapeRef.new(shape: DnsEntry, location_name: "item")
|
6919
6929
|
|
6930
|
+
DnsOptions.add_member(:dns_record_ip_type, Shapes::ShapeRef.new(shape: DnsRecordIpType, location_name: "dnsRecordIpType"))
|
6931
|
+
DnsOptions.struct_class = Types::DnsOptions
|
6932
|
+
|
6933
|
+
DnsOptionsSpecification.add_member(:dns_record_ip_type, Shapes::ShapeRef.new(shape: DnsRecordIpType, location_name: "DnsRecordIpType"))
|
6934
|
+
DnsOptionsSpecification.struct_class = Types::DnsOptionsSpecification
|
6935
|
+
|
6920
6936
|
DnsServersOptionsModifyStructure.add_member(:custom_dns_servers, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "CustomDnsServers"))
|
6921
6937
|
DnsServersOptionsModifyStructure.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
6922
6938
|
DnsServersOptionsModifyStructure.struct_class = Types::DnsServersOptionsModifyStructure
|
@@ -8360,6 +8376,7 @@ module Aws::EC2
|
|
8360
8376
|
InstanceAttribute.add_member(:source_dest_check, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "sourceDestCheck"))
|
8361
8377
|
InstanceAttribute.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "sriovNetSupport"))
|
8362
8378
|
InstanceAttribute.add_member(:user_data, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "userData"))
|
8379
|
+
InstanceAttribute.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "disableApiStop"))
|
8363
8380
|
InstanceAttribute.struct_class = Types::InstanceAttribute
|
8364
8381
|
|
8365
8382
|
InstanceBlockDeviceMapping.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "deviceName"))
|
@@ -9639,6 +9656,7 @@ module Aws::EC2
|
|
9639
9656
|
ModifyInstanceAttributeRequest.add_member(:sriov_net_support, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "sriovNetSupport"))
|
9640
9657
|
ModifyInstanceAttributeRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: BlobAttributeValue, location_name: "userData"))
|
9641
9658
|
ModifyInstanceAttributeRequest.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
9659
|
+
ModifyInstanceAttributeRequest.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: AttributeBooleanValue, location_name: "DisableApiStop"))
|
9642
9660
|
ModifyInstanceAttributeRequest.struct_class = Types::ModifyInstanceAttributeRequest
|
9643
9661
|
|
9644
9662
|
ModifyInstanceCapacityReservationAttributesRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
@@ -9980,6 +9998,8 @@ module Aws::EC2
|
|
9980
9998
|
ModifyVpcEndpointRequest.add_member(:remove_subnet_ids, Shapes::ShapeRef.new(shape: VpcEndpointSubnetIdList, location_name: "RemoveSubnetId"))
|
9981
9999
|
ModifyVpcEndpointRequest.add_member(:add_security_group_ids, Shapes::ShapeRef.new(shape: VpcEndpointSecurityGroupIdList, location_name: "AddSecurityGroupId"))
|
9982
10000
|
ModifyVpcEndpointRequest.add_member(:remove_security_group_ids, Shapes::ShapeRef.new(shape: VpcEndpointSecurityGroupIdList, location_name: "RemoveSecurityGroupId"))
|
10001
|
+
ModifyVpcEndpointRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
10002
|
+
ModifyVpcEndpointRequest.add_member(:dns_options, Shapes::ShapeRef.new(shape: DnsOptionsSpecification, location_name: "DnsOptions"))
|
9983
10003
|
ModifyVpcEndpointRequest.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "PrivateDnsEnabled"))
|
9984
10004
|
ModifyVpcEndpointRequest.struct_class = Types::ModifyVpcEndpointRequest
|
9985
10005
|
|
@@ -9995,6 +10015,8 @@ module Aws::EC2
|
|
9995
10015
|
ModifyVpcEndpointServiceConfigurationRequest.add_member(:remove_network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "RemoveNetworkLoadBalancerArn"))
|
9996
10016
|
ModifyVpcEndpointServiceConfigurationRequest.add_member(:add_gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "AddGatewayLoadBalancerArn"))
|
9997
10017
|
ModifyVpcEndpointServiceConfigurationRequest.add_member(:remove_gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "RemoveGatewayLoadBalancerArn"))
|
10018
|
+
ModifyVpcEndpointServiceConfigurationRequest.add_member(:add_supported_ip_address_types, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "AddSupportedIpAddressType"))
|
10019
|
+
ModifyVpcEndpointServiceConfigurationRequest.add_member(:remove_supported_ip_address_types, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "RemoveSupportedIpAddressType"))
|
9998
10020
|
ModifyVpcEndpointServiceConfigurationRequest.struct_class = Types::ModifyVpcEndpointServiceConfigurationRequest
|
9999
10021
|
|
10000
10022
|
ModifyVpcEndpointServiceConfigurationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
@@ -11082,6 +11104,7 @@ module Aws::EC2
|
|
11082
11104
|
RequestLaunchTemplateData.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirementsRequest, location_name: "InstanceRequirements"))
|
11083
11105
|
RequestLaunchTemplateData.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: LaunchTemplatePrivateDnsNameOptionsRequest, location_name: "PrivateDnsNameOptions"))
|
11084
11106
|
RequestLaunchTemplateData.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMaintenanceOptionsRequest, location_name: "MaintenanceOptions"))
|
11107
|
+
RequestLaunchTemplateData.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableApiStop"))
|
11085
11108
|
RequestLaunchTemplateData.struct_class = Types::RequestLaunchTemplateData
|
11086
11109
|
|
11087
11110
|
RequestSpotFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
@@ -11354,6 +11377,7 @@ module Aws::EC2
|
|
11354
11377
|
ResponseLaunchTemplateData.add_member(:instance_requirements, Shapes::ShapeRef.new(shape: InstanceRequirements, location_name: "instanceRequirements"))
|
11355
11378
|
ResponseLaunchTemplateData.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: LaunchTemplatePrivateDnsNameOptions, location_name: "privateDnsNameOptions"))
|
11356
11379
|
ResponseLaunchTemplateData.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: LaunchTemplateInstanceMaintenanceOptions, location_name: "maintenanceOptions"))
|
11380
|
+
ResponseLaunchTemplateData.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: Boolean, location_name: "disableApiStop"))
|
11357
11381
|
ResponseLaunchTemplateData.struct_class = Types::ResponseLaunchTemplateData
|
11358
11382
|
|
11359
11383
|
RestorableByStringList.member = Shapes::ShapeRef.new(shape: String)
|
@@ -11544,6 +11568,7 @@ module Aws::EC2
|
|
11544
11568
|
RunInstancesRequest.add_member(:enclave_options, Shapes::ShapeRef.new(shape: EnclaveOptionsRequest, location_name: "EnclaveOptions"))
|
11545
11569
|
RunInstancesRequest.add_member(:private_dns_name_options, Shapes::ShapeRef.new(shape: PrivateDnsNameOptionsRequest, location_name: "PrivateDnsNameOptions"))
|
11546
11570
|
RunInstancesRequest.add_member(:maintenance_options, Shapes::ShapeRef.new(shape: InstanceMaintenanceOptionsRequest, location_name: "MaintenanceOptions"))
|
11571
|
+
RunInstancesRequest.add_member(:disable_api_stop, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableApiStop"))
|
11547
11572
|
RunInstancesRequest.struct_class = Types::RunInstancesRequest
|
11548
11573
|
|
11549
11574
|
RunScheduledInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -11804,6 +11829,7 @@ module Aws::EC2
|
|
11804
11829
|
ServiceConfiguration.add_member(:manages_vpc_endpoints, Shapes::ShapeRef.new(shape: Boolean, location_name: "managesVpcEndpoints"))
|
11805
11830
|
ServiceConfiguration.add_member(:network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "networkLoadBalancerArnSet"))
|
11806
11831
|
ServiceConfiguration.add_member(:gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "gatewayLoadBalancerArnSet"))
|
11832
|
+
ServiceConfiguration.add_member(:supported_ip_address_types, Shapes::ShapeRef.new(shape: SupportedIpAddressTypes, location_name: "supportedIpAddressTypeSet"))
|
11807
11833
|
ServiceConfiguration.add_member(:base_endpoint_dns_names, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "baseEndpointDnsNameSet"))
|
11808
11834
|
ServiceConfiguration.add_member(:private_dns_name, Shapes::ShapeRef.new(shape: String, location_name: "privateDnsName"))
|
11809
11835
|
ServiceConfiguration.add_member(:private_dns_name_configuration, Shapes::ShapeRef.new(shape: PrivateDnsNameConfiguration, location_name: "privateDnsNameConfiguration"))
|
@@ -11827,6 +11853,7 @@ module Aws::EC2
|
|
11827
11853
|
ServiceDetail.add_member(:payer_responsibility, Shapes::ShapeRef.new(shape: PayerResponsibility, location_name: "payerResponsibility"))
|
11828
11854
|
ServiceDetail.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
11829
11855
|
ServiceDetail.add_member(:private_dns_name_verification_state, Shapes::ShapeRef.new(shape: DnsNameState, location_name: "privateDnsNameVerificationState"))
|
11856
|
+
ServiceDetail.add_member(:supported_ip_address_types, Shapes::ShapeRef.new(shape: SupportedIpAddressTypes, location_name: "supportedIpAddressTypeSet"))
|
11830
11857
|
ServiceDetail.struct_class = Types::ServiceDetail
|
11831
11858
|
|
11832
11859
|
ServiceDetailSet.member = Shapes::ShapeRef.new(shape: ServiceDetail, location_name: "item")
|
@@ -12256,6 +12283,8 @@ module Aws::EC2
|
|
12256
12283
|
|
12257
12284
|
SuccessfulQueuedPurchaseDeletionSet.member = Shapes::ShapeRef.new(shape: SuccessfulQueuedPurchaseDeletion, location_name: "item")
|
12258
12285
|
|
12286
|
+
SupportedIpAddressTypes.member = Shapes::ShapeRef.new(shape: ServiceConnectivityType, location_name: "item")
|
12287
|
+
|
12259
12288
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
|
12260
12289
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
12261
12290
|
Tag.struct_class = Types::Tag
|
@@ -12433,6 +12462,7 @@ module Aws::EC2
|
|
12433
12462
|
TrafficMirrorTarget.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
12434
12463
|
TrafficMirrorTarget.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
12435
12464
|
TrafficMirrorTarget.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
12465
|
+
TrafficMirrorTarget.add_member(:gateway_load_balancer_endpoint_id, Shapes::ShapeRef.new(shape: String, location_name: "gatewayLoadBalancerEndpointId"))
|
12436
12466
|
TrafficMirrorTarget.struct_class = Types::TrafficMirrorTarget
|
12437
12467
|
|
12438
12468
|
TrafficMirrorTargetIdList.member = Shapes::ShapeRef.new(shape: TrafficMirrorTargetId, location_name: "item")
|
@@ -13052,6 +13082,8 @@ module Aws::EC2
|
|
13052
13082
|
VpcEndpoint.add_member(:route_table_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "routeTableIdSet"))
|
13053
13083
|
VpcEndpoint.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "subnetIdSet"))
|
13054
13084
|
VpcEndpoint.add_member(:groups, Shapes::ShapeRef.new(shape: GroupIdentifierSet, location_name: "groupSet"))
|
13085
|
+
VpcEndpoint.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
13086
|
+
VpcEndpoint.add_member(:dns_options, Shapes::ShapeRef.new(shape: DnsOptions, location_name: "dnsOptions"))
|
13055
13087
|
VpcEndpoint.add_member(:private_dns_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "privateDnsEnabled"))
|
13056
13088
|
VpcEndpoint.add_member(:requester_managed, Shapes::ShapeRef.new(shape: Boolean, location_name: "requesterManaged"))
|
13057
13089
|
VpcEndpoint.add_member(:network_interface_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "networkInterfaceIdSet"))
|
@@ -13070,6 +13102,7 @@ module Aws::EC2
|
|
13070
13102
|
VpcEndpointConnection.add_member(:dns_entries, Shapes::ShapeRef.new(shape: DnsEntrySet, location_name: "dnsEntrySet"))
|
13071
13103
|
VpcEndpointConnection.add_member(:network_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "networkLoadBalancerArnSet"))
|
13072
13104
|
VpcEndpointConnection.add_member(:gateway_load_balancer_arns, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "gatewayLoadBalancerArnSet"))
|
13105
|
+
VpcEndpointConnection.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
13073
13106
|
VpcEndpointConnection.struct_class = Types::VpcEndpointConnection
|
13074
13107
|
|
13075
13108
|
VpcEndpointConnectionSet.member = Shapes::ShapeRef.new(shape: VpcEndpointConnection, location_name: "item")
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -884,7 +884,7 @@ module Aws::EC2
|
|
884
884
|
# @example Request syntax with placeholder values
|
885
885
|
#
|
886
886
|
# instance.describe_attribute({
|
887
|
-
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
887
|
+
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions, disableApiStop
|
888
888
|
# dry_run: false,
|
889
889
|
# })
|
890
890
|
# @param [Hash] options ({})
|
@@ -965,7 +965,7 @@ module Aws::EC2
|
|
965
965
|
# source_dest_check: {
|
966
966
|
# value: false,
|
967
967
|
# },
|
968
|
-
# attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
968
|
+
# attribute: "instanceType", # accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions, disableApiStop
|
969
969
|
# block_device_mappings: [
|
970
970
|
# {
|
971
971
|
# device_name: "String",
|
@@ -997,6 +997,9 @@ module Aws::EC2
|
|
997
997
|
# value: "data",
|
998
998
|
# },
|
999
999
|
# value: "String",
|
1000
|
+
# disable_api_stop: {
|
1001
|
+
# value: false,
|
1002
|
+
# },
|
1000
1003
|
# })
|
1001
1004
|
# @param [Hash] options ({})
|
1002
1005
|
# @option options [Types::AttributeBooleanValue] :source_dest_check
|
@@ -1094,6 +1097,15 @@ module Aws::EC2
|
|
1094
1097
|
# A new value for the attribute. Use only with the `kernel`, `ramdisk`,
|
1095
1098
|
# `userData`, `disableApiTermination`, or
|
1096
1099
|
# `instanceInitiatedShutdownBehavior` attribute.
|
1100
|
+
# @option options [Types::AttributeBooleanValue] :disable_api_stop
|
1101
|
+
# Indicates whether an instance is enabled for stop protection. For more
|
1102
|
+
# information, see [Stop Protection][1].
|
1103
|
+
#
|
1104
|
+
#
|
1105
|
+
#
|
1106
|
+
#
|
1107
|
+
#
|
1108
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
|
1097
1109
|
# @return [EmptyStructure]
|
1098
1110
|
def modify_attribute(options = {})
|
1099
1111
|
options = options.merge(instance_id: @id)
|
@@ -1216,7 +1228,7 @@ module Aws::EC2
|
|
1216
1228
|
# @example Request syntax with placeholder values
|
1217
1229
|
#
|
1218
1230
|
# instance.reset_attribute({
|
1219
|
-
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions
|
1231
|
+
# attribute: "instanceType", # required, accepts instanceType, kernel, ramdisk, userData, disableApiTermination, instanceInitiatedShutdownBehavior, rootDeviceName, blockDeviceMapping, productCodes, sourceDestCheck, groupSet, ebsOptimized, sriovNetSupport, enaSupport, enclaveOptions, disableApiStop
|
1220
1232
|
# dry_run: false,
|
1221
1233
|
# })
|
1222
1234
|
# @param [Hash] options ({})
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -256,6 +256,7 @@ module Aws::EC2
|
|
256
256
|
# maintenance_options: {
|
257
257
|
# auto_recovery: "disabled", # accepts disabled, default
|
258
258
|
# },
|
259
|
+
# disable_api_stop: false,
|
259
260
|
# })
|
260
261
|
# @param [Hash] options ({})
|
261
262
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
@@ -566,6 +567,13 @@ module Aws::EC2
|
|
566
567
|
# inherited from the subnet.
|
567
568
|
# @option options [Types::InstanceMaintenanceOptionsRequest] :maintenance_options
|
568
569
|
# The maintenance and recovery options for the instance.
|
570
|
+
# @option options [Boolean] :disable_api_stop
|
571
|
+
# Indicates whether an instance is enabled for stop protection. For more
|
572
|
+
# information, see [Stop Protection][1].
|
573
|
+
#
|
574
|
+
#
|
575
|
+
#
|
576
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
|
569
577
|
# @return [Instance::Collection]
|
570
578
|
def create_instances(options = {})
|
571
579
|
batch = []
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -480,6 +480,7 @@ module Aws::EC2
|
|
480
480
|
# maintenance_options: {
|
481
481
|
# auto_recovery: "disabled", # accepts disabled, default
|
482
482
|
# },
|
483
|
+
# disable_api_stop: false,
|
483
484
|
# })
|
484
485
|
# @param [Hash] options ({})
|
485
486
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
@@ -785,6 +786,13 @@ module Aws::EC2
|
|
785
786
|
# inherited from the subnet.
|
786
787
|
# @option options [Types::InstanceMaintenanceOptionsRequest] :maintenance_options
|
787
788
|
# The maintenance and recovery options for the instance.
|
789
|
+
# @option options [Boolean] :disable_api_stop
|
790
|
+
# Indicates whether an instance is enabled for stop protection. For more
|
791
|
+
# information, see [Stop Protection][1].
|
792
|
+
#
|
793
|
+
#
|
794
|
+
#
|
795
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection
|
788
796
|
# @return [Instance::Collection]
|
789
797
|
def create_instances(options = {})
|
790
798
|
batch = []
|