aws-sdk-ec2 1.158.0 → 1.163.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 +169 -23
- data/lib/aws-sdk-ec2/client_api.rb +36 -1
- data/lib/aws-sdk-ec2/resource.rb +7 -2
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +3 -0
- data/lib/aws-sdk-ec2/types.rb +307 -40
- data/lib/aws-sdk-ec2/vpc.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80e1dcc755e502402539fa759e5d9e35c957fdbaf0737f4f16115080259c90ce
|
4
|
+
data.tar.gz: c9af87f2ed7de560fd8aaed40f3537028c39163c4db0e0566f29a419bc111ed9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24b47e39da59cd6fb8e8081c1c2d253be8ac494862641a1380db3e32f15078ebc6ddaf3a44b2312bfde20b99a72e240d3d9295c3221a9709366dc0a46dae53a0
|
7
|
+
data.tar.gz: ba6bf3cd7b455100dc5f2a44b4113093d99c4f2960751b1b15768b37cc7e27e4a6a723b9cd7d9cf52a00e23790d647e62f9d1b0c9cbf140d58ebf31ce38e44c7
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -2076,7 +2076,8 @@ module Aws::EC2
|
|
2076
2076
|
# access is being authorized.
|
2077
2077
|
#
|
2078
2078
|
# @option params [String] :access_group_id
|
2079
|
-
# The ID of the
|
2079
|
+
# The ID of the group to grant access to, for example, the Active
|
2080
|
+
# Directory group or identity provider (IdP) group.
|
2080
2081
|
#
|
2081
2082
|
# @option params [Boolean] :authorize_all_groups
|
2082
2083
|
# Indicates whether to grant access to all clients. Use `true` to grant
|
@@ -3805,13 +3806,16 @@ module Aws::EC2
|
|
3805
3806
|
# server_certificate_arn: "String", # required
|
3806
3807
|
# authentication_options: [ # required
|
3807
3808
|
# {
|
3808
|
-
# type: "certificate-authentication", # accepts certificate-authentication, directory-service-authentication
|
3809
|
+
# type: "certificate-authentication", # accepts certificate-authentication, directory-service-authentication, federated-authentication
|
3809
3810
|
# active_directory: {
|
3810
3811
|
# directory_id: "String",
|
3811
3812
|
# },
|
3812
3813
|
# mutual_authentication: {
|
3813
3814
|
# client_root_certificate_chain_arn: "String",
|
3814
3815
|
# },
|
3816
|
+
# federated_authentication: {
|
3817
|
+
# saml_provider_arn: "String",
|
3818
|
+
# },
|
3815
3819
|
# },
|
3816
3820
|
# ],
|
3817
3821
|
# connection_log_options: { # required
|
@@ -5879,6 +5883,9 @@ module Aws::EC2
|
|
5879
5883
|
# @option params [required, String] :vpc_id
|
5880
5884
|
# The ID of the VPC.
|
5881
5885
|
#
|
5886
|
+
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
5887
|
+
# The tags to assign to the local gateway route table VPC association.
|
5888
|
+
#
|
5882
5889
|
# @option params [Boolean] :dry_run
|
5883
5890
|
# Checks whether you have the required permissions for the action,
|
5884
5891
|
# without actually making the request, and provides an error response.
|
@@ -5894,6 +5901,17 @@ module Aws::EC2
|
|
5894
5901
|
# resp = client.create_local_gateway_route_table_vpc_association({
|
5895
5902
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
5896
5903
|
# vpc_id: "VpcId", # required
|
5904
|
+
# tag_specifications: [
|
5905
|
+
# {
|
5906
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
5907
|
+
# tags: [
|
5908
|
+
# {
|
5909
|
+
# key: "String",
|
5910
|
+
# value: "String",
|
5911
|
+
# },
|
5912
|
+
# ],
|
5913
|
+
# },
|
5914
|
+
# ],
|
5897
5915
|
# dry_run: false,
|
5898
5916
|
# })
|
5899
5917
|
#
|
@@ -7414,7 +7432,9 @@ module Aws::EC2
|
|
7414
7432
|
# size must use a /64 prefix length.
|
7415
7433
|
#
|
7416
7434
|
# @option params [String] :outpost_arn
|
7417
|
-
# The Amazon Resource Name (ARN) of the Outpost.
|
7435
|
+
# The Amazon Resource Name (ARN) of the Outpost. If you specify an
|
7436
|
+
# Outpost ARN, you must also specify the Availability Zone of the
|
7437
|
+
# Outpost subnet.
|
7418
7438
|
#
|
7419
7439
|
# @option params [required, String] :vpc_id
|
7420
7440
|
# The ID of the VPC.
|
@@ -7499,10 +7519,11 @@ module Aws::EC2
|
|
7499
7519
|
req.send_request(options)
|
7500
7520
|
end
|
7501
7521
|
|
7502
|
-
# Adds or overwrites the specified tags for the specified Amazon
|
7503
|
-
# resource or resources.
|
7504
|
-
#
|
7505
|
-
#
|
7522
|
+
# Adds or overwrites only the specified tags for the specified Amazon
|
7523
|
+
# EC2 resource or resources. When you specify an existing tag key, the
|
7524
|
+
# value is overwritten with the new value. Each resource can have a
|
7525
|
+
# maximum of 50 tags. Each tag consists of a key and optional value. Tag
|
7526
|
+
# keys must be unique per resource.
|
7506
7527
|
#
|
7507
7528
|
# For more information about tags, see [Tagging Your Resources][1] in
|
7508
7529
|
# the *Amazon Elastic Compute Cloud User Guide*. For more information
|
@@ -11616,8 +11637,12 @@ module Aws::EC2
|
|
11616
11637
|
# you can delete the VPN connection and create a new one that has new
|
11617
11638
|
# keys, without needing to delete the VPC or virtual private gateway. If
|
11618
11639
|
# you create a new VPN connection, you must reconfigure the customer
|
11619
|
-
# gateway using the new configuration information returned with
|
11620
|
-
# VPN connection ID.
|
11640
|
+
# gateway device using the new configuration information returned with
|
11641
|
+
# the new VPN connection ID.
|
11642
|
+
#
|
11643
|
+
# For certificate-based authentication, delete all AWS Certificate
|
11644
|
+
# Manager (ACM) private certificates used for the AWS-side tunnel
|
11645
|
+
# endpoints for the VPN connection before deleting the VPN connection.
|
11621
11646
|
#
|
11622
11647
|
# @option params [required, String] :vpn_connection_id
|
11623
11648
|
# The ID of the VPN connection.
|
@@ -13088,9 +13113,10 @@ module Aws::EC2
|
|
13088
13113
|
# resp.client_vpn_endpoints[0].associated_target_networks[0].network_type #=> String, one of "vpc"
|
13089
13114
|
# resp.client_vpn_endpoints[0].server_certificate_arn #=> String
|
13090
13115
|
# resp.client_vpn_endpoints[0].authentication_options #=> Array
|
13091
|
-
# resp.client_vpn_endpoints[0].authentication_options[0].type #=> String, one of "certificate-authentication", "directory-service-authentication"
|
13116
|
+
# resp.client_vpn_endpoints[0].authentication_options[0].type #=> String, one of "certificate-authentication", "directory-service-authentication", "federated-authentication"
|
13092
13117
|
# resp.client_vpn_endpoints[0].authentication_options[0].active_directory.directory_id #=> String
|
13093
13118
|
# resp.client_vpn_endpoints[0].authentication_options[0].mutual_authentication.client_root_certificate_chain #=> String
|
13119
|
+
# resp.client_vpn_endpoints[0].authentication_options[0].federated_authentication.saml_provider_arn #=> String
|
13094
13120
|
# resp.client_vpn_endpoints[0].connection_log_options.enabled #=> Boolean
|
13095
13121
|
# resp.client_vpn_endpoints[0].connection_log_options.cloudwatch_log_group #=> String
|
13096
13122
|
# resp.client_vpn_endpoints[0].connection_log_options.cloudwatch_log_stream #=> String
|
@@ -16178,9 +16204,9 @@ module Aws::EC2
|
|
16178
16204
|
req.send_request(options)
|
16179
16205
|
end
|
16180
16206
|
|
16181
|
-
#
|
16182
|
-
#
|
16183
|
-
# types.
|
16207
|
+
# Describes the details of the instance types that are offered in a
|
16208
|
+
# location. The results can be filtered by the attributes of the
|
16209
|
+
# instance types.
|
16184
16210
|
#
|
16185
16211
|
# @option params [Boolean] :dry_run
|
16186
16212
|
# Checks whether you have the required permissions for the action,
|
@@ -16212,6 +16238,30 @@ module Aws::EC2
|
|
16212
16238
|
# latest generation instance type of an instance family. (`true` \|
|
16213
16239
|
# `false`)
|
16214
16240
|
#
|
16241
|
+
# * `ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps` - The
|
16242
|
+
# baseline bandwidth performance for an EBS-optimized instance type,
|
16243
|
+
# in Mbps.
|
16244
|
+
#
|
16245
|
+
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
16246
|
+
# baseline throughput performance for an EBS-optimized instance type,
|
16247
|
+
# in MBps.
|
16248
|
+
#
|
16249
|
+
# * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
|
16250
|
+
# input/output storage operations per second for an EBS-optimized
|
16251
|
+
# instance type.
|
16252
|
+
#
|
16253
|
+
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
16254
|
+
# maximum bandwidth performance for an EBS-optimized instance type, in
|
16255
|
+
# Mbps.
|
16256
|
+
#
|
16257
|
+
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
16258
|
+
# maximum throughput performance for an EBS-optimized instance type,
|
16259
|
+
# in MBps.
|
16260
|
+
#
|
16261
|
+
# * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
|
16262
|
+
# input/output storage operations per second for an EBS-optimized
|
16263
|
+
# instance type.
|
16264
|
+
#
|
16215
16265
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
16216
16266
|
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
16217
16267
|
#
|
@@ -16246,6 +16296,9 @@ module Aws::EC2
|
|
16246
16296
|
# Adapter (ENA) is supported or required. (`required` \| `supported`
|
16247
16297
|
# \| `unsupported`)
|
16248
16298
|
#
|
16299
|
+
# * `network-info.efa-supported` - Indicates whether the instance type
|
16300
|
+
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
16301
|
+
#
|
16249
16302
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number of
|
16250
16303
|
# private IPv4 addresses per network interface.
|
16251
16304
|
#
|
@@ -16313,6 +16366,8 @@ module Aws::EC2
|
|
16313
16366
|
# resp.instance_types[0].supported_usage_classes[0] #=> String, one of "spot", "on-demand"
|
16314
16367
|
# resp.instance_types[0].supported_root_device_types #=> Array
|
16315
16368
|
# resp.instance_types[0].supported_root_device_types[0] #=> String, one of "ebs", "instance-store"
|
16369
|
+
# resp.instance_types[0].supported_virtualization_types #=> Array
|
16370
|
+
# resp.instance_types[0].supported_virtualization_types[0] #=> String, one of "hvm", "paravirtual"
|
16316
16371
|
# resp.instance_types[0].bare_metal #=> Boolean
|
16317
16372
|
# resp.instance_types[0].hypervisor #=> String, one of "nitro", "xen"
|
16318
16373
|
# resp.instance_types[0].processor_info.supported_architectures #=> Array
|
@@ -16334,12 +16389,19 @@ module Aws::EC2
|
|
16334
16389
|
# resp.instance_types[0].instance_storage_info.disks[0].type #=> String, one of "hdd", "ssd"
|
16335
16390
|
# resp.instance_types[0].ebs_info.ebs_optimized_support #=> String, one of "unsupported", "supported", "default"
|
16336
16391
|
# resp.instance_types[0].ebs_info.encryption_support #=> String, one of "unsupported", "supported"
|
16392
|
+
# resp.instance_types[0].ebs_info.ebs_optimized_info.baseline_bandwidth_in_mbps #=> Integer
|
16393
|
+
# resp.instance_types[0].ebs_info.ebs_optimized_info.baseline_throughput_in_m_bps #=> Float
|
16394
|
+
# resp.instance_types[0].ebs_info.ebs_optimized_info.baseline_iops #=> Integer
|
16395
|
+
# resp.instance_types[0].ebs_info.ebs_optimized_info.maximum_bandwidth_in_mbps #=> Integer
|
16396
|
+
# resp.instance_types[0].ebs_info.ebs_optimized_info.maximum_throughput_in_m_bps #=> Float
|
16397
|
+
# resp.instance_types[0].ebs_info.ebs_optimized_info.maximum_iops #=> Integer
|
16337
16398
|
# resp.instance_types[0].network_info.network_performance #=> String
|
16338
16399
|
# resp.instance_types[0].network_info.maximum_network_interfaces #=> Integer
|
16339
16400
|
# resp.instance_types[0].network_info.ipv_4_addresses_per_interface #=> Integer
|
16340
16401
|
# resp.instance_types[0].network_info.ipv_6_addresses_per_interface #=> Integer
|
16341
16402
|
# resp.instance_types[0].network_info.ipv_6_supported #=> Boolean
|
16342
16403
|
# resp.instance_types[0].network_info.ena_support #=> String, one of "unsupported", "supported", "required"
|
16404
|
+
# resp.instance_types[0].network_info.efa_supported #=> Boolean
|
16343
16405
|
# resp.instance_types[0].gpu_info.gpus #=> Array
|
16344
16406
|
# resp.instance_types[0].gpu_info.gpus[0].name #=> String
|
16345
16407
|
# resp.instance_types[0].gpu_info.gpus[0].manufacturer #=> String
|
@@ -16373,14 +16435,19 @@ module Aws::EC2
|
|
16373
16435
|
req.send_request(options)
|
16374
16436
|
end
|
16375
16437
|
|
16376
|
-
# Describes the specified instances or all
|
16438
|
+
# Describes the specified instances or all instances.
|
16439
|
+
#
|
16440
|
+
# If you specify instance IDs, the output includes information for only
|
16441
|
+
# the specified instances. If you specify filters, the output includes
|
16442
|
+
# information for only those instances that meet the filter criteria. If
|
16443
|
+
# you do not specify instance IDs or filters, the output includes
|
16444
|
+
# information for all instances, which can affect performance. We
|
16445
|
+
# recommend that you use pagination to ensure that the operation returns
|
16446
|
+
# quickly and successfully.
|
16377
16447
|
#
|
16378
|
-
# If you specify
|
16379
|
-
#
|
16380
|
-
#
|
16381
|
-
# specify an instance ID that is not valid, an error is returned. If you
|
16382
|
-
# specify an instance that you do not own, it is not included in the
|
16383
|
-
# returned results.
|
16448
|
+
# If you specify an instance ID that is not valid, an error is returned.
|
16449
|
+
# If you specify an instance that you do not own, it is not included in
|
16450
|
+
# the output.
|
16384
16451
|
#
|
16385
16452
|
# Recently terminated instances might appear in the returned results.
|
16386
16453
|
# This interval is usually less than one hour.
|
@@ -17579,6 +17646,19 @@ module Aws::EC2
|
|
17579
17646
|
# @option params [Array<Types::Filter>] :filters
|
17580
17647
|
# One or more filters.
|
17581
17648
|
#
|
17649
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
17650
|
+
#
|
17651
|
+
# * `local-gateway-route-table-id` - The ID of the local gateway route
|
17652
|
+
# table.
|
17653
|
+
#
|
17654
|
+
# * `local-gateway-route-table-virtual-interface-group-association-id` -
|
17655
|
+
# The ID of the association.
|
17656
|
+
#
|
17657
|
+
# * `local-gateway-route-table-virtual-interface-group-id` - The ID of
|
17658
|
+
# the virtual interface group.
|
17659
|
+
#
|
17660
|
+
# * `state` - The state of the association.
|
17661
|
+
#
|
17582
17662
|
# @option params [Integer] :max_results
|
17583
17663
|
# The maximum number of results to return with a single call. To
|
17584
17664
|
# retrieve the remaining results, make another call with the returned
|
@@ -17646,6 +17726,18 @@ module Aws::EC2
|
|
17646
17726
|
# @option params [Array<Types::Filter>] :filters
|
17647
17727
|
# One or more filters.
|
17648
17728
|
#
|
17729
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
17730
|
+
#
|
17731
|
+
# * `local-gateway-route-table-id` - The ID of the local gateway route
|
17732
|
+
# table.
|
17733
|
+
#
|
17734
|
+
# * `local-gateway-route-table-vpc-association-id` - The ID of the
|
17735
|
+
# association.
|
17736
|
+
#
|
17737
|
+
# * `state` - The state of the association.
|
17738
|
+
#
|
17739
|
+
# * `vpc-id` - The ID of the VPC.
|
17740
|
+
#
|
17649
17741
|
# @option params [Integer] :max_results
|
17650
17742
|
# The maximum number of results to return with a single call. To
|
17651
17743
|
# retrieve the remaining results, make another call with the returned
|
@@ -17714,6 +17806,15 @@ module Aws::EC2
|
|
17714
17806
|
# @option params [Array<Types::Filter>] :filters
|
17715
17807
|
# One or more filters.
|
17716
17808
|
#
|
17809
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
17810
|
+
#
|
17811
|
+
# * `local-gateway-route-table-id` - The ID of a local gateway route
|
17812
|
+
# table.
|
17813
|
+
#
|
17814
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
17815
|
+
#
|
17816
|
+
# * `state` - The state of the local gateway route table.
|
17817
|
+
#
|
17717
17818
|
# @option params [Integer] :max_results
|
17718
17819
|
# The maximum number of results to return with a single call. To
|
17719
17820
|
# retrieve the remaining results, make another call with the returned
|
@@ -17779,6 +17880,14 @@ module Aws::EC2
|
|
17779
17880
|
# @option params [Array<Types::Filter>] :filters
|
17780
17881
|
# One or more filters.
|
17781
17882
|
#
|
17883
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
17884
|
+
#
|
17885
|
+
# * `local-gateway-virtual-interface-id` - The ID of the virtual
|
17886
|
+
# interface.
|
17887
|
+
#
|
17888
|
+
# * `local-gateway-virtual-interface-group-id` - The ID of the virtual
|
17889
|
+
# interface group.
|
17890
|
+
#
|
17782
17891
|
# @option params [Integer] :max_results
|
17783
17892
|
# The maximum number of results to return with a single call. To
|
17784
17893
|
# retrieve the remaining results, make another call with the returned
|
@@ -17908,7 +18017,22 @@ module Aws::EC2
|
|
17908
18017
|
# are described. Alternatively, you can filter the results.
|
17909
18018
|
#
|
17910
18019
|
# @option params [Array<String>] :local_gateway_ids
|
17911
|
-
#
|
18020
|
+
# One or more filters.
|
18021
|
+
#
|
18022
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
18023
|
+
#
|
18024
|
+
# * `local-gateway-route-table-id` - The ID of the local gateway route
|
18025
|
+
# table.
|
18026
|
+
#
|
18027
|
+
# * `local-gateway-route-table-virtual-interface-group-association-id` -
|
18028
|
+
# The ID of the association.
|
18029
|
+
#
|
18030
|
+
# * `local-gateway-route-table-virtual-interface-group-id` - The ID of
|
18031
|
+
# the virtual interface group.
|
18032
|
+
#
|
18033
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
18034
|
+
#
|
18035
|
+
# * `state` - The state of the association.
|
17912
18036
|
#
|
17913
18037
|
# @option params [Array<Types::Filter>] :filters
|
17914
18038
|
# One or more filters.
|
@@ -19174,6 +19298,7 @@ module Aws::EC2
|
|
19174
19298
|
# resp.public_ipv_4_pools[0].pool_address_ranges[0].available_address_count #=> Integer
|
19175
19299
|
# resp.public_ipv_4_pools[0].total_address_count #=> Integer
|
19176
19300
|
# resp.public_ipv_4_pools[0].total_available_address_count #=> Integer
|
19301
|
+
# resp.public_ipv_4_pools[0].network_border_group #=> String
|
19177
19302
|
# resp.public_ipv_4_pools[0].tags #=> Array
|
19178
19303
|
# resp.public_ipv_4_pools[0].tags[0].key #=> String
|
19179
19304
|
# resp.public_ipv_4_pools[0].tags[0].value #=> String
|
@@ -31402,7 +31527,8 @@ module Aws::EC2
|
|
31402
31527
|
req.send_request(options)
|
31403
31528
|
end
|
31404
31529
|
|
31405
|
-
# Modifies the target gateway of an AWS
|
31530
|
+
# Modifies the customer gateway or the target gateway of an AWS
|
31531
|
+
# Site-to-Site VPN connection. To modify the target gateway, the
|
31406
31532
|
# following migration options are available:
|
31407
31533
|
#
|
31408
31534
|
# * An existing virtual private gateway to a new virtual private gateway
|
@@ -31924,6 +32050,9 @@ module Aws::EC2
|
|
31924
32050
|
# If you have the required permissions, the error response is
|
31925
32051
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
31926
32052
|
#
|
32053
|
+
# @option params [Array<Types::TagSpecification>] :pool_tag_specifications
|
32054
|
+
# The tags to apply to the address pool.
|
32055
|
+
#
|
31927
32056
|
# @return [Types::ProvisionByoipCidrResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
31928
32057
|
#
|
31929
32058
|
# * {Types::ProvisionByoipCidrResult#byoip_cidr #byoip_cidr} => Types::ByoipCidr
|
@@ -31939,6 +32068,17 @@ module Aws::EC2
|
|
31939
32068
|
# publicly_advertisable: false,
|
31940
32069
|
# description: "String",
|
31941
32070
|
# dry_run: false,
|
32071
|
+
# pool_tag_specifications: [
|
32072
|
+
# {
|
32073
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
32074
|
+
# tags: [
|
32075
|
+
# {
|
32076
|
+
# key: "String",
|
32077
|
+
# value: "String",
|
32078
|
+
# },
|
32079
|
+
# ],
|
32080
|
+
# },
|
32081
|
+
# ],
|
31942
32082
|
# })
|
31943
32083
|
#
|
31944
32084
|
# @example Response structure
|
@@ -35040,6 +35180,9 @@ module Aws::EC2
|
|
35040
35180
|
#
|
35041
35181
|
# Constraints: Maximum 64 ASCII characters
|
35042
35182
|
#
|
35183
|
+
# **A suitable default value is auto-generated.** You should normally
|
35184
|
+
# not need to pass this option.**
|
35185
|
+
#
|
35043
35186
|
#
|
35044
35187
|
#
|
35045
35188
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
@@ -35119,6 +35262,9 @@ module Aws::EC2
|
|
35119
35262
|
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
35120
35263
|
# workloads.
|
35121
35264
|
#
|
35265
|
+
# You cannot specify accelerators from different generations in the same
|
35266
|
+
# request.
|
35267
|
+
#
|
35122
35268
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
35123
35269
|
# The tags to apply to the resources during launch. You can only tag
|
35124
35270
|
# instances and volumes on launch. The specified tags are applied to all
|
@@ -36875,7 +37021,7 @@ module Aws::EC2
|
|
36875
37021
|
params: params,
|
36876
37022
|
config: config)
|
36877
37023
|
context[:gem_name] = 'aws-sdk-ec2'
|
36878
|
-
context[:gem_version] = '1.
|
37024
|
+
context[:gem_version] = '1.163.0'
|
36879
37025
|
Seahorse::Client::Request.new(handlers, context)
|
36880
37026
|
end
|
36881
37027
|
|
@@ -110,6 +110,9 @@ module Aws::EC2
|
|
110
110
|
AvailableCapacity = Shapes::StructureShape.new(name: 'AvailableCapacity')
|
111
111
|
AvailableInstanceCapacityList = Shapes::ListShape.new(name: 'AvailableInstanceCapacityList')
|
112
112
|
BareMetalFlag = Shapes::BooleanShape.new(name: 'BareMetalFlag')
|
113
|
+
BaselineBandwidthInMbps = Shapes::IntegerShape.new(name: 'BaselineBandwidthInMbps')
|
114
|
+
BaselineIops = Shapes::IntegerShape.new(name: 'BaselineIops')
|
115
|
+
BaselineThroughputInMBps = Shapes::FloatShape.new(name: 'BaselineThroughputInMBps')
|
113
116
|
BatchState = Shapes::StringShape.new(name: 'BatchState')
|
114
117
|
BillingProductList = Shapes::ListShape.new(name: 'BillingProductList')
|
115
118
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
@@ -798,7 +801,9 @@ module Aws::EC2
|
|
798
801
|
EbsInfo = Shapes::StructureShape.new(name: 'EbsInfo')
|
799
802
|
EbsInstanceBlockDevice = Shapes::StructureShape.new(name: 'EbsInstanceBlockDevice')
|
800
803
|
EbsInstanceBlockDeviceSpecification = Shapes::StructureShape.new(name: 'EbsInstanceBlockDeviceSpecification')
|
804
|
+
EbsOptimizedInfo = Shapes::StructureShape.new(name: 'EbsOptimizedInfo')
|
801
805
|
EbsOptimizedSupport = Shapes::StringShape.new(name: 'EbsOptimizedSupport')
|
806
|
+
EfaSupportedFlag = Shapes::BooleanShape.new(name: 'EfaSupportedFlag')
|
802
807
|
EgressOnlyInternetGateway = Shapes::StructureShape.new(name: 'EgressOnlyInternetGateway')
|
803
808
|
EgressOnlyInternetGatewayId = Shapes::StringShape.new(name: 'EgressOnlyInternetGatewayId')
|
804
809
|
EgressOnlyInternetGatewayIdList = Shapes::ListShape.new(name: 'EgressOnlyInternetGatewayIdList')
|
@@ -877,6 +882,8 @@ module Aws::EC2
|
|
877
882
|
FailedQueuedPurchaseDeletion = Shapes::StructureShape.new(name: 'FailedQueuedPurchaseDeletion')
|
878
883
|
FailedQueuedPurchaseDeletionSet = Shapes::ListShape.new(name: 'FailedQueuedPurchaseDeletionSet')
|
879
884
|
FastSnapshotRestoreStateCode = Shapes::StringShape.new(name: 'FastSnapshotRestoreStateCode')
|
885
|
+
FederatedAuthentication = Shapes::StructureShape.new(name: 'FederatedAuthentication')
|
886
|
+
FederatedAuthenticationRequest = Shapes::StructureShape.new(name: 'FederatedAuthenticationRequest')
|
880
887
|
Filter = Shapes::StructureShape.new(name: 'Filter')
|
881
888
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
882
889
|
FleetActivityStatus = Shapes::StringShape.new(name: 'FleetActivityStatus')
|
@@ -1277,6 +1284,9 @@ module Aws::EC2
|
|
1277
1284
|
MaxIpv6AddrPerInterface = Shapes::IntegerShape.new(name: 'MaxIpv6AddrPerInterface')
|
1278
1285
|
MaxNetworkInterfaces = Shapes::IntegerShape.new(name: 'MaxNetworkInterfaces')
|
1279
1286
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
1287
|
+
MaximumBandwidthInMbps = Shapes::IntegerShape.new(name: 'MaximumBandwidthInMbps')
|
1288
|
+
MaximumIops = Shapes::IntegerShape.new(name: 'MaximumIops')
|
1289
|
+
MaximumThroughputInMBps = Shapes::FloatShape.new(name: 'MaximumThroughputInMBps')
|
1280
1290
|
MembershipType = Shapes::StringShape.new(name: 'MembershipType')
|
1281
1291
|
MemoryInfo = Shapes::StructureShape.new(name: 'MemoryInfo')
|
1282
1292
|
MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
|
@@ -1924,6 +1934,7 @@ module Aws::EC2
|
|
1924
1934
|
VgwTelemetry = Shapes::StructureShape.new(name: 'VgwTelemetry')
|
1925
1935
|
VgwTelemetryList = Shapes::ListShape.new(name: 'VgwTelemetryList')
|
1926
1936
|
VirtualizationType = Shapes::StringShape.new(name: 'VirtualizationType')
|
1937
|
+
VirtualizationTypeList = Shapes::ListShape.new(name: 'VirtualizationTypeList')
|
1927
1938
|
Volume = Shapes::StructureShape.new(name: 'Volume')
|
1928
1939
|
VolumeAttachment = Shapes::StructureShape.new(name: 'VolumeAttachment')
|
1929
1940
|
VolumeAttachmentList = Shapes::ListShape.new(name: 'VolumeAttachmentList')
|
@@ -2599,6 +2610,7 @@ module Aws::EC2
|
|
2599
2610
|
ClientVpnAuthentication.add_member(:type, Shapes::ShapeRef.new(shape: ClientVpnAuthenticationType, location_name: "type"))
|
2600
2611
|
ClientVpnAuthentication.add_member(:active_directory, Shapes::ShapeRef.new(shape: DirectoryServiceAuthentication, location_name: "activeDirectory"))
|
2601
2612
|
ClientVpnAuthentication.add_member(:mutual_authentication, Shapes::ShapeRef.new(shape: CertificateAuthentication, location_name: "mutualAuthentication"))
|
2613
|
+
ClientVpnAuthentication.add_member(:federated_authentication, Shapes::ShapeRef.new(shape: FederatedAuthentication, location_name: "federatedAuthentication"))
|
2602
2614
|
ClientVpnAuthentication.struct_class = Types::ClientVpnAuthentication
|
2603
2615
|
|
2604
2616
|
ClientVpnAuthenticationList.member = Shapes::ShapeRef.new(shape: ClientVpnAuthentication, location_name: "item")
|
@@ -2606,6 +2618,7 @@ module Aws::EC2
|
|
2606
2618
|
ClientVpnAuthenticationRequest.add_member(:type, Shapes::ShapeRef.new(shape: ClientVpnAuthenticationType, location_name: "Type"))
|
2607
2619
|
ClientVpnAuthenticationRequest.add_member(:active_directory, Shapes::ShapeRef.new(shape: DirectoryServiceAuthenticationRequest, location_name: "ActiveDirectory"))
|
2608
2620
|
ClientVpnAuthenticationRequest.add_member(:mutual_authentication, Shapes::ShapeRef.new(shape: CertificateAuthenticationRequest, location_name: "MutualAuthentication"))
|
2621
|
+
ClientVpnAuthenticationRequest.add_member(:federated_authentication, Shapes::ShapeRef.new(shape: FederatedAuthenticationRequest, location_name: "FederatedAuthentication"))
|
2609
2622
|
ClientVpnAuthenticationRequest.struct_class = Types::ClientVpnAuthenticationRequest
|
2610
2623
|
|
2611
2624
|
ClientVpnAuthenticationRequestList.member = Shapes::ShapeRef.new(shape: ClientVpnAuthenticationRequest)
|
@@ -3014,6 +3027,7 @@ module Aws::EC2
|
|
3014
3027
|
|
3015
3028
|
CreateLocalGatewayRouteTableVpcAssociationRequest.add_member(:local_gateway_route_table_id, Shapes::ShapeRef.new(shape: LocalGatewayRoutetableId, required: true, location_name: "LocalGatewayRouteTableId"))
|
3016
3029
|
CreateLocalGatewayRouteTableVpcAssociationRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
3030
|
+
CreateLocalGatewayRouteTableVpcAssociationRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3017
3031
|
CreateLocalGatewayRouteTableVpcAssociationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3018
3032
|
CreateLocalGatewayRouteTableVpcAssociationRequest.struct_class = Types::CreateLocalGatewayRouteTableVpcAssociationRequest
|
3019
3033
|
|
@@ -5228,6 +5242,7 @@ module Aws::EC2
|
|
5228
5242
|
|
5229
5243
|
EbsInfo.add_member(:ebs_optimized_support, Shapes::ShapeRef.new(shape: EbsOptimizedSupport, location_name: "ebsOptimizedSupport"))
|
5230
5244
|
EbsInfo.add_member(:encryption_support, Shapes::ShapeRef.new(shape: EbsEncryptionSupport, location_name: "encryptionSupport"))
|
5245
|
+
EbsInfo.add_member(:ebs_optimized_info, Shapes::ShapeRef.new(shape: EbsOptimizedInfo, location_name: "ebsOptimizedInfo"))
|
5231
5246
|
EbsInfo.struct_class = Types::EbsInfo
|
5232
5247
|
|
5233
5248
|
EbsInstanceBlockDevice.add_member(:attach_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "attachTime"))
|
@@ -5240,6 +5255,14 @@ module Aws::EC2
|
|
5240
5255
|
EbsInstanceBlockDeviceSpecification.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, location_name: "volumeId"))
|
5241
5256
|
EbsInstanceBlockDeviceSpecification.struct_class = Types::EbsInstanceBlockDeviceSpecification
|
5242
5257
|
|
5258
|
+
EbsOptimizedInfo.add_member(:baseline_bandwidth_in_mbps, Shapes::ShapeRef.new(shape: BaselineBandwidthInMbps, location_name: "baselineBandwidthInMbps"))
|
5259
|
+
EbsOptimizedInfo.add_member(:baseline_throughput_in_m_bps, Shapes::ShapeRef.new(shape: BaselineThroughputInMBps, location_name: "baselineThroughputInMBps"))
|
5260
|
+
EbsOptimizedInfo.add_member(:baseline_iops, Shapes::ShapeRef.new(shape: BaselineIops, location_name: "baselineIops"))
|
5261
|
+
EbsOptimizedInfo.add_member(:maximum_bandwidth_in_mbps, Shapes::ShapeRef.new(shape: MaximumBandwidthInMbps, location_name: "maximumBandwidthInMbps"))
|
5262
|
+
EbsOptimizedInfo.add_member(:maximum_throughput_in_m_bps, Shapes::ShapeRef.new(shape: MaximumThroughputInMBps, location_name: "maximumThroughputInMBps"))
|
5263
|
+
EbsOptimizedInfo.add_member(:maximum_iops, Shapes::ShapeRef.new(shape: MaximumIops, location_name: "maximumIops"))
|
5264
|
+
EbsOptimizedInfo.struct_class = Types::EbsOptimizedInfo
|
5265
|
+
|
5243
5266
|
EgressOnlyInternetGateway.add_member(:attachments, Shapes::ShapeRef.new(shape: InternetGatewayAttachmentList, location_name: "attachmentSet"))
|
5244
5267
|
EgressOnlyInternetGateway.add_member(:egress_only_internet_gateway_id, Shapes::ShapeRef.new(shape: EgressOnlyInternetGatewayId, location_name: "egressOnlyInternetGatewayId"))
|
5245
5268
|
EgressOnlyInternetGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
@@ -5482,6 +5505,12 @@ module Aws::EC2
|
|
5482
5505
|
|
5483
5506
|
FailedQueuedPurchaseDeletionSet.member = Shapes::ShapeRef.new(shape: FailedQueuedPurchaseDeletion, location_name: "item")
|
5484
5507
|
|
5508
|
+
FederatedAuthentication.add_member(:saml_provider_arn, Shapes::ShapeRef.new(shape: String, location_name: "samlProviderArn"))
|
5509
|
+
FederatedAuthentication.struct_class = Types::FederatedAuthentication
|
5510
|
+
|
5511
|
+
FederatedAuthenticationRequest.add_member(:saml_provider_arn, Shapes::ShapeRef.new(shape: String, location_name: "SAMLProviderArn"))
|
5512
|
+
FederatedAuthenticationRequest.struct_class = Types::FederatedAuthenticationRequest
|
5513
|
+
|
5485
5514
|
Filter.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
5486
5515
|
Filter.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Value"))
|
5487
5516
|
Filter.struct_class = Types::Filter
|
@@ -6436,6 +6465,7 @@ module Aws::EC2
|
|
6436
6465
|
InstanceTypeInfo.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: FreeTierEligibleFlag, location_name: "freeTierEligible"))
|
6437
6466
|
InstanceTypeInfo.add_member(:supported_usage_classes, Shapes::ShapeRef.new(shape: UsageClassTypeList, location_name: "supportedUsageClasses"))
|
6438
6467
|
InstanceTypeInfo.add_member(:supported_root_device_types, Shapes::ShapeRef.new(shape: RootDeviceTypeList, location_name: "supportedRootDeviceTypes"))
|
6468
|
+
InstanceTypeInfo.add_member(:supported_virtualization_types, Shapes::ShapeRef.new(shape: VirtualizationTypeList, location_name: "supportedVirtualizationTypes"))
|
6439
6469
|
InstanceTypeInfo.add_member(:bare_metal, Shapes::ShapeRef.new(shape: BareMetalFlag, location_name: "bareMetal"))
|
6440
6470
|
InstanceTypeInfo.add_member(:hypervisor, Shapes::ShapeRef.new(shape: InstanceTypeHypervisor, location_name: "hypervisor"))
|
6441
6471
|
InstanceTypeInfo.add_member(:processor_info, Shapes::ShapeRef.new(shape: ProcessorInfo, location_name: "processorInfo"))
|
@@ -7434,6 +7464,7 @@ module Aws::EC2
|
|
7434
7464
|
NetworkInfo.add_member(:ipv_6_addresses_per_interface, Shapes::ShapeRef.new(shape: MaxIpv6AddrPerInterface, location_name: "ipv6AddressesPerInterface"))
|
7435
7465
|
NetworkInfo.add_member(:ipv_6_supported, Shapes::ShapeRef.new(shape: Ipv6Flag, location_name: "ipv6Supported"))
|
7436
7466
|
NetworkInfo.add_member(:ena_support, Shapes::ShapeRef.new(shape: EnaSupport, location_name: "enaSupport"))
|
7467
|
+
NetworkInfo.add_member(:efa_supported, Shapes::ShapeRef.new(shape: EfaSupportedFlag, location_name: "efaSupported"))
|
7437
7468
|
NetworkInfo.struct_class = Types::NetworkInfo
|
7438
7469
|
|
7439
7470
|
NetworkInterface.add_member(:association, Shapes::ShapeRef.new(shape: NetworkInterfaceAssociation, location_name: "association"))
|
@@ -7750,6 +7781,7 @@ module Aws::EC2
|
|
7750
7781
|
ProvisionByoipCidrRequest.add_member(:publicly_advertisable, Shapes::ShapeRef.new(shape: Boolean, location_name: "PubliclyAdvertisable"))
|
7751
7782
|
ProvisionByoipCidrRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
7752
7783
|
ProvisionByoipCidrRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7784
|
+
ProvisionByoipCidrRequest.add_member(:pool_tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "PoolTagSpecification"))
|
7753
7785
|
ProvisionByoipCidrRequest.struct_class = Types::ProvisionByoipCidrRequest
|
7754
7786
|
|
7755
7787
|
ProvisionByoipCidrResult.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "byoipCidr"))
|
@@ -7769,6 +7801,7 @@ module Aws::EC2
|
|
7769
7801
|
PublicIpv4Pool.add_member(:pool_address_ranges, Shapes::ShapeRef.new(shape: PublicIpv4PoolRangeSet, location_name: "poolAddressRangeSet"))
|
7770
7802
|
PublicIpv4Pool.add_member(:total_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "totalAddressCount"))
|
7771
7803
|
PublicIpv4Pool.add_member(:total_available_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "totalAvailableAddressCount"))
|
7804
|
+
PublicIpv4Pool.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "networkBorderGroup"))
|
7772
7805
|
PublicIpv4Pool.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
7773
7806
|
PublicIpv4Pool.struct_class = Types::PublicIpv4Pool
|
7774
7807
|
|
@@ -8400,7 +8433,7 @@ module Aws::EC2
|
|
8400
8433
|
RunInstancesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
8401
8434
|
RunInstancesRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: String, location_name: "UserData"))
|
8402
8435
|
RunInstancesRequest.add_member(:additional_info, Shapes::ShapeRef.new(shape: String, location_name: "additionalInfo"))
|
8403
|
-
RunInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
8436
|
+
RunInstancesRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
8404
8437
|
RunInstancesRequest.add_member(:disable_api_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "disableApiTermination"))
|
8405
8438
|
RunInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
8406
8439
|
RunInstancesRequest.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsOptimized"))
|
@@ -9496,6 +9529,8 @@ module Aws::EC2
|
|
9496
9529
|
|
9497
9530
|
VgwTelemetryList.member = Shapes::ShapeRef.new(shape: VgwTelemetry, location_name: "item")
|
9498
9531
|
|
9532
|
+
VirtualizationTypeList.member = Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "item")
|
9533
|
+
|
9499
9534
|
Volume.add_member(:attachments, Shapes::ShapeRef.new(shape: VolumeAttachmentList, location_name: "attachmentSet"))
|
9500
9535
|
Volume.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
9501
9536
|
Volume.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "createTime"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -428,6 +428,9 @@ module Aws::EC2
|
|
428
428
|
# Elastic inference accelerators are a resource you can attach to your
|
429
429
|
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
430
430
|
# workloads.
|
431
|
+
#
|
432
|
+
# You cannot specify accelerators from different generations in the same
|
433
|
+
# request.
|
431
434
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
432
435
|
# The tags to apply to the resources during launch. You can only tag
|
433
436
|
# instances and volumes on launch. The specified tags are applied to all
|
@@ -768,7 +771,7 @@ module Aws::EC2
|
|
768
771
|
# The tags to apply to the new placement group.
|
769
772
|
# @return [PlacementGroup]
|
770
773
|
def create_placement_group(options = {})
|
771
|
-
|
774
|
+
@client.create_placement_group(options)
|
772
775
|
PlacementGroup.new(
|
773
776
|
name: options[:group_name],
|
774
777
|
client: @client
|
@@ -921,7 +924,9 @@ module Aws::EC2
|
|
921
924
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
922
925
|
# size must use a /64 prefix length.
|
923
926
|
# @option options [String] :outpost_arn
|
924
|
-
# The Amazon Resource Name (ARN) of the Outpost.
|
927
|
+
# The Amazon Resource Name (ARN) of the Outpost. If you specify an
|
928
|
+
# Outpost ARN, you must also specify the Availability Zone of the
|
929
|
+
# Outpost subnet.
|
925
930
|
# @option options [required, String] :vpc_id
|
926
931
|
# The ID of the VPC.
|
927
932
|
# @option options [Boolean] :dry_run
|
@@ -267,7 +267,7 @@ module Aws::EC2
|
|
267
267
|
# @return [Route]
|
268
268
|
def create_route(options = {})
|
269
269
|
options = options.merge(route_table_id: @id)
|
270
|
-
|
270
|
+
@client.create_route(options)
|
271
271
|
Route.new(
|
272
272
|
route_table_id: @id,
|
273
273
|
destination_cidr_block: options[:destination_cidr_block],
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -630,6 +630,9 @@ module Aws::EC2
|
|
630
630
|
# Elastic inference accelerators are a resource you can attach to your
|
631
631
|
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
632
632
|
# workloads.
|
633
|
+
#
|
634
|
+
# You cannot specify accelerators from different generations in the same
|
635
|
+
# request.
|
633
636
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
634
637
|
# The tags to apply to the resources during launch. You can only tag
|
635
638
|
# instances and volumes on launch. The specified tags are applied to all
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -1716,7 +1716,8 @@ module Aws::EC2
|
|
1716
1716
|
# @return [String]
|
1717
1717
|
#
|
1718
1718
|
# @!attribute [rw] access_group_id
|
1719
|
-
# The ID of the
|
1719
|
+
# The ID of the group to grant access to, for example, the Active
|
1720
|
+
# Directory group or identity provider (IdP) group.
|
1720
1721
|
# @return [String]
|
1721
1722
|
#
|
1722
1723
|
# @!attribute [rw] authorize_all_groups
|
@@ -3358,8 +3359,7 @@ module Aws::EC2
|
|
3358
3359
|
end
|
3359
3360
|
|
3360
3361
|
# Describes the authentication methods used by a Client VPN endpoint.
|
3361
|
-
#
|
3362
|
-
# more information, see [Authentication][1] in the *AWS Client VPN
|
3362
|
+
# For more information, see [Authentication][1] in the *AWS Client VPN
|
3363
3363
|
# Administrator Guide*.
|
3364
3364
|
#
|
3365
3365
|
#
|
@@ -3378,19 +3378,23 @@ module Aws::EC2
|
|
3378
3378
|
# Information about the authentication certificates, if applicable.
|
3379
3379
|
# @return [Types::CertificateAuthentication]
|
3380
3380
|
#
|
3381
|
+
# @!attribute [rw] federated_authentication
|
3382
|
+
# Information about the IAM SAML identity provider, if applicable.
|
3383
|
+
# @return [Types::FederatedAuthentication]
|
3384
|
+
#
|
3381
3385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnAuthentication AWS API Documentation
|
3382
3386
|
#
|
3383
3387
|
class ClientVpnAuthentication < Struct.new(
|
3384
3388
|
:type,
|
3385
3389
|
:active_directory,
|
3386
|
-
:mutual_authentication
|
3390
|
+
:mutual_authentication,
|
3391
|
+
:federated_authentication)
|
3387
3392
|
include Aws::Structure
|
3388
3393
|
end
|
3389
3394
|
|
3390
3395
|
# Describes the authentication method to be used by a Client VPN
|
3391
|
-
# endpoint.
|
3392
|
-
#
|
3393
|
-
# *AWS Client VPN Administrator Guide*.
|
3396
|
+
# endpoint. For more information, see [Authentication][1] in the *AWS
|
3397
|
+
# Client VPN Administrator Guide*.
|
3394
3398
|
#
|
3395
3399
|
#
|
3396
3400
|
#
|
@@ -3400,20 +3404,20 @@ module Aws::EC2
|
|
3400
3404
|
# data as a hash:
|
3401
3405
|
#
|
3402
3406
|
# {
|
3403
|
-
# type: "certificate-authentication", # accepts certificate-authentication, directory-service-authentication
|
3407
|
+
# type: "certificate-authentication", # accepts certificate-authentication, directory-service-authentication, federated-authentication
|
3404
3408
|
# active_directory: {
|
3405
3409
|
# directory_id: "String",
|
3406
3410
|
# },
|
3407
3411
|
# mutual_authentication: {
|
3408
3412
|
# client_root_certificate_chain_arn: "String",
|
3409
3413
|
# },
|
3414
|
+
# federated_authentication: {
|
3415
|
+
# saml_provider_arn: "String",
|
3416
|
+
# },
|
3410
3417
|
# }
|
3411
3418
|
#
|
3412
3419
|
# @!attribute [rw] type
|
3413
|
-
# The type of client authentication to be used.
|
3414
|
-
# `certificate-authentication` to use certificate-based
|
3415
|
-
# authentication, or `directory-service-authentication` to use Active
|
3416
|
-
# Directory authentication.
|
3420
|
+
# The type of client authentication to be used.
|
3417
3421
|
# @return [String]
|
3418
3422
|
#
|
3419
3423
|
# @!attribute [rw] active_directory
|
@@ -3428,12 +3432,19 @@ module Aws::EC2
|
|
3428
3432
|
# `certificate-authentication`.
|
3429
3433
|
# @return [Types::CertificateAuthenticationRequest]
|
3430
3434
|
#
|
3435
|
+
# @!attribute [rw] federated_authentication
|
3436
|
+
# Information about the IAM SAML identity provider to be used, if
|
3437
|
+
# applicable. You must provide this information if **Type** is
|
3438
|
+
# `federated-authentication`.
|
3439
|
+
# @return [Types::FederatedAuthenticationRequest]
|
3440
|
+
#
|
3431
3441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ClientVpnAuthenticationRequest AWS API Documentation
|
3432
3442
|
#
|
3433
3443
|
class ClientVpnAuthenticationRequest < Struct.new(
|
3434
3444
|
:type,
|
3435
3445
|
:active_directory,
|
3436
|
-
:mutual_authentication
|
3446
|
+
:mutual_authentication,
|
3447
|
+
:federated_authentication)
|
3437
3448
|
include Aws::Structure
|
3438
3449
|
end
|
3439
3450
|
|
@@ -4606,13 +4617,16 @@ module Aws::EC2
|
|
4606
4617
|
# server_certificate_arn: "String", # required
|
4607
4618
|
# authentication_options: [ # required
|
4608
4619
|
# {
|
4609
|
-
# type: "certificate-authentication", # accepts certificate-authentication, directory-service-authentication
|
4620
|
+
# type: "certificate-authentication", # accepts certificate-authentication, directory-service-authentication, federated-authentication
|
4610
4621
|
# active_directory: {
|
4611
4622
|
# directory_id: "String",
|
4612
4623
|
# },
|
4613
4624
|
# mutual_authentication: {
|
4614
4625
|
# client_root_certificate_chain_arn: "String",
|
4615
4626
|
# },
|
4627
|
+
# federated_authentication: {
|
4628
|
+
# saml_provider_arn: "String",
|
4629
|
+
# },
|
4616
4630
|
# },
|
4617
4631
|
# ],
|
4618
4632
|
# connection_log_options: { # required
|
@@ -6413,6 +6427,17 @@ module Aws::EC2
|
|
6413
6427
|
# {
|
6414
6428
|
# local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
|
6415
6429
|
# vpc_id: "VpcId", # required
|
6430
|
+
# tag_specifications: [
|
6431
|
+
# {
|
6432
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
6433
|
+
# tags: [
|
6434
|
+
# {
|
6435
|
+
# key: "String",
|
6436
|
+
# value: "String",
|
6437
|
+
# },
|
6438
|
+
# ],
|
6439
|
+
# },
|
6440
|
+
# ],
|
6416
6441
|
# dry_run: false,
|
6417
6442
|
# }
|
6418
6443
|
#
|
@@ -6424,6 +6449,10 @@ module Aws::EC2
|
|
6424
6449
|
# The ID of the VPC.
|
6425
6450
|
# @return [String]
|
6426
6451
|
#
|
6452
|
+
# @!attribute [rw] tag_specifications
|
6453
|
+
# The tags to assign to the local gateway route table VPC association.
|
6454
|
+
# @return [Array<Types::TagSpecification>]
|
6455
|
+
#
|
6427
6456
|
# @!attribute [rw] dry_run
|
6428
6457
|
# Checks whether you have the required permissions for the action,
|
6429
6458
|
# without actually making the request, and provides an error response.
|
@@ -6436,6 +6465,7 @@ module Aws::EC2
|
|
6436
6465
|
class CreateLocalGatewayRouteTableVpcAssociationRequest < Struct.new(
|
6437
6466
|
:local_gateway_route_table_id,
|
6438
6467
|
:vpc_id,
|
6468
|
+
:tag_specifications,
|
6439
6469
|
:dry_run)
|
6440
6470
|
include Aws::Structure
|
6441
6471
|
end
|
@@ -7423,7 +7453,9 @@ module Aws::EC2
|
|
7423
7453
|
# @return [String]
|
7424
7454
|
#
|
7425
7455
|
# @!attribute [rw] outpost_arn
|
7426
|
-
# The Amazon Resource Name (ARN) of the Outpost.
|
7456
|
+
# The Amazon Resource Name (ARN) of the Outpost. If you specify an
|
7457
|
+
# Outpost ARN, you must also specify the Availability Zone of the
|
7458
|
+
# Outpost subnet.
|
7427
7459
|
# @return [String]
|
7428
7460
|
#
|
7429
7461
|
# @!attribute [rw] vpc_id
|
@@ -14870,6 +14902,30 @@ module Aws::EC2
|
|
14870
14902
|
# latest generation instance type of an instance family. (`true` \|
|
14871
14903
|
# `false`)
|
14872
14904
|
#
|
14905
|
+
# * `ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps` - The
|
14906
|
+
# baseline bandwidth performance for an EBS-optimized instance type,
|
14907
|
+
# in Mbps.
|
14908
|
+
#
|
14909
|
+
# * `ebs-info.ebs-optimized-info.baseline-throughput-in-mbps` - The
|
14910
|
+
# baseline throughput performance for an EBS-optimized instance
|
14911
|
+
# type, in MBps.
|
14912
|
+
#
|
14913
|
+
# * `ebs-info.ebs-optimized-info.baseline-iops` - The baseline
|
14914
|
+
# input/output storage operations per second for an EBS-optimized
|
14915
|
+
# instance type.
|
14916
|
+
#
|
14917
|
+
# * `ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps` - The
|
14918
|
+
# maximum bandwidth performance for an EBS-optimized instance type,
|
14919
|
+
# in Mbps.
|
14920
|
+
#
|
14921
|
+
# * `ebs-info.ebs-optimized-info.maximum-throughput-in-mbps` - The
|
14922
|
+
# maximum throughput performance for an EBS-optimized instance type,
|
14923
|
+
# in MBps.
|
14924
|
+
#
|
14925
|
+
# * `ebs-info.ebs-optimized-info.maximum-iops` - The maximum
|
14926
|
+
# input/output storage operations per second for an EBS-optimized
|
14927
|
+
# instance type.
|
14928
|
+
#
|
14873
14929
|
# * `ebs-info.ebs-optimized-support` - Indicates whether the instance
|
14874
14930
|
# type is EBS-optimized. (`supported` \| `unsupported` \| `default`)
|
14875
14931
|
#
|
@@ -14904,6 +14960,9 @@ module Aws::EC2
|
|
14904
14960
|
# Adapter (ENA) is supported or required. (`required` \| `supported`
|
14905
14961
|
# \| `unsupported`)
|
14906
14962
|
#
|
14963
|
+
# * `network-info.efa-supported` - Indicates whether the instance type
|
14964
|
+
# supports Elastic Fabric Adapter (EFA). (`true` \| `false`)
|
14965
|
+
#
|
14907
14966
|
# * `network-info.ipv4-addresses-per-interface` - The maximum number
|
14908
14967
|
# of private IPv4 addresses per network interface.
|
14909
14968
|
#
|
@@ -15795,6 +15854,19 @@ module Aws::EC2
|
|
15795
15854
|
#
|
15796
15855
|
# @!attribute [rw] filters
|
15797
15856
|
# One or more filters.
|
15857
|
+
#
|
15858
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
15859
|
+
#
|
15860
|
+
# * `local-gateway-route-table-id` - The ID of the local gateway route
|
15861
|
+
# table.
|
15862
|
+
#
|
15863
|
+
# * `local-gateway-route-table-virtual-interface-group-association-id`
|
15864
|
+
# - The ID of the association.
|
15865
|
+
#
|
15866
|
+
# * `local-gateway-route-table-virtual-interface-group-id` - The ID of
|
15867
|
+
# the virtual interface group.
|
15868
|
+
#
|
15869
|
+
# * `state` - The state of the association.
|
15798
15870
|
# @return [Array<Types::Filter>]
|
15799
15871
|
#
|
15800
15872
|
# @!attribute [rw] max_results
|
@@ -15864,6 +15936,18 @@ module Aws::EC2
|
|
15864
15936
|
#
|
15865
15937
|
# @!attribute [rw] filters
|
15866
15938
|
# One or more filters.
|
15939
|
+
#
|
15940
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
15941
|
+
#
|
15942
|
+
# * `local-gateway-route-table-id` - The ID of the local gateway route
|
15943
|
+
# table.
|
15944
|
+
#
|
15945
|
+
# * `local-gateway-route-table-vpc-association-id` - The ID of the
|
15946
|
+
# association.
|
15947
|
+
#
|
15948
|
+
# * `state` - The state of the association.
|
15949
|
+
#
|
15950
|
+
# * `vpc-id` - The ID of the VPC.
|
15867
15951
|
# @return [Array<Types::Filter>]
|
15868
15952
|
#
|
15869
15953
|
# @!attribute [rw] max_results
|
@@ -15933,6 +16017,15 @@ module Aws::EC2
|
|
15933
16017
|
#
|
15934
16018
|
# @!attribute [rw] filters
|
15935
16019
|
# One or more filters.
|
16020
|
+
#
|
16021
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
16022
|
+
#
|
16023
|
+
# * `local-gateway-route-table-id` - The ID of a local gateway route
|
16024
|
+
# table.
|
16025
|
+
#
|
16026
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
16027
|
+
#
|
16028
|
+
# * `state` - The state of the local gateway route table.
|
15936
16029
|
# @return [Array<Types::Filter>]
|
15937
16030
|
#
|
15938
16031
|
# @!attribute [rw] max_results
|
@@ -16002,6 +16095,14 @@ module Aws::EC2
|
|
16002
16095
|
#
|
16003
16096
|
# @!attribute [rw] filters
|
16004
16097
|
# One or more filters.
|
16098
|
+
#
|
16099
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
16100
|
+
#
|
16101
|
+
# * `local-gateway-virtual-interface-id` - The ID of the virtual
|
16102
|
+
# interface.
|
16103
|
+
#
|
16104
|
+
# * `local-gateway-virtual-interface-group-id` - The ID of the virtual
|
16105
|
+
# interface group.
|
16005
16106
|
# @return [Array<Types::Filter>]
|
16006
16107
|
#
|
16007
16108
|
# @!attribute [rw] max_results
|
@@ -16135,7 +16236,22 @@ module Aws::EC2
|
|
16135
16236
|
# }
|
16136
16237
|
#
|
16137
16238
|
# @!attribute [rw] local_gateway_ids
|
16138
|
-
#
|
16239
|
+
# One or more filters.
|
16240
|
+
#
|
16241
|
+
# * `local-gateway-id` - The ID of a local gateway.
|
16242
|
+
#
|
16243
|
+
# * `local-gateway-route-table-id` - The ID of the local gateway route
|
16244
|
+
# table.
|
16245
|
+
#
|
16246
|
+
# * `local-gateway-route-table-virtual-interface-group-association-id`
|
16247
|
+
# - The ID of the association.
|
16248
|
+
#
|
16249
|
+
# * `local-gateway-route-table-virtual-interface-group-id` - The ID of
|
16250
|
+
# the virtual interface group.
|
16251
|
+
#
|
16252
|
+
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
16253
|
+
#
|
16254
|
+
# * `state` - The state of the association.
|
16139
16255
|
# @return [Array<String>]
|
16140
16256
|
#
|
16141
16257
|
# @!attribute [rw] filters
|
@@ -22793,11 +22909,16 @@ module Aws::EC2
|
|
22793
22909
|
# Indicates whether Amazon EBS encryption is supported.
|
22794
22910
|
# @return [String]
|
22795
22911
|
#
|
22912
|
+
# @!attribute [rw] ebs_optimized_info
|
22913
|
+
# Describes the optimized EBS performance for the instance type.
|
22914
|
+
# @return [Types::EbsOptimizedInfo]
|
22915
|
+
#
|
22796
22916
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInfo AWS API Documentation
|
22797
22917
|
#
|
22798
22918
|
class EbsInfo < Struct.new(
|
22799
22919
|
:ebs_optimized_support,
|
22800
|
-
:encryption_support
|
22920
|
+
:encryption_support,
|
22921
|
+
:ebs_optimized_info)
|
22801
22922
|
include Aws::Structure
|
22802
22923
|
end
|
22803
22924
|
|
@@ -22857,6 +22978,50 @@ module Aws::EC2
|
|
22857
22978
|
include Aws::Structure
|
22858
22979
|
end
|
22859
22980
|
|
22981
|
+
# Describes the optimized EBS performance for supported instance types.
|
22982
|
+
#
|
22983
|
+
# @!attribute [rw] baseline_bandwidth_in_mbps
|
22984
|
+
# The baseline bandwidth performance for an EBS-optimized instance
|
22985
|
+
# type, in Mbps.
|
22986
|
+
# @return [Integer]
|
22987
|
+
#
|
22988
|
+
# @!attribute [rw] baseline_throughput_in_m_bps
|
22989
|
+
# The baseline throughput performance for an EBS-optimized instance
|
22990
|
+
# type, in MBps.
|
22991
|
+
# @return [Float]
|
22992
|
+
#
|
22993
|
+
# @!attribute [rw] baseline_iops
|
22994
|
+
# The baseline input/output storage operations per seconds for an
|
22995
|
+
# EBS-optimized instance type.
|
22996
|
+
# @return [Integer]
|
22997
|
+
#
|
22998
|
+
# @!attribute [rw] maximum_bandwidth_in_mbps
|
22999
|
+
# The maximum bandwidth performance for an EBS-optimized instance
|
23000
|
+
# type, in Mbps.
|
23001
|
+
# @return [Integer]
|
23002
|
+
#
|
23003
|
+
# @!attribute [rw] maximum_throughput_in_m_bps
|
23004
|
+
# The maximum throughput performance for an EBS-optimized instance
|
23005
|
+
# type, in MBps.
|
23006
|
+
# @return [Float]
|
23007
|
+
#
|
23008
|
+
# @!attribute [rw] maximum_iops
|
23009
|
+
# The maximum input/output storage operations per second for an
|
23010
|
+
# EBS-optimized instance type.
|
23011
|
+
# @return [Integer]
|
23012
|
+
#
|
23013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsOptimizedInfo AWS API Documentation
|
23014
|
+
#
|
23015
|
+
class EbsOptimizedInfo < Struct.new(
|
23016
|
+
:baseline_bandwidth_in_mbps,
|
23017
|
+
:baseline_throughput_in_m_bps,
|
23018
|
+
:baseline_iops,
|
23019
|
+
:maximum_bandwidth_in_mbps,
|
23020
|
+
:maximum_throughput_in_m_bps,
|
23021
|
+
:maximum_iops)
|
23022
|
+
include Aws::Structure
|
23023
|
+
end
|
23024
|
+
|
22860
23025
|
# Describes an egress-only internet gateway.
|
22861
23026
|
#
|
22862
23027
|
# @!attribute [rw] attachments
|
@@ -24067,6 +24232,40 @@ module Aws::EC2
|
|
24067
24232
|
include Aws::Structure
|
24068
24233
|
end
|
24069
24234
|
|
24235
|
+
# Describes the IAM SAML identity provider used for federated
|
24236
|
+
# authentication.
|
24237
|
+
#
|
24238
|
+
# @!attribute [rw] saml_provider_arn
|
24239
|
+
# The Amazon Resource Name (ARN) of the IAM SAML identity provider.
|
24240
|
+
# @return [String]
|
24241
|
+
#
|
24242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FederatedAuthentication AWS API Documentation
|
24243
|
+
#
|
24244
|
+
class FederatedAuthentication < Struct.new(
|
24245
|
+
:saml_provider_arn)
|
24246
|
+
include Aws::Structure
|
24247
|
+
end
|
24248
|
+
|
24249
|
+
# The IAM SAML identity provider used for federated authentication.
|
24250
|
+
#
|
24251
|
+
# @note When making an API call, you may pass FederatedAuthenticationRequest
|
24252
|
+
# data as a hash:
|
24253
|
+
#
|
24254
|
+
# {
|
24255
|
+
# saml_provider_arn: "String",
|
24256
|
+
# }
|
24257
|
+
#
|
24258
|
+
# @!attribute [rw] saml_provider_arn
|
24259
|
+
# The Amazon Resource Name (ARN) of the IAM SAML identity provider.
|
24260
|
+
# @return [String]
|
24261
|
+
#
|
24262
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FederatedAuthenticationRequest AWS API Documentation
|
24263
|
+
#
|
24264
|
+
class FederatedAuthenticationRequest < Struct.new(
|
24265
|
+
:saml_provider_arn)
|
24266
|
+
include Aws::Structure
|
24267
|
+
end
|
24268
|
+
|
24070
24269
|
# A filter name and value pair that is used to return a more specific
|
24071
24270
|
# list of results from a describe operation. Filters can be used to
|
24072
24271
|
# match a set of resources by specific criteria, such as tags,
|
@@ -24457,7 +24656,15 @@ module Aws::EC2
|
|
24457
24656
|
include Aws::Structure
|
24458
24657
|
end
|
24459
24658
|
|
24460
|
-
# Describes
|
24659
|
+
# Describes the Amazon EC2 launch template and the launch template
|
24660
|
+
# version that can be used by a Spot Fleet request to configure Amazon
|
24661
|
+
# EC2 instances. For information about launch templates, see [Launching
|
24662
|
+
# an instance from a launch template][1] in the *Amazon EC2 User Guide
|
24663
|
+
# for Linux Instances*.
|
24664
|
+
#
|
24665
|
+
#
|
24666
|
+
#
|
24667
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html
|
24461
24668
|
#
|
24462
24669
|
# @note When making an API call, you may pass FleetLaunchTemplateSpecification
|
24463
24670
|
# data as a hash:
|
@@ -24469,18 +24676,24 @@ module Aws::EC2
|
|
24469
24676
|
# }
|
24470
24677
|
#
|
24471
24678
|
# @!attribute [rw] launch_template_id
|
24472
|
-
# The ID of the launch template.
|
24473
|
-
#
|
24679
|
+
# The ID of the launch template. If you specify the template ID, you
|
24680
|
+
# can't specify the template name.
|
24474
24681
|
# @return [String]
|
24475
24682
|
#
|
24476
24683
|
# @!attribute [rw] launch_template_name
|
24477
|
-
# The name of the launch template.
|
24478
|
-
#
|
24684
|
+
# The name of the launch template. If you specify the template name,
|
24685
|
+
# you can't specify the template ID.
|
24479
24686
|
# @return [String]
|
24480
24687
|
#
|
24481
24688
|
# @!attribute [rw] version
|
24482
|
-
# The version number
|
24483
|
-
#
|
24689
|
+
# The launch template version number, `$Latest`, or `$Default`. You
|
24690
|
+
# must specify a value, otherwise the request fails.
|
24691
|
+
#
|
24692
|
+
# If the value is `$Latest`, Amazon EC2 uses the latest version of the
|
24693
|
+
# launch template.
|
24694
|
+
#
|
24695
|
+
# If the value is `$Default`, Amazon EC2 uses the default version of
|
24696
|
+
# the launch template.
|
24484
24697
|
# @return [String]
|
24485
24698
|
#
|
24486
24699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateSpecification AWS API Documentation
|
@@ -24492,8 +24705,15 @@ module Aws::EC2
|
|
24492
24705
|
include Aws::Structure
|
24493
24706
|
end
|
24494
24707
|
|
24495
|
-
#
|
24496
|
-
#
|
24708
|
+
# Describes the Amazon EC2 launch template and the launch template
|
24709
|
+
# version that can be used by an EC2 Fleet to configure Amazon EC2
|
24710
|
+
# instances. For information about launch templates, see [Launching an
|
24711
|
+
# instance from a launch template][1] in the *Amazon Elastic Compute
|
24712
|
+
# Cloud User Guide*.
|
24713
|
+
#
|
24714
|
+
#
|
24715
|
+
#
|
24716
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html
|
24497
24717
|
#
|
24498
24718
|
# @note When making an API call, you may pass FleetLaunchTemplateSpecificationRequest
|
24499
24719
|
# data as a hash:
|
@@ -24505,16 +24725,24 @@ module Aws::EC2
|
|
24505
24725
|
# }
|
24506
24726
|
#
|
24507
24727
|
# @!attribute [rw] launch_template_id
|
24508
|
-
# The ID of the launch template.
|
24728
|
+
# The ID of the launch template. If you specify the template ID, you
|
24729
|
+
# can't specify the template name.
|
24509
24730
|
# @return [String]
|
24510
24731
|
#
|
24511
24732
|
# @!attribute [rw] launch_template_name
|
24512
|
-
# The name of the launch template.
|
24733
|
+
# The name of the launch template. If you specify the template name,
|
24734
|
+
# you can't specify the template ID.
|
24513
24735
|
# @return [String]
|
24514
24736
|
#
|
24515
24737
|
# @!attribute [rw] version
|
24516
|
-
# The
|
24517
|
-
#
|
24738
|
+
# The launch template version number, `$Latest`, or `$Default`. You
|
24739
|
+
# must specify a value, otherwise the request fails.
|
24740
|
+
#
|
24741
|
+
# If the value is `$Latest`, Amazon EC2 uses the latest version of the
|
24742
|
+
# launch template.
|
24743
|
+
#
|
24744
|
+
# If the value is `$Default`, Amazon EC2 uses the default version of
|
24745
|
+
# the launch template.
|
24518
24746
|
# @return [String]
|
24519
24747
|
#
|
24520
24748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateSpecificationRequest AWS API Documentation
|
@@ -29239,6 +29467,10 @@ module Aws::EC2
|
|
29239
29467
|
# Indicates the supported root device types.
|
29240
29468
|
# @return [Array<String>]
|
29241
29469
|
#
|
29470
|
+
# @!attribute [rw] supported_virtualization_types
|
29471
|
+
# The supported virtualization types.
|
29472
|
+
# @return [Array<String>]
|
29473
|
+
#
|
29242
29474
|
# @!attribute [rw] bare_metal
|
29243
29475
|
# Indicates whether the instance is bare metal.
|
29244
29476
|
# @return [Boolean]
|
@@ -29317,6 +29549,7 @@ module Aws::EC2
|
|
29317
29549
|
:free_tier_eligible,
|
29318
29550
|
:supported_usage_classes,
|
29319
29551
|
:supported_root_device_types,
|
29552
|
+
:supported_virtualization_types,
|
29320
29553
|
:bare_metal,
|
29321
29554
|
:hypervisor,
|
29322
29555
|
:processor_info,
|
@@ -35106,6 +35339,10 @@ module Aws::EC2
|
|
35106
35339
|
# Indicates whether Elastic Network Adapter (ENA) is supported.
|
35107
35340
|
# @return [String]
|
35108
35341
|
#
|
35342
|
+
# @!attribute [rw] efa_supported
|
35343
|
+
# Indicates whether Elastic Fabric Adapter (EFA) is supported.
|
35344
|
+
# @return [Boolean]
|
35345
|
+
#
|
35109
35346
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/NetworkInfo AWS API Documentation
|
35110
35347
|
#
|
35111
35348
|
class NetworkInfo < Struct.new(
|
@@ -35114,7 +35351,8 @@ module Aws::EC2
|
|
35114
35351
|
:ipv_4_addresses_per_interface,
|
35115
35352
|
:ipv_6_addresses_per_interface,
|
35116
35353
|
:ipv_6_supported,
|
35117
|
-
:ena_support
|
35354
|
+
:ena_support,
|
35355
|
+
:efa_supported)
|
35118
35356
|
include Aws::Structure
|
35119
35357
|
end
|
35120
35358
|
|
@@ -36434,6 +36672,17 @@ module Aws::EC2
|
|
36434
36672
|
# publicly_advertisable: false,
|
36435
36673
|
# description: "String",
|
36436
36674
|
# dry_run: false,
|
36675
|
+
# pool_tag_specifications: [
|
36676
|
+
# {
|
36677
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, elastic-ip, fleet, fpga-image, host-reservation, image, instance, internet-gateway, key-pair, launch-template, 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
|
36678
|
+
# tags: [
|
36679
|
+
# {
|
36680
|
+
# key: "String",
|
36681
|
+
# value: "String",
|
36682
|
+
# },
|
36683
|
+
# ],
|
36684
|
+
# },
|
36685
|
+
# ],
|
36437
36686
|
# }
|
36438
36687
|
#
|
36439
36688
|
# @!attribute [rw] cidr
|
@@ -36467,6 +36716,10 @@ module Aws::EC2
|
|
36467
36716
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
36468
36717
|
# @return [Boolean]
|
36469
36718
|
#
|
36719
|
+
# @!attribute [rw] pool_tag_specifications
|
36720
|
+
# The tags to apply to the address pool.
|
36721
|
+
# @return [Array<Types::TagSpecification>]
|
36722
|
+
#
|
36470
36723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionByoipCidrRequest AWS API Documentation
|
36471
36724
|
#
|
36472
36725
|
class ProvisionByoipCidrRequest < Struct.new(
|
@@ -36474,7 +36727,8 @@ module Aws::EC2
|
|
36474
36727
|
:cidr_authorization_context,
|
36475
36728
|
:publicly_advertisable,
|
36476
36729
|
:description,
|
36477
|
-
:dry_run
|
36730
|
+
:dry_run,
|
36731
|
+
:pool_tag_specifications)
|
36478
36732
|
include Aws::Structure
|
36479
36733
|
end
|
36480
36734
|
|
@@ -36580,6 +36834,12 @@ module Aws::EC2
|
|
36580
36834
|
# The total number of available addresses.
|
36581
36835
|
# @return [Integer]
|
36582
36836
|
#
|
36837
|
+
# @!attribute [rw] network_border_group
|
36838
|
+
# The name of the location from which the address pool is advertised.
|
36839
|
+
# A network border group is a unique set of Availability Zones or
|
36840
|
+
# Local Zones from where AWS advertises public IP addresses.
|
36841
|
+
# @return [String]
|
36842
|
+
#
|
36583
36843
|
# @!attribute [rw] tags
|
36584
36844
|
# Any tags for the address pool.
|
36585
36845
|
# @return [Array<Types::Tag>]
|
@@ -36592,6 +36852,7 @@ module Aws::EC2
|
|
36592
36852
|
:pool_address_ranges,
|
36593
36853
|
:total_address_count,
|
36594
36854
|
:total_available_address_count,
|
36855
|
+
:network_border_group,
|
36595
36856
|
:tags)
|
36596
36857
|
include Aws::Structure
|
36597
36858
|
end
|
@@ -40807,6 +41068,9 @@ module Aws::EC2
|
|
40807
41068
|
#
|
40808
41069
|
# Constraints: Maximum 64 ASCII characters
|
40809
41070
|
#
|
41071
|
+
# **A suitable default value is auto-generated.** You should normally
|
41072
|
+
# not need to pass this option.
|
41073
|
+
#
|
40810
41074
|
#
|
40811
41075
|
#
|
40812
41076
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
@@ -40895,6 +41159,9 @@ module Aws::EC2
|
|
40895
41159
|
# Elastic inference accelerators are a resource you can attach to your
|
40896
41160
|
# Amazon EC2 instances to accelerate your Deep Learning (DL) inference
|
40897
41161
|
# workloads.
|
41162
|
+
#
|
41163
|
+
# You cannot specify accelerators from different generations in the
|
41164
|
+
# same request.
|
40898
41165
|
# @return [Array<Types::ElasticInferenceAccelerator>]
|
40899
41166
|
#
|
40900
41167
|
# @!attribute [rw] tag_specifications
|
@@ -44693,14 +44960,14 @@ module Aws::EC2
|
|
44693
44960
|
# The type of resource to tag. Currently, the resource types that
|
44694
44961
|
# support tagging on creation are: `capacity-reservation` \|
|
44695
44962
|
# `client-vpn-endpoint` \| `dedicated-host` \| `fleet` \| `fpga-image`
|
44696
|
-
# \| `instance` \| `
|
44697
|
-
#
|
44698
|
-
# `
|
44699
|
-
# `traffic-mirror-
|
44700
|
-
# `transit-gateway
|
44701
|
-
# `vpc-endpoint` (for interface VPC
|
44702
|
-
# `vpc-endpoint-service` (for gateway VPC endpoints) \|
|
44703
|
-
# `vpc-flow-log`.
|
44963
|
+
# \| `instance` \| `ipv4pool-ec2` \| `ipv6pool-ec2` \| `key-pair` \|
|
44964
|
+
# `launch-template` \| `natgateway` \| `spot-fleet-request` \|
|
44965
|
+
# `placement-group` \| `snapshot` \| `traffic-mirror-filter` \|
|
44966
|
+
# `traffic-mirror-session` \| `traffic-mirror-target` \|
|
44967
|
+
# `transit-gateway` \| `transit-gateway-attachment` \|
|
44968
|
+
# `transit-gateway-route-table` \| `vpc-endpoint` (for interface VPC
|
44969
|
+
# endpoints)\| `vpc-endpoint-service` (for gateway VPC endpoints) \|
|
44970
|
+
# `volume` \| `vpc-flow-log`.
|
44704
44971
|
#
|
44705
44972
|
# To tag a resource after it has been created, see [CreateTags][1].
|
44706
44973
|
#
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -462,7 +462,9 @@ module Aws::EC2
|
|
462
462
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
463
463
|
# size must use a /64 prefix length.
|
464
464
|
# @option options [String] :outpost_arn
|
465
|
-
# The Amazon Resource Name (ARN) of the Outpost.
|
465
|
+
# The Amazon Resource Name (ARN) of the Outpost. If you specify an
|
466
|
+
# Outpost ARN, you must also specify the Availability Zone of the
|
467
|
+
# Outpost subnet.
|
466
468
|
# @option options [Boolean] :dry_run
|
467
469
|
# Checks whether you have the required permissions for the action,
|
468
470
|
# without actually making the request, and provides an error response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.163.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|