aws-sdk-ec2 1.479.0 → 1.480.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/classic_address.rb +11 -11
- data/lib/aws-sdk-ec2/client.rb +2723 -2713
- data/lib/aws-sdk-ec2/client_api.rb +438 -436
- data/lib/aws-sdk-ec2/dhcp_options.rb +6 -6
- data/lib/aws-sdk-ec2/image.rb +82 -82
- data/lib/aws-sdk-ec2/instance.rb +285 -285
- data/lib/aws-sdk-ec2/key_pair.rb +12 -12
- data/lib/aws-sdk-ec2/key_pair_info.rb +27 -27
- data/lib/aws-sdk-ec2/network_acl.rb +60 -60
- data/lib/aws-sdk-ec2/network_interface.rb +65 -65
- data/lib/aws-sdk-ec2/placement_group.rb +11 -11
- data/lib/aws-sdk-ec2/resource.rb +597 -597
- data/lib/aws-sdk-ec2/route.rb +30 -30
- data/lib/aws-sdk-ec2/route_table.rb +37 -37
- data/lib/aws-sdk-ec2/security_group.rb +137 -137
- data/lib/aws-sdk-ec2/snapshot.rb +77 -77
- data/lib/aws-sdk-ec2/subnet.rb +276 -276
- data/lib/aws-sdk-ec2/types.rb +3284 -3291
- data/lib/aws-sdk-ec2/volume.rb +93 -93
- data/lib/aws-sdk-ec2/vpc.rb +143 -143
- data/lib/aws-sdk-ec2/vpc_address.rb +17 -17
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +5 -5
- data/sig/client.rbs +872 -872
- data/sig/dhcp_options.rbs +3 -3
- data/sig/image.rbs +41 -41
- data/sig/instance.rbs +108 -108
- data/sig/key_pair.rbs +6 -6
- data/sig/key_pair_info.rbs +3 -3
- data/sig/network_acl.rbs +16 -16
- data/sig/network_interface.rbs +22 -22
- data/sig/placement_group.rbs +3 -3
- data/sig/resource.rbs +201 -201
- data/sig/route.rbs +9 -9
- data/sig/route_table.rbs +10 -10
- data/sig/security_group.rbs +110 -110
- data/sig/snapshot.rbs +34 -34
- data/sig/subnet.rbs +116 -116
- data/sig/types.rbs +438 -437
- data/sig/volume.rbs +33 -33
- data/sig/vpc.rbs +46 -46
- data/sig/vpc_address.rbs +8 -8
- data/sig/waiters.rbs +113 -113
- metadata +2 -2
data/sig/network_acl.rbs
CHANGED
@@ -51,21 +51,21 @@ module Aws
|
|
51
51
|
|
52
52
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#create_entry-instance_method
|
53
53
|
def create_entry: (
|
54
|
-
?cidr_block: ::String,
|
55
54
|
?dry_run: bool,
|
55
|
+
rule_number: ::Integer,
|
56
|
+
protocol: ::String,
|
57
|
+
rule_action: ("allow" | "deny"),
|
56
58
|
egress: bool,
|
59
|
+
?cidr_block: ::String,
|
60
|
+
?ipv_6_cidr_block: ::String,
|
57
61
|
?icmp_type_code: {
|
58
62
|
code: ::Integer?,
|
59
63
|
type: ::Integer?
|
60
64
|
},
|
61
|
-
?ipv_6_cidr_block: ::String,
|
62
65
|
?port_range: {
|
63
66
|
from: ::Integer?,
|
64
67
|
to: ::Integer?
|
65
|
-
}
|
66
|
-
protocol: ::String,
|
67
|
-
rule_action: ("allow" | "deny"),
|
68
|
-
rule_number: ::Integer
|
68
|
+
}
|
69
69
|
) -> ::Aws::EmptyStructure
|
70
70
|
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
71
71
|
|
@@ -102,35 +102,35 @@ module Aws
|
|
102
102
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#delete_entry-instance_method
|
103
103
|
def delete_entry: (
|
104
104
|
?dry_run: bool,
|
105
|
-
|
106
|
-
|
105
|
+
rule_number: ::Integer,
|
106
|
+
egress: bool
|
107
107
|
) -> ::Aws::EmptyStructure
|
108
108
|
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
109
109
|
|
110
110
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#replace_association-instance_method
|
111
111
|
def replace_association: (
|
112
|
-
|
113
|
-
|
112
|
+
?dry_run: bool,
|
113
|
+
association_id: ::String
|
114
114
|
) -> Types::ReplaceNetworkAclAssociationResult
|
115
115
|
| (?Hash[Symbol, untyped]) -> Types::ReplaceNetworkAclAssociationResult
|
116
116
|
|
117
117
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkAcl.html#replace_entry-instance_method
|
118
118
|
def replace_entry: (
|
119
|
-
?cidr_block: ::String,
|
120
119
|
?dry_run: bool,
|
120
|
+
rule_number: ::Integer,
|
121
|
+
protocol: ::String,
|
122
|
+
rule_action: ("allow" | "deny"),
|
121
123
|
egress: bool,
|
124
|
+
?cidr_block: ::String,
|
125
|
+
?ipv_6_cidr_block: ::String,
|
122
126
|
?icmp_type_code: {
|
123
127
|
code: ::Integer?,
|
124
128
|
type: ::Integer?
|
125
129
|
},
|
126
|
-
?ipv_6_cidr_block: ::String,
|
127
130
|
?port_range: {
|
128
131
|
from: ::Integer?,
|
129
132
|
to: ::Integer?
|
130
|
-
}
|
131
|
-
protocol: ::String,
|
132
|
-
rule_action: ("allow" | "deny"),
|
133
|
-
rule_number: ::Integer
|
133
|
+
}
|
134
134
|
) -> ::Aws::EmptyStructure
|
135
135
|
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
136
136
|
|
data/sig/network_interface.rbs
CHANGED
@@ -108,26 +108,26 @@ module Aws
|
|
108
108
|
|
109
109
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#assign_private_ip_addresses-instance_method
|
110
110
|
def assign_private_ip_addresses: (
|
111
|
-
?
|
111
|
+
?ipv_4_prefixes: Array[::String],
|
112
|
+
?ipv_4_prefix_count: ::Integer,
|
112
113
|
?private_ip_addresses: Array[::String],
|
113
114
|
?secondary_private_ip_address_count: ::Integer,
|
114
|
-
?
|
115
|
-
?ipv_4_prefix_count: ::Integer
|
115
|
+
?allow_reassignment: bool
|
116
116
|
) -> Types::AssignPrivateIpAddressesResult
|
117
117
|
| (?Hash[Symbol, untyped]) -> Types::AssignPrivateIpAddressesResult
|
118
118
|
|
119
119
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#attach-instance_method
|
120
120
|
def attach: (
|
121
|
-
device_index: ::Integer,
|
122
|
-
?dry_run: bool,
|
123
|
-
instance_id: ::String,
|
124
121
|
?network_card_index: ::Integer,
|
125
122
|
?ena_srd_specification: {
|
126
123
|
ena_srd_enabled: bool?,
|
127
124
|
ena_srd_udp_specification: {
|
128
125
|
ena_srd_udp_enabled: bool?
|
129
126
|
}?
|
130
|
-
}
|
127
|
+
},
|
128
|
+
?dry_run: bool,
|
129
|
+
instance_id: ::String,
|
130
|
+
device_index: ::Integer
|
131
131
|
) -> Types::AttachNetworkInterfaceResult
|
132
132
|
| (?Hash[Symbol, untyped]) -> Types::AttachNetworkInterfaceResult
|
133
133
|
|
@@ -163,8 +163,8 @@ module Aws
|
|
163
163
|
|
164
164
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#describe_attribute-instance_method
|
165
165
|
def describe_attribute: (
|
166
|
-
?
|
167
|
-
?
|
166
|
+
?dry_run: bool,
|
167
|
+
?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment" | "associatePublicIpAddress")
|
168
168
|
) -> Types::DescribeNetworkInterfaceAttributeResult
|
169
169
|
| (?Hash[Symbol, untyped]) -> Types::DescribeNetworkInterfaceAttributeResult
|
170
170
|
|
@@ -177,16 +177,6 @@ module Aws
|
|
177
177
|
|
178
178
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#modify_attribute-instance_method
|
179
179
|
def modify_attribute: (
|
180
|
-
?attachment: {
|
181
|
-
attachment_id: ::String?,
|
182
|
-
delete_on_termination: bool?
|
183
|
-
},
|
184
|
-
?description: untyped,
|
185
|
-
?dry_run: bool,
|
186
|
-
?groups: Array[::String],
|
187
|
-
?source_dest_check: {
|
188
|
-
value: bool?
|
189
|
-
},
|
190
180
|
?ena_srd_specification: {
|
191
181
|
ena_srd_enabled: bool?,
|
192
182
|
ena_srd_udp_specification: {
|
@@ -199,7 +189,17 @@ module Aws
|
|
199
189
|
udp_stream_timeout: ::Integer?,
|
200
190
|
udp_timeout: ::Integer?
|
201
191
|
},
|
202
|
-
?associate_public_ip_address: bool
|
192
|
+
?associate_public_ip_address: bool,
|
193
|
+
?dry_run: bool,
|
194
|
+
?description: untyped,
|
195
|
+
?source_dest_check: {
|
196
|
+
value: bool?
|
197
|
+
},
|
198
|
+
?groups: Array[::String],
|
199
|
+
?attachment: {
|
200
|
+
attachment_id: ::String?,
|
201
|
+
delete_on_termination: bool?
|
202
|
+
}
|
203
203
|
) -> ::Aws::EmptyStructure
|
204
204
|
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
205
205
|
|
@@ -212,8 +212,8 @@ module Aws
|
|
212
212
|
|
213
213
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#unassign_private_ip_addresses-instance_method
|
214
214
|
def unassign_private_ip_addresses: (
|
215
|
-
?
|
216
|
-
?
|
215
|
+
?ipv_4_prefixes: Array[::String],
|
216
|
+
?private_ip_addresses: Array[::String]
|
217
217
|
) -> ::Aws::EmptyStructure
|
218
218
|
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
219
219
|
|
data/sig/placement_group.rbs
CHANGED
@@ -60,14 +60,14 @@ module Aws
|
|
60
60
|
|
61
61
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#instances-instance_method
|
62
62
|
def instances: (
|
63
|
+
?instance_ids: Array[::String],
|
64
|
+
?dry_run: bool,
|
63
65
|
?filters: Array[
|
64
66
|
{
|
65
67
|
name: ::String?,
|
66
68
|
values: Array[::String]?
|
67
69
|
},
|
68
|
-
]
|
69
|
-
?instance_ids: Array[::String],
|
70
|
-
?dry_run: bool
|
70
|
+
]
|
71
71
|
) -> Instance::Collection
|
72
72
|
| (?Hash[Symbol, untyped]) -> Instance::Collection
|
73
73
|
|