aws-sdk-ec2 1.616.0 → 1.618.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 +337 -124
- data/lib/aws-sdk-ec2/client_api.rb +49 -0
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +17 -17
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +163 -8
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +721 -2392
- data/sig/dhcp_options.rbs +2 -2
- data/sig/image.rbs +4 -4
- data/sig/instance.rbs +11 -11
- data/sig/internet_gateway.rbs +2 -2
- data/sig/nat_gateway.rbs +2 -2
- data/sig/network_acl.rbs +2 -2
- data/sig/network_interface.rbs +2 -2
- data/sig/params.rbs +628 -0
- data/sig/placement_group.rbs +1 -1
- data/sig/resource.rbs +90 -90
- data/sig/route_table.rbs +2 -2
- data/sig/security_group.rbs +28 -28
- data/sig/snapshot.rbs +7 -7
- data/sig/subnet.rbs +27 -27
- data/sig/tag.rbs +2 -2
- data/sig/types.rbs +35 -5
- data/sig/volume.rbs +7 -7
- data/sig/vpc.rbs +26 -26
- data/sig/waiters.rbs +39 -39
- metadata +2 -1
data/sig/dhcp_options.rbs
CHANGED
|
@@ -54,7 +54,7 @@ module Aws
|
|
|
54
54
|
{
|
|
55
55
|
key: ::String?,
|
|
56
56
|
value: ::String?
|
|
57
|
-
}
|
|
57
|
+
}
|
|
58
58
|
]
|
|
59
59
|
) -> Tag::Collection
|
|
60
60
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
|
@@ -66,7 +66,7 @@ module Aws
|
|
|
66
66
|
{
|
|
67
67
|
key: ::String?,
|
|
68
68
|
value: ::String?
|
|
69
|
-
}
|
|
69
|
+
}
|
|
70
70
|
]
|
|
71
71
|
) -> Tag::Collection
|
|
72
72
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
data/sig/image.rbs
CHANGED
|
@@ -153,7 +153,7 @@ module Aws
|
|
|
153
153
|
{
|
|
154
154
|
key: ::String?,
|
|
155
155
|
value: ::String?
|
|
156
|
-
}
|
|
156
|
+
}
|
|
157
157
|
]
|
|
158
158
|
) -> Tag::Collection
|
|
159
159
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
|
@@ -165,7 +165,7 @@ module Aws
|
|
|
165
165
|
{
|
|
166
166
|
key: ::String?,
|
|
167
167
|
value: ::String?
|
|
168
|
-
}
|
|
168
|
+
}
|
|
169
169
|
]
|
|
170
170
|
) -> Tag::Collection
|
|
171
171
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
|
@@ -195,7 +195,7 @@ module Aws
|
|
|
195
195
|
organizational_unit_arn: ::String?,
|
|
196
196
|
user_id: ::String?,
|
|
197
197
|
group: ("all")?
|
|
198
|
-
}
|
|
198
|
+
}
|
|
199
199
|
]?,
|
|
200
200
|
remove: Array[
|
|
201
201
|
{
|
|
@@ -203,7 +203,7 @@ module Aws
|
|
|
203
203
|
organizational_unit_arn: ::String?,
|
|
204
204
|
user_id: ::String?,
|
|
205
205
|
group: ("all")?
|
|
206
|
-
}
|
|
206
|
+
}
|
|
207
207
|
]?
|
|
208
208
|
},
|
|
209
209
|
?operation_type: ("add" | "remove"),
|
data/sig/instance.rbs
CHANGED
|
@@ -255,14 +255,14 @@ module Aws
|
|
|
255
255
|
def create_image: (
|
|
256
256
|
?tag_specifications: Array[
|
|
257
257
|
{
|
|
258
|
-
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "declarative-policies-report" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "image-usage-report" | "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" | "outpost-lag" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "service-link-virtual-interface" | "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-metering-policy" | "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" | "vpc-encryption-control" | "route-server" | "route-server-endpoint" | "route-server-peer" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "verified-access-endpoint-target" | "ipam-external-resource-verification-token" | "capacity-block" | "mac-modification-task" | "ipam-prefix-list-resolver" | "ipam-policy" | "ipam-prefix-list-resolver-target" | "secondary-interface" | "secondary-network" | "secondary-subnet" | "capacity-manager-data-export" | "vpn-concentrator")?,
|
|
258
|
+
resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "declarative-policies-report" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "image-usage-report" | "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" | "outpost-lag" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "service-link-virtual-interface" | "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-metering-policy" | "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" | "vpc-encryption-control" | "route-server" | "route-server-endpoint" | "route-server-peer" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "verified-access-endpoint-target" | "ipam-external-resource-verification-token" | "capacity-block" | "mac-modification-task" | "ipam-prefix-list-resolver" | "ipam-policy" | "ipam-prefix-list-resolver-target" | "secondary-interface" | "secondary-network" | "secondary-subnet" | "capacity-manager-data-export" | "vpn-concentrator" | "ipam-pool-allocation")?,
|
|
259
259
|
tags: Array[
|
|
260
260
|
{
|
|
261
261
|
key: ::String?,
|
|
262
262
|
value: ::String?
|
|
263
|
-
}
|
|
263
|
+
}
|
|
264
264
|
]?
|
|
265
|
-
}
|
|
265
|
+
}
|
|
266
266
|
],
|
|
267
267
|
?snapshot_location: ("regional" | "local"),
|
|
268
268
|
?dry_run: bool,
|
|
@@ -289,7 +289,7 @@ module Aws
|
|
|
289
289
|
no_device: ::String?,
|
|
290
290
|
device_name: ::String?,
|
|
291
291
|
virtual_name: ::String?
|
|
292
|
-
}
|
|
292
|
+
}
|
|
293
293
|
]
|
|
294
294
|
) -> Image
|
|
295
295
|
| (?Hash[Symbol, untyped]) -> Image
|
|
@@ -301,7 +301,7 @@ module Aws
|
|
|
301
301
|
{
|
|
302
302
|
key: ::String?,
|
|
303
303
|
value: ::String?
|
|
304
|
-
}
|
|
304
|
+
}
|
|
305
305
|
]
|
|
306
306
|
) -> Tag::Collection
|
|
307
307
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
|
@@ -313,7 +313,7 @@ module Aws
|
|
|
313
313
|
{
|
|
314
314
|
key: ::String?,
|
|
315
315
|
value: ::String?
|
|
316
|
-
}
|
|
316
|
+
}
|
|
317
317
|
]
|
|
318
318
|
) -> Tag::Collection
|
|
319
319
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
|
@@ -361,7 +361,7 @@ module Aws
|
|
|
361
361
|
}?,
|
|
362
362
|
virtual_name: ::String?,
|
|
363
363
|
no_device: ::String?
|
|
364
|
-
}
|
|
364
|
+
}
|
|
365
365
|
],
|
|
366
366
|
?disable_api_termination: {
|
|
367
367
|
value: bool?
|
|
@@ -495,7 +495,7 @@ module Aws
|
|
|
495
495
|
{
|
|
496
496
|
name: ::String?,
|
|
497
497
|
values: Array[::String]?
|
|
498
|
-
}
|
|
498
|
+
}
|
|
499
499
|
]
|
|
500
500
|
) -> Volume::Collection
|
|
501
501
|
| (?Hash[Symbol, untyped]) -> Volume::Collection
|
|
@@ -511,7 +511,7 @@ module Aws
|
|
|
511
511
|
{
|
|
512
512
|
name: ::String?,
|
|
513
513
|
values: Array[::String]?
|
|
514
|
-
}
|
|
514
|
+
}
|
|
515
515
|
],
|
|
516
516
|
?allocation_ids: Array[::String]
|
|
517
517
|
) -> VpcAddress::Collection
|
|
@@ -525,7 +525,7 @@ module Aws
|
|
|
525
525
|
{
|
|
526
526
|
key: ::String?,
|
|
527
527
|
value: ::String?
|
|
528
|
-
}
|
|
528
|
+
}
|
|
529
529
|
]
|
|
530
530
|
) -> void
|
|
531
531
|
| (?Hash[Symbol, untyped]) -> void
|
|
@@ -536,7 +536,7 @@ module Aws
|
|
|
536
536
|
{
|
|
537
537
|
key: ::String?,
|
|
538
538
|
value: ::String?
|
|
539
|
-
}
|
|
539
|
+
}
|
|
540
540
|
]
|
|
541
541
|
) -> void
|
|
542
542
|
| (?Hash[Symbol, untyped]) -> void
|
data/sig/internet_gateway.rbs
CHANGED
|
@@ -54,7 +54,7 @@ module Aws
|
|
|
54
54
|
{
|
|
55
55
|
key: ::String?,
|
|
56
56
|
value: ::String?
|
|
57
|
-
}
|
|
57
|
+
}
|
|
58
58
|
]
|
|
59
59
|
) -> Tag::Collection
|
|
60
60
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
|
@@ -66,7 +66,7 @@ module Aws
|
|
|
66
66
|
{
|
|
67
67
|
key: ::String?,
|
|
68
68
|
value: ::String?
|
|
69
|
-
}
|
|
69
|
+
}
|
|
70
70
|
]
|
|
71
71
|
) -> Tag::Collection
|
|
72
72
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
data/sig/nat_gateway.rbs
CHANGED
|
@@ -86,7 +86,7 @@ module Aws
|
|
|
86
86
|
{
|
|
87
87
|
key: ::String?,
|
|
88
88
|
value: ::String?
|
|
89
|
-
}
|
|
89
|
+
}
|
|
90
90
|
]
|
|
91
91
|
) -> Tag::Collection
|
|
92
92
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
|
@@ -98,7 +98,7 @@ module Aws
|
|
|
98
98
|
{
|
|
99
99
|
key: ::String?,
|
|
100
100
|
value: ::String?
|
|
101
|
-
}
|
|
101
|
+
}
|
|
102
102
|
]
|
|
103
103
|
) -> Tag::Collection
|
|
104
104
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
data/sig/network_acl.rbs
CHANGED
|
@@ -76,7 +76,7 @@ module Aws
|
|
|
76
76
|
{
|
|
77
77
|
key: ::String?,
|
|
78
78
|
value: ::String?
|
|
79
|
-
}
|
|
79
|
+
}
|
|
80
80
|
]
|
|
81
81
|
) -> Tag::Collection
|
|
82
82
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
|
@@ -88,7 +88,7 @@ module Aws
|
|
|
88
88
|
{
|
|
89
89
|
key: ::String?,
|
|
90
90
|
value: ::String?
|
|
91
|
-
}
|
|
91
|
+
}
|
|
92
92
|
]
|
|
93
93
|
) -> Tag::Collection
|
|
94
94
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
data/sig/network_interface.rbs
CHANGED
|
@@ -154,7 +154,7 @@ module Aws
|
|
|
154
154
|
{
|
|
155
155
|
key: ::String?,
|
|
156
156
|
value: ::String?
|
|
157
|
-
}
|
|
157
|
+
}
|
|
158
158
|
]
|
|
159
159
|
) -> Tag::Collection
|
|
160
160
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
|
@@ -166,7 +166,7 @@ module Aws
|
|
|
166
166
|
{
|
|
167
167
|
key: ::String?,
|
|
168
168
|
value: ::String?
|
|
169
|
-
}
|
|
169
|
+
}
|
|
170
170
|
]
|
|
171
171
|
) -> Tag::Collection
|
|
172
172
|
| (?Hash[Symbol, untyped]) -> Tag::Collection
|