aws-sdk-ec2 1.172.0 → 1.177.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/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +221 -47
- data/lib/aws-sdk-ec2/client_api.rb +21 -4
- data/lib/aws-sdk-ec2/resource.rb +101 -12
- data/lib/aws-sdk-ec2/subnet.rb +13 -0
- data/lib/aws-sdk-ec2/types.rb +287 -76
- data/lib/aws-sdk-ec2/vpc.rb +39 -2
- metadata +2 -2
@@ -224,6 +224,7 @@ module Aws::EC2
|
|
224
224
|
ConnectionLogResponseOptions = Shapes::StructureShape.new(name: 'ConnectionLogResponseOptions')
|
225
225
|
ConnectionNotification = Shapes::StructureShape.new(name: 'ConnectionNotification')
|
226
226
|
ConnectionNotificationId = Shapes::StringShape.new(name: 'ConnectionNotificationId')
|
227
|
+
ConnectionNotificationIdsList = Shapes::ListShape.new(name: 'ConnectionNotificationIdsList')
|
227
228
|
ConnectionNotificationSet = Shapes::ListShape.new(name: 'ConnectionNotificationSet')
|
228
229
|
ConnectionNotificationState = Shapes::StringShape.new(name: 'ConnectionNotificationState')
|
229
230
|
ConnectionNotificationType = Shapes::StringShape.new(name: 'ConnectionNotificationType')
|
@@ -1534,6 +1535,7 @@ module Aws::EC2
|
|
1534
1535
|
ProvisionByoipCidrRequest = Shapes::StructureShape.new(name: 'ProvisionByoipCidrRequest')
|
1535
1536
|
ProvisionByoipCidrResult = Shapes::StructureShape.new(name: 'ProvisionByoipCidrResult')
|
1536
1537
|
ProvisionedBandwidth = Shapes::StructureShape.new(name: 'ProvisionedBandwidth')
|
1538
|
+
PublicIpAddress = Shapes::StringShape.new(name: 'PublicIpAddress')
|
1537
1539
|
PublicIpStringList = Shapes::ListShape.new(name: 'PublicIpStringList')
|
1538
1540
|
PublicIpv4Pool = Shapes::StructureShape.new(name: 'PublicIpv4Pool')
|
1539
1541
|
PublicIpv4PoolIdStringList = Shapes::ListShape.new(name: 'PublicIpv4PoolIdStringList')
|
@@ -2148,7 +2150,7 @@ module Aws::EC2
|
|
2148
2150
|
AdvertiseByoipCidrResult.struct_class = Types::AdvertiseByoipCidrResult
|
2149
2151
|
|
2150
2152
|
AllocateAddressRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainType, location_name: "Domain"))
|
2151
|
-
AllocateAddressRequest.add_member(:address, Shapes::ShapeRef.new(shape:
|
2153
|
+
AllocateAddressRequest.add_member(:address, Shapes::ShapeRef.new(shape: PublicIpAddress, location_name: "Address"))
|
2152
2154
|
AllocateAddressRequest.add_member(:public_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "PublicIpv4Pool"))
|
2153
2155
|
AllocateAddressRequest.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "NetworkBorderGroup"))
|
2154
2156
|
AllocateAddressRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "CustomerOwnedIpv4Pool"))
|
@@ -2410,6 +2412,9 @@ module Aws::EC2
|
|
2410
2412
|
AvailabilityZone.add_member(:zone_id, Shapes::ShapeRef.new(shape: String, location_name: "zoneId"))
|
2411
2413
|
AvailabilityZone.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
|
2412
2414
|
AvailabilityZone.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "networkBorderGroup"))
|
2415
|
+
AvailabilityZone.add_member(:zone_type, Shapes::ShapeRef.new(shape: String, location_name: "zoneType"))
|
2416
|
+
AvailabilityZone.add_member(:parent_zone_name, Shapes::ShapeRef.new(shape: String, location_name: "parentZoneName"))
|
2417
|
+
AvailabilityZone.add_member(:parent_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "parentZoneId"))
|
2413
2418
|
AvailabilityZone.struct_class = Types::AvailabilityZone
|
2414
2419
|
|
2415
2420
|
AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "item")
|
@@ -2775,6 +2780,8 @@ module Aws::EC2
|
|
2775
2780
|
ConnectionNotification.add_member(:connection_notification_state, Shapes::ShapeRef.new(shape: ConnectionNotificationState, location_name: "connectionNotificationState"))
|
2776
2781
|
ConnectionNotification.struct_class = Types::ConnectionNotification
|
2777
2782
|
|
2783
|
+
ConnectionNotificationIdsList.member = Shapes::ShapeRef.new(shape: ConnectionNotificationId, location_name: "item")
|
2784
|
+
|
2778
2785
|
ConnectionNotificationSet.member = Shapes::ShapeRef.new(shape: ConnectionNotification, location_name: "item")
|
2779
2786
|
|
2780
2787
|
ConversionIdStringList.member = Shapes::ShapeRef.new(shape: ConversionTaskId, location_name: "item")
|
@@ -2789,7 +2796,7 @@ module Aws::EC2
|
|
2789
2796
|
ConversionTask.struct_class = Types::ConversionTask
|
2790
2797
|
|
2791
2798
|
CopyFpgaImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
2792
|
-
CopyFpgaImageRequest.add_member(:source_fpga_image_id, Shapes::ShapeRef.new(shape:
|
2799
|
+
CopyFpgaImageRequest.add_member(:source_fpga_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceFpgaImageId"))
|
2793
2800
|
CopyFpgaImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
2794
2801
|
CopyFpgaImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
2795
2802
|
CopyFpgaImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
|
@@ -2913,6 +2920,7 @@ module Aws::EC2
|
|
2913
2920
|
CreateDefaultVpcResult.struct_class = Types::CreateDefaultVpcResult
|
2914
2921
|
|
2915
2922
|
CreateDhcpOptionsRequest.add_member(:dhcp_configurations, Shapes::ShapeRef.new(shape: NewDhcpConfigurationList, required: true, location_name: "dhcpConfiguration"))
|
2923
|
+
CreateDhcpOptionsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2916
2924
|
CreateDhcpOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2917
2925
|
CreateDhcpOptionsRequest.struct_class = Types::CreateDhcpOptionsRequest
|
2918
2926
|
|
@@ -2922,6 +2930,7 @@ module Aws::EC2
|
|
2922
2930
|
CreateEgressOnlyInternetGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
2923
2931
|
CreateEgressOnlyInternetGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
2924
2932
|
CreateEgressOnlyInternetGatewayRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
2933
|
+
CreateEgressOnlyInternetGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2925
2934
|
CreateEgressOnlyInternetGatewayRequest.struct_class = Types::CreateEgressOnlyInternetGatewayRequest
|
2926
2935
|
|
2927
2936
|
CreateEgressOnlyInternetGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -3018,6 +3027,7 @@ module Aws::EC2
|
|
3018
3027
|
CreateInstanceExportTaskResult.add_member(:export_task, Shapes::ShapeRef.new(shape: ExportTask, location_name: "exportTask"))
|
3019
3028
|
CreateInstanceExportTaskResult.struct_class = Types::CreateInstanceExportTaskResult
|
3020
3029
|
|
3030
|
+
CreateInternetGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3021
3031
|
CreateInternetGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3022
3032
|
CreateInternetGatewayRequest.struct_class = Types::CreateInternetGatewayRequest
|
3023
3033
|
|
@@ -3109,6 +3119,7 @@ module Aws::EC2
|
|
3109
3119
|
|
3110
3120
|
CreateNetworkAclRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3111
3121
|
CreateNetworkAclRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
3122
|
+
CreateNetworkAclRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3112
3123
|
CreateNetworkAclRequest.struct_class = Types::CreateNetworkAclRequest
|
3113
3124
|
|
3114
3125
|
CreateNetworkAclResult.add_member(:network_acl, Shapes::ShapeRef.new(shape: NetworkAcl, location_name: "networkAcl"))
|
@@ -3134,6 +3145,7 @@ module Aws::EC2
|
|
3134
3145
|
CreateNetworkInterfaceRequest.add_member(:secondary_private_ip_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "secondaryPrivateIpAddressCount"))
|
3135
3146
|
CreateNetworkInterfaceRequest.add_member(:interface_type, Shapes::ShapeRef.new(shape: NetworkInterfaceCreationType, location_name: "InterfaceType"))
|
3136
3147
|
CreateNetworkInterfaceRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
3148
|
+
CreateNetworkInterfaceRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3137
3149
|
CreateNetworkInterfaceRequest.struct_class = Types::CreateNetworkInterfaceRequest
|
3138
3150
|
|
3139
3151
|
CreateNetworkInterfaceResult.add_member(:network_interface, Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "networkInterface"))
|
@@ -3186,10 +3198,12 @@ module Aws::EC2
|
|
3186
3198
|
CreateSecurityGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupDescription"))
|
3187
3199
|
CreateSecurityGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupName"))
|
3188
3200
|
CreateSecurityGroupRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
3201
|
+
CreateSecurityGroupRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3189
3202
|
CreateSecurityGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3190
3203
|
CreateSecurityGroupRequest.struct_class = Types::CreateSecurityGroupRequest
|
3191
3204
|
|
3192
3205
|
CreateSecurityGroupResult.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
|
3206
|
+
CreateSecurityGroupResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
3193
3207
|
CreateSecurityGroupResult.struct_class = Types::CreateSecurityGroupResult
|
3194
3208
|
|
3195
3209
|
CreateSnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
@@ -3216,6 +3230,7 @@ module Aws::EC2
|
|
3216
3230
|
CreateSpotDatafeedSubscriptionResult.add_member(:spot_datafeed_subscription, Shapes::ShapeRef.new(shape: SpotDatafeedSubscription, location_name: "spotDatafeedSubscription"))
|
3217
3231
|
CreateSpotDatafeedSubscriptionResult.struct_class = Types::CreateSpotDatafeedSubscriptionResult
|
3218
3232
|
|
3233
|
+
CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3219
3234
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
3220
3235
|
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
3221
3236
|
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
@@ -3431,6 +3446,7 @@ module Aws::EC2
|
|
3431
3446
|
CreateVpcRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3432
3447
|
CreateVpcRequest.add_member(:instance_tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "instanceTenancy"))
|
3433
3448
|
CreateVpcRequest.add_member(:ipv_6_cidr_block_network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlockNetworkBorderGroup"))
|
3449
|
+
CreateVpcRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3434
3450
|
CreateVpcRequest.struct_class = Types::CreateVpcRequest
|
3435
3451
|
|
3436
3452
|
CreateVpcResult.add_member(:vpc, Shapes::ShapeRef.new(shape: Vpc, location_name: "vpc"))
|
@@ -3770,7 +3786,7 @@ module Aws::EC2
|
|
3770
3786
|
DeleteVolumeRequest.struct_class = Types::DeleteVolumeRequest
|
3771
3787
|
|
3772
3788
|
DeleteVpcEndpointConnectionNotificationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3773
|
-
DeleteVpcEndpointConnectionNotificationsRequest.add_member(:connection_notification_ids, Shapes::ShapeRef.new(shape:
|
3789
|
+
DeleteVpcEndpointConnectionNotificationsRequest.add_member(:connection_notification_ids, Shapes::ShapeRef.new(shape: ConnectionNotificationIdsList, required: true, location_name: "ConnectionNotificationId"))
|
3774
3790
|
DeleteVpcEndpointConnectionNotificationsRequest.struct_class = Types::DeleteVpcEndpointConnectionNotificationsRequest
|
3775
3791
|
|
3776
3792
|
DeleteVpcEndpointConnectionNotificationsResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: UnsuccessfulItemSet, location_name: "unsuccessful"))
|
@@ -6406,7 +6422,7 @@ module Aws::EC2
|
|
6406
6422
|
InstanceFamilyCreditSpecification.add_member(:cpu_credits, Shapes::ShapeRef.new(shape: String, location_name: "cpuCredits"))
|
6407
6423
|
InstanceFamilyCreditSpecification.struct_class = Types::InstanceFamilyCreditSpecification
|
6408
6424
|
|
6409
|
-
InstanceIdSet.member = Shapes::ShapeRef.new(shape:
|
6425
|
+
InstanceIdSet.member = Shapes::ShapeRef.new(shape: InstanceId, location_name: "item")
|
6410
6426
|
|
6411
6427
|
InstanceIdStringList.member = Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId")
|
6412
6428
|
|
@@ -8244,6 +8260,7 @@ module Aws::EC2
|
|
8244
8260
|
RequestSpotInstancesRequest.add_member(:type, Shapes::ShapeRef.new(shape: SpotInstanceType, location_name: "type"))
|
8245
8261
|
RequestSpotInstancesRequest.add_member(:valid_from, Shapes::ShapeRef.new(shape: DateTime, location_name: "validFrom"))
|
8246
8262
|
RequestSpotInstancesRequest.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "validUntil"))
|
8263
|
+
RequestSpotInstancesRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
8247
8264
|
RequestSpotInstancesRequest.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "InstanceInterruptionBehavior"))
|
8248
8265
|
RequestSpotInstancesRequest.struct_class = Types::RequestSpotInstancesRequest
|
8249
8266
|
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -44,11 +44,24 @@ module Aws::EC2
|
|
44
44
|
# values: ["String"],
|
45
45
|
# },
|
46
46
|
# ],
|
47
|
+
# tag_specifications: [
|
48
|
+
# {
|
49
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
50
|
+
# tags: [
|
51
|
+
# {
|
52
|
+
# key: "String",
|
53
|
+
# value: "String",
|
54
|
+
# },
|
55
|
+
# ],
|
56
|
+
# },
|
57
|
+
# ],
|
47
58
|
# dry_run: false,
|
48
59
|
# })
|
49
60
|
# @param [Hash] options ({})
|
50
61
|
# @option options [required, Array<Types::NewDhcpConfiguration>] :dhcp_configurations
|
51
62
|
# A DHCP configuration option.
|
63
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
64
|
+
# The tags to assign to the DHCP option.
|
52
65
|
# @option options [Boolean] :dry_run
|
53
66
|
# Checks whether you have the required permissions for the action,
|
54
67
|
# without actually making the request, and provides an error response.
|
@@ -514,9 +527,22 @@ module Aws::EC2
|
|
514
527
|
# @example Request syntax with placeholder values
|
515
528
|
#
|
516
529
|
# internetgateway = ec2.create_internet_gateway({
|
530
|
+
# tag_specifications: [
|
531
|
+
# {
|
532
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
533
|
+
# tags: [
|
534
|
+
# {
|
535
|
+
# key: "String",
|
536
|
+
# value: "String",
|
537
|
+
# },
|
538
|
+
# ],
|
539
|
+
# },
|
540
|
+
# ],
|
517
541
|
# dry_run: false,
|
518
542
|
# })
|
519
543
|
# @param [Hash] options ({})
|
544
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
545
|
+
# The tags to assign to the internet gateway.
|
520
546
|
# @option options [Boolean] :dry_run
|
521
547
|
# Checks whether you have the required permissions for the action,
|
522
548
|
# without actually making the request, and provides an error response.
|
@@ -629,6 +655,17 @@ module Aws::EC2
|
|
629
655
|
# networkacl = ec2.create_network_acl({
|
630
656
|
# dry_run: false,
|
631
657
|
# vpc_id: "VpcId", # required
|
658
|
+
# tag_specifications: [
|
659
|
+
# {
|
660
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
661
|
+
# tags: [
|
662
|
+
# {
|
663
|
+
# key: "String",
|
664
|
+
# value: "String",
|
665
|
+
# },
|
666
|
+
# ],
|
667
|
+
# },
|
668
|
+
# ],
|
632
669
|
# })
|
633
670
|
# @param [Hash] options ({})
|
634
671
|
# @option options [Boolean] :dry_run
|
@@ -638,6 +675,8 @@ module Aws::EC2
|
|
638
675
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
639
676
|
# @option options [required, String] :vpc_id
|
640
677
|
# The ID of the VPC.
|
678
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
679
|
+
# The tags to assign to the network ACL.
|
641
680
|
# @return [NetworkAcl]
|
642
681
|
def create_network_acl(options = {})
|
643
682
|
resp = @client.create_network_acl(options)
|
@@ -670,6 +709,17 @@ module Aws::EC2
|
|
670
709
|
# secondary_private_ip_address_count: 1,
|
671
710
|
# interface_type: "efa", # accepts efa
|
672
711
|
# subnet_id: "SubnetId", # required
|
712
|
+
# tag_specifications: [
|
713
|
+
# {
|
714
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
715
|
+
# tags: [
|
716
|
+
# {
|
717
|
+
# key: "String",
|
718
|
+
# value: "String",
|
719
|
+
# },
|
720
|
+
# ],
|
721
|
+
# },
|
722
|
+
# ],
|
673
723
|
# })
|
674
724
|
# @param [Hash] options ({})
|
675
725
|
# @option options [String] :description
|
@@ -724,6 +774,8 @@ module Aws::EC2
|
|
724
774
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
725
775
|
# @option options [required, String] :subnet_id
|
726
776
|
# The ID of the subnet to associate with the network interface.
|
777
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
778
|
+
# The tags to apply to the new network interface.
|
727
779
|
# @return [NetworkInterface]
|
728
780
|
def create_network_interface(options = {})
|
729
781
|
resp = @client.create_network_interface(options)
|
@@ -810,6 +862,17 @@ module Aws::EC2
|
|
810
862
|
# description: "String", # required
|
811
863
|
# group_name: "String", # required
|
812
864
|
# vpc_id: "VpcId",
|
865
|
+
# tag_specifications: [
|
866
|
+
# {
|
867
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
868
|
+
# tags: [
|
869
|
+
# {
|
870
|
+
# key: "String",
|
871
|
+
# value: "String",
|
872
|
+
# },
|
873
|
+
# ],
|
874
|
+
# },
|
875
|
+
# ],
|
813
876
|
# dry_run: false,
|
814
877
|
# })
|
815
878
|
# @param [Hash] options ({})
|
@@ -833,6 +896,8 @@ module Aws::EC2
|
|
833
896
|
# .\_-:/()#,@\[\]+=&;\\\{\\}!$*
|
834
897
|
# @option options [String] :vpc_id
|
835
898
|
# \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
|
899
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
900
|
+
# The tags to assign to the security group.
|
836
901
|
# @option options [Boolean] :dry_run
|
837
902
|
# Checks whether you have the required permissions for the action,
|
838
903
|
# without actually making the request, and provides an error response.
|
@@ -890,6 +955,17 @@ module Aws::EC2
|
|
890
955
|
# @example Request syntax with placeholder values
|
891
956
|
#
|
892
957
|
# subnet = ec2.create_subnet({
|
958
|
+
# tag_specifications: [
|
959
|
+
# {
|
960
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
961
|
+
# tags: [
|
962
|
+
# {
|
963
|
+
# key: "String",
|
964
|
+
# value: "String",
|
965
|
+
# },
|
966
|
+
# ],
|
967
|
+
# },
|
968
|
+
# ],
|
893
969
|
# availability_zone: "String",
|
894
970
|
# availability_zone_id: "String",
|
895
971
|
# cidr_block: "String", # required
|
@@ -899,6 +975,8 @@ module Aws::EC2
|
|
899
975
|
# dry_run: false,
|
900
976
|
# })
|
901
977
|
# @param [Hash] options ({})
|
978
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
979
|
+
# The tags to assign to the subnet.
|
902
980
|
# @option options [String] :availability_zone
|
903
981
|
# The Availability Zone or Local Zone for the subnet.
|
904
982
|
#
|
@@ -1159,6 +1237,17 @@ module Aws::EC2
|
|
1159
1237
|
# dry_run: false,
|
1160
1238
|
# instance_tenancy: "default", # accepts default, dedicated, host
|
1161
1239
|
# ipv_6_cidr_block_network_border_group: "String",
|
1240
|
+
# tag_specifications: [
|
1241
|
+
# {
|
1242
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1243
|
+
# tags: [
|
1244
|
+
# {
|
1245
|
+
# key: "String",
|
1246
|
+
# value: "String",
|
1247
|
+
# },
|
1248
|
+
# ],
|
1249
|
+
# },
|
1250
|
+
# ],
|
1162
1251
|
# })
|
1163
1252
|
# @param [Hash] options ({})
|
1164
1253
|
# @option options [required, String] :cidr_block
|
@@ -1201,6 +1290,8 @@ module Aws::EC2
|
|
1201
1290
|
#
|
1202
1291
|
# You must set `AmazonProvidedIpv6CidrBlock` to `true` to use this
|
1203
1292
|
# parameter.
|
1293
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
1294
|
+
# The tags to assign to the VPC.
|
1204
1295
|
# @return [Vpc]
|
1205
1296
|
def create_vpc(options = {})
|
1206
1297
|
resp = @client.create_vpc(options)
|
@@ -1639,12 +1730,13 @@ module Aws::EC2
|
|
1639
1730
|
#
|
1640
1731
|
# * `name` - The name of the AMI (provided during image creation).
|
1641
1732
|
#
|
1642
|
-
# * `owner-alias` -
|
1643
|
-
# (`amazon` \| `aws-marketplace`
|
1644
|
-
#
|
1645
|
-
#
|
1733
|
+
# * `owner-alias` - The owner alias, from an Amazon-maintained list
|
1734
|
+
# (`amazon` \| `aws-marketplace`). This is not the user-configured AWS
|
1735
|
+
# account alias set using the IAM console. We recommend that you use
|
1736
|
+
# the related parameter instead of this filter.
|
1646
1737
|
#
|
1647
|
-
# * `owner-id` - The AWS account ID of the
|
1738
|
+
# * `owner-id` - The AWS account ID of the owner. We recommend that you
|
1739
|
+
# use the related parameter instead of this filter.
|
1648
1740
|
#
|
1649
1741
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
1650
1742
|
# `windows`.
|
@@ -1689,11 +1781,10 @@ module Aws::EC2
|
|
1689
1781
|
#
|
1690
1782
|
# Default: Describes all images available to you.
|
1691
1783
|
# @option options [Array<String>] :owners
|
1692
|
-
#
|
1693
|
-
#
|
1694
|
-
#
|
1695
|
-
#
|
1696
|
-
# regardless of ownership.
|
1784
|
+
# Scopes the results to images with the specified owners. You can
|
1785
|
+
# specify a combination of AWS account IDs, `self`, `amazon`, and
|
1786
|
+
# `aws-marketplace`. If you omit this parameter, the results include all
|
1787
|
+
# images for which you have launch permissions, regardless of ownership.
|
1697
1788
|
# @option options [Boolean] :dry_run
|
1698
1789
|
# Checks whether you have the required permissions for the action,
|
1699
1790
|
# without actually making the request, and provides an error response.
|
@@ -2686,8 +2777,6 @@ module Aws::EC2
|
|
2686
2777
|
# filter to find all resources assigned a tag with a specific key,
|
2687
2778
|
# regardless of the tag value.
|
2688
2779
|
#
|
2689
|
-
# * `transit-gateway-id` - The ID of a transit gateway.
|
2690
|
-
#
|
2691
2780
|
# * `vpc-id` - The ID of the VPC for the route table.
|
2692
2781
|
# @option options [Boolean] :dry_run
|
2693
2782
|
# Checks whether you have the required permissions for the action,
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -735,6 +735,17 @@ module Aws::EC2
|
|
735
735
|
# ],
|
736
736
|
# secondary_private_ip_address_count: 1,
|
737
737
|
# interface_type: "efa", # accepts efa
|
738
|
+
# tag_specifications: [
|
739
|
+
# {
|
740
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
741
|
+
# tags: [
|
742
|
+
# {
|
743
|
+
# key: "String",
|
744
|
+
# value: "String",
|
745
|
+
# },
|
746
|
+
# ],
|
747
|
+
# },
|
748
|
+
# ],
|
738
749
|
# })
|
739
750
|
# @param [Hash] options ({})
|
740
751
|
# @option options [String] :description
|
@@ -787,6 +798,8 @@ module Aws::EC2
|
|
787
798
|
#
|
788
799
|
#
|
789
800
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
801
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
802
|
+
# The tags to apply to the new network interface.
|
790
803
|
# @return [NetworkInterface]
|
791
804
|
def create_network_interface(options = {})
|
792
805
|
options = options.merge(subnet_id: @id)
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -453,7 +453,7 @@ module Aws::EC2
|
|
453
453
|
#
|
454
454
|
# {
|
455
455
|
# domain: "vpc", # accepts vpc, standard
|
456
|
-
# address: "
|
456
|
+
# address: "PublicIpAddress",
|
457
457
|
# public_ipv_4_pool: "String",
|
458
458
|
# network_border_group: "String",
|
459
459
|
# customer_owned_ipv_4_pool: "String",
|
@@ -461,10 +461,11 @@ module Aws::EC2
|
|
461
461
|
# }
|
462
462
|
#
|
463
463
|
# @!attribute [rw] domain
|
464
|
-
#
|
465
|
-
# VPC.
|
464
|
+
# Indicates whether the Elastic IP address is for use with instances
|
465
|
+
# in a VPC or instances in EC2-Classic.
|
466
466
|
#
|
467
|
-
# Default:
|
467
|
+
# Default: If the Region supports EC2-Classic, the default is
|
468
|
+
# `standard`. Otherwise, the default is `vpc`.
|
468
469
|
# @return [String]
|
469
470
|
#
|
470
471
|
# @!attribute [rw] address
|
@@ -548,8 +549,8 @@ module Aws::EC2
|
|
548
549
|
# @return [String]
|
549
550
|
#
|
550
551
|
# @!attribute [rw] domain
|
551
|
-
# Indicates whether
|
552
|
-
# in
|
552
|
+
# Indicates whether the Elastic IP address is for use with instances
|
553
|
+
# in a VPC (`vpc`) or instances in EC2-Classic (`standard`).
|
553
554
|
# @return [String]
|
554
555
|
#
|
555
556
|
# @!attribute [rw] customer_owned_ip
|
@@ -1806,13 +1807,15 @@ module Aws::EC2
|
|
1806
1807
|
#
|
1807
1808
|
# @!attribute [rw] access_group_id
|
1808
1809
|
# The ID of the group to grant access to, for example, the Active
|
1809
|
-
# Directory group or identity provider (IdP) group.
|
1810
|
+
# Directory group or identity provider (IdP) group. Required if
|
1811
|
+
# `AuthorizeAllGroups` is `false` or not specified.
|
1810
1812
|
# @return [String]
|
1811
1813
|
#
|
1812
1814
|
# @!attribute [rw] authorize_all_groups
|
1813
|
-
# Indicates whether to grant access to all clients.
|
1815
|
+
# Indicates whether to grant access to all clients. Specify `true` to
|
1814
1816
|
# grant all clients who successfully establish a VPN connection access
|
1815
|
-
# to the network.
|
1817
|
+
# to the network. Must be set to `true` if `AccessGroupId` is not
|
1818
|
+
# specified.
|
1816
1819
|
# @return [Boolean]
|
1817
1820
|
#
|
1818
1821
|
# @!attribute [rw] description
|
@@ -2130,10 +2133,10 @@ module Aws::EC2
|
|
2130
2133
|
include Aws::Structure
|
2131
2134
|
end
|
2132
2135
|
|
2133
|
-
# Describes
|
2136
|
+
# Describes a Zone.
|
2134
2137
|
#
|
2135
2138
|
# @!attribute [rw] state
|
2136
|
-
# The state of the
|
2139
|
+
# The state of the Zone.
|
2137
2140
|
# @return [String]
|
2138
2141
|
#
|
2139
2142
|
# @!attribute [rw] opt_in_status
|
@@ -2145,7 +2148,7 @@ module Aws::EC2
|
|
2145
2148
|
# @return [String]
|
2146
2149
|
#
|
2147
2150
|
# @!attribute [rw] messages
|
2148
|
-
# Any messages about the
|
2151
|
+
# Any messages about the Zone.
|
2149
2152
|
# @return [Array<Types::AvailabilityZoneMessage>]
|
2150
2153
|
#
|
2151
2154
|
# @!attribute [rw] region_name
|
@@ -2153,11 +2156,11 @@ module Aws::EC2
|
|
2153
2156
|
# @return [String]
|
2154
2157
|
#
|
2155
2158
|
# @!attribute [rw] zone_name
|
2156
|
-
# The name of the
|
2159
|
+
# The name of the Zone.
|
2157
2160
|
# @return [String]
|
2158
2161
|
#
|
2159
2162
|
# @!attribute [rw] zone_id
|
2160
|
-
# The ID of the
|
2163
|
+
# The ID of the Zone.
|
2161
2164
|
# @return [String]
|
2162
2165
|
#
|
2163
2166
|
# @!attribute [rw] group_name
|
@@ -2172,6 +2175,21 @@ module Aws::EC2
|
|
2172
2175
|
# The name of the location from which the address is advertised.
|
2173
2176
|
# @return [String]
|
2174
2177
|
#
|
2178
|
+
# @!attribute [rw] zone_type
|
2179
|
+
# The type of zone. The valid values are `availability-zone` and
|
2180
|
+
# `local-zone`.
|
2181
|
+
# @return [String]
|
2182
|
+
#
|
2183
|
+
# @!attribute [rw] parent_zone_name
|
2184
|
+
# The name of the zone that handles some of the Local Zone control
|
2185
|
+
# plane operations, such as API calls.
|
2186
|
+
# @return [String]
|
2187
|
+
#
|
2188
|
+
# @!attribute [rw] parent_zone_id
|
2189
|
+
# The ID of the zone that handles some of the Local Zone control plane
|
2190
|
+
# operations, such as API calls.
|
2191
|
+
# @return [String]
|
2192
|
+
#
|
2175
2193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZone AWS API Documentation
|
2176
2194
|
#
|
2177
2195
|
class AvailabilityZone < Struct.new(
|
@@ -2182,15 +2200,18 @@ module Aws::EC2
|
|
2182
2200
|
:zone_name,
|
2183
2201
|
:zone_id,
|
2184
2202
|
:group_name,
|
2185
|
-
:network_border_group
|
2203
|
+
:network_border_group,
|
2204
|
+
:zone_type,
|
2205
|
+
:parent_zone_name,
|
2206
|
+
:parent_zone_id)
|
2186
2207
|
SENSITIVE = []
|
2187
2208
|
include Aws::Structure
|
2188
2209
|
end
|
2189
2210
|
|
2190
|
-
# Describes a message about
|
2211
|
+
# Describes a message about a Zone.
|
2191
2212
|
#
|
2192
2213
|
# @!attribute [rw] message
|
2193
|
-
# The message about the
|
2214
|
+
# The message about the Zone.
|
2194
2215
|
# @return [String]
|
2195
2216
|
#
|
2196
2217
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AvailabilityZoneMessage AWS API Documentation
|
@@ -3172,6 +3193,9 @@ module Aws::EC2
|
|
3172
3193
|
# * `none` - The instance avoids running in a Capacity Reservation
|
3173
3194
|
# even if one is available. The instance runs as an On-Demand
|
3174
3195
|
# Instance.
|
3196
|
+
#
|
3197
|
+
# When `CapacityReservationPreference` is not specified, it defaults
|
3198
|
+
# to `open`.
|
3175
3199
|
# @return [String]
|
3176
3200
|
#
|
3177
3201
|
# @!attribute [rw] capacity_reservation_target
|
@@ -4053,7 +4077,8 @@ module Aws::EC2
|
|
4053
4077
|
# @return [Boolean]
|
4054
4078
|
#
|
4055
4079
|
# @!attribute [rw] cloudwatch_log_group
|
4056
|
-
# The name of the CloudWatch Logs log group.
|
4080
|
+
# The name of the CloudWatch Logs log group. Required if connection
|
4081
|
+
# logging is enabled.
|
4057
4082
|
# @return [String]
|
4058
4083
|
#
|
4059
4084
|
# @!attribute [rw] cloudwatch_log_stream
|
@@ -4197,7 +4222,7 @@ module Aws::EC2
|
|
4197
4222
|
#
|
4198
4223
|
# {
|
4199
4224
|
# dry_run: false,
|
4200
|
-
# source_fpga_image_id: "
|
4225
|
+
# source_fpga_image_id: "String", # required
|
4201
4226
|
# description: "String",
|
4202
4227
|
# name: "String",
|
4203
4228
|
# source_region: "String", # required
|
@@ -5226,6 +5251,17 @@ module Aws::EC2
|
|
5226
5251
|
# values: ["String"],
|
5227
5252
|
# },
|
5228
5253
|
# ],
|
5254
|
+
# tag_specifications: [
|
5255
|
+
# {
|
5256
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
5257
|
+
# tags: [
|
5258
|
+
# {
|
5259
|
+
# key: "String",
|
5260
|
+
# value: "String",
|
5261
|
+
# },
|
5262
|
+
# ],
|
5263
|
+
# },
|
5264
|
+
# ],
|
5229
5265
|
# dry_run: false,
|
5230
5266
|
# }
|
5231
5267
|
#
|
@@ -5233,6 +5269,10 @@ module Aws::EC2
|
|
5233
5269
|
# A DHCP configuration option.
|
5234
5270
|
# @return [Array<Types::NewDhcpConfiguration>]
|
5235
5271
|
#
|
5272
|
+
# @!attribute [rw] tag_specifications
|
5273
|
+
# The tags to assign to the DHCP option.
|
5274
|
+
# @return [Array<Types::TagSpecification>]
|
5275
|
+
#
|
5236
5276
|
# @!attribute [rw] dry_run
|
5237
5277
|
# Checks whether you have the required permissions for the action,
|
5238
5278
|
# without actually making the request, and provides an error response.
|
@@ -5244,6 +5284,7 @@ module Aws::EC2
|
|
5244
5284
|
#
|
5245
5285
|
class CreateDhcpOptionsRequest < Struct.new(
|
5246
5286
|
:dhcp_configurations,
|
5287
|
+
:tag_specifications,
|
5247
5288
|
:dry_run)
|
5248
5289
|
SENSITIVE = []
|
5249
5290
|
include Aws::Structure
|
@@ -5268,6 +5309,17 @@ module Aws::EC2
|
|
5268
5309
|
# client_token: "String",
|
5269
5310
|
# dry_run: false,
|
5270
5311
|
# vpc_id: "VpcId", # required
|
5312
|
+
# tag_specifications: [
|
5313
|
+
# {
|
5314
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
5315
|
+
# tags: [
|
5316
|
+
# {
|
5317
|
+
# key: "String",
|
5318
|
+
# value: "String",
|
5319
|
+
# },
|
5320
|
+
# ],
|
5321
|
+
# },
|
5322
|
+
# ],
|
5271
5323
|
# }
|
5272
5324
|
#
|
5273
5325
|
# @!attribute [rw] client_token
|
@@ -5292,12 +5344,17 @@ module Aws::EC2
|
|
5292
5344
|
# gateway.
|
5293
5345
|
# @return [String]
|
5294
5346
|
#
|
5347
|
+
# @!attribute [rw] tag_specifications
|
5348
|
+
# The tags to assign to the egress-only internet gateway.
|
5349
|
+
# @return [Array<Types::TagSpecification>]
|
5350
|
+
#
|
5295
5351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGatewayRequest AWS API Documentation
|
5296
5352
|
#
|
5297
5353
|
class CreateEgressOnlyInternetGatewayRequest < Struct.new(
|
5298
5354
|
:client_token,
|
5299
5355
|
:dry_run,
|
5300
|
-
:vpc_id
|
5356
|
+
:vpc_id,
|
5357
|
+
:tag_specifications)
|
5301
5358
|
SENSITIVE = []
|
5302
5359
|
include Aws::Structure
|
5303
5360
|
end
|
@@ -6069,9 +6126,24 @@ module Aws::EC2
|
|
6069
6126
|
# data as a hash:
|
6070
6127
|
#
|
6071
6128
|
# {
|
6129
|
+
# tag_specifications: [
|
6130
|
+
# {
|
6131
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
6132
|
+
# tags: [
|
6133
|
+
# {
|
6134
|
+
# key: "String",
|
6135
|
+
# value: "String",
|
6136
|
+
# },
|
6137
|
+
# ],
|
6138
|
+
# },
|
6139
|
+
# ],
|
6072
6140
|
# dry_run: false,
|
6073
6141
|
# }
|
6074
6142
|
#
|
6143
|
+
# @!attribute [rw] tag_specifications
|
6144
|
+
# The tags to assign to the internet gateway.
|
6145
|
+
# @return [Array<Types::TagSpecification>]
|
6146
|
+
#
|
6075
6147
|
# @!attribute [rw] dry_run
|
6076
6148
|
# Checks whether you have the required permissions for the action,
|
6077
6149
|
# without actually making the request, and provides an error response.
|
@@ -6082,6 +6154,7 @@ module Aws::EC2
|
|
6082
6154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGatewayRequest AWS API Documentation
|
6083
6155
|
#
|
6084
6156
|
class CreateInternetGatewayRequest < Struct.new(
|
6157
|
+
:tag_specifications,
|
6085
6158
|
:dry_run)
|
6086
6159
|
SENSITIVE = []
|
6087
6160
|
include Aws::Structure
|
@@ -6996,6 +7069,17 @@ module Aws::EC2
|
|
6996
7069
|
# {
|
6997
7070
|
# dry_run: false,
|
6998
7071
|
# vpc_id: "VpcId", # required
|
7072
|
+
# tag_specifications: [
|
7073
|
+
# {
|
7074
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
7075
|
+
# tags: [
|
7076
|
+
# {
|
7077
|
+
# key: "String",
|
7078
|
+
# value: "String",
|
7079
|
+
# },
|
7080
|
+
# ],
|
7081
|
+
# },
|
7082
|
+
# ],
|
6999
7083
|
# }
|
7000
7084
|
#
|
7001
7085
|
# @!attribute [rw] dry_run
|
@@ -7009,11 +7093,16 @@ module Aws::EC2
|
|
7009
7093
|
# The ID of the VPC.
|
7010
7094
|
# @return [String]
|
7011
7095
|
#
|
7096
|
+
# @!attribute [rw] tag_specifications
|
7097
|
+
# The tags to assign to the network ACL.
|
7098
|
+
# @return [Array<Types::TagSpecification>]
|
7099
|
+
#
|
7012
7100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclRequest AWS API Documentation
|
7013
7101
|
#
|
7014
7102
|
class CreateNetworkAclRequest < Struct.new(
|
7015
7103
|
:dry_run,
|
7016
|
-
:vpc_id
|
7104
|
+
:vpc_id,
|
7105
|
+
:tag_specifications)
|
7017
7106
|
SENSITIVE = []
|
7018
7107
|
include Aws::Structure
|
7019
7108
|
end
|
@@ -7117,6 +7206,17 @@ module Aws::EC2
|
|
7117
7206
|
# secondary_private_ip_address_count: 1,
|
7118
7207
|
# interface_type: "efa", # accepts efa
|
7119
7208
|
# subnet_id: "SubnetId", # required
|
7209
|
+
# tag_specifications: [
|
7210
|
+
# {
|
7211
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
7212
|
+
# tags: [
|
7213
|
+
# {
|
7214
|
+
# key: "String",
|
7215
|
+
# value: "String",
|
7216
|
+
# },
|
7217
|
+
# ],
|
7218
|
+
# },
|
7219
|
+
# ],
|
7120
7220
|
# }
|
7121
7221
|
#
|
7122
7222
|
# @!attribute [rw] description
|
@@ -7192,6 +7292,10 @@ module Aws::EC2
|
|
7192
7292
|
# The ID of the subnet to associate with the network interface.
|
7193
7293
|
# @return [String]
|
7194
7294
|
#
|
7295
|
+
# @!attribute [rw] tag_specifications
|
7296
|
+
# The tags to apply to the new network interface.
|
7297
|
+
# @return [Array<Types::TagSpecification>]
|
7298
|
+
#
|
7195
7299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfaceRequest AWS API Documentation
|
7196
7300
|
#
|
7197
7301
|
class CreateNetworkInterfaceRequest < Struct.new(
|
@@ -7204,7 +7308,8 @@ module Aws::EC2
|
|
7204
7308
|
:private_ip_addresses,
|
7205
7309
|
:secondary_private_ip_address_count,
|
7206
7310
|
:interface_type,
|
7207
|
-
:subnet_id
|
7311
|
+
:subnet_id,
|
7312
|
+
:tag_specifications)
|
7208
7313
|
SENSITIVE = []
|
7209
7314
|
include Aws::Structure
|
7210
7315
|
end
|
@@ -7525,6 +7630,17 @@ module Aws::EC2
|
|
7525
7630
|
# description: "String", # required
|
7526
7631
|
# group_name: "String", # required
|
7527
7632
|
# vpc_id: "VpcId",
|
7633
|
+
# tag_specifications: [
|
7634
|
+
# {
|
7635
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
7636
|
+
# tags: [
|
7637
|
+
# {
|
7638
|
+
# key: "String",
|
7639
|
+
# value: "String",
|
7640
|
+
# },
|
7641
|
+
# ],
|
7642
|
+
# },
|
7643
|
+
# ],
|
7528
7644
|
# dry_run: false,
|
7529
7645
|
# }
|
7530
7646
|
#
|
@@ -7555,6 +7671,10 @@ module Aws::EC2
|
|
7555
7671
|
# \[EC2-VPC\] The ID of the VPC. Required for EC2-VPC.
|
7556
7672
|
# @return [String]
|
7557
7673
|
#
|
7674
|
+
# @!attribute [rw] tag_specifications
|
7675
|
+
# The tags to assign to the security group.
|
7676
|
+
# @return [Array<Types::TagSpecification>]
|
7677
|
+
#
|
7558
7678
|
# @!attribute [rw] dry_run
|
7559
7679
|
# Checks whether you have the required permissions for the action,
|
7560
7680
|
# without actually making the request, and provides an error response.
|
@@ -7568,6 +7688,7 @@ module Aws::EC2
|
|
7568
7688
|
:description,
|
7569
7689
|
:group_name,
|
7570
7690
|
:vpc_id,
|
7691
|
+
:tag_specifications,
|
7571
7692
|
:dry_run)
|
7572
7693
|
SENSITIVE = []
|
7573
7694
|
include Aws::Structure
|
@@ -7577,10 +7698,15 @@ module Aws::EC2
|
|
7577
7698
|
# The ID of the security group.
|
7578
7699
|
# @return [String]
|
7579
7700
|
#
|
7701
|
+
# @!attribute [rw] tags
|
7702
|
+
# The tags assigned to the security group.
|
7703
|
+
# @return [Array<Types::Tag>]
|
7704
|
+
#
|
7580
7705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroupResult AWS API Documentation
|
7581
7706
|
#
|
7582
7707
|
class CreateSecurityGroupResult < Struct.new(
|
7583
|
-
:group_id
|
7708
|
+
:group_id,
|
7709
|
+
:tags)
|
7584
7710
|
SENSITIVE = []
|
7585
7711
|
include Aws::Structure
|
7586
7712
|
end
|
@@ -7762,6 +7888,17 @@ module Aws::EC2
|
|
7762
7888
|
# data as a hash:
|
7763
7889
|
#
|
7764
7890
|
# {
|
7891
|
+
# tag_specifications: [
|
7892
|
+
# {
|
7893
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
7894
|
+
# tags: [
|
7895
|
+
# {
|
7896
|
+
# key: "String",
|
7897
|
+
# value: "String",
|
7898
|
+
# },
|
7899
|
+
# ],
|
7900
|
+
# },
|
7901
|
+
# ],
|
7765
7902
|
# availability_zone: "String",
|
7766
7903
|
# availability_zone_id: "String",
|
7767
7904
|
# cidr_block: "String", # required
|
@@ -7771,6 +7908,10 @@ module Aws::EC2
|
|
7771
7908
|
# dry_run: false,
|
7772
7909
|
# }
|
7773
7910
|
#
|
7911
|
+
# @!attribute [rw] tag_specifications
|
7912
|
+
# The tags to assign to the subnet.
|
7913
|
+
# @return [Array<Types::TagSpecification>]
|
7914
|
+
#
|
7774
7915
|
# @!attribute [rw] availability_zone
|
7775
7916
|
# The Availability Zone or Local Zone for the subnet.
|
7776
7917
|
#
|
@@ -7827,6 +7968,7 @@ module Aws::EC2
|
|
7827
7968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetRequest AWS API Documentation
|
7828
7969
|
#
|
7829
7970
|
class CreateSubnetRequest < Struct.new(
|
7971
|
+
:tag_specifications,
|
7830
7972
|
:availability_zone,
|
7831
7973
|
:availability_zone_id,
|
7832
7974
|
:cidr_block,
|
@@ -9377,6 +9519,17 @@ module Aws::EC2
|
|
9377
9519
|
# dry_run: false,
|
9378
9520
|
# instance_tenancy: "default", # accepts default, dedicated, host
|
9379
9521
|
# ipv_6_cidr_block_network_border_group: "String",
|
9522
|
+
# tag_specifications: [
|
9523
|
+
# {
|
9524
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
9525
|
+
# tags: [
|
9526
|
+
# {
|
9527
|
+
# key: "String",
|
9528
|
+
# value: "String",
|
9529
|
+
# },
|
9530
|
+
# ],
|
9531
|
+
# },
|
9532
|
+
# ],
|
9380
9533
|
# }
|
9381
9534
|
#
|
9382
9535
|
# @!attribute [rw] cidr_block
|
@@ -9434,6 +9587,10 @@ module Aws::EC2
|
|
9434
9587
|
# parameter.
|
9435
9588
|
# @return [String]
|
9436
9589
|
#
|
9590
|
+
# @!attribute [rw] tag_specifications
|
9591
|
+
# The tags to assign to the VPC.
|
9592
|
+
# @return [Array<Types::TagSpecification>]
|
9593
|
+
#
|
9437
9594
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcRequest AWS API Documentation
|
9438
9595
|
#
|
9439
9596
|
class CreateVpcRequest < Struct.new(
|
@@ -9443,7 +9600,8 @@ module Aws::EC2
|
|
9443
9600
|
:ipv_6_cidr_block,
|
9444
9601
|
:dry_run,
|
9445
9602
|
:instance_tenancy,
|
9446
|
-
:ipv_6_cidr_block_network_border_group
|
9603
|
+
:ipv_6_cidr_block_network_border_group,
|
9604
|
+
:tag_specifications)
|
9447
9605
|
SENSITIVE = []
|
9448
9606
|
include Aws::Structure
|
9449
9607
|
end
|
@@ -9669,11 +9827,12 @@ module Aws::EC2
|
|
9669
9827
|
include Aws::Structure
|
9670
9828
|
end
|
9671
9829
|
|
9672
|
-
# Describes the credit option for CPU usage of a T2 or
|
9830
|
+
# Describes the credit option for CPU usage of a T2, T3, or T3a
|
9831
|
+
# instance.
|
9673
9832
|
#
|
9674
9833
|
# @!attribute [rw] cpu_credits
|
9675
|
-
# The credit option for CPU usage of a T2 or
|
9676
|
-
# are `standard` and `unlimited`.
|
9834
|
+
# The credit option for CPU usage of a T2, T3, or T3a instance. Valid
|
9835
|
+
# values are `standard` and `unlimited`.
|
9677
9836
|
# @return [String]
|
9678
9837
|
#
|
9679
9838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecification AWS API Documentation
|
@@ -9684,7 +9843,7 @@ module Aws::EC2
|
|
9684
9843
|
include Aws::Structure
|
9685
9844
|
end
|
9686
9845
|
|
9687
|
-
# The credit option for CPU usage of a T2 or
|
9846
|
+
# The credit option for CPU usage of a T2, T3, or T3a instance.
|
9688
9847
|
#
|
9689
9848
|
# @note When making an API call, you may pass CreditSpecificationRequest
|
9690
9849
|
# data as a hash:
|
@@ -9694,8 +9853,8 @@ module Aws::EC2
|
|
9694
9853
|
# }
|
9695
9854
|
#
|
9696
9855
|
# @!attribute [rw] cpu_credits
|
9697
|
-
# The credit option for CPU usage of a T2 or
|
9698
|
-
# are `standard` and `unlimited`.
|
9856
|
+
# The credit option for CPU usage of a T2, T3, or T3a instance. Valid
|
9857
|
+
# values are `standard` and `unlimited`.
|
9699
9858
|
# @return [String]
|
9700
9859
|
#
|
9701
9860
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreditSpecificationRequest AWS API Documentation
|
@@ -11465,7 +11624,7 @@ module Aws::EC2
|
|
11465
11624
|
#
|
11466
11625
|
# {
|
11467
11626
|
# dry_run: false,
|
11468
|
-
# connection_notification_ids: ["
|
11627
|
+
# connection_notification_ids: ["ConnectionNotificationId"], # required
|
11469
11628
|
# }
|
11470
11629
|
#
|
11471
11630
|
# @!attribute [rw] dry_run
|
@@ -12189,13 +12348,16 @@ module Aws::EC2
|
|
12189
12348
|
# Local Zones, use the name of the group associated with the Local
|
12190
12349
|
# Zone (for example, `us-west-2-lax-1`).
|
12191
12350
|
#
|
12192
|
-
# * `message` - The
|
12351
|
+
# * `message` - The Zone message.
|
12193
12352
|
#
|
12194
12353
|
# * `opt-in-status` - The opt in status (`opted-in`, and
|
12195
12354
|
# `not-opted-in` \| `opt-in-not-required`).
|
12196
12355
|
#
|
12197
|
-
# *
|
12198
|
-
#
|
12356
|
+
# * The ID of the zone that handles some of the Local Zone control
|
12357
|
+
# plane operations, such as API calls.
|
12358
|
+
#
|
12359
|
+
# * `region-name` - The name of the Region for the Zone (for example,
|
12360
|
+
# `us-east-1`).
|
12199
12361
|
#
|
12200
12362
|
# * `state` - The state of the Availability Zone or Local Zone
|
12201
12363
|
# (`available` \| `information` \| `impaired` \| `unavailable`).
|
@@ -12203,17 +12365,21 @@ module Aws::EC2
|
|
12203
12365
|
# * `zone-id` - The ID of the Availability Zone (for example,
|
12204
12366
|
# `use1-az1`) or the Local Zone (for example, use `usw2-lax1-az1`).
|
12205
12367
|
#
|
12368
|
+
# * `zone-type` - The type of zone, for example, `local-zone`.
|
12369
|
+
#
|
12206
12370
|
# * `zone-name` - The name of the Availability Zone (for example,
|
12207
12371
|
# `us-east-1a`) or the Local Zone (for example, use
|
12208
12372
|
# `us-west-2-lax-1a`).
|
12373
|
+
#
|
12374
|
+
# * `zone-type` - The type of zone, for example, `local-zone`.
|
12209
12375
|
# @return [Array<Types::Filter>]
|
12210
12376
|
#
|
12211
12377
|
# @!attribute [rw] zone_names
|
12212
|
-
# The names of the
|
12378
|
+
# The names of the Zones.
|
12213
12379
|
# @return [Array<String>]
|
12214
12380
|
#
|
12215
12381
|
# @!attribute [rw] zone_ids
|
12216
|
-
# The IDs of the
|
12382
|
+
# The IDs of the Zones.
|
12217
12383
|
# @return [Array<String>]
|
12218
12384
|
#
|
12219
12385
|
# @!attribute [rw] all_availability_zones
|
@@ -12244,7 +12410,7 @@ module Aws::EC2
|
|
12244
12410
|
end
|
12245
12411
|
|
12246
12412
|
# @!attribute [rw] availability_zones
|
12247
|
-
# Information about the
|
12413
|
+
# Information about the Zones.
|
12248
12414
|
# @return [Array<Types::AvailabilityZone>]
|
12249
12415
|
#
|
12250
12416
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZonesResult AWS API Documentation
|
@@ -14886,12 +15052,13 @@ module Aws::EC2
|
|
14886
15052
|
#
|
14887
15053
|
# * `name` - The name of the AMI (provided during image creation).
|
14888
15054
|
#
|
14889
|
-
# * `owner-alias` -
|
14890
|
-
# (`amazon` \| `aws-marketplace`
|
14891
|
-
#
|
14892
|
-
#
|
15055
|
+
# * `owner-alias` - The owner alias, from an Amazon-maintained list
|
15056
|
+
# (`amazon` \| `aws-marketplace`). This is not the user-configured
|
15057
|
+
# AWS account alias set using the IAM console. We recommend that you
|
15058
|
+
# use the related parameter instead of this filter.
|
14893
15059
|
#
|
14894
|
-
# * `owner-id` - The AWS account ID of the
|
15060
|
+
# * `owner-id` - The AWS account ID of the owner. We recommend that
|
15061
|
+
# you use the related parameter instead of this filter.
|
14895
15062
|
#
|
14896
15063
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
14897
15064
|
# `windows`.
|
@@ -14940,11 +15107,11 @@ module Aws::EC2
|
|
14940
15107
|
# @return [Array<String>]
|
14941
15108
|
#
|
14942
15109
|
# @!attribute [rw] owners
|
14943
|
-
#
|
14944
|
-
#
|
14945
|
-
#
|
14946
|
-
#
|
14947
|
-
#
|
15110
|
+
# Scopes the results to images with the specified owners. You can
|
15111
|
+
# specify a combination of AWS account IDs, `self`, `amazon`, and
|
15112
|
+
# `aws-marketplace`. If you omit this parameter, the results include
|
15113
|
+
# all images for which you have launch permissions, regardless of
|
15114
|
+
# ownership.
|
14948
15115
|
# @return [Array<String>]
|
14949
15116
|
#
|
14950
15117
|
# @!attribute [rw] dry_run
|
@@ -16300,17 +16467,34 @@ module Aws::EC2
|
|
16300
16467
|
# @return [Boolean]
|
16301
16468
|
#
|
16302
16469
|
# @!attribute [rw] launch_template_id
|
16303
|
-
# The ID of the launch template.
|
16304
|
-
#
|
16470
|
+
# The ID of the launch template. To describe one or more versions of a
|
16471
|
+
# specified launch template, you must specify either the launch
|
16472
|
+
# template ID or the launch template name in the request. To describe
|
16473
|
+
# all the latest or default launch template versions in your account,
|
16474
|
+
# you must omit this parameter.
|
16305
16475
|
# @return [String]
|
16306
16476
|
#
|
16307
16477
|
# @!attribute [rw] launch_template_name
|
16308
|
-
# The name of the launch template.
|
16309
|
-
#
|
16478
|
+
# The name of the launch template. To describe one or more versions of
|
16479
|
+
# a specified launch template, you must specify either the launch
|
16480
|
+
# template ID or the launch template name in the request. To describe
|
16481
|
+
# all the latest or default launch template versions in your account,
|
16482
|
+
# you must omit this parameter.
|
16310
16483
|
# @return [String]
|
16311
16484
|
#
|
16312
16485
|
# @!attribute [rw] versions
|
16313
|
-
# One or more versions of the launch template.
|
16486
|
+
# One or more versions of the launch template. Valid values depend on
|
16487
|
+
# whether you are describing a specified launch template (by ID or
|
16488
|
+
# name) or all launch templates in your account.
|
16489
|
+
#
|
16490
|
+
# To describe one or more versions of a specified launch template,
|
16491
|
+
# valid values are `$Latest`, `$Default`, and numbers.
|
16492
|
+
#
|
16493
|
+
# To describe all launch templates in your account that are defined as
|
16494
|
+
# the latest version, the valid value is `$Latest`. To describe all
|
16495
|
+
# launch templates in your account that are defined as the default
|
16496
|
+
# version, the valid value is `$Default`. You can specify `$Latest`
|
16497
|
+
# and `$Default` in the same call. You cannot specify numbers.
|
16314
16498
|
# @return [Array<String>]
|
16315
16499
|
#
|
16316
16500
|
# @!attribute [rw] min_version
|
@@ -18601,8 +18785,6 @@ module Aws::EC2
|
|
18601
18785
|
# filter to find all resources assigned a tag with a specific key,
|
18602
18786
|
# regardless of the tag value.
|
18603
18787
|
#
|
18604
|
-
# * `transit-gateway-id` - The ID of a transit gateway.
|
18605
|
-
#
|
18606
18788
|
# * `vpc-id` - The ID of the VPC for the route table.
|
18607
18789
|
# @return [Array<Types::Filter>]
|
18608
18790
|
#
|
@@ -19662,8 +19844,8 @@ module Aws::EC2
|
|
19662
19844
|
# * `state` - The state of the Spot Instance request (`open` \|
|
19663
19845
|
# `active` \| `closed` \| `cancelled` \| `failed`). Spot request
|
19664
19846
|
# status information can help you track your Amazon EC2 Spot
|
19665
|
-
# Instance requests. For more information, see [Spot
|
19666
|
-
#
|
19847
|
+
# Instance requests. For more information, see [Spot request
|
19848
|
+
# status][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
19667
19849
|
#
|
19668
19850
|
# * `status-code` - The short code describing the most recent
|
19669
19851
|
# evaluation of your Spot Instance request.
|
@@ -40331,8 +40513,8 @@ module Aws::EC2
|
|
40331
40513
|
# @return [Types::LaunchTemplateInstanceMarketOptionsRequest]
|
40332
40514
|
#
|
40333
40515
|
# @!attribute [rw] credit_specification
|
40334
|
-
# The credit option for CPU usage of the instance. Valid for T2
|
40335
|
-
# instances only.
|
40516
|
+
# The credit option for CPU usage of the instance. Valid for T2, T3,
|
40517
|
+
# or T3a instances only.
|
40336
40518
|
# @return [Types::CreditSpecificationRequest]
|
40337
40519
|
#
|
40338
40520
|
# @!attribute [rw] cpu_options
|
@@ -40691,6 +40873,17 @@ module Aws::EC2
|
|
40691
40873
|
# type: "one-time", # accepts one-time, persistent
|
40692
40874
|
# valid_from: Time.now,
|
40693
40875
|
# valid_until: Time.now,
|
40876
|
+
# tag_specifications: [
|
40877
|
+
# {
|
40878
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
40879
|
+
# tags: [
|
40880
|
+
# {
|
40881
|
+
# key: "String",
|
40882
|
+
# value: "String",
|
40883
|
+
# },
|
40884
|
+
# ],
|
40885
|
+
# },
|
40886
|
+
# ],
|
40694
40887
|
# instance_interruption_behavior: "hibernate", # accepts hibernate, stop, terminate
|
40695
40888
|
# }
|
40696
40889
|
#
|
@@ -40800,6 +40993,18 @@ module Aws::EC2
|
|
40800
40993
|
# default end date is 7 days from the current date.
|
40801
40994
|
# @return [Time]
|
40802
40995
|
#
|
40996
|
+
# @!attribute [rw] tag_specifications
|
40997
|
+
# The key-value pair for tagging the Spot Instance request on
|
40998
|
+
# creation. The value for `ResourceType` must be
|
40999
|
+
# `spot-instances-request`, otherwise the Spot Instance request fails.
|
41000
|
+
# To tag the Spot Instance request after it has been created, see
|
41001
|
+
# [CreateTags][1].
|
41002
|
+
#
|
41003
|
+
#
|
41004
|
+
#
|
41005
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
41006
|
+
# @return [Array<Types::TagSpecification>]
|
41007
|
+
#
|
40803
41008
|
# @!attribute [rw] instance_interruption_behavior
|
40804
41009
|
# The behavior when a Spot Instance is interrupted. The default is
|
40805
41010
|
# `terminate`.
|
@@ -40819,6 +41024,7 @@ module Aws::EC2
|
|
40819
41024
|
:type,
|
40820
41025
|
:valid_from,
|
40821
41026
|
:valid_until,
|
41027
|
+
:tag_specifications,
|
40822
41028
|
:instance_interruption_behavior)
|
40823
41029
|
SENSITIVE = []
|
40824
41030
|
include Aws::Structure
|
@@ -45561,7 +45767,7 @@ module Aws::EC2
|
|
45561
45767
|
# The Amazon Resource Name (ARN) of an AWS Identity and Access
|
45562
45768
|
# Management (IAM) role that grants the Spot Fleet the permission to
|
45563
45769
|
# request, launch, terminate, and tag instances on your behalf. For
|
45564
|
-
# more information, see [Spot Fleet
|
45770
|
+
# more information, see [Spot Fleet prerequisites][1] in the *Amazon
|
45565
45771
|
# EC2 User Guide for Linux Instances*. Spot Fleet can terminate Spot
|
45566
45772
|
# Instances on your behalf when you cancel its Spot Fleet request
|
45567
45773
|
# using [CancelSpotFleetRequests][2] or when the Spot Fleet request
|
@@ -45838,7 +46044,7 @@ module Aws::EC2
|
|
45838
46044
|
# @!attribute [rw] state
|
45839
46045
|
# The state of the Spot Instance request. Spot status information
|
45840
46046
|
# helps track your Spot Instance requests. For more information, see
|
45841
|
-
# [Spot
|
46047
|
+
# [Spot status][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
45842
46048
|
#
|
45843
46049
|
#
|
45844
46050
|
#
|
@@ -45925,8 +46131,8 @@ module Aws::EC2
|
|
45925
46131
|
# Describes the status of a Spot Instance request.
|
45926
46132
|
#
|
45927
46133
|
# @!attribute [rw] code
|
45928
|
-
# The status code. For a list of status codes, see [Spot
|
45929
|
-
#
|
46134
|
+
# The status code. For a list of status codes, see [Spot status
|
46135
|
+
# codes][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
45930
46136
|
#
|
45931
46137
|
#
|
45932
46138
|
#
|
@@ -46862,15 +47068,19 @@ module Aws::EC2
|
|
46862
47068
|
# @!attribute [rw] resource_type
|
46863
47069
|
# The type of resource to tag. Currently, the resource types that
|
46864
47070
|
# support tagging on creation are: `capacity-reservation` \|
|
46865
|
-
# `client-vpn-endpoint` \| `dedicated-host` \| `
|
46866
|
-
#
|
46867
|
-
# `
|
46868
|
-
# `
|
46869
|
-
# `
|
47071
|
+
# `client-vpn-endpoint` \| `dedicated-host` \| `dhcp-options` \|
|
47072
|
+
# `export-image-task` \| `export-instance-task` \| `fleet` \|
|
47073
|
+
# `fpga-image` \| `host-reservation` \| `import-image-task` \|
|
47074
|
+
# `import-snapshot-task` \| `instance` \| `internet-gateway` \|
|
47075
|
+
# `ipv4pool-ec2` \| `ipv6pool-ec2` \| `key-pair` \| `launch-template`
|
47076
|
+
# \| `placement-group` \| `prefix-list` \| `natgateway` \|
|
47077
|
+
# `network-acl` \| `security-group` \| `spot-fleet-request` \|
|
47078
|
+
# `spot-instances-request` \| `snapshot` \| `subnet` \|
|
47079
|
+
# `traffic-mirror-filter` \| `traffic-mirror-session` \|
|
46870
47080
|
# `traffic-mirror-target` \| `transit-gateway` \|
|
46871
47081
|
# `transit-gateway-attachment` \| `transit-gateway-route-table` \|
|
46872
|
-
# `vpc-endpoint` (for interface and gateway
|
46873
|
-
# `vpc-endpoint-service` (for AWS PrivateLink) \|
|
47082
|
+
# `volume` \|`vpc` \| `vpc-endpoint` (for interface and gateway
|
47083
|
+
# endpoints) \| `vpc-endpoint-service` (for AWS PrivateLink) \|
|
46874
47084
|
# `vpc-flow-log`.
|
46875
47085
|
#
|
46876
47086
|
# To tag a resource after it has been created, see [CreateTags][1].
|
@@ -48161,30 +48371,31 @@ module Aws::EC2
|
|
48161
48371
|
# @!attribute [rw] amazon_side_asn
|
48162
48372
|
# A private Autonomous System Number (ASN) for the Amazon side of a
|
48163
48373
|
# BGP session. The range is 64512 to 65534 for 16-bit ASNs and
|
48164
|
-
# 4200000000 to 4294967294 for 32-bit ASNs.
|
48374
|
+
# 4200000000 to 4294967294 for 32-bit ASNs. The default is `64512`.
|
48165
48375
|
# @return [Integer]
|
48166
48376
|
#
|
48167
48377
|
# @!attribute [rw] auto_accept_shared_attachments
|
48168
|
-
# Enable or disable automatic acceptance of attachment requests.
|
48169
|
-
#
|
48378
|
+
# Enable or disable automatic acceptance of attachment requests.
|
48379
|
+
# Disabled by default.
|
48170
48380
|
# @return [String]
|
48171
48381
|
#
|
48172
48382
|
# @!attribute [rw] default_route_table_association
|
48173
48383
|
# Enable or disable automatic association with the default association
|
48174
|
-
# route table.
|
48384
|
+
# route table. Enabled by default.
|
48175
48385
|
# @return [String]
|
48176
48386
|
#
|
48177
48387
|
# @!attribute [rw] default_route_table_propagation
|
48178
48388
|
# Enable or disable automatic propagation of routes to the default
|
48179
|
-
# propagation route table.
|
48389
|
+
# propagation route table. Enabled by default.
|
48180
48390
|
# @return [String]
|
48181
48391
|
#
|
48182
48392
|
# @!attribute [rw] vpn_ecmp_support
|
48183
|
-
# Enable or disable Equal Cost Multipath Protocol support.
|
48393
|
+
# Enable or disable Equal Cost Multipath Protocol support. Enabled by
|
48394
|
+
# default.
|
48184
48395
|
# @return [String]
|
48185
48396
|
#
|
48186
48397
|
# @!attribute [rw] dns_support
|
48187
|
-
# Enable or disable DNS support.
|
48398
|
+
# Enable or disable DNS support. Enabled by default.
|
48188
48399
|
# @return [String]
|
48189
48400
|
#
|
48190
48401
|
# @!attribute [rw] multicast_support
|