aws-sdk-ec2 1.435.0 → 1.436.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +1 -1
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/classic_address.rbs +102 -0
- data/sig/client.rbs +13220 -0
- data/sig/dhcp_options.rbs +84 -0
- data/sig/errors.rbs +16 -0
- data/sig/image.rbs +213 -0
- data/sig/instance.rbs +557 -0
- data/sig/internet_gateway.rbs +91 -0
- data/sig/key_pair.rbs +54 -0
- data/sig/key_pair_info.rbs +63 -0
- data/sig/nat_gateway.rbs +107 -0
- data/sig/network_acl.rbs +144 -0
- data/sig/network_interface.rbs +232 -0
- data/sig/network_interface_association.rbs +62 -0
- data/sig/placement_group.rbs +78 -0
- data/sig/resource.rbs +1009 -0
- data/sig/route.rbs +113 -0
- data/sig/route_table.rbs +117 -0
- data/sig/route_table_association.rbs +69 -0
- data/sig/security_group.rbs +308 -0
- data/sig/snapshot.rbs +188 -0
- data/sig/subnet.rbs +422 -0
- data/sig/tag.rbs +63 -0
- data/sig/types.rbs +15047 -0
- data/sig/volume.rbs +203 -0
- data/sig/vpc.rbs +398 -0
- data/sig/vpc_address.rbs +98 -0
- data/sig/vpc_peering_connection.rbs +84 -0
- data/sig/waiters.rbs +664 -0
- metadata +32 -4
data/sig/instance.rbs
ADDED
@@ -0,0 +1,557 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module EC2
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html
|
11
|
+
class Instance
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#initialize-instance_method
|
13
|
+
def initialize: (String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#id-instance_method
|
18
|
+
def id: () -> String
|
19
|
+
alias instance_id id
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#ami_launch_index-instance_method
|
22
|
+
def ami_launch_index: () -> ::Integer
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#image_id-instance_method
|
25
|
+
def image_id: () -> ::String
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#instance_type-instance_method
|
28
|
+
def instance_type: () -> ("a1.medium" | "a1.large" | "a1.xlarge" | "a1.2xlarge" | "a1.4xlarge" | "a1.metal" | "c1.medium" | "c1.xlarge" | "c3.large" | "c3.xlarge" | "c3.2xlarge" | "c3.4xlarge" | "c3.8xlarge" | "c4.large" | "c4.xlarge" | "c4.2xlarge" | "c4.4xlarge" | "c4.8xlarge" | "c5.large" | "c5.xlarge" | "c5.2xlarge" | "c5.4xlarge" | "c5.9xlarge" | "c5.12xlarge" | "c5.18xlarge" | "c5.24xlarge" | "c5.metal" | "c5a.large" | "c5a.xlarge" | "c5a.2xlarge" | "c5a.4xlarge" | "c5a.8xlarge" | "c5a.12xlarge" | "c5a.16xlarge" | "c5a.24xlarge" | "c5ad.large" | "c5ad.xlarge" | "c5ad.2xlarge" | "c5ad.4xlarge" | "c5ad.8xlarge" | "c5ad.12xlarge" | "c5ad.16xlarge" | "c5ad.24xlarge" | "c5d.large" | "c5d.xlarge" | "c5d.2xlarge" | "c5d.4xlarge" | "c5d.9xlarge" | "c5d.12xlarge" | "c5d.18xlarge" | "c5d.24xlarge" | "c5d.metal" | "c5n.large" | "c5n.xlarge" | "c5n.2xlarge" | "c5n.4xlarge" | "c5n.9xlarge" | "c5n.18xlarge" | "c5n.metal" | "c6g.medium" | "c6g.large" | "c6g.xlarge" | "c6g.2xlarge" | "c6g.4xlarge" | "c6g.8xlarge" | "c6g.12xlarge" | "c6g.16xlarge" | "c6g.metal" | "c6gd.medium" | "c6gd.large" | "c6gd.xlarge" | "c6gd.2xlarge" | "c6gd.4xlarge" | "c6gd.8xlarge" | "c6gd.12xlarge" | "c6gd.16xlarge" | "c6gd.metal" | "c6gn.medium" | "c6gn.large" | "c6gn.xlarge" | "c6gn.2xlarge" | "c6gn.4xlarge" | "c6gn.8xlarge" | "c6gn.12xlarge" | "c6gn.16xlarge" | "c6i.large" | "c6i.xlarge" | "c6i.2xlarge" | "c6i.4xlarge" | "c6i.8xlarge" | "c6i.12xlarge" | "c6i.16xlarge" | "c6i.24xlarge" | "c6i.32xlarge" | "c6i.metal" | "cc1.4xlarge" | "cc2.8xlarge" | "cg1.4xlarge" | "cr1.8xlarge" | "d2.xlarge" | "d2.2xlarge" | "d2.4xlarge" | "d2.8xlarge" | "d3.xlarge" | "d3.2xlarge" | "d3.4xlarge" | "d3.8xlarge" | "d3en.xlarge" | "d3en.2xlarge" | "d3en.4xlarge" | "d3en.6xlarge" | "d3en.8xlarge" | "d3en.12xlarge" | "dl1.24xlarge" | "f1.2xlarge" | "f1.4xlarge" | "f1.16xlarge" | "g2.2xlarge" | "g2.8xlarge" | "g3.4xlarge" | "g3.8xlarge" | "g3.16xlarge" | "g3s.xlarge" | "g4ad.xlarge" | "g4ad.2xlarge" | "g4ad.4xlarge" | "g4ad.8xlarge" | "g4ad.16xlarge" | "g4dn.xlarge" | "g4dn.2xlarge" | "g4dn.4xlarge" | "g4dn.8xlarge" | "g4dn.12xlarge" | "g4dn.16xlarge" | "g4dn.metal" | "g5.xlarge" | "g5.2xlarge" | "g5.4xlarge" | "g5.8xlarge" | "g5.12xlarge" | "g5.16xlarge" | "g5.24xlarge" | "g5.48xlarge" | "g5g.xlarge" | "g5g.2xlarge" | "g5g.4xlarge" | "g5g.8xlarge" | "g5g.16xlarge" | "g5g.metal" | "hi1.4xlarge" | "hpc6a.48xlarge" | "hs1.8xlarge" | "h1.2xlarge" | "h1.4xlarge" | "h1.8xlarge" | "h1.16xlarge" | "i2.xlarge" | "i2.2xlarge" | "i2.4xlarge" | "i2.8xlarge" | "i3.large" | "i3.xlarge" | "i3.2xlarge" | "i3.4xlarge" | "i3.8xlarge" | "i3.16xlarge" | "i3.metal" | "i3en.large" | "i3en.xlarge" | "i3en.2xlarge" | "i3en.3xlarge" | "i3en.6xlarge" | "i3en.12xlarge" | "i3en.24xlarge" | "i3en.metal" | "im4gn.large" | "im4gn.xlarge" | "im4gn.2xlarge" | "im4gn.4xlarge" | "im4gn.8xlarge" | "im4gn.16xlarge" | "inf1.xlarge" | "inf1.2xlarge" | "inf1.6xlarge" | "inf1.24xlarge" | "is4gen.medium" | "is4gen.large" | "is4gen.xlarge" | "is4gen.2xlarge" | "is4gen.4xlarge" | "is4gen.8xlarge" | "m1.small" | "m1.medium" | "m1.large" | "m1.xlarge" | "m2.xlarge" | "m2.2xlarge" | "m2.4xlarge" | "m3.medium" | "m3.large" | "m3.xlarge" | "m3.2xlarge" | "m4.large" | "m4.xlarge" | "m4.2xlarge" | "m4.4xlarge" | "m4.10xlarge" | "m4.16xlarge" | "m5.large" | "m5.xlarge" | "m5.2xlarge" | "m5.4xlarge" | "m5.8xlarge" | "m5.12xlarge" | "m5.16xlarge" | "m5.24xlarge" | "m5.metal" | "m5a.large" | "m5a.xlarge" | "m5a.2xlarge" | "m5a.4xlarge" | "m5a.8xlarge" | "m5a.12xlarge" | "m5a.16xlarge" | "m5a.24xlarge" | "m5ad.large" | "m5ad.xlarge" | "m5ad.2xlarge" | "m5ad.4xlarge" | "m5ad.8xlarge" | "m5ad.12xlarge" | "m5ad.16xlarge" | "m5ad.24xlarge" | "m5d.large" | "m5d.xlarge" | "m5d.2xlarge" | "m5d.4xlarge" | "m5d.8xlarge" | "m5d.12xlarge" | "m5d.16xlarge" | "m5d.24xlarge" | "m5d.metal" | "m5dn.large" | "m5dn.xlarge" | "m5dn.2xlarge" | "m5dn.4xlarge" | "m5dn.8xlarge" | "m5dn.12xlarge" | "m5dn.16xlarge" | "m5dn.24xlarge" | "m5dn.metal" | "m5n.large" | "m5n.xlarge" | "m5n.2xlarge" | "m5n.4xlarge" | "m5n.8xlarge" | "m5n.12xlarge" | "m5n.16xlarge" | "m5n.24xlarge" | "m5n.metal" | "m5zn.large" | "m5zn.xlarge" | "m5zn.2xlarge" | "m5zn.3xlarge" | "m5zn.6xlarge" | "m5zn.12xlarge" | "m5zn.metal" | "m6a.large" | "m6a.xlarge" | "m6a.2xlarge" | "m6a.4xlarge" | "m6a.8xlarge" | "m6a.12xlarge" | "m6a.16xlarge" | "m6a.24xlarge" | "m6a.32xlarge" | "m6a.48xlarge" | "m6g.metal" | "m6g.medium" | "m6g.large" | "m6g.xlarge" | "m6g.2xlarge" | "m6g.4xlarge" | "m6g.8xlarge" | "m6g.12xlarge" | "m6g.16xlarge" | "m6gd.metal" | "m6gd.medium" | "m6gd.large" | "m6gd.xlarge" | "m6gd.2xlarge" | "m6gd.4xlarge" | "m6gd.8xlarge" | "m6gd.12xlarge" | "m6gd.16xlarge" | "m6i.large" | "m6i.xlarge" | "m6i.2xlarge" | "m6i.4xlarge" | "m6i.8xlarge" | "m6i.12xlarge" | "m6i.16xlarge" | "m6i.24xlarge" | "m6i.32xlarge" | "m6i.metal" | "mac1.metal" | "p2.xlarge" | "p2.8xlarge" | "p2.16xlarge" | "p3.2xlarge" | "p3.8xlarge" | "p3.16xlarge" | "p3dn.24xlarge" | "p4d.24xlarge" | "r3.large" | "r3.xlarge" | "r3.2xlarge" | "r3.4xlarge" | "r3.8xlarge" | "r4.large" | "r4.xlarge" | "r4.2xlarge" | "r4.4xlarge" | "r4.8xlarge" | "r4.16xlarge" | "r5.large" | "r5.xlarge" | "r5.2xlarge" | "r5.4xlarge" | "r5.8xlarge" | "r5.12xlarge" | "r5.16xlarge" | "r5.24xlarge" | "r5.metal" | "r5a.large" | "r5a.xlarge" | "r5a.2xlarge" | "r5a.4xlarge" | "r5a.8xlarge" | "r5a.12xlarge" | "r5a.16xlarge" | "r5a.24xlarge" | "r5ad.large" | "r5ad.xlarge" | "r5ad.2xlarge" | "r5ad.4xlarge" | "r5ad.8xlarge" | "r5ad.12xlarge" | "r5ad.16xlarge" | "r5ad.24xlarge" | "r5b.large" | "r5b.xlarge" | "r5b.2xlarge" | "r5b.4xlarge" | "r5b.8xlarge" | "r5b.12xlarge" | "r5b.16xlarge" | "r5b.24xlarge" | "r5b.metal" | "r5d.large" | "r5d.xlarge" | "r5d.2xlarge" | "r5d.4xlarge" | "r5d.8xlarge" | "r5d.12xlarge" | "r5d.16xlarge" | "r5d.24xlarge" | "r5d.metal" | "r5dn.large" | "r5dn.xlarge" | "r5dn.2xlarge" | "r5dn.4xlarge" | "r5dn.8xlarge" | "r5dn.12xlarge" | "r5dn.16xlarge" | "r5dn.24xlarge" | "r5dn.metal" | "r5n.large" | "r5n.xlarge" | "r5n.2xlarge" | "r5n.4xlarge" | "r5n.8xlarge" | "r5n.12xlarge" | "r5n.16xlarge" | "r5n.24xlarge" | "r5n.metal" | "r6g.medium" | "r6g.large" | "r6g.xlarge" | "r6g.2xlarge" | "r6g.4xlarge" | "r6g.8xlarge" | "r6g.12xlarge" | "r6g.16xlarge" | "r6g.metal" | "r6gd.medium" | "r6gd.large" | "r6gd.xlarge" | "r6gd.2xlarge" | "r6gd.4xlarge" | "r6gd.8xlarge" | "r6gd.12xlarge" | "r6gd.16xlarge" | "r6gd.metal" | "r6i.large" | "r6i.xlarge" | "r6i.2xlarge" | "r6i.4xlarge" | "r6i.8xlarge" | "r6i.12xlarge" | "r6i.16xlarge" | "r6i.24xlarge" | "r6i.32xlarge" | "r6i.metal" | "t1.micro" | "t2.nano" | "t2.micro" | "t2.small" | "t2.medium" | "t2.large" | "t2.xlarge" | "t2.2xlarge" | "t3.nano" | "t3.micro" | "t3.small" | "t3.medium" | "t3.large" | "t3.xlarge" | "t3.2xlarge" | "t3a.nano" | "t3a.micro" | "t3a.small" | "t3a.medium" | "t3a.large" | "t3a.xlarge" | "t3a.2xlarge" | "t4g.nano" | "t4g.micro" | "t4g.small" | "t4g.medium" | "t4g.large" | "t4g.xlarge" | "t4g.2xlarge" | "u-6tb1.56xlarge" | "u-6tb1.112xlarge" | "u-9tb1.112xlarge" | "u-12tb1.112xlarge" | "u-6tb1.metal" | "u-9tb1.metal" | "u-12tb1.metal" | "u-18tb1.metal" | "u-24tb1.metal" | "vt1.3xlarge" | "vt1.6xlarge" | "vt1.24xlarge" | "x1.16xlarge" | "x1.32xlarge" | "x1e.xlarge" | "x1e.2xlarge" | "x1e.4xlarge" | "x1e.8xlarge" | "x1e.16xlarge" | "x1e.32xlarge" | "x2iezn.2xlarge" | "x2iezn.4xlarge" | "x2iezn.6xlarge" | "x2iezn.8xlarge" | "x2iezn.12xlarge" | "x2iezn.metal" | "x2gd.medium" | "x2gd.large" | "x2gd.xlarge" | "x2gd.2xlarge" | "x2gd.4xlarge" | "x2gd.8xlarge" | "x2gd.12xlarge" | "x2gd.16xlarge" | "x2gd.metal" | "z1d.large" | "z1d.xlarge" | "z1d.2xlarge" | "z1d.3xlarge" | "z1d.6xlarge" | "z1d.12xlarge" | "z1d.metal" | "x2idn.16xlarge" | "x2idn.24xlarge" | "x2idn.32xlarge" | "x2iedn.xlarge" | "x2iedn.2xlarge" | "x2iedn.4xlarge" | "x2iedn.8xlarge" | "x2iedn.16xlarge" | "x2iedn.24xlarge" | "x2iedn.32xlarge" | "c6a.large" | "c6a.xlarge" | "c6a.2xlarge" | "c6a.4xlarge" | "c6a.8xlarge" | "c6a.12xlarge" | "c6a.16xlarge" | "c6a.24xlarge" | "c6a.32xlarge" | "c6a.48xlarge" | "c6a.metal" | "m6a.metal" | "i4i.large" | "i4i.xlarge" | "i4i.2xlarge" | "i4i.4xlarge" | "i4i.8xlarge" | "i4i.16xlarge" | "i4i.32xlarge" | "i4i.metal" | "x2idn.metal" | "x2iedn.metal" | "c7g.medium" | "c7g.large" | "c7g.xlarge" | "c7g.2xlarge" | "c7g.4xlarge" | "c7g.8xlarge" | "c7g.12xlarge" | "c7g.16xlarge" | "mac2.metal" | "c6id.large" | "c6id.xlarge" | "c6id.2xlarge" | "c6id.4xlarge" | "c6id.8xlarge" | "c6id.12xlarge" | "c6id.16xlarge" | "c6id.24xlarge" | "c6id.32xlarge" | "c6id.metal" | "m6id.large" | "m6id.xlarge" | "m6id.2xlarge" | "m6id.4xlarge" | "m6id.8xlarge" | "m6id.12xlarge" | "m6id.16xlarge" | "m6id.24xlarge" | "m6id.32xlarge" | "m6id.metal" | "r6id.large" | "r6id.xlarge" | "r6id.2xlarge" | "r6id.4xlarge" | "r6id.8xlarge" | "r6id.12xlarge" | "r6id.16xlarge" | "r6id.24xlarge" | "r6id.32xlarge" | "r6id.metal" | "r6a.large" | "r6a.xlarge" | "r6a.2xlarge" | "r6a.4xlarge" | "r6a.8xlarge" | "r6a.12xlarge" | "r6a.16xlarge" | "r6a.24xlarge" | "r6a.32xlarge" | "r6a.48xlarge" | "r6a.metal" | "p4de.24xlarge" | "u-3tb1.56xlarge" | "u-18tb1.112xlarge" | "u-24tb1.112xlarge" | "trn1.2xlarge" | "trn1.32xlarge" | "hpc6id.32xlarge" | "c6in.large" | "c6in.xlarge" | "c6in.2xlarge" | "c6in.4xlarge" | "c6in.8xlarge" | "c6in.12xlarge" | "c6in.16xlarge" | "c6in.24xlarge" | "c6in.32xlarge" | "m6in.large" | "m6in.xlarge" | "m6in.2xlarge" | "m6in.4xlarge" | "m6in.8xlarge" | "m6in.12xlarge" | "m6in.16xlarge" | "m6in.24xlarge" | "m6in.32xlarge" | "m6idn.large" | "m6idn.xlarge" | "m6idn.2xlarge" | "m6idn.4xlarge" | "m6idn.8xlarge" | "m6idn.12xlarge" | "m6idn.16xlarge" | "m6idn.24xlarge" | "m6idn.32xlarge" | "r6in.large" | "r6in.xlarge" | "r6in.2xlarge" | "r6in.4xlarge" | "r6in.8xlarge" | "r6in.12xlarge" | "r6in.16xlarge" | "r6in.24xlarge" | "r6in.32xlarge" | "r6idn.large" | "r6idn.xlarge" | "r6idn.2xlarge" | "r6idn.4xlarge" | "r6idn.8xlarge" | "r6idn.12xlarge" | "r6idn.16xlarge" | "r6idn.24xlarge" | "r6idn.32xlarge" | "c7g.metal" | "m7g.medium" | "m7g.large" | "m7g.xlarge" | "m7g.2xlarge" | "m7g.4xlarge" | "m7g.8xlarge" | "m7g.12xlarge" | "m7g.16xlarge" | "m7g.metal" | "r7g.medium" | "r7g.large" | "r7g.xlarge" | "r7g.2xlarge" | "r7g.4xlarge" | "r7g.8xlarge" | "r7g.12xlarge" | "r7g.16xlarge" | "r7g.metal" | "c6in.metal" | "m6in.metal" | "m6idn.metal" | "r6in.metal" | "r6idn.metal" | "inf2.xlarge" | "inf2.8xlarge" | "inf2.24xlarge" | "inf2.48xlarge" | "trn1n.32xlarge" | "i4g.large" | "i4g.xlarge" | "i4g.2xlarge" | "i4g.4xlarge" | "i4g.8xlarge" | "i4g.16xlarge" | "hpc7g.4xlarge" | "hpc7g.8xlarge" | "hpc7g.16xlarge" | "c7gn.medium" | "c7gn.large" | "c7gn.xlarge" | "c7gn.2xlarge" | "c7gn.4xlarge" | "c7gn.8xlarge" | "c7gn.12xlarge" | "c7gn.16xlarge" | "p5.48xlarge" | "m7i.large" | "m7i.xlarge" | "m7i.2xlarge" | "m7i.4xlarge" | "m7i.8xlarge" | "m7i.12xlarge" | "m7i.16xlarge" | "m7i.24xlarge" | "m7i.48xlarge" | "m7i-flex.large" | "m7i-flex.xlarge" | "m7i-flex.2xlarge" | "m7i-flex.4xlarge" | "m7i-flex.8xlarge" | "m7a.medium" | "m7a.large" | "m7a.xlarge" | "m7a.2xlarge" | "m7a.4xlarge" | "m7a.8xlarge" | "m7a.12xlarge" | "m7a.16xlarge" | "m7a.24xlarge" | "m7a.32xlarge" | "m7a.48xlarge" | "m7a.metal-48xl" | "hpc7a.12xlarge" | "hpc7a.24xlarge" | "hpc7a.48xlarge" | "hpc7a.96xlarge" | "c7gd.medium" | "c7gd.large" | "c7gd.xlarge" | "c7gd.2xlarge" | "c7gd.4xlarge" | "c7gd.8xlarge" | "c7gd.12xlarge" | "c7gd.16xlarge" | "m7gd.medium" | "m7gd.large" | "m7gd.xlarge" | "m7gd.2xlarge" | "m7gd.4xlarge" | "m7gd.8xlarge" | "m7gd.12xlarge" | "m7gd.16xlarge" | "r7gd.medium" | "r7gd.large" | "r7gd.xlarge" | "r7gd.2xlarge" | "r7gd.4xlarge" | "r7gd.8xlarge" | "r7gd.12xlarge" | "r7gd.16xlarge" | "r7a.medium" | "r7a.large" | "r7a.xlarge" | "r7a.2xlarge" | "r7a.4xlarge" | "r7a.8xlarge" | "r7a.12xlarge" | "r7a.16xlarge" | "r7a.24xlarge" | "r7a.32xlarge" | "r7a.48xlarge" | "c7i.large" | "c7i.xlarge" | "c7i.2xlarge" | "c7i.4xlarge" | "c7i.8xlarge" | "c7i.12xlarge" | "c7i.16xlarge" | "c7i.24xlarge" | "c7i.48xlarge" | "mac2-m2pro.metal" | "r7iz.large" | "r7iz.xlarge" | "r7iz.2xlarge" | "r7iz.4xlarge" | "r7iz.8xlarge" | "r7iz.12xlarge" | "r7iz.16xlarge" | "r7iz.32xlarge" | "c7a.medium" | "c7a.large" | "c7a.xlarge" | "c7a.2xlarge" | "c7a.4xlarge" | "c7a.8xlarge" | "c7a.12xlarge" | "c7a.16xlarge" | "c7a.24xlarge" | "c7a.32xlarge" | "c7a.48xlarge" | "c7a.metal-48xl" | "r7a.metal-48xl" | "r7i.large" | "r7i.xlarge" | "r7i.2xlarge" | "r7i.4xlarge" | "r7i.8xlarge" | "r7i.12xlarge" | "r7i.16xlarge" | "r7i.24xlarge" | "r7i.48xlarge" | "dl2q.24xlarge" | "mac2-m2.metal" | "i4i.12xlarge" | "i4i.24xlarge" | "c7i.metal-24xl" | "c7i.metal-48xl" | "m7i.metal-24xl" | "m7i.metal-48xl" | "r7i.metal-24xl" | "r7i.metal-48xl" | "r7iz.metal-16xl" | "r7iz.metal-32xl")
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#kernel_id-instance_method
|
31
|
+
def kernel_id: () -> ::String
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#key_name-instance_method
|
34
|
+
def key_name: () -> ::String
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#launch_time-instance_method
|
37
|
+
def launch_time: () -> ::Time
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#monitoring-instance_method
|
40
|
+
def monitoring: () -> Types::Monitoring
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#placement-instance_method
|
43
|
+
def placement: () -> Types::Placement
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#platform-instance_method
|
46
|
+
def platform: () -> ("Windows")
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#private_dns_name-instance_method
|
49
|
+
def private_dns_name: () -> ::String
|
50
|
+
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#private_ip_address-instance_method
|
52
|
+
def private_ip_address: () -> ::String
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#product_codes-instance_method
|
55
|
+
def product_codes: () -> ::Array[Types::ProductCode]
|
56
|
+
|
57
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#public_dns_name-instance_method
|
58
|
+
def public_dns_name: () -> ::String
|
59
|
+
|
60
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#public_ip_address-instance_method
|
61
|
+
def public_ip_address: () -> ::String
|
62
|
+
|
63
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#ramdisk_id-instance_method
|
64
|
+
def ramdisk_id: () -> ::String
|
65
|
+
|
66
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#state-instance_method
|
67
|
+
def state: () -> Types::InstanceState
|
68
|
+
|
69
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#state_transition_reason-instance_method
|
70
|
+
def state_transition_reason: () -> ::String
|
71
|
+
|
72
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#subnet_id-instance_method
|
73
|
+
def subnet_id: () -> ::String
|
74
|
+
|
75
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#vpc_id-instance_method
|
76
|
+
def vpc_id: () -> ::String
|
77
|
+
|
78
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#architecture-instance_method
|
79
|
+
def architecture: () -> ("i386" | "x86_64" | "arm64" | "x86_64_mac" | "arm64_mac")
|
80
|
+
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#block_device_mappings-instance_method
|
82
|
+
def block_device_mappings: () -> ::Array[Types::InstanceBlockDeviceMapping]
|
83
|
+
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#client_token-instance_method
|
85
|
+
def client_token: () -> ::String
|
86
|
+
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#ebs_optimized-instance_method
|
88
|
+
def ebs_optimized: () -> bool
|
89
|
+
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#ena_support-instance_method
|
91
|
+
def ena_support: () -> bool
|
92
|
+
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#hypervisor-instance_method
|
94
|
+
def hypervisor: () -> ("ovm" | "xen")
|
95
|
+
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#iam_instance_profile-instance_method
|
97
|
+
def iam_instance_profile: () -> Types::IamInstanceProfile
|
98
|
+
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#instance_lifecycle-instance_method
|
100
|
+
def instance_lifecycle: () -> ("spot" | "scheduled" | "capacity-block")
|
101
|
+
|
102
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#elastic_gpu_associations-instance_method
|
103
|
+
def elastic_gpu_associations: () -> ::Array[Types::ElasticGpuAssociation]
|
104
|
+
|
105
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#elastic_inference_accelerator_associations-instance_method
|
106
|
+
def elastic_inference_accelerator_associations: () -> ::Array[Types::ElasticInferenceAcceleratorAssociation]
|
107
|
+
|
108
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#outpost_arn-instance_method
|
109
|
+
def outpost_arn: () -> ::String
|
110
|
+
|
111
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#root_device_name-instance_method
|
112
|
+
def root_device_name: () -> ::String
|
113
|
+
|
114
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#root_device_type-instance_method
|
115
|
+
def root_device_type: () -> ("ebs" | "instance-store")
|
116
|
+
|
117
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#security_groups-instance_method
|
118
|
+
def security_groups: () -> ::Array[Types::GroupIdentifier]
|
119
|
+
|
120
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#source_dest_check-instance_method
|
121
|
+
def source_dest_check: () -> bool
|
122
|
+
|
123
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#spot_instance_request_id-instance_method
|
124
|
+
def spot_instance_request_id: () -> ::String
|
125
|
+
|
126
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#sriov_net_support-instance_method
|
127
|
+
def sriov_net_support: () -> ::String
|
128
|
+
|
129
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#state_reason-instance_method
|
130
|
+
def state_reason: () -> Types::StateReason
|
131
|
+
|
132
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#tags-instance_method
|
133
|
+
def tags: () -> ::Array[Types::Tag]
|
134
|
+
|
135
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#virtualization_type-instance_method
|
136
|
+
def virtualization_type: () -> ("hvm" | "paravirtual")
|
137
|
+
|
138
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#cpu_options-instance_method
|
139
|
+
def cpu_options: () -> Types::CpuOptions
|
140
|
+
|
141
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#capacity_reservation_id-instance_method
|
142
|
+
def capacity_reservation_id: () -> ::String
|
143
|
+
|
144
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#capacity_reservation_specification-instance_method
|
145
|
+
def capacity_reservation_specification: () -> Types::CapacityReservationSpecificationResponse
|
146
|
+
|
147
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#hibernation_options-instance_method
|
148
|
+
def hibernation_options: () -> Types::HibernationOptions
|
149
|
+
|
150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#licenses-instance_method
|
151
|
+
def licenses: () -> ::Array[Types::LicenseConfiguration]
|
152
|
+
|
153
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#metadata_options-instance_method
|
154
|
+
def metadata_options: () -> Types::InstanceMetadataOptionsResponse
|
155
|
+
|
156
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#enclave_options-instance_method
|
157
|
+
def enclave_options: () -> Types::EnclaveOptions
|
158
|
+
|
159
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#boot_mode-instance_method
|
160
|
+
def boot_mode: () -> ("legacy-bios" | "uefi" | "uefi-preferred")
|
161
|
+
|
162
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#platform_details-instance_method
|
163
|
+
def platform_details: () -> ::String
|
164
|
+
|
165
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#usage_operation-instance_method
|
166
|
+
def usage_operation: () -> ::String
|
167
|
+
|
168
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#usage_operation_update_time-instance_method
|
169
|
+
def usage_operation_update_time: () -> ::Time
|
170
|
+
|
171
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#private_dns_name_options-instance_method
|
172
|
+
def private_dns_name_options: () -> Types::PrivateDnsNameOptionsResponse
|
173
|
+
|
174
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#ipv_6_address-instance_method
|
175
|
+
def ipv_6_address: () -> ::String
|
176
|
+
|
177
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#tpm_support-instance_method
|
178
|
+
def tpm_support: () -> ::String
|
179
|
+
|
180
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#maintenance_options-instance_method
|
181
|
+
def maintenance_options: () -> Types::InstanceMaintenanceOptions
|
182
|
+
|
183
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#current_instance_boot_mode-instance_method
|
184
|
+
def current_instance_boot_mode: () -> ("legacy-bios" | "uefi")
|
185
|
+
|
186
|
+
def client: () -> Client
|
187
|
+
|
188
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#load-instance_method
|
189
|
+
def load: () -> self
|
190
|
+
alias reload load
|
191
|
+
|
192
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#data-instance_method
|
193
|
+
def data: () -> Types::Instance
|
194
|
+
|
195
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#data_loaded?-instance_method
|
196
|
+
def data_loaded?: () -> bool
|
197
|
+
|
198
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#exists?-instance_method
|
199
|
+
def exists?: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) -> bool
|
200
|
+
| (?Hash[Symbol, untyped]) -> bool
|
201
|
+
|
202
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#wait_until_exists-instance_method
|
203
|
+
def wait_until_exists: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> Instance
|
204
|
+
| (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Instance
|
205
|
+
|
206
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#wait_until_running-instance_method
|
207
|
+
def wait_until_running: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> Instance
|
208
|
+
| (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Instance
|
209
|
+
|
210
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#wait_until_stopped-instance_method
|
211
|
+
def wait_until_stopped: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> Instance
|
212
|
+
| (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Instance
|
213
|
+
|
214
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#wait_until_terminated-instance_method
|
215
|
+
def wait_until_terminated: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> Instance
|
216
|
+
| (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Instance
|
217
|
+
|
218
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#attach_classic_link_vpc-instance_method
|
219
|
+
def attach_classic_link_vpc: (
|
220
|
+
?dry_run: bool,
|
221
|
+
groups: Array[::String],
|
222
|
+
vpc_id: ::String
|
223
|
+
) -> Types::AttachClassicLinkVpcResult
|
224
|
+
| (?Hash[Symbol, untyped]) -> Types::AttachClassicLinkVpcResult
|
225
|
+
|
226
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#attach_volume-instance_method
|
227
|
+
def attach_volume: (
|
228
|
+
device: ::String,
|
229
|
+
volume_id: ::String,
|
230
|
+
?dry_run: bool
|
231
|
+
) -> Types::VolumeAttachment
|
232
|
+
| (?Hash[Symbol, untyped]) -> Types::VolumeAttachment
|
233
|
+
|
234
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#console_output-instance_method
|
235
|
+
def console_output: (
|
236
|
+
?dry_run: bool,
|
237
|
+
?latest: bool
|
238
|
+
) -> Types::GetConsoleOutputResult
|
239
|
+
| (?Hash[Symbol, untyped]) -> Types::GetConsoleOutputResult
|
240
|
+
|
241
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#create_image-instance_method
|
242
|
+
def create_image: (
|
243
|
+
?block_device_mappings: Array[
|
244
|
+
{
|
245
|
+
device_name: ::String?,
|
246
|
+
virtual_name: ::String?,
|
247
|
+
ebs: {
|
248
|
+
delete_on_termination: bool?,
|
249
|
+
iops: ::Integer?,
|
250
|
+
snapshot_id: ::String?,
|
251
|
+
volume_size: ::Integer?,
|
252
|
+
volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
|
253
|
+
kms_key_id: ::String?,
|
254
|
+
throughput: ::Integer?,
|
255
|
+
outpost_arn: ::String?,
|
256
|
+
encrypted: bool?
|
257
|
+
}?,
|
258
|
+
no_device: ::String?
|
259
|
+
},
|
260
|
+
],
|
261
|
+
?description: ::String,
|
262
|
+
?dry_run: bool,
|
263
|
+
name: ::String,
|
264
|
+
?no_reboot: bool,
|
265
|
+
?tag_specifications: Array[
|
266
|
+
{
|
267
|
+
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")?,
|
268
|
+
tags: Array[
|
269
|
+
{
|
270
|
+
key: ::String?,
|
271
|
+
value: ::String?
|
272
|
+
},
|
273
|
+
]?
|
274
|
+
},
|
275
|
+
]
|
276
|
+
) -> Image
|
277
|
+
| (?Hash[Symbol, untyped]) -> Image
|
278
|
+
|
279
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#create_tags-instance_method
|
280
|
+
def create_tags: (
|
281
|
+
?dry_run: bool,
|
282
|
+
tags: Array[
|
283
|
+
{
|
284
|
+
key: ::String?,
|
285
|
+
value: ::String?
|
286
|
+
},
|
287
|
+
]
|
288
|
+
) -> Tag::Collection
|
289
|
+
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
290
|
+
|
291
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#delete_tags-instance_method
|
292
|
+
def delete_tags: (
|
293
|
+
?dry_run: bool,
|
294
|
+
?tags: Array[
|
295
|
+
{
|
296
|
+
key: ::String?,
|
297
|
+
value: ::String?
|
298
|
+
},
|
299
|
+
]
|
300
|
+
) -> Tag::Collection
|
301
|
+
| (?Hash[Symbol, untyped]) -> Tag::Collection
|
302
|
+
|
303
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#describe_attribute-instance_method
|
304
|
+
def describe_attribute: (
|
305
|
+
attribute: ("instanceType" | "kernel" | "ramdisk" | "userData" | "disableApiTermination" | "instanceInitiatedShutdownBehavior" | "rootDeviceName" | "blockDeviceMapping" | "productCodes" | "sourceDestCheck" | "groupSet" | "ebsOptimized" | "sriovNetSupport" | "enaSupport" | "enclaveOptions" | "disableApiStop"),
|
306
|
+
?dry_run: bool
|
307
|
+
) -> Types::InstanceAttribute
|
308
|
+
| (?Hash[Symbol, untyped]) -> Types::InstanceAttribute
|
309
|
+
|
310
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#detach_classic_link_vpc-instance_method
|
311
|
+
def detach_classic_link_vpc: (
|
312
|
+
?dry_run: bool,
|
313
|
+
vpc_id: ::String
|
314
|
+
) -> Types::DetachClassicLinkVpcResult
|
315
|
+
| (?Hash[Symbol, untyped]) -> Types::DetachClassicLinkVpcResult
|
316
|
+
|
317
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#detach_volume-instance_method
|
318
|
+
def detach_volume: (
|
319
|
+
?device: ::String,
|
320
|
+
?force: bool,
|
321
|
+
volume_id: ::String,
|
322
|
+
?dry_run: bool
|
323
|
+
) -> Types::VolumeAttachment
|
324
|
+
| (?Hash[Symbol, untyped]) -> Types::VolumeAttachment
|
325
|
+
|
326
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#modify_attribute-instance_method
|
327
|
+
def modify_attribute: (
|
328
|
+
?source_dest_check: {
|
329
|
+
value: bool?
|
330
|
+
},
|
331
|
+
?attribute: ("instanceType" | "kernel" | "ramdisk" | "userData" | "disableApiTermination" | "instanceInitiatedShutdownBehavior" | "rootDeviceName" | "blockDeviceMapping" | "productCodes" | "sourceDestCheck" | "groupSet" | "ebsOptimized" | "sriovNetSupport" | "enaSupport" | "enclaveOptions" | "disableApiStop"),
|
332
|
+
?block_device_mappings: Array[
|
333
|
+
{
|
334
|
+
device_name: ::String?,
|
335
|
+
ebs: {
|
336
|
+
delete_on_termination: bool?,
|
337
|
+
volume_id: ::String?
|
338
|
+
}?,
|
339
|
+
no_device: ::String?,
|
340
|
+
virtual_name: ::String?
|
341
|
+
},
|
342
|
+
],
|
343
|
+
?disable_api_termination: {
|
344
|
+
value: bool?
|
345
|
+
},
|
346
|
+
?dry_run: bool,
|
347
|
+
?ebs_optimized: {
|
348
|
+
value: bool?
|
349
|
+
},
|
350
|
+
?ena_support: {
|
351
|
+
value: bool?
|
352
|
+
},
|
353
|
+
?groups: Array[::String],
|
354
|
+
?instance_initiated_shutdown_behavior: untyped,
|
355
|
+
?instance_type: untyped,
|
356
|
+
?kernel: untyped,
|
357
|
+
?ramdisk: untyped,
|
358
|
+
?sriov_net_support: untyped,
|
359
|
+
?user_data: {
|
360
|
+
value: ::String?
|
361
|
+
},
|
362
|
+
?value: ::String,
|
363
|
+
?disable_api_stop: {
|
364
|
+
value: bool?
|
365
|
+
}
|
366
|
+
) -> ::Aws::EmptyStructure
|
367
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
368
|
+
|
369
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#monitor-instance_method
|
370
|
+
def monitor: (
|
371
|
+
?dry_run: bool
|
372
|
+
) -> Types::MonitorInstancesResult
|
373
|
+
| (?Hash[Symbol, untyped]) -> Types::MonitorInstancesResult
|
374
|
+
|
375
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#password_data-instance_method
|
376
|
+
def password_data: (
|
377
|
+
?dry_run: bool
|
378
|
+
) -> Types::GetPasswordDataResult
|
379
|
+
| (?Hash[Symbol, untyped]) -> Types::GetPasswordDataResult
|
380
|
+
|
381
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#reboot-instance_method
|
382
|
+
def reboot: (
|
383
|
+
?dry_run: bool
|
384
|
+
) -> ::Aws::EmptyStructure
|
385
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
386
|
+
|
387
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#report_status-instance_method
|
388
|
+
def report_status: (
|
389
|
+
?description: ::String,
|
390
|
+
?dry_run: bool,
|
391
|
+
?end_time: ::Time,
|
392
|
+
reason_codes: Array[("instance-stuck-in-state" | "unresponsive" | "not-accepting-credentials" | "password-not-available" | "performance-network" | "performance-instance-store" | "performance-ebs-volume" | "performance-other" | "other")],
|
393
|
+
?start_time: ::Time,
|
394
|
+
status: ("ok" | "impaired")
|
395
|
+
) -> ::Aws::EmptyStructure
|
396
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
397
|
+
|
398
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#reset_attribute-instance_method
|
399
|
+
def reset_attribute: (
|
400
|
+
attribute: ("instanceType" | "kernel" | "ramdisk" | "userData" | "disableApiTermination" | "instanceInitiatedShutdownBehavior" | "rootDeviceName" | "blockDeviceMapping" | "productCodes" | "sourceDestCheck" | "groupSet" | "ebsOptimized" | "sriovNetSupport" | "enaSupport" | "enclaveOptions" | "disableApiStop"),
|
401
|
+
?dry_run: bool
|
402
|
+
) -> ::Aws::EmptyStructure
|
403
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
404
|
+
|
405
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#reset_kernel-instance_method
|
406
|
+
def reset_kernel: (
|
407
|
+
?dry_run: bool
|
408
|
+
) -> ::Aws::EmptyStructure
|
409
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
410
|
+
|
411
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#reset_ramdisk-instance_method
|
412
|
+
def reset_ramdisk: (
|
413
|
+
?dry_run: bool
|
414
|
+
) -> ::Aws::EmptyStructure
|
415
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
416
|
+
|
417
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#reset_source_dest_check-instance_method
|
418
|
+
def reset_source_dest_check: (
|
419
|
+
?dry_run: bool
|
420
|
+
) -> ::Aws::EmptyStructure
|
421
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
422
|
+
|
423
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#start-instance_method
|
424
|
+
def start: (
|
425
|
+
?additional_info: ::String,
|
426
|
+
?dry_run: bool
|
427
|
+
) -> Types::StartInstancesResult
|
428
|
+
| (?Hash[Symbol, untyped]) -> Types::StartInstancesResult
|
429
|
+
|
430
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#stop-instance_method
|
431
|
+
def stop: (
|
432
|
+
?hibernate: bool,
|
433
|
+
?dry_run: bool,
|
434
|
+
?force: bool
|
435
|
+
) -> Types::StopInstancesResult
|
436
|
+
| (?Hash[Symbol, untyped]) -> Types::StopInstancesResult
|
437
|
+
|
438
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#terminate-instance_method
|
439
|
+
def terminate: (
|
440
|
+
?dry_run: bool
|
441
|
+
) -> Types::TerminateInstancesResult
|
442
|
+
| (?Hash[Symbol, untyped]) -> Types::TerminateInstancesResult
|
443
|
+
|
444
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#unmonitor-instance_method
|
445
|
+
def unmonitor: (
|
446
|
+
?dry_run: bool
|
447
|
+
) -> Types::UnmonitorInstancesResult
|
448
|
+
| (?Hash[Symbol, untyped]) -> Types::UnmonitorInstancesResult
|
449
|
+
|
450
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#classic_address-instance_method
|
451
|
+
def classic_address: () -> ClassicAddress?
|
452
|
+
|
453
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#image-instance_method
|
454
|
+
def image: () -> Image?
|
455
|
+
|
456
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#key_pair-instance_method
|
457
|
+
def key_pair: () -> KeyPairInfo?
|
458
|
+
|
459
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#network_interfaces-instance_method
|
460
|
+
def network_interfaces: () -> NetworkInterface::Collection
|
461
|
+
|
462
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#placement_group-instance_method
|
463
|
+
def placement_group: () -> PlacementGroup?
|
464
|
+
|
465
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#subnet-instance_method
|
466
|
+
def subnet: () -> Subnet?
|
467
|
+
|
468
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#volumes-instance_method
|
469
|
+
def volumes: (
|
470
|
+
?filters: Array[
|
471
|
+
{
|
472
|
+
name: ::String?,
|
473
|
+
values: Array[::String]?
|
474
|
+
},
|
475
|
+
],
|
476
|
+
?volume_ids: Array[::String],
|
477
|
+
?dry_run: bool
|
478
|
+
) -> Volume::Collection
|
479
|
+
| (?Hash[Symbol, untyped]) -> Volume::Collection
|
480
|
+
|
481
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#vpc-instance_method
|
482
|
+
def vpc: () -> Vpc?
|
483
|
+
|
484
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Instance.html#vpc_addresses-instance_method
|
485
|
+
def vpc_addresses: (
|
486
|
+
?filters: Array[
|
487
|
+
{
|
488
|
+
name: ::String?,
|
489
|
+
values: Array[::String]?
|
490
|
+
},
|
491
|
+
],
|
492
|
+
?public_ips: Array[::String],
|
493
|
+
?allocation_ids: Array[::String],
|
494
|
+
?dry_run: bool
|
495
|
+
) -> VpcAddress::Collection
|
496
|
+
| (?Hash[Symbol, untyped]) -> VpcAddress::Collection
|
497
|
+
|
498
|
+
class Collection < ::Aws::Resources::Collection[Instance]
|
499
|
+
|
500
|
+
def batch_create_tags: (
|
501
|
+
?dry_run: bool,
|
502
|
+
tags: Array[
|
503
|
+
{
|
504
|
+
key: ::String?,
|
505
|
+
value: ::String?
|
506
|
+
},
|
507
|
+
]
|
508
|
+
) -> void
|
509
|
+
| (?Hash[Symbol, untyped]) -> void
|
510
|
+
|
511
|
+
def batch_delete_tags!: (
|
512
|
+
?dry_run: bool,
|
513
|
+
?tags: Array[
|
514
|
+
{
|
515
|
+
key: ::String?,
|
516
|
+
value: ::String?
|
517
|
+
},
|
518
|
+
]
|
519
|
+
) -> void
|
520
|
+
| (?Hash[Symbol, untyped]) -> void
|
521
|
+
|
522
|
+
def batch_monitor: (
|
523
|
+
?dry_run: bool
|
524
|
+
) -> void
|
525
|
+
| (?Hash[Symbol, untyped]) -> void
|
526
|
+
|
527
|
+
def batch_reboot: (
|
528
|
+
?dry_run: bool
|
529
|
+
) -> void
|
530
|
+
| (?Hash[Symbol, untyped]) -> void
|
531
|
+
|
532
|
+
def batch_start: (
|
533
|
+
?additional_info: ::String,
|
534
|
+
?dry_run: bool
|
535
|
+
) -> void
|
536
|
+
| (?Hash[Symbol, untyped]) -> void
|
537
|
+
|
538
|
+
def batch_stop: (
|
539
|
+
?hibernate: bool,
|
540
|
+
?dry_run: bool,
|
541
|
+
?force: bool
|
542
|
+
) -> void
|
543
|
+
| (?Hash[Symbol, untyped]) -> void
|
544
|
+
|
545
|
+
def batch_terminate!: (
|
546
|
+
?dry_run: bool
|
547
|
+
) -> void
|
548
|
+
| (?Hash[Symbol, untyped]) -> void
|
549
|
+
|
550
|
+
def batch_unmonitor: (
|
551
|
+
?dry_run: bool
|
552
|
+
) -> void
|
553
|
+
| (?Hash[Symbol, untyped]) -> void
|
554
|
+
end
|
555
|
+
end
|
556
|
+
end
|
557
|
+
end
|