aws-sdk-ec2 1.384.0 → 1.386.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +83 -357
- data/lib/aws-sdk-ec2/client_api.rb +20 -7
- data/lib/aws-sdk-ec2/resource.rb +7 -0
- data/lib/aws-sdk-ec2/subnet.rb +7 -0
- data/lib/aws-sdk-ec2/types.rb +119 -25
- data/lib/aws-sdk-ec2.rb +1 -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: ce6d37e0f471d1b7e6070b137047fe091be0cba07fe57d3e7ff272a748d42d37
|
4
|
+
data.tar.gz: ad8e6b90d48e864d84c933774fa19e27f79f50359cb3efffd2f01312c11d69af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79c65104cbff4ac3d8cb3a1c5b200913507309d78a81a8761aebd15452ee0f490a694869a06f4b71fe2f304b44033ee77d7ed665742e368de2f61d4574d24785
|
7
|
+
data.tar.gz: 58bd9a7fe6f876aaa18088f17fef3f0abf9afdae58a696146fb19b60445cc5dada454fcbd19e315514696f659d07a58858e66dab69c18e2116b7d2b1e7b75097
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.386.0 (2023-06-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for targeting Dedicated Host allocations by assetIds in AWS Outposts
|
8
|
+
|
9
|
+
1.385.0 (2023-06-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - API changes to AWS Verified Access to include data from trust providers in logs
|
13
|
+
|
4
14
|
1.384.0 (2023-06-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.386.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -903,32 +903,20 @@ module Aws::EC2
|
|
903
903
|
# * {Types::AllocateAddressResult#carrier_ip #carrier_ip} => String
|
904
904
|
#
|
905
905
|
#
|
906
|
-
# @example Example: To allocate an Elastic IP address
|
906
|
+
# @example Example: To allocate an Elastic IP address
|
907
907
|
#
|
908
|
-
# # This example allocates an Elastic IP address
|
908
|
+
# # This example allocates an Elastic IP address.
|
909
909
|
#
|
910
910
|
# resp = client.allocate_address({
|
911
|
-
# domain: "vpc",
|
912
911
|
# })
|
913
912
|
#
|
914
913
|
# resp.to_h outputs the following:
|
915
914
|
# {
|
916
915
|
# allocation_id: "eipalloc-64d5890a",
|
917
916
|
# domain: "vpc",
|
917
|
+
# network_border_group: "us-east-1",
|
918
918
|
# public_ip: "203.0.113.0",
|
919
|
-
#
|
920
|
-
#
|
921
|
-
# @example Example: To allocate an Elastic IP address for EC2-Classic
|
922
|
-
#
|
923
|
-
# # This example allocates an Elastic IP address to use with an instance in EC2-Classic.
|
924
|
-
#
|
925
|
-
# resp = client.allocate_address({
|
926
|
-
# })
|
927
|
-
#
|
928
|
-
# resp.to_h outputs the following:
|
929
|
-
# {
|
930
|
-
# domain: "standard",
|
931
|
-
# public_ip: "198.51.100.0",
|
919
|
+
# public_ipv_4_pool: "amazon",
|
932
920
|
# }
|
933
921
|
#
|
934
922
|
# @example Request syntax with placeholder values
|
@@ -1022,9 +1010,14 @@ module Aws::EC2
|
|
1022
1010
|
# cannot specify **InstanceFamily** and **InstanceType** in the same
|
1023
1011
|
# request.
|
1024
1012
|
#
|
1025
|
-
# @option params [
|
1013
|
+
# @option params [Integer] :quantity
|
1026
1014
|
# The number of Dedicated Hosts to allocate to your account with these
|
1027
|
-
# parameters.
|
1015
|
+
# parameters. If you are allocating the Dedicated Hosts on an Outpost,
|
1016
|
+
# and you specify **AssetIds**, you can omit this parameter. In this
|
1017
|
+
# case, Amazon EC2 allocates a Dedicated Host on each specified hardware
|
1018
|
+
# asset. If you specify both **AssetIds** and **Quantity**, then the
|
1019
|
+
# value that you specify for **Quantity** must be equal to the number of
|
1020
|
+
# asset IDs specified.
|
1028
1021
|
#
|
1029
1022
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
1030
1023
|
# The tags to apply to the Dedicated Host during creation.
|
@@ -1042,7 +1035,11 @@ module Aws::EC2
|
|
1042
1035
|
#
|
1043
1036
|
# @option params [String] :outpost_arn
|
1044
1037
|
# The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
|
1045
|
-
# which to allocate the Dedicated Host.
|
1038
|
+
# which to allocate the Dedicated Host. If you specify **OutpostArn**,
|
1039
|
+
# you can optionally specify **AssetIds**.
|
1040
|
+
#
|
1041
|
+
# If you are allocating the Dedicated Host in a Region, omit this
|
1042
|
+
# parameter.
|
1046
1043
|
#
|
1047
1044
|
# @option params [String] :host_maintenance
|
1048
1045
|
# Indicates whether to enable or disable host maintenance for the
|
@@ -1053,6 +1050,20 @@ module Aws::EC2
|
|
1053
1050
|
#
|
1054
1051
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
|
1055
1052
|
#
|
1053
|
+
# @option params [Array<String>] :asset_ids
|
1054
|
+
# The IDs of the Outpost hardware assets on which to allocate the
|
1055
|
+
# Dedicated Hosts. Targeting specific hardware assets on an Outpost can
|
1056
|
+
# help to minimize latency between your workloads. This parameter is
|
1057
|
+
# supported only if you specify **OutpostArn**. If you are allocating
|
1058
|
+
# the Dedicated Hosts in a Region, omit this parameter.
|
1059
|
+
#
|
1060
|
+
# * If you specify this parameter, you can omit **Quantity**. In this
|
1061
|
+
# case, Amazon EC2 allocates a Dedicated Host on each specified
|
1062
|
+
# hardware asset.
|
1063
|
+
#
|
1064
|
+
# * If you specify both **AssetIds** and **Quantity**, then the value
|
1065
|
+
# for **Quantity** must be equal to the number of asset IDs specified.
|
1066
|
+
#
|
1056
1067
|
# @return [Types::AllocateHostsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1057
1068
|
#
|
1058
1069
|
# * {Types::AllocateHostsResult#host_ids #host_ids} => Array<String>
|
@@ -1065,7 +1076,7 @@ module Aws::EC2
|
|
1065
1076
|
# client_token: "String",
|
1066
1077
|
# instance_type: "String",
|
1067
1078
|
# instance_family: "String",
|
1068
|
-
# quantity: 1,
|
1079
|
+
# quantity: 1,
|
1069
1080
|
# tag_specifications: [
|
1070
1081
|
# {
|
1071
1082
|
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint
|
@@ -1080,6 +1091,7 @@ module Aws::EC2
|
|
1080
1091
|
# host_recovery: "on", # accepts on, off
|
1081
1092
|
# outpost_arn: "String",
|
1082
1093
|
# host_maintenance: "on", # accepts on, off
|
1094
|
+
# asset_ids: ["AssetId"],
|
1083
1095
|
# })
|
1084
1096
|
#
|
1085
1097
|
# @example Response structure
|
@@ -1589,9 +1601,9 @@ module Aws::EC2
|
|
1589
1601
|
# * {Types::AssociateAddressResult#association_id #association_id} => String
|
1590
1602
|
#
|
1591
1603
|
#
|
1592
|
-
# @example Example: To associate an Elastic IP address
|
1604
|
+
# @example Example: To associate an Elastic IP address
|
1593
1605
|
#
|
1594
|
-
# # This example associates the specified Elastic IP address with the specified instance
|
1606
|
+
# # This example associates the specified Elastic IP address with the specified instance.
|
1595
1607
|
#
|
1596
1608
|
# resp = client.associate_address({
|
1597
1609
|
# allocation_id: "eipalloc-64d5890a",
|
@@ -1617,15 +1629,6 @@ module Aws::EC2
|
|
1617
1629
|
# association_id: "eipassoc-2bebb745",
|
1618
1630
|
# }
|
1619
1631
|
#
|
1620
|
-
# @example Example: To associate an Elastic IP address in EC2-Classic
|
1621
|
-
#
|
1622
|
-
# # This example associates an Elastic IP address with an instance in EC2-Classic.
|
1623
|
-
#
|
1624
|
-
# resp = client.associate_address({
|
1625
|
-
# instance_id: "i-07ffe74c7330ebf53",
|
1626
|
-
# public_ip: "198.51.100.0",
|
1627
|
-
# })
|
1628
|
-
#
|
1629
1632
|
# @example Request syntax with placeholder values
|
1630
1633
|
#
|
1631
1634
|
# resp = client.associate_address({
|
@@ -4898,8 +4901,8 @@ module Aws::EC2
|
|
4898
4901
|
# client_token: "String",
|
4899
4902
|
# instance_type: "String", # required
|
4900
4903
|
# instance_platform: "Linux/UNIX", # required, accepts Linux/UNIX, Red Hat Enterprise Linux, SUSE Linux, Windows, Windows with SQL Server, Windows with SQL Server Enterprise, Windows with SQL Server Standard, Windows with SQL Server Web, Linux with SQL Server Standard, Linux with SQL Server Web, Linux with SQL Server Enterprise, RHEL with SQL Server Standard, RHEL with SQL Server Enterprise, RHEL with SQL Server Web, RHEL with HA, RHEL with HA and SQL Server Standard, RHEL with HA and SQL Server Enterprise
|
4901
|
-
# availability_zone: "
|
4902
|
-
# availability_zone_id: "
|
4904
|
+
# availability_zone: "AvailabilityZoneName",
|
4905
|
+
# availability_zone_id: "AvailabilityZoneId",
|
4903
4906
|
# tenancy: "default", # accepts default, dedicated
|
4904
4907
|
# instance_count: 1, # required
|
4905
4908
|
# ebs_optimized: false,
|
@@ -6097,11 +6100,12 @@ module Aws::EC2
|
|
6097
6100
|
req.send_request(options)
|
6098
6101
|
end
|
6099
6102
|
|
6100
|
-
#
|
6103
|
+
# Creates an EC2 Fleet that contains the configuration information for
|
6104
|
+
# On-Demand Instances and Spot Instances. Instances are launched
|
6105
|
+
# immediately if there is available capacity.
|
6101
6106
|
#
|
6102
|
-
#
|
6103
|
-
#
|
6104
|
-
# subnet.
|
6107
|
+
# A single EC2 Fleet can include multiple launch specifications that
|
6108
|
+
# vary by instance type, AMI, Availability Zone, or subnet.
|
6105
6109
|
#
|
6106
6110
|
# For more information, see [EC2 Fleet][1] in the *Amazon EC2 User
|
6107
6111
|
# Guide*.
|
@@ -14800,7 +14804,7 @@ module Aws::EC2
|
|
14800
14804
|
# {
|
14801
14805
|
# tunnel_inside_cidr: "String",
|
14802
14806
|
# tunnel_inside_ipv_6_cidr: "String",
|
14803
|
-
# pre_shared_key: "
|
14807
|
+
# pre_shared_key: "preSharedKey",
|
14804
14808
|
# phase_1_lifetime_seconds: 1,
|
14805
14809
|
# phase_2_lifetime_seconds: 1,
|
14806
14810
|
# rekey_margin_time_seconds: 1,
|
@@ -18944,9 +18948,6 @@ module Aws::EC2
|
|
18944
18948
|
# Describes attributes of your Amazon Web Services account. The
|
18945
18949
|
# following are the supported account attributes:
|
18946
18950
|
#
|
18947
|
-
# * `supported-platforms`: Indicates whether your account can launch
|
18948
|
-
# instances into EC2-Classic and EC2-VPC, or only into EC2-VPC.
|
18949
|
-
#
|
18950
18951
|
# * `default-vpc`: The ID of the default VPC for your account, or
|
18951
18952
|
# `none`.
|
18952
18953
|
#
|
@@ -18955,25 +18956,20 @@ module Aws::EC2
|
|
18955
18956
|
# Instances. For more information, see [On-Demand Instance Limits][1]
|
18956
18957
|
# in the *Amazon Elastic Compute Cloud User Guide*.
|
18957
18958
|
#
|
18958
|
-
# * `vpc-max-security-groups-per-interface`: The maximum number of
|
18959
|
-
# security groups that you can assign to a network interface.
|
18960
|
-
#
|
18961
18959
|
# * `max-elastic-ips`: The maximum number of Elastic IP addresses that
|
18962
|
-
# you can allocate
|
18960
|
+
# you can allocate.
|
18963
18961
|
#
|
18964
|
-
# * `
|
18965
|
-
# that you can allocate for use with EC2-VPC.
|
18962
|
+
# * `supported-platforms`: This attribute is deprecated.
|
18966
18963
|
#
|
18967
|
-
#
|
18968
|
-
#
|
18969
|
-
# from EC2-Classic to a VPC][2] in the *Amazon EC2 User Guide*.
|
18964
|
+
# * `vpc-max-elastic-ips`: The maximum number of Elastic IP addresses
|
18965
|
+
# that you can allocate.
|
18970
18966
|
#
|
18971
|
-
#
|
18967
|
+
# * `vpc-max-security-groups-per-interface`: The maximum number of
|
18968
|
+
# security groups that you can assign to a network interface.
|
18972
18969
|
#
|
18973
18970
|
#
|
18974
18971
|
#
|
18975
18972
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html#ec2-on-demand-instances-limits
|
18976
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
18977
18973
|
#
|
18978
18974
|
# @option params [Array<String>] :attribute_names
|
18979
18975
|
# The account attribute names.
|
@@ -19259,63 +19255,6 @@ module Aws::EC2
|
|
19259
19255
|
# ],
|
19260
19256
|
# }
|
19261
19257
|
#
|
19262
|
-
# @example Example: To describe your Elastic IP addresses for EC2-VPC
|
19263
|
-
#
|
19264
|
-
# # This example describes your Elastic IP addresses for use with instances in a VPC.
|
19265
|
-
#
|
19266
|
-
# resp = client.describe_addresses({
|
19267
|
-
# filters: [
|
19268
|
-
# {
|
19269
|
-
# name: "domain",
|
19270
|
-
# values: [
|
19271
|
-
# "vpc",
|
19272
|
-
# ],
|
19273
|
-
# },
|
19274
|
-
# ],
|
19275
|
-
# })
|
19276
|
-
#
|
19277
|
-
# resp.to_h outputs the following:
|
19278
|
-
# {
|
19279
|
-
# addresses: [
|
19280
|
-
# {
|
19281
|
-
# allocation_id: "eipalloc-12345678",
|
19282
|
-
# association_id: "eipassoc-12345678",
|
19283
|
-
# domain: "vpc",
|
19284
|
-
# instance_id: "i-1234567890abcdef0",
|
19285
|
-
# network_interface_id: "eni-12345678",
|
19286
|
-
# network_interface_owner_id: "123456789012",
|
19287
|
-
# private_ip_address: "10.0.1.241",
|
19288
|
-
# public_ip: "203.0.113.0",
|
19289
|
-
# },
|
19290
|
-
# ],
|
19291
|
-
# }
|
19292
|
-
#
|
19293
|
-
# @example Example: To describe your Elastic IP addresses for EC2-Classic
|
19294
|
-
#
|
19295
|
-
# # This example describes your Elastic IP addresses for use with instances in EC2-Classic.
|
19296
|
-
#
|
19297
|
-
# resp = client.describe_addresses({
|
19298
|
-
# filters: [
|
19299
|
-
# {
|
19300
|
-
# name: "domain",
|
19301
|
-
# values: [
|
19302
|
-
# "standard",
|
19303
|
-
# ],
|
19304
|
-
# },
|
19305
|
-
# ],
|
19306
|
-
# })
|
19307
|
-
#
|
19308
|
-
# resp.to_h outputs the following:
|
19309
|
-
# {
|
19310
|
-
# addresses: [
|
19311
|
-
# {
|
19312
|
-
# domain: "standard",
|
19313
|
-
# instance_id: "i-1234567890abcdef0",
|
19314
|
-
# public_ip: "198.51.100.0",
|
19315
|
-
# },
|
19316
|
-
# ],
|
19317
|
-
# }
|
19318
|
-
#
|
19319
19258
|
# @example Request syntax with placeholder values
|
19320
19259
|
#
|
19321
19260
|
# resp = client.describe_addresses({
|
@@ -22603,6 +22542,7 @@ module Aws::EC2
|
|
22603
22542
|
# resp.hosts[0].member_of_service_linked_resource_group #=> Boolean
|
22604
22543
|
# resp.hosts[0].outpost_arn #=> String
|
22605
22544
|
# resp.hosts[0].host_maintenance #=> String, one of "on", "off"
|
22545
|
+
# resp.hosts[0].asset_id #=> String
|
22606
22546
|
# resp.next_token #=> String
|
22607
22547
|
#
|
22608
22548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts AWS API Documentation
|
@@ -24389,6 +24329,9 @@ module Aws::EC2
|
|
24389
24329
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock speed,
|
24390
24330
|
# in GHz.
|
24391
24331
|
#
|
24332
|
+
# * `processor-info.supported-features` - The supported CPU features
|
24333
|
+
# (`amd-sev-snp`).
|
24334
|
+
#
|
24392
24335
|
# * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
|
24393
24336
|
#
|
24394
24337
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
@@ -25208,7 +25151,7 @@ module Aws::EC2
|
|
25208
25151
|
# {
|
25209
25152
|
# attachments: [
|
25210
25153
|
# {
|
25211
|
-
# state: "
|
25154
|
+
# state: "attached",
|
25212
25155
|
# vpc_id: "vpc-a01106c2",
|
25213
25156
|
# },
|
25214
25157
|
# ],
|
@@ -26953,7 +26896,7 @@ module Aws::EC2
|
|
26953
26896
|
# {
|
26954
26897
|
# moving_address_statuses: [
|
26955
26898
|
# {
|
26956
|
-
# move_status: "
|
26899
|
+
# move_status: "movingToVpc",
|
26957
26900
|
# public_ip: "198.51.100.0",
|
26958
26901
|
# },
|
26959
26902
|
# ],
|
@@ -30385,54 +30328,6 @@ module Aws::EC2
|
|
30385
30328
|
#
|
30386
30329
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
30387
30330
|
#
|
30388
|
-
#
|
30389
|
-
# @example Example: To describe an available schedule
|
30390
|
-
#
|
30391
|
-
# # This example describes a schedule that occurs every week on Sunday, starting on the specified date. Note that the output
|
30392
|
-
# # contains a single schedule as an example.
|
30393
|
-
#
|
30394
|
-
# resp = client.describe_scheduled_instance_availability({
|
30395
|
-
# first_slot_start_time_range: {
|
30396
|
-
# earliest_time: Time.parse("2016-01-31T00:00:00Z"),
|
30397
|
-
# latest_time: Time.parse("2016-01-31T04:00:00Z"),
|
30398
|
-
# },
|
30399
|
-
# recurrence: {
|
30400
|
-
# frequency: "Weekly",
|
30401
|
-
# interval: 1,
|
30402
|
-
# occurrence_days: [
|
30403
|
-
# 1,
|
30404
|
-
# ],
|
30405
|
-
# },
|
30406
|
-
# })
|
30407
|
-
#
|
30408
|
-
# resp.to_h outputs the following:
|
30409
|
-
# {
|
30410
|
-
# scheduled_instance_availability_set: [
|
30411
|
-
# {
|
30412
|
-
# availability_zone: "us-west-2b",
|
30413
|
-
# available_instance_count: 20,
|
30414
|
-
# first_slot_start_time: Time.parse("2016-01-31T00:00:00Z"),
|
30415
|
-
# hourly_price: "0.095",
|
30416
|
-
# instance_type: "c4.large",
|
30417
|
-
# max_term_duration_in_days: 366,
|
30418
|
-
# min_term_duration_in_days: 366,
|
30419
|
-
# network_platform: "EC2-VPC",
|
30420
|
-
# platform: "Linux/UNIX",
|
30421
|
-
# purchase_token: "eyJ2IjoiMSIsInMiOjEsImMiOi...",
|
30422
|
-
# recurrence: {
|
30423
|
-
# frequency: "Weekly",
|
30424
|
-
# interval: 1,
|
30425
|
-
# occurrence_day_set: [
|
30426
|
-
# 1,
|
30427
|
-
# ],
|
30428
|
-
# occurrence_relative_to_end: false,
|
30429
|
-
# },
|
30430
|
-
# slot_duration_in_hours: 23,
|
30431
|
-
# total_scheduled_instance_hours: 1219,
|
30432
|
-
# },
|
30433
|
-
# ],
|
30434
|
-
# }
|
30435
|
-
#
|
30436
30331
|
# @example Request syntax with placeholder values
|
30437
30332
|
#
|
30438
30333
|
# resp = client.describe_scheduled_instance_availability({
|
@@ -30533,47 +30428,6 @@ module Aws::EC2
|
|
30533
30428
|
#
|
30534
30429
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
30535
30430
|
#
|
30536
|
-
#
|
30537
|
-
# @example Example: To describe your Scheduled Instances
|
30538
|
-
#
|
30539
|
-
# # This example describes the specified Scheduled Instance.
|
30540
|
-
#
|
30541
|
-
# resp = client.describe_scheduled_instances({
|
30542
|
-
# scheduled_instance_ids: [
|
30543
|
-
# "sci-1234-1234-1234-1234-123456789012",
|
30544
|
-
# ],
|
30545
|
-
# })
|
30546
|
-
#
|
30547
|
-
# resp.to_h outputs the following:
|
30548
|
-
# {
|
30549
|
-
# scheduled_instance_set: [
|
30550
|
-
# {
|
30551
|
-
# availability_zone: "us-west-2b",
|
30552
|
-
# create_date: Time.parse("2016-01-25T21:43:38.612Z"),
|
30553
|
-
# hourly_price: "0.095",
|
30554
|
-
# instance_count: 1,
|
30555
|
-
# instance_type: "c4.large",
|
30556
|
-
# network_platform: "EC2-VPC",
|
30557
|
-
# next_slot_start_time: Time.parse("2016-01-31T09:00:00Z"),
|
30558
|
-
# platform: "Linux/UNIX",
|
30559
|
-
# recurrence: {
|
30560
|
-
# frequency: "Weekly",
|
30561
|
-
# interval: 1,
|
30562
|
-
# occurrence_day_set: [
|
30563
|
-
# 1,
|
30564
|
-
# ],
|
30565
|
-
# occurrence_relative_to_end: false,
|
30566
|
-
# occurrence_unit: "",
|
30567
|
-
# },
|
30568
|
-
# scheduled_instance_id: "sci-1234-1234-1234-1234-123456789012",
|
30569
|
-
# slot_duration_in_hours: 32,
|
30570
|
-
# term_end_date: Time.parse("2017-01-31T09:00:00Z"),
|
30571
|
-
# term_start_date: Time.parse("2016-01-31T09:00:00Z"),
|
30572
|
-
# total_scheduled_instance_hours: 1696,
|
30573
|
-
# },
|
30574
|
-
# ],
|
30575
|
-
# }
|
30576
|
-
#
|
30577
30431
|
# @example Request syntax with placeholder values
|
30578
30432
|
#
|
30579
30433
|
# resp = client.describe_scheduled_instances({
|
@@ -32480,14 +32334,14 @@ module Aws::EC2
|
|
32480
32334
|
# # January.
|
32481
32335
|
#
|
32482
32336
|
# resp = client.describe_spot_price_history({
|
32483
|
-
# end_time: Time.parse("2014-01-06T08:09:10"),
|
32337
|
+
# end_time: Time.parse("2014-01-06T08:09:10.05Z"),
|
32484
32338
|
# instance_types: [
|
32485
32339
|
# "m1.xlarge",
|
32486
32340
|
# ],
|
32487
32341
|
# product_descriptions: [
|
32488
32342
|
# "Linux/UNIX (Amazon VPC)",
|
32489
32343
|
# ],
|
32490
|
-
# start_time: Time.parse("2014-01-06T07:08:09"),
|
32344
|
+
# start_time: Time.parse("2014-01-06T07:08:09.05Z"),
|
32491
32345
|
# })
|
32492
32346
|
#
|
32493
32347
|
# resp.to_h outputs the following:
|
@@ -34533,6 +34387,8 @@ module Aws::EC2
|
|
34533
34387
|
# resp.logging_configurations[0].access_logs.kinesis_data_firehose.delivery_status.code #=> String, one of "success", "failed"
|
34534
34388
|
# resp.logging_configurations[0].access_logs.kinesis_data_firehose.delivery_status.message #=> String
|
34535
34389
|
# resp.logging_configurations[0].access_logs.kinesis_data_firehose.delivery_stream #=> String
|
34390
|
+
# resp.logging_configurations[0].access_logs.log_version #=> String
|
34391
|
+
# resp.logging_configurations[0].access_logs.include_trust_context #=> Boolean
|
34536
34392
|
# resp.next_token #=> String
|
34537
34393
|
#
|
34538
34394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessInstanceLoggingConfigurations AWS API Documentation
|
@@ -37709,22 +37565,14 @@ module Aws::EC2
|
|
37709
37565
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
37710
37566
|
#
|
37711
37567
|
#
|
37712
|
-
# @example Example: To disassociate an Elastic IP address
|
37568
|
+
# @example Example: To disassociate an Elastic IP address
|
37713
37569
|
#
|
37714
|
-
# # This example disassociates an Elastic IP address from an instance
|
37570
|
+
# # This example disassociates an Elastic IP address from an instance.
|
37715
37571
|
#
|
37716
37572
|
# resp = client.disassociate_address({
|
37717
37573
|
# association_id: "eipassoc-2bebb745",
|
37718
37574
|
# })
|
37719
37575
|
#
|
37720
|
-
# @example Example: To disassociate an Elastic IP addresses in EC2-Classic
|
37721
|
-
#
|
37722
|
-
# # This example disassociates an Elastic IP address from an instance in EC2-Classic.
|
37723
|
-
#
|
37724
|
-
# resp = client.disassociate_address({
|
37725
|
-
# public_ip: "198.51.100.0",
|
37726
|
-
# })
|
37727
|
-
#
|
37728
37576
|
# @example Request syntax with placeholder values
|
37729
37577
|
#
|
37730
37578
|
# resp = client.disassociate_address({
|
@@ -45704,10 +45552,10 @@ module Aws::EC2
|
|
45704
45552
|
# @option params [String] :tenancy
|
45705
45553
|
# The tenancy for the instance.
|
45706
45554
|
#
|
45707
|
-
# <note markdown="1"> For T3 instances, you
|
45708
|
-
#
|
45709
|
-
#
|
45710
|
-
# code.
|
45555
|
+
# <note markdown="1"> For T3 instances, you must launch the instance on a Dedicated Host to
|
45556
|
+
# use a tenancy of `host`. You can't change the tenancy from `host` to
|
45557
|
+
# `dedicated` or `default`. Attempting to make one of these unsupported
|
45558
|
+
# tenancy changes results in an `InvalidRequest` error code.
|
45711
45559
|
#
|
45712
45560
|
# </note>
|
45713
45561
|
#
|
@@ -45716,7 +45564,8 @@ module Aws::EC2
|
|
45716
45564
|
# if the placement group strategy is set to `partition`.
|
45717
45565
|
#
|
45718
45566
|
# @option params [String] :host_resource_group_arn
|
45719
|
-
# The ARN of the host resource group in which to place the instance.
|
45567
|
+
# The ARN of the host resource group in which to place the instance. The
|
45568
|
+
# instance must have a tenancy of `host` to specify this parameter.
|
45720
45569
|
#
|
45721
45570
|
# @option params [String] :group_id
|
45722
45571
|
# The Group Id of a placement group. You must specify the Placement
|
@@ -48078,6 +47927,8 @@ module Aws::EC2
|
|
48078
47927
|
# enabled: false, # required
|
48079
47928
|
# delivery_stream: "String",
|
48080
47929
|
# },
|
47930
|
+
# log_version: "String",
|
47931
|
+
# include_trust_context: false,
|
48081
47932
|
# },
|
48082
47933
|
# dry_run: false,
|
48083
47934
|
# client_token: "String",
|
@@ -48100,6 +47951,8 @@ module Aws::EC2
|
|
48100
47951
|
# resp.logging_configuration.access_logs.kinesis_data_firehose.delivery_status.code #=> String, one of "success", "failed"
|
48101
47952
|
# resp.logging_configuration.access_logs.kinesis_data_firehose.delivery_status.message #=> String
|
48102
47953
|
# resp.logging_configuration.access_logs.kinesis_data_firehose.delivery_stream #=> String
|
47954
|
+
# resp.logging_configuration.access_logs.log_version #=> String
|
47955
|
+
# resp.logging_configuration.access_logs.include_trust_context #=> Boolean
|
48103
47956
|
#
|
48104
47957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessInstanceLoggingConfiguration AWS API Documentation
|
48105
47958
|
#
|
@@ -49408,7 +49261,7 @@ module Aws::EC2
|
|
49408
49261
|
# tunnel_options: { # required
|
49409
49262
|
# tunnel_inside_cidr: "String",
|
49410
49263
|
# tunnel_inside_ipv_6_cidr: "String",
|
49411
|
-
# pre_shared_key: "
|
49264
|
+
# pre_shared_key: "preSharedKey",
|
49412
49265
|
# phase_1_lifetime_seconds: 1,
|
49413
49266
|
# phase_2_lifetime_seconds: 1,
|
49414
49267
|
# rekey_margin_time_seconds: 1,
|
@@ -50154,50 +50007,6 @@ module Aws::EC2
|
|
50154
50007
|
#
|
50155
50008
|
# * {Types::PurchaseScheduledInstancesResult#scheduled_instance_set #scheduled_instance_set} => Array<Types::ScheduledInstance>
|
50156
50009
|
#
|
50157
|
-
#
|
50158
|
-
# @example Example: To purchase a Scheduled Instance
|
50159
|
-
#
|
50160
|
-
# # This example purchases a Scheduled Instance.
|
50161
|
-
#
|
50162
|
-
# resp = client.purchase_scheduled_instances({
|
50163
|
-
# purchase_requests: [
|
50164
|
-
# {
|
50165
|
-
# instance_count: 1,
|
50166
|
-
# purchase_token: "eyJ2IjoiMSIsInMiOjEsImMiOi...",
|
50167
|
-
# },
|
50168
|
-
# ],
|
50169
|
-
# })
|
50170
|
-
#
|
50171
|
-
# resp.to_h outputs the following:
|
50172
|
-
# {
|
50173
|
-
# scheduled_instance_set: [
|
50174
|
-
# {
|
50175
|
-
# availability_zone: "us-west-2b",
|
50176
|
-
# create_date: Time.parse("2016-01-25T21:43:38.612Z"),
|
50177
|
-
# hourly_price: "0.095",
|
50178
|
-
# instance_count: 1,
|
50179
|
-
# instance_type: "c4.large",
|
50180
|
-
# network_platform: "EC2-VPC",
|
50181
|
-
# next_slot_start_time: Time.parse("2016-01-31T09:00:00Z"),
|
50182
|
-
# platform: "Linux/UNIX",
|
50183
|
-
# recurrence: {
|
50184
|
-
# frequency: "Weekly",
|
50185
|
-
# interval: 1,
|
50186
|
-
# occurrence_day_set: [
|
50187
|
-
# 1,
|
50188
|
-
# ],
|
50189
|
-
# occurrence_relative_to_end: false,
|
50190
|
-
# occurrence_unit: "",
|
50191
|
-
# },
|
50192
|
-
# scheduled_instance_id: "sci-1234-1234-1234-1234-123456789012",
|
50193
|
-
# slot_duration_in_hours: 32,
|
50194
|
-
# term_end_date: Time.parse("2017-01-31T09:00:00Z"),
|
50195
|
-
# term_start_date: Time.parse("2016-01-31T09:00:00Z"),
|
50196
|
-
# total_scheduled_instance_hours: 1696,
|
50197
|
-
# },
|
50198
|
-
# ],
|
50199
|
-
# }
|
50200
|
-
#
|
50201
50010
|
# @example Request syntax with placeholder values
|
50202
50011
|
#
|
50203
50012
|
# resp = client.purchase_scheduled_instances({
|
@@ -51026,22 +50835,14 @@ module Aws::EC2
|
|
51026
50835
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
51027
50836
|
#
|
51028
50837
|
#
|
51029
|
-
# @example Example: To release an Elastic IP address
|
50838
|
+
# @example Example: To release an Elastic IP address
|
51030
50839
|
#
|
51031
|
-
# # This example releases
|
50840
|
+
# # This example releases the specified Elastic IP address.
|
51032
50841
|
#
|
51033
50842
|
# resp = client.release_address({
|
51034
50843
|
# allocation_id: "eipalloc-64d5890a",
|
51035
50844
|
# })
|
51036
50845
|
#
|
51037
|
-
# @example Example: To release an Elastic IP addresses for EC2-Classic
|
51038
|
-
#
|
51039
|
-
# # This example releases an Elastic IP address for use with instances in EC2-Classic.
|
51040
|
-
#
|
51041
|
-
# resp = client.release_address({
|
51042
|
-
# public_ip: "198.51.100.0",
|
51043
|
-
# })
|
51044
|
-
#
|
51045
50846
|
# @example Request syntax with placeholder values
|
51046
50847
|
#
|
51047
50848
|
# resp = client.release_address({
|
@@ -51844,8 +51645,7 @@ module Aws::EC2
|
|
51844
51645
|
#
|
51845
51646
|
# # This example creates a Spot fleet request with two launch specifications that differ only by Availability Zone. The Spot
|
51846
51647
|
# # fleet launches the instances in the specified Availability Zone with the lowest price. If your account supports EC2-VPC
|
51847
|
-
# # only, Amazon EC2 launches the Spot instances in the default subnet of the Availability Zone.
|
51848
|
-
# # EC2-Classic, Amazon EC2 launches the instances in EC2-Classic in the Availability Zone.
|
51648
|
+
# # only, Amazon EC2 launches the Spot instances in the default subnet of the Availability Zone.
|
51849
51649
|
#
|
51850
51650
|
# resp = client.request_spot_fleet({
|
51851
51651
|
# spot_fleet_request_config: {
|
@@ -52384,8 +52184,7 @@ module Aws::EC2
|
|
52384
52184
|
#
|
52385
52185
|
# # This example creates a one-time Spot Instance request for five instances in the specified Availability Zone. If your
|
52386
52186
|
# # account supports EC2-VPC only, Amazon EC2 launches the instances in the default subnet of the specified Availability
|
52387
|
-
# # Zone.
|
52388
|
-
# # Availability Zone.
|
52187
|
+
# # Zone.
|
52389
52188
|
#
|
52390
52189
|
# resp = client.request_spot_instances({
|
52391
52190
|
# instance_count: 5,
|
@@ -52990,21 +52789,6 @@ module Aws::EC2
|
|
52990
52789
|
# * {Types::RestoreAddressToClassicResult#public_ip #public_ip} => String
|
52991
52790
|
# * {Types::RestoreAddressToClassicResult#status #status} => String
|
52992
52791
|
#
|
52993
|
-
#
|
52994
|
-
# @example Example: To restore an address to EC2-Classic
|
52995
|
-
#
|
52996
|
-
# # This example restores the specified Elastic IP address to the EC2-Classic platform.
|
52997
|
-
#
|
52998
|
-
# resp = client.restore_address_to_classic({
|
52999
|
-
# public_ip: "198.51.100.0",
|
53000
|
-
# })
|
53001
|
-
#
|
53002
|
-
# resp.to_h outputs the following:
|
53003
|
-
# {
|
53004
|
-
# public_ip: "198.51.100.0",
|
53005
|
-
# status: "MoveInProgress",
|
53006
|
-
# }
|
53007
|
-
#
|
53008
52792
|
# @example Request syntax with placeholder values
|
53009
52793
|
#
|
53010
52794
|
# resp = client.restore_address_to_classic({
|
@@ -53708,11 +53492,18 @@ module Aws::EC2
|
|
53708
53492
|
# The instance type. For more information, see [Instance types][1] in
|
53709
53493
|
# the *Amazon EC2 User Guide*.
|
53710
53494
|
#
|
53495
|
+
# When you change your EBS-backed instance type, instance restart or
|
53496
|
+
# replacement behavior depends on the instance type compatibility
|
53497
|
+
# between the old and new types. An instance that's backed by an
|
53498
|
+
# instance store volume is always replaced. For more information, see
|
53499
|
+
# [Change the instance type][2] in the *Amazon EC2 User Guide*.
|
53500
|
+
#
|
53711
53501
|
# Default: `m1.small`
|
53712
53502
|
#
|
53713
53503
|
#
|
53714
53504
|
#
|
53715
53505
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
53506
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
|
53716
53507
|
#
|
53717
53508
|
# @option params [Integer] :ipv_6_address_count
|
53718
53509
|
# The number of IPv6 addresses to associate with the primary network
|
@@ -54511,71 +54302,6 @@ module Aws::EC2
|
|
54511
54302
|
#
|
54512
54303
|
# * {Types::RunScheduledInstancesResult#instance_id_set #instance_id_set} => Array<String>
|
54513
54304
|
#
|
54514
|
-
#
|
54515
|
-
# @example Example: To launch a Scheduled Instance in a VPC
|
54516
|
-
#
|
54517
|
-
# # This example launches the specified Scheduled Instance in a VPC.
|
54518
|
-
#
|
54519
|
-
# resp = client.run_scheduled_instances({
|
54520
|
-
# instance_count: 1,
|
54521
|
-
# launch_specification: {
|
54522
|
-
# iam_instance_profile: {
|
54523
|
-
# name: "my-iam-role",
|
54524
|
-
# },
|
54525
|
-
# image_id: "ami-12345678",
|
54526
|
-
# instance_type: "c4.large",
|
54527
|
-
# key_name: "my-key-pair",
|
54528
|
-
# network_interfaces: [
|
54529
|
-
# {
|
54530
|
-
# associate_public_ip_address: true,
|
54531
|
-
# device_index: 0,
|
54532
|
-
# groups: [
|
54533
|
-
# "sg-12345678",
|
54534
|
-
# ],
|
54535
|
-
# subnet_id: "subnet-12345678",
|
54536
|
-
# },
|
54537
|
-
# ],
|
54538
|
-
# },
|
54539
|
-
# scheduled_instance_id: "sci-1234-1234-1234-1234-123456789012",
|
54540
|
-
# })
|
54541
|
-
#
|
54542
|
-
# resp.to_h outputs the following:
|
54543
|
-
# {
|
54544
|
-
# instance_id_set: [
|
54545
|
-
# "i-1234567890abcdef0",
|
54546
|
-
# ],
|
54547
|
-
# }
|
54548
|
-
#
|
54549
|
-
# @example Example: To launch a Scheduled Instance in EC2-Classic
|
54550
|
-
#
|
54551
|
-
# # This example launches the specified Scheduled Instance in EC2-Classic.
|
54552
|
-
#
|
54553
|
-
# resp = client.run_scheduled_instances({
|
54554
|
-
# instance_count: 1,
|
54555
|
-
# launch_specification: {
|
54556
|
-
# iam_instance_profile: {
|
54557
|
-
# name: "my-iam-role",
|
54558
|
-
# },
|
54559
|
-
# image_id: "ami-12345678",
|
54560
|
-
# instance_type: "c4.large",
|
54561
|
-
# key_name: "my-key-pair",
|
54562
|
-
# placement: {
|
54563
|
-
# availability_zone: "us-west-2b",
|
54564
|
-
# },
|
54565
|
-
# security_group_ids: [
|
54566
|
-
# "sg-12345678",
|
54567
|
-
# ],
|
54568
|
-
# },
|
54569
|
-
# scheduled_instance_id: "sci-1234-1234-1234-1234-123456789012",
|
54570
|
-
# })
|
54571
|
-
#
|
54572
|
-
# resp.to_h outputs the following:
|
54573
|
-
# {
|
54574
|
-
# instance_id_set: [
|
54575
|
-
# "i-1234567890abcdef0",
|
54576
|
-
# ],
|
54577
|
-
# }
|
54578
|
-
#
|
54579
54305
|
# @example Request syntax with placeholder values
|
54580
54306
|
#
|
54581
54307
|
# resp = client.run_scheduled_instances({
|
@@ -56965,7 +56691,7 @@ module Aws::EC2
|
|
56965
56691
|
params: params,
|
56966
56692
|
config: config)
|
56967
56693
|
context[:gem_name] = 'aws-sdk-ec2'
|
56968
|
-
context[:gem_version] = '1.
|
56694
|
+
context[:gem_version] = '1.386.0'
|
56969
56695
|
Seahorse::Client::Request.new(handlers, context)
|
56970
56696
|
end
|
56971
56697
|
|
@@ -110,6 +110,8 @@ module Aws::EC2
|
|
110
110
|
ArchitectureTypeSet = Shapes::ListShape.new(name: 'ArchitectureTypeSet')
|
111
111
|
ArchitectureValues = Shapes::StringShape.new(name: 'ArchitectureValues')
|
112
112
|
ArnList = Shapes::ListShape.new(name: 'ArnList')
|
113
|
+
AssetId = Shapes::StringShape.new(name: 'AssetId')
|
114
|
+
AssetIdList = Shapes::ListShape.new(name: 'AssetIdList')
|
113
115
|
AssignIpv6AddressesRequest = Shapes::StructureShape.new(name: 'AssignIpv6AddressesRequest')
|
114
116
|
AssignIpv6AddressesResult = Shapes::StructureShape.new(name: 'AssignIpv6AddressesResult')
|
115
117
|
AssignPrivateIpAddressesRequest = Shapes::StructureShape.new(name: 'AssignPrivateIpAddressesRequest')
|
@@ -185,6 +187,7 @@ module Aws::EC2
|
|
185
187
|
AutoPlacement = Shapes::StringShape.new(name: 'AutoPlacement')
|
186
188
|
AutoRecoveryFlag = Shapes::BooleanShape.new(name: 'AutoRecoveryFlag')
|
187
189
|
AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
|
190
|
+
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
188
191
|
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
189
192
|
AvailabilityZoneMessage = Shapes::StructureShape.new(name: 'AvailabilityZoneMessage')
|
190
193
|
AvailabilityZoneMessageList = Shapes::ListShape.new(name: 'AvailabilityZoneMessageList')
|
@@ -3017,6 +3020,8 @@ module Aws::EC2
|
|
3017
3020
|
WithdrawByoipCidrResult = Shapes::StructureShape.new(name: 'WithdrawByoipCidrResult')
|
3018
3021
|
ZoneIdStringList = Shapes::ListShape.new(name: 'ZoneIdStringList')
|
3019
3022
|
ZoneNameStringList = Shapes::ListShape.new(name: 'ZoneNameStringList')
|
3023
|
+
customerGatewayConfiguration = Shapes::StringShape.new(name: 'customerGatewayConfiguration')
|
3024
|
+
preSharedKey = Shapes::StringShape.new(name: 'preSharedKey')
|
3020
3025
|
scope = Shapes::StringShape.new(name: 'scope')
|
3021
3026
|
snapshotTierStatusSet = Shapes::ListShape.new(name: 'snapshotTierStatusSet')
|
3022
3027
|
totalFpgaMemory = Shapes::IntegerShape.new(name: 'totalFpgaMemory')
|
@@ -3239,11 +3244,12 @@ module Aws::EC2
|
|
3239
3244
|
AllocateHostsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
3240
3245
|
AllocateHostsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
3241
3246
|
AllocateHostsRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "InstanceFamily"))
|
3242
|
-
AllocateHostsRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Integer,
|
3247
|
+
AllocateHostsRequest.add_member(:quantity, Shapes::ShapeRef.new(shape: Integer, location_name: "quantity"))
|
3243
3248
|
AllocateHostsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3244
3249
|
AllocateHostsRequest.add_member(:host_recovery, Shapes::ShapeRef.new(shape: HostRecovery, location_name: "HostRecovery"))
|
3245
3250
|
AllocateHostsRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
3246
3251
|
AllocateHostsRequest.add_member(:host_maintenance, Shapes::ShapeRef.new(shape: HostMaintenance, location_name: "HostMaintenance"))
|
3252
|
+
AllocateHostsRequest.add_member(:asset_ids, Shapes::ShapeRef.new(shape: AssetIdList, location_name: "AssetId"))
|
3247
3253
|
AllocateHostsRequest.struct_class = Types::AllocateHostsRequest
|
3248
3254
|
|
3249
3255
|
AllocateHostsResult.add_member(:host_ids, Shapes::ShapeRef.new(shape: ResponseHostIdList, location_name: "hostIdSet"))
|
@@ -3354,6 +3360,8 @@ module Aws::EC2
|
|
3354
3360
|
|
3355
3361
|
ArnList.member = Shapes::ShapeRef.new(shape: ResourceArn, location_name: "item")
|
3356
3362
|
|
3363
|
+
AssetIdList.member = Shapes::ShapeRef.new(shape: AssetId)
|
3364
|
+
|
3357
3365
|
AssignIpv6AddressesRequest.add_member(:ipv_6_address_count, Shapes::ShapeRef.new(shape: Integer, location_name: "ipv6AddressCount"))
|
3358
3366
|
AssignIpv6AddressesRequest.add_member(:ipv_6_addresses, Shapes::ShapeRef.new(shape: Ipv6AddressList, location_name: "ipv6Addresses"))
|
3359
3367
|
AssignIpv6AddressesRequest.add_member(:ipv_6_prefix_count, Shapes::ShapeRef.new(shape: Integer, location_name: "Ipv6PrefixCount"))
|
@@ -4284,8 +4292,8 @@ module Aws::EC2
|
|
4284
4292
|
CreateCapacityReservationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
4285
4293
|
CreateCapacityReservationRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
|
4286
4294
|
CreateCapacityReservationRequest.add_member(:instance_platform, Shapes::ShapeRef.new(shape: CapacityReservationInstancePlatform, required: true, location_name: "InstancePlatform"))
|
4287
|
-
CreateCapacityReservationRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape:
|
4288
|
-
CreateCapacityReservationRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape:
|
4295
|
+
CreateCapacityReservationRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZone"))
|
4296
|
+
CreateCapacityReservationRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
4289
4297
|
CreateCapacityReservationRequest.add_member(:tenancy, Shapes::ShapeRef.new(shape: CapacityReservationTenancy, location_name: "Tenancy"))
|
4290
4298
|
CreateCapacityReservationRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InstanceCount"))
|
4291
4299
|
CreateCapacityReservationRequest.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "EbsOptimized"))
|
@@ -9066,6 +9074,7 @@ module Aws::EC2
|
|
9066
9074
|
Host.add_member(:member_of_service_linked_resource_group, Shapes::ShapeRef.new(shape: Boolean, location_name: "memberOfServiceLinkedResourceGroup"))
|
9067
9075
|
Host.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
9068
9076
|
Host.add_member(:host_maintenance, Shapes::ShapeRef.new(shape: HostMaintenance, location_name: "hostMaintenance"))
|
9077
|
+
Host.add_member(:asset_id, Shapes::ShapeRef.new(shape: AssetId, location_name: "assetId"))
|
9069
9078
|
Host.struct_class = Types::Host
|
9070
9079
|
|
9071
9080
|
HostInstance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
@@ -11422,7 +11431,7 @@ module Aws::EC2
|
|
11422
11431
|
|
11423
11432
|
ModifyVpnTunnelOptionsSpecification.add_member(:tunnel_inside_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideCidr"))
|
11424
11433
|
ModifyVpnTunnelOptionsSpecification.add_member(:tunnel_inside_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideIpv6Cidr"))
|
11425
|
-
ModifyVpnTunnelOptionsSpecification.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape:
|
11434
|
+
ModifyVpnTunnelOptionsSpecification.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: preSharedKey, location_name: "PreSharedKey"))
|
11426
11435
|
ModifyVpnTunnelOptionsSpecification.add_member(:phase_1_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "Phase1LifetimeSeconds"))
|
11427
11436
|
ModifyVpnTunnelOptionsSpecification.add_member(:phase_2_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "Phase2LifetimeSeconds"))
|
11428
11437
|
ModifyVpnTunnelOptionsSpecification.add_member(:rekey_margin_time_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "RekeyMarginTimeSeconds"))
|
@@ -14281,7 +14290,7 @@ module Aws::EC2
|
|
14281
14290
|
TunnelOption.add_member(:outside_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "outsideIpAddress"))
|
14282
14291
|
TunnelOption.add_member(:tunnel_inside_cidr, Shapes::ShapeRef.new(shape: String, location_name: "tunnelInsideCidr"))
|
14283
14292
|
TunnelOption.add_member(:tunnel_inside_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "tunnelInsideIpv6Cidr"))
|
14284
|
-
TunnelOption.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape:
|
14293
|
+
TunnelOption.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: preSharedKey, location_name: "preSharedKey"))
|
14285
14294
|
TunnelOption.add_member(:phase_1_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "phase1LifetimeSeconds"))
|
14286
14295
|
TunnelOption.add_member(:phase_2_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "phase2LifetimeSeconds"))
|
14287
14296
|
TunnelOption.add_member(:rekey_margin_time_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "rekeyMarginTimeSeconds"))
|
@@ -14530,6 +14539,8 @@ module Aws::EC2
|
|
14530
14539
|
VerifiedAccessLogOptions.add_member(:s3, Shapes::ShapeRef.new(shape: VerifiedAccessLogS3DestinationOptions, location_name: "S3"))
|
14531
14540
|
VerifiedAccessLogOptions.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: VerifiedAccessLogCloudWatchLogsDestinationOptions, location_name: "CloudWatchLogs"))
|
14532
14541
|
VerifiedAccessLogOptions.add_member(:kinesis_data_firehose, Shapes::ShapeRef.new(shape: VerifiedAccessLogKinesisDataFirehoseDestinationOptions, location_name: "KinesisDataFirehose"))
|
14542
|
+
VerifiedAccessLogOptions.add_member(:log_version, Shapes::ShapeRef.new(shape: String, location_name: "LogVersion"))
|
14543
|
+
VerifiedAccessLogOptions.add_member(:include_trust_context, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeTrustContext"))
|
14533
14544
|
VerifiedAccessLogOptions.struct_class = Types::VerifiedAccessLogOptions
|
14534
14545
|
|
14535
14546
|
VerifiedAccessLogS3Destination.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
@@ -14548,6 +14559,8 @@ module Aws::EC2
|
|
14548
14559
|
VerifiedAccessLogs.add_member(:s3, Shapes::ShapeRef.new(shape: VerifiedAccessLogS3Destination, location_name: "s3"))
|
14549
14560
|
VerifiedAccessLogs.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: VerifiedAccessLogCloudWatchLogsDestination, location_name: "cloudWatchLogs"))
|
14550
14561
|
VerifiedAccessLogs.add_member(:kinesis_data_firehose, Shapes::ShapeRef.new(shape: VerifiedAccessLogKinesisDataFirehoseDestination, location_name: "kinesisDataFirehose"))
|
14562
|
+
VerifiedAccessLogs.add_member(:log_version, Shapes::ShapeRef.new(shape: String, location_name: "logVersion"))
|
14563
|
+
VerifiedAccessLogs.add_member(:include_trust_context, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeTrustContext"))
|
14551
14564
|
VerifiedAccessLogs.struct_class = Types::VerifiedAccessLogs
|
14552
14565
|
|
14553
14566
|
VerifiedAccessTrustProvider.add_member(:verified_access_trust_provider_id, Shapes::ShapeRef.new(shape: String, location_name: "verifiedAccessTrustProviderId"))
|
@@ -14821,7 +14834,7 @@ module Aws::EC2
|
|
14821
14834
|
VpcPeeringConnectionVpcInfo.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "region"))
|
14822
14835
|
VpcPeeringConnectionVpcInfo.struct_class = Types::VpcPeeringConnectionVpcInfo
|
14823
14836
|
|
14824
|
-
VpnConnection.add_member(:customer_gateway_configuration, Shapes::ShapeRef.new(shape:
|
14837
|
+
VpnConnection.add_member(:customer_gateway_configuration, Shapes::ShapeRef.new(shape: customerGatewayConfiguration, location_name: "customerGatewayConfiguration"))
|
14825
14838
|
VpnConnection.add_member(:customer_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "customerGatewayId"))
|
14826
14839
|
VpnConnection.add_member(:category, Shapes::ShapeRef.new(shape: String, location_name: "category"))
|
14827
14840
|
VpnConnection.add_member(:state, Shapes::ShapeRef.new(shape: VpnState, location_name: "state"))
|
@@ -14902,7 +14915,7 @@ module Aws::EC2
|
|
14902
14915
|
|
14903
14916
|
VpnTunnelOptionsSpecification.add_member(:tunnel_inside_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideCidr"))
|
14904
14917
|
VpnTunnelOptionsSpecification.add_member(:tunnel_inside_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "TunnelInsideIpv6Cidr"))
|
14905
|
-
VpnTunnelOptionsSpecification.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape:
|
14918
|
+
VpnTunnelOptionsSpecification.add_member(:pre_shared_key, Shapes::ShapeRef.new(shape: preSharedKey, location_name: "PreSharedKey"))
|
14906
14919
|
VpnTunnelOptionsSpecification.add_member(:phase_1_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "Phase1LifetimeSeconds"))
|
14907
14920
|
VpnTunnelOptionsSpecification.add_member(:phase_2_lifetime_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "Phase2LifetimeSeconds"))
|
14908
14921
|
VpnTunnelOptionsSpecification.add_member(:rekey_margin_time_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "RekeyMarginTimeSeconds"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -279,11 +279,18 @@ module Aws::EC2
|
|
279
279
|
# The instance type. For more information, see [Instance types][1] in
|
280
280
|
# the *Amazon EC2 User Guide*.
|
281
281
|
#
|
282
|
+
# When you change your EBS-backed instance type, instance restart or
|
283
|
+
# replacement behavior depends on the instance type compatibility
|
284
|
+
# between the old and new types. An instance that's backed by an
|
285
|
+
# instance store volume is always replaced. For more information, see
|
286
|
+
# [Change the instance type][2] in the *Amazon EC2 User Guide*.
|
287
|
+
#
|
282
288
|
# Default: `m1.small`
|
283
289
|
#
|
284
290
|
#
|
285
291
|
#
|
286
292
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
293
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
|
287
294
|
# @option options [Integer] :ipv_6_address_count
|
288
295
|
# The number of IPv6 addresses to associate with the primary network
|
289
296
|
# interface. Amazon EC2 chooses the IPv6 addresses from the range of
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -505,11 +505,18 @@ module Aws::EC2
|
|
505
505
|
# The instance type. For more information, see [Instance types][1] in
|
506
506
|
# the *Amazon EC2 User Guide*.
|
507
507
|
#
|
508
|
+
# When you change your EBS-backed instance type, instance restart or
|
509
|
+
# replacement behavior depends on the instance type compatibility
|
510
|
+
# between the old and new types. An instance that's backed by an
|
511
|
+
# instance store volume is always replaced. For more information, see
|
512
|
+
# [Change the instance type][2] in the *Amazon EC2 User Guide*.
|
513
|
+
#
|
508
514
|
# Default: `m1.small`
|
509
515
|
#
|
510
516
|
#
|
511
517
|
#
|
512
518
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
519
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
|
513
520
|
# @option options [Integer] :ipv_6_address_count
|
514
521
|
# The number of IPv6 addresses to associate with the primary network
|
515
522
|
# interface. Amazon EC2 chooses the IPv6 addresses from the range of
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -992,7 +992,12 @@ module Aws::EC2
|
|
992
992
|
#
|
993
993
|
# @!attribute [rw] quantity
|
994
994
|
# The number of Dedicated Hosts to allocate to your account with these
|
995
|
-
# parameters.
|
995
|
+
# parameters. If you are allocating the Dedicated Hosts on an Outpost,
|
996
|
+
# and you specify **AssetIds**, you can omit this parameter. In this
|
997
|
+
# case, Amazon EC2 allocates a Dedicated Host on each specified
|
998
|
+
# hardware asset. If you specify both **AssetIds** and **Quantity**,
|
999
|
+
# then the value that you specify for **Quantity** must be equal to
|
1000
|
+
# the number of asset IDs specified.
|
996
1001
|
# @return [Integer]
|
997
1002
|
#
|
998
1003
|
# @!attribute [rw] tag_specifications
|
@@ -1013,7 +1018,11 @@ module Aws::EC2
|
|
1013
1018
|
#
|
1014
1019
|
# @!attribute [rw] outpost_arn
|
1015
1020
|
# The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on
|
1016
|
-
# which to allocate the Dedicated Host.
|
1021
|
+
# which to allocate the Dedicated Host. If you specify **OutpostArn**,
|
1022
|
+
# you can optionally specify **AssetIds**.
|
1023
|
+
#
|
1024
|
+
# If you are allocating the Dedicated Host in a Region, omit this
|
1025
|
+
# parameter.
|
1017
1026
|
# @return [String]
|
1018
1027
|
#
|
1019
1028
|
# @!attribute [rw] host_maintenance
|
@@ -1026,6 +1035,22 @@ module Aws::EC2
|
|
1026
1035
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-maintenance.html
|
1027
1036
|
# @return [String]
|
1028
1037
|
#
|
1038
|
+
# @!attribute [rw] asset_ids
|
1039
|
+
# The IDs of the Outpost hardware assets on which to allocate the
|
1040
|
+
# Dedicated Hosts. Targeting specific hardware assets on an Outpost
|
1041
|
+
# can help to minimize latency between your workloads. This parameter
|
1042
|
+
# is supported only if you specify **OutpostArn**. If you are
|
1043
|
+
# allocating the Dedicated Hosts in a Region, omit this parameter.
|
1044
|
+
#
|
1045
|
+
# * If you specify this parameter, you can omit **Quantity**. In this
|
1046
|
+
# case, Amazon EC2 allocates a Dedicated Host on each specified
|
1047
|
+
# hardware asset.
|
1048
|
+
#
|
1049
|
+
# * If you specify both **AssetIds** and **Quantity**, then the value
|
1050
|
+
# for **Quantity** must be equal to the number of asset IDs
|
1051
|
+
# specified.
|
1052
|
+
# @return [Array<String>]
|
1053
|
+
#
|
1029
1054
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHostsRequest AWS API Documentation
|
1030
1055
|
#
|
1031
1056
|
class AllocateHostsRequest < Struct.new(
|
@@ -1038,7 +1063,8 @@ module Aws::EC2
|
|
1038
1063
|
:tag_specifications,
|
1039
1064
|
:host_recovery,
|
1040
1065
|
:outpost_arn,
|
1041
|
-
:host_maintenance
|
1066
|
+
:host_maintenance,
|
1067
|
+
:asset_ids)
|
1042
1068
|
SENSITIVE = []
|
1043
1069
|
include Aws::Structure
|
1044
1070
|
end
|
@@ -6189,7 +6215,12 @@ module Aws::EC2
|
|
6189
6215
|
# @return [Integer]
|
6190
6216
|
#
|
6191
6217
|
# @!attribute [rw] amd_sev_snp
|
6192
|
-
# Indicates whether the instance is enabled for AMD SEV-SNP.
|
6218
|
+
# Indicates whether the instance is enabled for AMD SEV-SNP. For more
|
6219
|
+
# information, see [AMD SEV-SNP][1].
|
6220
|
+
#
|
6221
|
+
#
|
6222
|
+
#
|
6223
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
|
6193
6224
|
# @return [String]
|
6194
6225
|
#
|
6195
6226
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptions AWS API Documentation
|
@@ -6217,7 +6248,12 @@ module Aws::EC2
|
|
6217
6248
|
#
|
6218
6249
|
# @!attribute [rw] amd_sev_snp
|
6219
6250
|
# Indicates whether to enable the instance for AMD SEV-SNP. AMD
|
6220
|
-
# SEV-SNP is supported with M6a, R6a, and C6a instance types only.
|
6251
|
+
# SEV-SNP is supported with M6a, R6a, and C6a instance types only. For
|
6252
|
+
# more information, see [AMD SEV-SNP][1].
|
6253
|
+
#
|
6254
|
+
#
|
6255
|
+
#
|
6256
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
|
6221
6257
|
# @return [String]
|
6222
6258
|
#
|
6223
6259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptionsRequest AWS API Documentation
|
@@ -19368,6 +19404,9 @@ module Aws::EC2
|
|
19368
19404
|
# * `processor-info.sustained-clock-speed-in-ghz` - The CPU clock
|
19369
19405
|
# speed, in GHz.
|
19370
19406
|
#
|
19407
|
+
# * `processor-info.supported-features` - The supported CPU features
|
19408
|
+
# (`amd-sev-snp`).
|
19409
|
+
#
|
19371
19410
|
# * `supported-boot-mode` - The boot mode (`legacy-bios` \| `uefi`).
|
19372
19411
|
#
|
19373
19412
|
# * `supported-root-device-type` - The root device type (`ebs` \|
|
@@ -19427,9 +19466,16 @@ module Aws::EC2
|
|
19427
19466
|
# The instance type. For more information, see [Instance types][1] in
|
19428
19467
|
# the *Amazon EC2 User Guide*.
|
19429
19468
|
#
|
19469
|
+
# When you change your EBS-backed instance type, instance restart or
|
19470
|
+
# replacement behavior depends on the instance type compatibility
|
19471
|
+
# between the old and new types. An instance that's backed by an
|
19472
|
+
# instance store volume is always replaced. For more information, see
|
19473
|
+
# [Change the instance type][2] in the *Amazon EC2 User Guide*.
|
19474
|
+
#
|
19430
19475
|
#
|
19431
19476
|
#
|
19432
19477
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
19478
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
|
19433
19479
|
# @return [Array<Types::InstanceTypeInfo>]
|
19434
19480
|
#
|
19435
19481
|
# @!attribute [rw] next_token
|
@@ -31567,8 +31613,10 @@ module Aws::EC2
|
|
31567
31613
|
# @return [Types::InstanceRequirements]
|
31568
31614
|
#
|
31569
31615
|
# @!attribute [rw] image_id
|
31570
|
-
# The ID of the AMI. An AMI is required to launch an instance.
|
31571
|
-
#
|
31616
|
+
# The ID of the AMI. An AMI is required to launch an instance. This
|
31617
|
+
# parameter is only available for fleets of type `instant`. For fleets
|
31618
|
+
# of type `maintain` and `request`, you must specify the AMI ID in the
|
31619
|
+
# launch template.
|
31572
31620
|
# @return [String]
|
31573
31621
|
#
|
31574
31622
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateOverrides AWS API Documentation
|
@@ -31660,8 +31708,10 @@ module Aws::EC2
|
|
31660
31708
|
# @return [Types::InstanceRequirementsRequest]
|
31661
31709
|
#
|
31662
31710
|
# @!attribute [rw] image_id
|
31663
|
-
# The ID of the AMI. An AMI is required to launch an instance.
|
31664
|
-
#
|
31711
|
+
# The ID of the AMI. An AMI is required to launch an instance. This
|
31712
|
+
# parameter is only available for fleets of type `instant`. For fleets
|
31713
|
+
# of type `maintain` and `request`, you must specify the AMI ID in the
|
31714
|
+
# launch template.
|
31665
31715
|
# @return [String]
|
31666
31716
|
#
|
31667
31717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetLaunchTemplateOverridesRequest AWS API Documentation
|
@@ -34912,6 +34962,11 @@ module Aws::EC2
|
|
34912
34962
|
# Dedicated Host.
|
34913
34963
|
# @return [String]
|
34914
34964
|
#
|
34965
|
+
# @!attribute [rw] asset_id
|
34966
|
+
# The ID of the Outpost hardware asset on which the Dedicated Host is
|
34967
|
+
# allocated.
|
34968
|
+
# @return [String]
|
34969
|
+
#
|
34915
34970
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Host AWS API Documentation
|
34916
34971
|
#
|
34917
34972
|
class Host < Struct.new(
|
@@ -34933,7 +34988,8 @@ module Aws::EC2
|
|
34933
34988
|
:availability_zone_id,
|
34934
34989
|
:member_of_service_linked_resource_group,
|
34935
34990
|
:outpost_arn,
|
34936
|
-
:host_maintenance
|
34991
|
+
:host_maintenance,
|
34992
|
+
:asset_id)
|
34937
34993
|
SENSITIVE = []
|
34938
34994
|
include Aws::Structure
|
34939
34995
|
end
|
@@ -41430,7 +41486,9 @@ module Aws::EC2
|
|
41430
41486
|
# Describes a launch template and overrides.
|
41431
41487
|
#
|
41432
41488
|
# @!attribute [rw] launch_template_specification
|
41433
|
-
# The launch template.
|
41489
|
+
# The launch template to use. Make sure that the launch template does
|
41490
|
+
# not contain the `NetworkInterfaceId` parameter because you can't
|
41491
|
+
# specify a network interface ID in a Spot Fleet.
|
41434
41492
|
# @return [Types::FleetLaunchTemplateSpecification]
|
41435
41493
|
#
|
41436
41494
|
# @!attribute [rw] overrides
|
@@ -45023,10 +45081,11 @@ module Aws::EC2
|
|
45023
45081
|
# @!attribute [rw] tenancy
|
45024
45082
|
# The tenancy for the instance.
|
45025
45083
|
#
|
45026
|
-
# <note markdown="1"> For T3 instances, you
|
45027
|
-
#
|
45028
|
-
#
|
45029
|
-
# error
|
45084
|
+
# <note markdown="1"> For T3 instances, you must launch the instance on a Dedicated Host
|
45085
|
+
# to use a tenancy of `host`. You can't change the tenancy from
|
45086
|
+
# `host` to `dedicated` or `default`. Attempting to make one of these
|
45087
|
+
# unsupported tenancy changes results in an `InvalidRequest` error
|
45088
|
+
# code.
|
45030
45089
|
#
|
45031
45090
|
# </note>
|
45032
45091
|
# @return [String]
|
@@ -45038,6 +45097,8 @@ module Aws::EC2
|
|
45038
45097
|
#
|
45039
45098
|
# @!attribute [rw] host_resource_group_arn
|
45040
45099
|
# The ARN of the host resource group in which to place the instance.
|
45100
|
+
# The instance must have a tenancy of `host` to specify this
|
45101
|
+
# parameter.
|
45041
45102
|
# @return [String]
|
45042
45103
|
#
|
45043
45104
|
# @!attribute [rw] group_id
|
@@ -47696,7 +47757,7 @@ module Aws::EC2
|
|
47696
47757
|
:tunnel_options,
|
47697
47758
|
:dry_run,
|
47698
47759
|
:skip_tunnel_replacement)
|
47699
|
-
SENSITIVE = []
|
47760
|
+
SENSITIVE = [:tunnel_options]
|
47700
47761
|
include Aws::Structure
|
47701
47762
|
end
|
47702
47763
|
|
@@ -47911,7 +47972,7 @@ module Aws::EC2
|
|
47911
47972
|
:startup_action,
|
47912
47973
|
:log_options,
|
47913
47974
|
:enable_tunnel_lifecycle_control)
|
47914
|
-
SENSITIVE = []
|
47975
|
+
SENSITIVE = [:pre_shared_key]
|
47915
47976
|
include Aws::Structure
|
47916
47977
|
end
|
47917
47978
|
|
@@ -50646,7 +50707,11 @@ module Aws::EC2
|
|
50646
50707
|
# @!attribute [rw] supported_features
|
50647
50708
|
# Indicates whether the instance type supports AMD SEV-SNP. If the
|
50648
50709
|
# request returns `amd-sev-snp`, AMD SEV-SNP is supported. Otherwise,
|
50649
|
-
# it is not supported.
|
50710
|
+
# it is not supported. For more information, see [ AMD SEV-SNP][1].
|
50711
|
+
#
|
50712
|
+
#
|
50713
|
+
#
|
50714
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
|
50650
50715
|
# @return [Array<String>]
|
50651
50716
|
#
|
50652
50717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProcessorInfo AWS API Documentation
|
@@ -55178,11 +55243,18 @@ module Aws::EC2
|
|
55178
55243
|
# The instance type. For more information, see [Instance types][1] in
|
55179
55244
|
# the *Amazon EC2 User Guide*.
|
55180
55245
|
#
|
55246
|
+
# When you change your EBS-backed instance type, instance restart or
|
55247
|
+
# replacement behavior depends on the instance type compatibility
|
55248
|
+
# between the old and new types. An instance that's backed by an
|
55249
|
+
# instance store volume is always replaced. For more information, see
|
55250
|
+
# [Change the instance type][2] in the *Amazon EC2 User Guide*.
|
55251
|
+
#
|
55181
55252
|
# Default: `m1.small`
|
55182
55253
|
#
|
55183
55254
|
#
|
55184
55255
|
#
|
55185
55256
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
55257
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html
|
55186
55258
|
# @return [String]
|
55187
55259
|
#
|
55188
55260
|
# @!attribute [rw] ipv_6_address_count
|
@@ -62148,7 +62220,7 @@ module Aws::EC2
|
|
62148
62220
|
:startup_action,
|
62149
62221
|
:log_options,
|
62150
62222
|
:enable_tunnel_lifecycle_control)
|
62151
|
-
SENSITIVE = []
|
62223
|
+
SENSITIVE = [:pre_shared_key]
|
62152
62224
|
include Aws::Structure
|
62153
62225
|
end
|
62154
62226
|
|
@@ -63149,7 +63221,7 @@ module Aws::EC2
|
|
63149
63221
|
include Aws::Structure
|
63150
63222
|
end
|
63151
63223
|
|
63152
|
-
#
|
63224
|
+
# Options for Verified Access logs.
|
63153
63225
|
#
|
63154
63226
|
# @!attribute [rw] s3
|
63155
63227
|
# Sends Verified Access logs to Amazon S3.
|
@@ -63163,12 +63235,24 @@ module Aws::EC2
|
|
63163
63235
|
# Sends Verified Access logs to Kinesis.
|
63164
63236
|
# @return [Types::VerifiedAccessLogKinesisDataFirehoseDestinationOptions]
|
63165
63237
|
#
|
63238
|
+
# @!attribute [rw] log_version
|
63239
|
+
# The logging version to use.
|
63240
|
+
#
|
63241
|
+
# Valid values: `ocsf-0.1` \| `ocsf-1.0.0-rc.2`
|
63242
|
+
# @return [String]
|
63243
|
+
#
|
63244
|
+
# @!attribute [rw] include_trust_context
|
63245
|
+
# Include trust data sent by trust providers into the logs.
|
63246
|
+
# @return [Boolean]
|
63247
|
+
#
|
63166
63248
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VerifiedAccessLogOptions AWS API Documentation
|
63167
63249
|
#
|
63168
63250
|
class VerifiedAccessLogOptions < Struct.new(
|
63169
63251
|
:s3,
|
63170
63252
|
:cloud_watch_logs,
|
63171
|
-
:kinesis_data_firehose
|
63253
|
+
:kinesis_data_firehose,
|
63254
|
+
:log_version,
|
63255
|
+
:include_trust_context)
|
63172
63256
|
SENSITIVE = []
|
63173
63257
|
include Aws::Structure
|
63174
63258
|
end
|
@@ -63237,7 +63321,7 @@ module Aws::EC2
|
|
63237
63321
|
include Aws::Structure
|
63238
63322
|
end
|
63239
63323
|
|
63240
|
-
# Describes the
|
63324
|
+
# Describes the options for Verified Access logs.
|
63241
63325
|
#
|
63242
63326
|
# @!attribute [rw] s3
|
63243
63327
|
# Amazon S3 logging options.
|
@@ -63251,12 +63335,22 @@ module Aws::EC2
|
|
63251
63335
|
# Kinesis logging destination.
|
63252
63336
|
# @return [Types::VerifiedAccessLogKinesisDataFirehoseDestination]
|
63253
63337
|
#
|
63338
|
+
# @!attribute [rw] log_version
|
63339
|
+
# Describes current setting for the logging version.
|
63340
|
+
# @return [String]
|
63341
|
+
#
|
63342
|
+
# @!attribute [rw] include_trust_context
|
63343
|
+
# Describes current setting for including trust data into the logs.
|
63344
|
+
# @return [Boolean]
|
63345
|
+
#
|
63254
63346
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VerifiedAccessLogs AWS API Documentation
|
63255
63347
|
#
|
63256
63348
|
class VerifiedAccessLogs < Struct.new(
|
63257
63349
|
:s3,
|
63258
63350
|
:cloud_watch_logs,
|
63259
|
-
:kinesis_data_firehose
|
63351
|
+
:kinesis_data_firehose,
|
63352
|
+
:log_version,
|
63353
|
+
:include_trust_context)
|
63260
63354
|
SENSITIVE = []
|
63261
63355
|
include Aws::Structure
|
63262
63356
|
end
|
@@ -64411,7 +64505,7 @@ module Aws::EC2
|
|
64411
64505
|
:routes,
|
64412
64506
|
:tags,
|
64413
64507
|
:vgw_telemetry)
|
64414
|
-
SENSITIVE = []
|
64508
|
+
SENSITIVE = [:customer_gateway_configuration]
|
64415
64509
|
include Aws::Structure
|
64416
64510
|
end
|
64417
64511
|
|
@@ -64901,7 +64995,7 @@ module Aws::EC2
|
|
64901
64995
|
:startup_action,
|
64902
64996
|
:log_options,
|
64903
64997
|
:enable_tunnel_lifecycle_control)
|
64904
|
-
SENSITIVE = []
|
64998
|
+
SENSITIVE = [:pre_shared_key]
|
64905
64999
|
include Aws::Structure
|
64906
65000
|
end
|
64907
65001
|
|
data/lib/aws-sdk-ec2.rb
CHANGED
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.386.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: 2023-06-
|
11
|
+
date: 2023-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|