aws-sdk-ec2 1.540.0 → 1.542.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 +98 -71
- data/lib/aws-sdk-ec2/client_api.rb +4 -2
- data/lib/aws-sdk-ec2/instance.rb +34 -2
- data/lib/aws-sdk-ec2/resource.rb +19 -25
- data/lib/aws-sdk-ec2/subnet.rb +19 -25
- data/lib/aws-sdk-ec2/types.rb +66 -42
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/instance.rbs +4 -0
- data/sig/types.rbs +13 -11
- metadata +1 -1
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -14145,6 +14145,7 @@ module Aws
|
|
14145
14145
|
def stop_instances: (
|
14146
14146
|
instance_ids: Array[::String],
|
14147
14147
|
?hibernate: bool,
|
14148
|
+
?skip_os_shutdown: bool,
|
14148
14149
|
?dry_run: bool,
|
14149
14150
|
?force: bool
|
14150
14151
|
) -> _StopInstancesResponseSuccess
|
@@ -14172,6 +14173,7 @@ module Aws
|
|
14172
14173
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#terminate_instances-instance_method
|
14173
14174
|
def terminate_instances: (
|
14174
14175
|
instance_ids: Array[::String],
|
14176
|
+
?skip_os_shutdown: bool,
|
14175
14177
|
?dry_run: bool
|
14176
14178
|
) -> _TerminateInstancesResponseSuccess
|
14177
14179
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateInstancesResponseSuccess
|
data/sig/instance.rbs
CHANGED
@@ -443,6 +443,7 @@ module Aws
|
|
443
443
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#stop-instance_method
|
444
444
|
def stop: (
|
445
445
|
?hibernate: bool,
|
446
|
+
?skip_os_shutdown: bool,
|
446
447
|
?dry_run: bool,
|
447
448
|
?force: bool
|
448
449
|
) -> Types::StopInstancesResult
|
@@ -450,6 +451,7 @@ module Aws
|
|
450
451
|
|
451
452
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#terminate-instance_method
|
452
453
|
def terminate: (
|
454
|
+
?skip_os_shutdown: bool,
|
453
455
|
?dry_run: bool
|
454
456
|
) -> Types::TerminateInstancesResult
|
455
457
|
| (?Hash[Symbol, untyped]) -> Types::TerminateInstancesResult
|
@@ -550,12 +552,14 @@ module Aws
|
|
550
552
|
|
551
553
|
def batch_stop: (
|
552
554
|
?hibernate: bool,
|
555
|
+
?skip_os_shutdown: bool,
|
553
556
|
?dry_run: bool,
|
554
557
|
?force: bool
|
555
558
|
) -> void
|
556
559
|
| (?Hash[Symbol, untyped]) -> void
|
557
560
|
|
558
561
|
def batch_terminate!: (
|
562
|
+
?skip_os_shutdown: bool,
|
559
563
|
?dry_run: bool
|
560
564
|
) -> void
|
561
565
|
| (?Hash[Symbol, untyped]) -> void
|
data/sig/types.rbs
CHANGED
@@ -15459,6 +15459,7 @@ module Aws::EC2
|
|
15459
15459
|
class StopInstancesRequest
|
15460
15460
|
attr_accessor instance_ids: ::Array[::String]
|
15461
15461
|
attr_accessor hibernate: bool
|
15462
|
+
attr_accessor skip_os_shutdown: bool
|
15462
15463
|
attr_accessor dry_run: bool
|
15463
15464
|
attr_accessor force: bool
|
15464
15465
|
SENSITIVE: []
|
@@ -15688,6 +15689,7 @@ module Aws::EC2
|
|
15688
15689
|
|
15689
15690
|
class TerminateInstancesRequest
|
15690
15691
|
attr_accessor instance_ids: ::Array[::String]
|
15692
|
+
attr_accessor skip_os_shutdown: bool
|
15691
15693
|
attr_accessor dry_run: bool
|
15692
15694
|
SENSITIVE: []
|
15693
15695
|
end
|
@@ -15799,7 +15801,7 @@ module Aws::EC2
|
|
15799
15801
|
attr_accessor transit_gateway_route_table_id: ::String
|
15800
15802
|
attr_accessor transit_gateway_attachment_id: ::String
|
15801
15803
|
attr_accessor resource_id: ::String
|
15802
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15804
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15803
15805
|
attr_accessor state: ("associating" | "associated" | "disassociating" | "disassociated")
|
15804
15806
|
SENSITIVE: []
|
15805
15807
|
end
|
@@ -15809,7 +15811,7 @@ module Aws::EC2
|
|
15809
15811
|
attr_accessor transit_gateway_id: ::String
|
15810
15812
|
attr_accessor transit_gateway_owner_id: ::String
|
15811
15813
|
attr_accessor resource_owner_id: ::String
|
15812
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15814
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15813
15815
|
attr_accessor resource_id: ::String
|
15814
15816
|
attr_accessor state: ("initiating" | "initiatingRequest" | "pendingAcceptance" | "rollingBack" | "pending" | "available" | "modifying" | "deleting" | "deleted" | "failed" | "rejected" | "rejecting" | "failing")
|
15815
15817
|
attr_accessor association: Types::TransitGatewayAttachmentAssociation
|
@@ -15908,7 +15910,7 @@ module Aws::EC2
|
|
15908
15910
|
class TransitGatewayMulticastDomainAssociation
|
15909
15911
|
attr_accessor transit_gateway_attachment_id: ::String
|
15910
15912
|
attr_accessor resource_id: ::String
|
15911
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15913
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15912
15914
|
attr_accessor resource_owner_id: ::String
|
15913
15915
|
attr_accessor subnet: Types::SubnetAssociation
|
15914
15916
|
SENSITIVE: []
|
@@ -15918,7 +15920,7 @@ module Aws::EC2
|
|
15918
15920
|
attr_accessor transit_gateway_multicast_domain_id: ::String
|
15919
15921
|
attr_accessor transit_gateway_attachment_id: ::String
|
15920
15922
|
attr_accessor resource_id: ::String
|
15921
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15923
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15922
15924
|
attr_accessor resource_owner_id: ::String
|
15923
15925
|
attr_accessor subnets: ::Array[Types::SubnetAssociation]
|
15924
15926
|
SENSITIVE: []
|
@@ -15936,7 +15938,7 @@ module Aws::EC2
|
|
15936
15938
|
attr_accessor transit_gateway_attachment_id: ::String
|
15937
15939
|
attr_accessor subnet_id: ::String
|
15938
15940
|
attr_accessor resource_id: ::String
|
15939
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
15941
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
15940
15942
|
attr_accessor resource_owner_id: ::String
|
15941
15943
|
attr_accessor network_interface_id: ::String
|
15942
15944
|
attr_accessor group_member: bool
|
@@ -16022,7 +16024,7 @@ module Aws::EC2
|
|
16022
16024
|
attr_accessor transit_gateway_policy_table_id: ::String
|
16023
16025
|
attr_accessor transit_gateway_attachment_id: ::String
|
16024
16026
|
attr_accessor resource_id: ::String
|
16025
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16027
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16026
16028
|
attr_accessor state: ("associating" | "associated" | "disassociating" | "disassociated")
|
16027
16029
|
SENSITIVE: []
|
16028
16030
|
end
|
@@ -16036,7 +16038,7 @@ module Aws::EC2
|
|
16036
16038
|
|
16037
16039
|
class TransitGatewayPrefixListAttachment
|
16038
16040
|
attr_accessor transit_gateway_attachment_id: ::String
|
16039
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16041
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16040
16042
|
attr_accessor resource_id: ::String
|
16041
16043
|
SENSITIVE: []
|
16042
16044
|
end
|
@@ -16054,7 +16056,7 @@ module Aws::EC2
|
|
16054
16056
|
class TransitGatewayPropagation
|
16055
16057
|
attr_accessor transit_gateway_attachment_id: ::String
|
16056
16058
|
attr_accessor resource_id: ::String
|
16057
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16059
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16058
16060
|
attr_accessor transit_gateway_route_table_id: ::String
|
16059
16061
|
attr_accessor state: ("enabling" | "enabled" | "disabling" | "disabled")
|
16060
16062
|
attr_accessor transit_gateway_route_table_announcement_id: ::String
|
@@ -16087,7 +16089,7 @@ module Aws::EC2
|
|
16087
16089
|
class TransitGatewayRouteAttachment
|
16088
16090
|
attr_accessor resource_id: ::String
|
16089
16091
|
attr_accessor transit_gateway_attachment_id: ::String
|
16090
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16092
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16091
16093
|
SENSITIVE: []
|
16092
16094
|
end
|
16093
16095
|
|
@@ -16120,7 +16122,7 @@ module Aws::EC2
|
|
16120
16122
|
class TransitGatewayRouteTableAssociation
|
16121
16123
|
attr_accessor transit_gateway_attachment_id: ::String
|
16122
16124
|
attr_accessor resource_id: ::String
|
16123
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16125
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16124
16126
|
attr_accessor state: ("associating" | "associated" | "disassociating" | "disassociated")
|
16125
16127
|
SENSITIVE: []
|
16126
16128
|
end
|
@@ -16128,7 +16130,7 @@ module Aws::EC2
|
|
16128
16130
|
class TransitGatewayRouteTablePropagation
|
16129
16131
|
attr_accessor transit_gateway_attachment_id: ::String
|
16130
16132
|
attr_accessor resource_id: ::String
|
16131
|
-
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering")
|
16133
|
+
attr_accessor resource_type: ("vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function")
|
16132
16134
|
attr_accessor state: ("enabling" | "enabled" | "disabling" | "disabled")
|
16133
16135
|
attr_accessor transit_gateway_route_table_announcement_id: ::String
|
16134
16136
|
SENSITIVE: []
|