aws-sdk-ec2 1.480.0 → 1.481.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +307 -35
- data/lib/aws-sdk-ec2/client_api.rb +122 -0
- data/lib/aws-sdk-ec2/endpoints.rb +55 -0
- data/lib/aws-sdk-ec2/instance.rb +6 -4
- data/lib/aws-sdk-ec2/placement_group.rb +0 -3
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-ec2/resource.rb +4 -12
- data/lib/aws-sdk-ec2/subnet.rb +1 -9
- data/lib/aws-sdk-ec2/types.rb +369 -90
- data/lib/aws-sdk-ec2/vpc.rb +0 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +67 -0
- data/sig/types.rbs +81 -0
- metadata +2 -2
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1096,9 +1096,6 @@ module Aws::EC2
|
|
1096
1096
|
# * `iam-instance-profile.id` - The instance profile associated with the
|
1097
1097
|
# instance. Specified as an ID.
|
1098
1098
|
#
|
1099
|
-
# * `iam-instance-profile.name` - The instance profile associated with
|
1100
|
-
# the instance. Specified as an name.
|
1101
|
-
#
|
1102
1099
|
# * `image-id` - The ID of the image used to launch the instance.
|
1103
1100
|
#
|
1104
1101
|
# * `instance-id` - The ID of the instance.
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -97,6 +97,17 @@ module Aws
|
|
97
97
|
) -> _AcceptAddressTransferResponseSuccess
|
98
98
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptAddressTransferResponseSuccess
|
99
99
|
|
100
|
+
interface _AcceptCapacityReservationBillingOwnershipResponseSuccess
|
101
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AcceptCapacityReservationBillingOwnershipResult]
|
102
|
+
def return: () -> bool
|
103
|
+
end
|
104
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#accept_capacity_reservation_billing_ownership-instance_method
|
105
|
+
def accept_capacity_reservation_billing_ownership: (
|
106
|
+
?dry_run: bool,
|
107
|
+
capacity_reservation_id: ::String
|
108
|
+
) -> _AcceptCapacityReservationBillingOwnershipResponseSuccess
|
109
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptCapacityReservationBillingOwnershipResponseSuccess
|
110
|
+
|
100
111
|
interface _AcceptReservedInstancesExchangeQuoteResponseSuccess
|
101
112
|
include ::Seahorse::Client::_ResponseSuccess[Types::AcceptReservedInstancesExchangeQuoteResult]
|
102
113
|
def exchange_id: () -> ::String
|
@@ -343,6 +354,18 @@ module Aws
|
|
343
354
|
) -> _AssociateAddressResponseSuccess
|
344
355
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateAddressResponseSuccess
|
345
356
|
|
357
|
+
interface _AssociateCapacityReservationBillingOwnerResponseSuccess
|
358
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateCapacityReservationBillingOwnerResult]
|
359
|
+
def return: () -> bool
|
360
|
+
end
|
361
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#associate_capacity_reservation_billing_owner-instance_method
|
362
|
+
def associate_capacity_reservation_billing_owner: (
|
363
|
+
?dry_run: bool,
|
364
|
+
capacity_reservation_id: ::String,
|
365
|
+
unused_reservation_billing_owner_id: ::String
|
366
|
+
) -> _AssociateCapacityReservationBillingOwnerResponseSuccess
|
367
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateCapacityReservationBillingOwnerResponseSuccess
|
368
|
+
|
346
369
|
interface _AssociateClientVpnTargetNetworkResponseSuccess
|
347
370
|
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateClientVpnTargetNetworkResult]
|
348
371
|
def association_id: () -> ::String
|
@@ -5068,6 +5091,27 @@ module Aws
|
|
5068
5091
|
) -> _DescribeCapacityBlockOfferingsResponseSuccess
|
5069
5092
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityBlockOfferingsResponseSuccess
|
5070
5093
|
|
5094
|
+
interface _DescribeCapacityReservationBillingRequestsResponseSuccess
|
5095
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityReservationBillingRequestsResult]
|
5096
|
+
def next_token: () -> ::String
|
5097
|
+
def capacity_reservation_billing_requests: () -> ::Array[Types::CapacityReservationBillingRequest]
|
5098
|
+
end
|
5099
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_capacity_reservation_billing_requests-instance_method
|
5100
|
+
def describe_capacity_reservation_billing_requests: (
|
5101
|
+
?capacity_reservation_ids: Array[::String],
|
5102
|
+
role: ("odcr-owner" | "unused-reservation-billing-owner"),
|
5103
|
+
?next_token: ::String,
|
5104
|
+
?max_results: ::Integer,
|
5105
|
+
?filters: Array[
|
5106
|
+
{
|
5107
|
+
name: ::String?,
|
5108
|
+
values: Array[::String]?
|
5109
|
+
},
|
5110
|
+
],
|
5111
|
+
?dry_run: bool
|
5112
|
+
) -> _DescribeCapacityReservationBillingRequestsResponseSuccess
|
5113
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapacityReservationBillingRequestsResponseSuccess
|
5114
|
+
|
5071
5115
|
interface _DescribeCapacityReservationFleetsResponseSuccess
|
5072
5116
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapacityReservationFleetsResult]
|
5073
5117
|
def capacity_reservation_fleets: () -> ::Array[Types::CapacityReservationFleet]
|
@@ -8084,6 +8128,18 @@ module Aws
|
|
8084
8128
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
8085
8129
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
8086
8130
|
|
8131
|
+
interface _DisassociateCapacityReservationBillingOwnerResponseSuccess
|
8132
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateCapacityReservationBillingOwnerResult]
|
8133
|
+
def return: () -> bool
|
8134
|
+
end
|
8135
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#disassociate_capacity_reservation_billing_owner-instance_method
|
8136
|
+
def disassociate_capacity_reservation_billing_owner: (
|
8137
|
+
?dry_run: bool,
|
8138
|
+
capacity_reservation_id: ::String,
|
8139
|
+
unused_reservation_billing_owner_id: ::String
|
8140
|
+
) -> _DisassociateCapacityReservationBillingOwnerResponseSuccess
|
8141
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateCapacityReservationBillingOwnerResponseSuccess
|
8142
|
+
|
8087
8143
|
interface _DisassociateClientVpnTargetNetworkResponseSuccess
|
8088
8144
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateClientVpnTargetNetworkResult]
|
8089
8145
|
def association_id: () -> ::String
|
@@ -11506,6 +11562,17 @@ module Aws
|
|
11506
11562
|
) -> _RegisterTransitGatewayMulticastGroupSourcesResponseSuccess
|
11507
11563
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterTransitGatewayMulticastGroupSourcesResponseSuccess
|
11508
11564
|
|
11565
|
+
interface _RejectCapacityReservationBillingOwnershipResponseSuccess
|
11566
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RejectCapacityReservationBillingOwnershipResult]
|
11567
|
+
def return: () -> bool
|
11568
|
+
end
|
11569
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#reject_capacity_reservation_billing_ownership-instance_method
|
11570
|
+
def reject_capacity_reservation_billing_ownership: (
|
11571
|
+
?dry_run: bool,
|
11572
|
+
capacity_reservation_id: ::String
|
11573
|
+
) -> _RejectCapacityReservationBillingOwnershipResponseSuccess
|
11574
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectCapacityReservationBillingOwnershipResponseSuccess
|
11575
|
+
|
11509
11576
|
interface _RejectTransitGatewayMulticastDomainAssociationsResponseSuccess
|
11510
11577
|
include ::Seahorse::Client::_ResponseSuccess[Types::RejectTransitGatewayMulticastDomainAssociationsResult]
|
11511
11578
|
def associations: () -> Types::TransitGatewayMulticastDomainAssociations
|
data/sig/types.rbs
CHANGED
@@ -44,6 +44,17 @@ module Aws::EC2
|
|
44
44
|
SENSITIVE: []
|
45
45
|
end
|
46
46
|
|
47
|
+
class AcceptCapacityReservationBillingOwnershipRequest
|
48
|
+
attr_accessor dry_run: bool
|
49
|
+
attr_accessor capacity_reservation_id: ::String
|
50
|
+
SENSITIVE: []
|
51
|
+
end
|
52
|
+
|
53
|
+
class AcceptCapacityReservationBillingOwnershipResult
|
54
|
+
attr_accessor return: bool
|
55
|
+
SENSITIVE: []
|
56
|
+
end
|
57
|
+
|
47
58
|
class AcceptReservedInstancesExchangeQuoteRequest
|
48
59
|
attr_accessor dry_run: bool
|
49
60
|
attr_accessor reserved_instance_ids: ::Array[::String]
|
@@ -475,6 +486,18 @@ module Aws::EC2
|
|
475
486
|
SENSITIVE: []
|
476
487
|
end
|
477
488
|
|
489
|
+
class AssociateCapacityReservationBillingOwnerRequest
|
490
|
+
attr_accessor dry_run: bool
|
491
|
+
attr_accessor capacity_reservation_id: ::String
|
492
|
+
attr_accessor unused_reservation_billing_owner_id: ::String
|
493
|
+
SENSITIVE: []
|
494
|
+
end
|
495
|
+
|
496
|
+
class AssociateCapacityReservationBillingOwnerResult
|
497
|
+
attr_accessor return: bool
|
498
|
+
SENSITIVE: []
|
499
|
+
end
|
500
|
+
|
478
501
|
class AssociateClientVpnTargetNetworkRequest
|
479
502
|
attr_accessor client_vpn_endpoint_id: ::String
|
480
503
|
attr_accessor subnet_id: ::String
|
@@ -1141,6 +1164,18 @@ module Aws::EC2
|
|
1141
1164
|
attr_accessor placement_group_arn: ::String
|
1142
1165
|
attr_accessor capacity_allocations: ::Array[Types::CapacityAllocation]
|
1143
1166
|
attr_accessor reservation_type: ("default" | "capacity-block")
|
1167
|
+
attr_accessor unused_reservation_billing_owner_id: ::String
|
1168
|
+
SENSITIVE: []
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
class CapacityReservationBillingRequest
|
1172
|
+
attr_accessor capacity_reservation_id: ::String
|
1173
|
+
attr_accessor requested_by: ::String
|
1174
|
+
attr_accessor unused_reservation_billing_owner_id: ::String
|
1175
|
+
attr_accessor last_update_time: ::Time
|
1176
|
+
attr_accessor status: ("pending" | "accepted" | "rejected" | "cancelled" | "revoked" | "expired")
|
1177
|
+
attr_accessor status_message: ::String
|
1178
|
+
attr_accessor capacity_reservation_info: Types::CapacityReservationInfo
|
1144
1179
|
SENSITIVE: []
|
1145
1180
|
end
|
1146
1181
|
|
@@ -1173,6 +1208,13 @@ module Aws::EC2
|
|
1173
1208
|
SENSITIVE: []
|
1174
1209
|
end
|
1175
1210
|
|
1211
|
+
class CapacityReservationInfo
|
1212
|
+
attr_accessor instance_type: ::String
|
1213
|
+
attr_accessor availability_zone: ::String
|
1214
|
+
attr_accessor tenancy: ("default" | "dedicated")
|
1215
|
+
SENSITIVE: []
|
1216
|
+
end
|
1217
|
+
|
1176
1218
|
class CapacityReservationOptions
|
1177
1219
|
attr_accessor usage_strategy: ("use-capacity-reservations-first" | "use-capacity-reservations-only" | "none")
|
1178
1220
|
SENSITIVE: []
|
@@ -4087,6 +4129,22 @@ module Aws::EC2
|
|
4087
4129
|
SENSITIVE: []
|
4088
4130
|
end
|
4089
4131
|
|
4132
|
+
class DescribeCapacityReservationBillingRequestsRequest
|
4133
|
+
attr_accessor capacity_reservation_ids: ::Array[::String]
|
4134
|
+
attr_accessor role: ("odcr-owner" | "unused-reservation-billing-owner")
|
4135
|
+
attr_accessor next_token: ::String
|
4136
|
+
attr_accessor max_results: ::Integer
|
4137
|
+
attr_accessor filters: ::Array[Types::Filter]
|
4138
|
+
attr_accessor dry_run: bool
|
4139
|
+
SENSITIVE: []
|
4140
|
+
end
|
4141
|
+
|
4142
|
+
class DescribeCapacityReservationBillingRequestsResult
|
4143
|
+
attr_accessor next_token: ::String
|
4144
|
+
attr_accessor capacity_reservation_billing_requests: ::Array[Types::CapacityReservationBillingRequest]
|
4145
|
+
SENSITIVE: []
|
4146
|
+
end
|
4147
|
+
|
4090
4148
|
class DescribeCapacityReservationFleetsRequest
|
4091
4149
|
attr_accessor capacity_reservation_fleet_ids: ::Array[::String]
|
4092
4150
|
attr_accessor next_token: ::String
|
@@ -6552,6 +6610,18 @@ module Aws::EC2
|
|
6552
6610
|
SENSITIVE: []
|
6553
6611
|
end
|
6554
6612
|
|
6613
|
+
class DisassociateCapacityReservationBillingOwnerRequest
|
6614
|
+
attr_accessor dry_run: bool
|
6615
|
+
attr_accessor capacity_reservation_id: ::String
|
6616
|
+
attr_accessor unused_reservation_billing_owner_id: ::String
|
6617
|
+
SENSITIVE: []
|
6618
|
+
end
|
6619
|
+
|
6620
|
+
class DisassociateCapacityReservationBillingOwnerResult
|
6621
|
+
attr_accessor return: bool
|
6622
|
+
SENSITIVE: []
|
6623
|
+
end
|
6624
|
+
|
6555
6625
|
class DisassociateClientVpnTargetNetworkRequest
|
6556
6626
|
attr_accessor client_vpn_endpoint_id: ::String
|
6557
6627
|
attr_accessor association_id: ::String
|
@@ -12394,6 +12464,17 @@ module Aws::EC2
|
|
12394
12464
|
SENSITIVE: []
|
12395
12465
|
end
|
12396
12466
|
|
12467
|
+
class RejectCapacityReservationBillingOwnershipRequest
|
12468
|
+
attr_accessor dry_run: bool
|
12469
|
+
attr_accessor capacity_reservation_id: ::String
|
12470
|
+
SENSITIVE: []
|
12471
|
+
end
|
12472
|
+
|
12473
|
+
class RejectCapacityReservationBillingOwnershipResult
|
12474
|
+
attr_accessor return: bool
|
12475
|
+
SENSITIVE: []
|
12476
|
+
end
|
12477
|
+
|
12397
12478
|
class RejectTransitGatewayMulticastDomainAssociationsRequest
|
12398
12479
|
attr_accessor transit_gateway_multicast_domain_id: ::String
|
12399
12480
|
attr_accessor transit_gateway_attachment_id: ::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.481.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-10-
|
11
|
+
date: 2024-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|