aws-sdk-ec2 1.468.0 → 1.470.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +355 -62
- data/lib/aws-sdk-ec2/client_api.rb +60 -0
- data/lib/aws-sdk-ec2/endpoints.rb +28 -0
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-ec2/resource.rb +3 -3
- data/lib/aws-sdk-ec2/route.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +250 -34
- data/lib/aws-sdk-ec2/vpc.rb +3 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +44 -1
- data/sig/types.rbs +47 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1750,8 +1750,8 @@ module Aws::EC2
|
|
1750
1750
|
# principal or service that created the network interface.
|
1751
1751
|
#
|
1752
1752
|
# * `requester-managed` - Indicates whether the network interface is
|
1753
|
-
# being managed by an Amazon Web
|
1754
|
-
# Services Management Console, Auto Scaling, and so on).
|
1753
|
+
# being managed by an Amazon Web Services service (for example, Amazon
|
1754
|
+
# Web Services Management Console, Auto Scaling, and so on).
|
1755
1755
|
#
|
1756
1756
|
# * `source-dest-check` - Indicates whether the network interface
|
1757
1757
|
# performs source/destination checking. A value of `true` means
|
@@ -1942,7 +1942,7 @@ module Aws::EC2
|
|
1942
1942
|
# in a route in the route table.
|
1943
1943
|
#
|
1944
1944
|
# * `route.destination-prefix-list-id` - The ID (prefix) of the Amazon
|
1945
|
-
# Web
|
1945
|
+
# Web Services service specified in a route in the table.
|
1946
1946
|
#
|
1947
1947
|
# * `route.egress-only-internet-gateway-id` - The ID of an egress-only
|
1948
1948
|
# Internet gateway specified in a route in the route table.
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1048,6 +1048,32 @@ module Aws
|
|
1048
1048
|
) -> _CreateCapacityReservationResponseSuccess
|
1049
1049
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapacityReservationResponseSuccess
|
1050
1050
|
|
1051
|
+
interface _CreateCapacityReservationBySplittingResponseSuccess
|
1052
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCapacityReservationBySplittingResult]
|
1053
|
+
def source_capacity_reservation: () -> Types::CapacityReservation
|
1054
|
+
def destination_capacity_reservation: () -> Types::CapacityReservation
|
1055
|
+
def instance_count: () -> ::Integer
|
1056
|
+
end
|
1057
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_capacity_reservation_by_splitting-instance_method
|
1058
|
+
def create_capacity_reservation_by_splitting: (
|
1059
|
+
?dry_run: bool,
|
1060
|
+
?client_token: ::String,
|
1061
|
+
source_capacity_reservation_id: ::String,
|
1062
|
+
instance_count: ::Integer,
|
1063
|
+
?tag_specifications: Array[
|
1064
|
+
{
|
1065
|
+
resource_type: ("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" | "ipam-external-resource-verification-token")?,
|
1066
|
+
tags: Array[
|
1067
|
+
{
|
1068
|
+
key: ::String?,
|
1069
|
+
value: ::String?
|
1070
|
+
},
|
1071
|
+
]?
|
1072
|
+
},
|
1073
|
+
]
|
1074
|
+
) -> _CreateCapacityReservationBySplittingResponseSuccess
|
1075
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapacityReservationBySplittingResponseSuccess
|
1076
|
+
|
1051
1077
|
interface _CreateCapacityReservationFleetResponseSuccess
|
1052
1078
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCapacityReservationFleetResult]
|
1053
1079
|
def capacity_reservation_fleet_id: () -> ::String
|
@@ -9746,7 +9772,8 @@ module Aws
|
|
9746
9772
|
?end_date_type: ("unlimited" | "limited"),
|
9747
9773
|
?accept: bool,
|
9748
9774
|
?dry_run: bool,
|
9749
|
-
?additional_info: ::String
|
9775
|
+
?additional_info: ::String,
|
9776
|
+
?instance_match_criteria: ("open" | "targeted")
|
9750
9777
|
) -> _ModifyCapacityReservationResponseSuccess
|
9751
9778
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyCapacityReservationResponseSuccess
|
9752
9779
|
|
@@ -11177,6 +11204,22 @@ module Aws
|
|
11177
11204
|
) -> _MoveByoipCidrToIpamResponseSuccess
|
11178
11205
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _MoveByoipCidrToIpamResponseSuccess
|
11179
11206
|
|
11207
|
+
interface _MoveCapacityReservationInstancesResponseSuccess
|
11208
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::MoveCapacityReservationInstancesResult]
|
11209
|
+
def source_capacity_reservation: () -> Types::CapacityReservation
|
11210
|
+
def destination_capacity_reservation: () -> Types::CapacityReservation
|
11211
|
+
def instance_count: () -> ::Integer
|
11212
|
+
end
|
11213
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#move_capacity_reservation_instances-instance_method
|
11214
|
+
def move_capacity_reservation_instances: (
|
11215
|
+
?dry_run: bool,
|
11216
|
+
?client_token: ::String,
|
11217
|
+
source_capacity_reservation_id: ::String,
|
11218
|
+
destination_capacity_reservation_id: ::String,
|
11219
|
+
instance_count: ::Integer
|
11220
|
+
) -> _MoveCapacityReservationInstancesResponseSuccess
|
11221
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _MoveCapacityReservationInstancesResponseSuccess
|
11222
|
+
|
11180
11223
|
interface _ProvisionByoipCidrResponseSuccess
|
11181
11224
|
include ::Seahorse::Client::_ResponseSuccess[Types::ProvisionByoipCidrResult]
|
11182
11225
|
def byoip_cidr: () -> Types::ByoipCidr
|
data/sig/types.rbs
CHANGED
@@ -1585,6 +1585,22 @@ module Aws::EC2
|
|
1585
1585
|
SENSITIVE: []
|
1586
1586
|
end
|
1587
1587
|
|
1588
|
+
class CreateCapacityReservationBySplittingRequest
|
1589
|
+
attr_accessor dry_run: bool
|
1590
|
+
attr_accessor client_token: ::String
|
1591
|
+
attr_accessor source_capacity_reservation_id: ::String
|
1592
|
+
attr_accessor instance_count: ::Integer
|
1593
|
+
attr_accessor tag_specifications: ::Array[Types::TagSpecification]
|
1594
|
+
SENSITIVE: []
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
class CreateCapacityReservationBySplittingResult
|
1598
|
+
attr_accessor source_capacity_reservation: Types::CapacityReservation
|
1599
|
+
attr_accessor destination_capacity_reservation: Types::CapacityReservation
|
1600
|
+
attr_accessor instance_count: ::Integer
|
1601
|
+
SENSITIVE: []
|
1602
|
+
end
|
1603
|
+
|
1588
1604
|
class CreateCapacityReservationFleetRequest
|
1589
1605
|
attr_accessor allocation_strategy: ::String
|
1590
1606
|
attr_accessor client_token: ::String
|
@@ -6804,6 +6820,19 @@ module Aws::EC2
|
|
6804
6820
|
SENSITIVE: []
|
6805
6821
|
end
|
6806
6822
|
|
6823
|
+
class EbsStatusDetails
|
6824
|
+
attr_accessor impaired_since: ::Time
|
6825
|
+
attr_accessor name: ("reachability")
|
6826
|
+
attr_accessor status: ("passed" | "failed" | "insufficient-data" | "initializing")
|
6827
|
+
SENSITIVE: []
|
6828
|
+
end
|
6829
|
+
|
6830
|
+
class EbsStatusSummary
|
6831
|
+
attr_accessor details: ::Array[Types::EbsStatusDetails]
|
6832
|
+
attr_accessor status: ("ok" | "impaired" | "insufficient-data" | "not-applicable" | "initializing")
|
6833
|
+
SENSITIVE: []
|
6834
|
+
end
|
6835
|
+
|
6807
6836
|
class Ec2InstanceConnectEndpoint
|
6808
6837
|
attr_accessor owner_id: ::String
|
6809
6838
|
attr_accessor instance_connect_endpoint_id: ::String
|
@@ -9194,6 +9223,7 @@ module Aws::EC2
|
|
9194
9223
|
attr_accessor instance_state: Types::InstanceState
|
9195
9224
|
attr_accessor instance_status: Types::InstanceStatusSummary
|
9196
9225
|
attr_accessor system_status: Types::InstanceStatusSummary
|
9226
|
+
attr_accessor attached_ebs_status: Types::EbsStatusSummary
|
9197
9227
|
SENSITIVE: []
|
9198
9228
|
end
|
9199
9229
|
|
@@ -10385,6 +10415,7 @@ module Aws::EC2
|
|
10385
10415
|
attr_accessor accept: bool
|
10386
10416
|
attr_accessor dry_run: bool
|
10387
10417
|
attr_accessor additional_info: ::String
|
10418
|
+
attr_accessor instance_match_criteria: ("open" | "targeted")
|
10388
10419
|
SENSITIVE: []
|
10389
10420
|
end
|
10390
10421
|
|
@@ -11391,6 +11422,22 @@ module Aws::EC2
|
|
11391
11422
|
SENSITIVE: []
|
11392
11423
|
end
|
11393
11424
|
|
11425
|
+
class MoveCapacityReservationInstancesRequest
|
11426
|
+
attr_accessor dry_run: bool
|
11427
|
+
attr_accessor client_token: ::String
|
11428
|
+
attr_accessor source_capacity_reservation_id: ::String
|
11429
|
+
attr_accessor destination_capacity_reservation_id: ::String
|
11430
|
+
attr_accessor instance_count: ::Integer
|
11431
|
+
SENSITIVE: []
|
11432
|
+
end
|
11433
|
+
|
11434
|
+
class MoveCapacityReservationInstancesResult
|
11435
|
+
attr_accessor source_capacity_reservation: Types::CapacityReservation
|
11436
|
+
attr_accessor destination_capacity_reservation: Types::CapacityReservation
|
11437
|
+
attr_accessor instance_count: ::Integer
|
11438
|
+
SENSITIVE: []
|
11439
|
+
end
|
11440
|
+
|
11394
11441
|
class MovingAddressStatus
|
11395
11442
|
attr_accessor move_status: ("movingToVpc" | "restoringToClassic")
|
11396
11443
|
attr_accessor public_ip: ::String
|
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.470.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: 2024-08-
|
11
|
+
date: 2024-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|