aws-sdk-ec2 1.402.0 → 1.547.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.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +735 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-ec2/classic_address.rb +32 -20
  5. data/lib/aws-sdk-ec2/client.rb +14212 -4429
  6. data/lib/aws-sdk-ec2/client_api.rb +4004 -515
  7. data/lib/aws-sdk-ec2/customizations/instance.rb +18 -1
  8. data/lib/aws-sdk-ec2/customizations/resource.rb +46 -3
  9. data/lib/aws-sdk-ec2/customizations/tag.rb +13 -0
  10. data/lib/aws-sdk-ec2/customizations.rb +0 -22
  11. data/lib/aws-sdk-ec2/dhcp_options.rb +12 -12
  12. data/lib/aws-sdk-ec2/endpoint_parameters.rb +9 -6
  13. data/lib/aws-sdk-ec2/endpoint_provider.rb +16 -20
  14. data/lib/aws-sdk-ec2/endpoints.rb +2 -8314
  15. data/lib/aws-sdk-ec2/image.rb +207 -98
  16. data/lib/aws-sdk-ec2/instance.rb +514 -348
  17. data/lib/aws-sdk-ec2/internet_gateway.rb +7 -7
  18. data/lib/aws-sdk-ec2/key_pair.rb +14 -14
  19. data/lib/aws-sdk-ec2/key_pair_info.rb +30 -30
  20. data/lib/aws-sdk-ec2/nat_gateway.rb +7 -8
  21. data/lib/aws-sdk-ec2/network_acl.rb +70 -70
  22. data/lib/aws-sdk-ec2/network_interface.rb +150 -78
  23. data/lib/aws-sdk-ec2/network_interface_association.rb +3 -3
  24. data/lib/aws-sdk-ec2/placement_group.rb +123 -42
  25. data/lib/aws-sdk-ec2/plugins/endpoints.rb +23 -1202
  26. data/lib/aws-sdk-ec2/resource.rb +1118 -864
  27. data/lib/aws-sdk-ec2/route.rb +50 -34
  28. data/lib/aws-sdk-ec2/route_table.rb +47 -44
  29. data/lib/aws-sdk-ec2/route_table_association.rb +3 -3
  30. data/lib/aws-sdk-ec2/security_group.rb +212 -201
  31. data/lib/aws-sdk-ec2/snapshot.rb +169 -105
  32. data/lib/aws-sdk-ec2/subnet.rb +534 -406
  33. data/lib/aws-sdk-ec2/tag.rb +7 -4
  34. data/lib/aws-sdk-ec2/types.rb +18252 -4766
  35. data/lib/aws-sdk-ec2/volume.rb +160 -116
  36. data/lib/aws-sdk-ec2/vpc.rb +387 -262
  37. data/lib/aws-sdk-ec2/vpc_address.rb +37 -25
  38. data/lib/aws-sdk-ec2/vpc_peering_connection.rb +6 -6
  39. data/lib/aws-sdk-ec2/waiters.rb +146 -38
  40. data/lib/aws-sdk-ec2.rb +40 -36
  41. data/sig/classic_address.rbs +108 -0
  42. data/sig/client.rbs +14833 -0
  43. data/sig/dhcp_options.rbs +84 -0
  44. data/sig/errors.rbs +16 -0
  45. data/sig/image.rbs +232 -0
  46. data/sig/instance.rbs +576 -0
  47. data/sig/internet_gateway.rbs +91 -0
  48. data/sig/key_pair.rbs +54 -0
  49. data/sig/key_pair_info.rbs +63 -0
  50. data/sig/nat_gateway.rbs +107 -0
  51. data/sig/network_acl.rbs +144 -0
  52. data/sig/network_interface.rbs +249 -0
  53. data/sig/network_interface_association.rbs +62 -0
  54. data/sig/placement_group.rbs +78 -0
  55. data/sig/resource.rbs +1049 -0
  56. data/sig/route.rbs +120 -0
  57. data/sig/route_table.rbs +118 -0
  58. data/sig/route_table_association.rbs +69 -0
  59. data/sig/security_group.rbs +311 -0
  60. data/sig/snapshot.rbs +204 -0
  61. data/sig/subnet.rbs +442 -0
  62. data/sig/tag.rbs +63 -0
  63. data/sig/types.rbs +17078 -0
  64. data/sig/volume.rbs +213 -0
  65. data/sig/vpc.rbs +404 -0
  66. data/sig/vpc_address.rbs +104 -0
  67. data/sig/vpc_peering_connection.rbs +84 -0
  68. data/sig/waiters.rbs +700 -0
  69. metadata +45 -19
data/sig/volume.rbs ADDED
@@ -0,0 +1,213 @@
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/Volume.html
11
+ class Volume
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.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/Volume.html#id-instance_method
18
+ def id: () -> String
19
+ alias volume_id id
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#availability_zone_id-instance_method
22
+ def availability_zone_id: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#outpost_arn-instance_method
25
+ def outpost_arn: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#iops-instance_method
28
+ def iops: () -> ::Integer
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#tags-instance_method
31
+ def tags: () -> ::Array[Types::Tag]
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#volume_type-instance_method
34
+ def volume_type: () -> ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#fast_restored-instance_method
37
+ def fast_restored: () -> bool
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#multi_attach_enabled-instance_method
40
+ def multi_attach_enabled: () -> bool
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#throughput-instance_method
43
+ def throughput: () -> ::Integer
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#sse_type-instance_method
46
+ def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#operator-instance_method
49
+ def operator: () -> Types::OperatorResponse
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#volume_initialization_rate-instance_method
52
+ def volume_initialization_rate: () -> ::Integer
53
+
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#size-instance_method
55
+ def size: () -> ::Integer
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#snapshot_id-instance_method
58
+ def snapshot_id: () -> ::String
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#availability_zone-instance_method
61
+ def availability_zone: () -> ::String
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#state-instance_method
64
+ def state: () -> ("creating" | "available" | "in-use" | "deleting" | "deleted" | "error")
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#create_time-instance_method
67
+ def create_time: () -> ::Time
68
+
69
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#attachments-instance_method
70
+ def attachments: () -> ::Array[Types::VolumeAttachment]
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#encrypted-instance_method
73
+ def encrypted: () -> bool
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#kms_key_id-instance_method
76
+ def kms_key_id: () -> ::String
77
+
78
+ def client: () -> Client
79
+
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#load-instance_method
81
+ def load: () -> self
82
+ alias reload load
83
+
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#data-instance_method
85
+ def data: () -> Types::Volume
86
+
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#data_loaded?-instance_method
88
+ def data_loaded?: () -> bool
89
+
90
+
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#attach_to_instance-instance_method
92
+ def attach_to_instance: (
93
+ device: ::String,
94
+ instance_id: ::String,
95
+ ?dry_run: bool
96
+ ) -> Types::VolumeAttachment
97
+ | (?Hash[Symbol, untyped]) -> Types::VolumeAttachment
98
+
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#create_snapshot-instance_method
100
+ def create_snapshot: (
101
+ ?description: ::String,
102
+ ?outpost_arn: ::String,
103
+ ?tag_specifications: Array[
104
+ {
105
+ 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" | "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-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" | "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")?,
106
+ tags: Array[
107
+ {
108
+ key: ::String?,
109
+ value: ::String?
110
+ },
111
+ ]?
112
+ },
113
+ ],
114
+ ?location: ("regional" | "local"),
115
+ ?dry_run: bool
116
+ ) -> Snapshot
117
+ | (?Hash[Symbol, untyped]) -> Snapshot
118
+
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#create_tags-instance_method
120
+ def create_tags: (
121
+ ?dry_run: bool,
122
+ tags: Array[
123
+ {
124
+ key: ::String?,
125
+ value: ::String?
126
+ },
127
+ ]
128
+ ) -> Tag::Collection
129
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
130
+
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#delete_tags-instance_method
132
+ def delete_tags: (
133
+ ?dry_run: bool,
134
+ ?tags: Array[
135
+ {
136
+ key: ::String?,
137
+ value: ::String?
138
+ },
139
+ ]
140
+ ) -> Tag::Collection
141
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
142
+
143
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#delete-instance_method
144
+ def delete: (
145
+ ?dry_run: bool
146
+ ) -> ::Aws::EmptyStructure
147
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
148
+
149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#describe_attribute-instance_method
150
+ def describe_attribute: (
151
+ attribute: ("autoEnableIO" | "productCodes"),
152
+ ?dry_run: bool
153
+ ) -> Types::DescribeVolumeAttributeResult
154
+ | (?Hash[Symbol, untyped]) -> Types::DescribeVolumeAttributeResult
155
+
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#describe_status-instance_method
157
+ def describe_status: (
158
+ ?max_results: ::Integer,
159
+ ?next_token: ::String,
160
+ ?dry_run: bool,
161
+ ?filters: Array[
162
+ {
163
+ name: ::String?,
164
+ values: Array[::String]?
165
+ },
166
+ ]
167
+ ) -> Types::DescribeVolumeStatusResult
168
+ | (?Hash[Symbol, untyped]) -> Types::DescribeVolumeStatusResult
169
+
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#detach_from_instance-instance_method
171
+ def detach_from_instance: (
172
+ ?device: ::String,
173
+ ?force: bool,
174
+ ?instance_id: ::String,
175
+ ?dry_run: bool
176
+ ) -> Types::VolumeAttachment
177
+ | (?Hash[Symbol, untyped]) -> Types::VolumeAttachment
178
+
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#enable_io-instance_method
180
+ def enable_io: (
181
+ ?dry_run: bool
182
+ ) -> ::Aws::EmptyStructure
183
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
184
+
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#modify_attribute-instance_method
186
+ def modify_attribute: (
187
+ ?auto_enable_io: {
188
+ value: bool?
189
+ },
190
+ ?dry_run: bool
191
+ ) -> ::Aws::EmptyStructure
192
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
193
+
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#snapshots-instance_method
195
+ def snapshots: (
196
+ ?owner_ids: Array[::String],
197
+ ?restorable_by_user_ids: Array[::String],
198
+ ?snapshot_ids: Array[::String],
199
+ ?dry_run: bool,
200
+ ?filters: Array[
201
+ {
202
+ name: ::String?,
203
+ values: Array[::String]?
204
+ },
205
+ ]
206
+ ) -> Snapshot::Collection
207
+ | (?Hash[Symbol, untyped]) -> Snapshot::Collection
208
+
209
+ class Collection < ::Aws::Resources::Collection[Volume]
210
+ end
211
+ end
212
+ end
213
+ end
data/sig/vpc.rbs ADDED
@@ -0,0 +1,404 @@
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/Vpc.html
11
+ class Vpc
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.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/Vpc.html#id-instance_method
18
+ def id: () -> String
19
+ alias vpc_id id
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#owner_id-instance_method
22
+ def owner_id: () -> ::String
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#instance_tenancy-instance_method
25
+ def instance_tenancy: () -> ("default" | "dedicated" | "host")
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#ipv_6_cidr_block_association_set-instance_method
28
+ def ipv_6_cidr_block_association_set: () -> ::Array[Types::VpcIpv6CidrBlockAssociation]
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#cidr_block_association_set-instance_method
31
+ def cidr_block_association_set: () -> ::Array[Types::VpcCidrBlockAssociation]
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#is_default-instance_method
34
+ def is_default: () -> bool
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#encryption_control-instance_method
37
+ def encryption_control: () -> Types::VpcEncryptionControl
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#tags-instance_method
40
+ def tags: () -> ::Array[Types::Tag]
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#block_public_access_states-instance_method
43
+ def block_public_access_states: () -> Types::BlockPublicAccessStates
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#state-instance_method
46
+ def state: () -> ("pending" | "available")
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#cidr_block-instance_method
49
+ def cidr_block: () -> ::String
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#dhcp_options_id-instance_method
52
+ def dhcp_options_id: () -> ::String
53
+
54
+ def client: () -> Client
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#load-instance_method
57
+ def load: () -> self
58
+ alias reload load
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#data-instance_method
61
+ def data: () -> Types::Vpc
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#data_loaded?-instance_method
64
+ def data_loaded?: () -> bool
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#exists?-instance_method
67
+ def exists?: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) -> bool
68
+ | (?Hash[Symbol, untyped]) -> bool
69
+
70
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#wait_until_available-instance_method
71
+ def wait_until_available: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> Vpc
72
+ | (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Vpc
73
+
74
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#wait_until_exists-instance_method
75
+ def wait_until_exists: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> Vpc
76
+ | (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Vpc
77
+
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#associate_dhcp_options-instance_method
79
+ def associate_dhcp_options: (
80
+ dhcp_options_id: ::String,
81
+ ?dry_run: bool
82
+ ) -> ::Aws::EmptyStructure
83
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
84
+
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#attach_classic_link_instance-instance_method
86
+ def attach_classic_link_instance: (
87
+ ?dry_run: bool,
88
+ instance_id: ::String,
89
+ groups: Array[::String]
90
+ ) -> Types::AttachClassicLinkVpcResult
91
+ | (?Hash[Symbol, untyped]) -> Types::AttachClassicLinkVpcResult
92
+
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#attach_internet_gateway-instance_method
94
+ def attach_internet_gateway: (
95
+ ?dry_run: bool,
96
+ internet_gateway_id: ::String
97
+ ) -> ::Aws::EmptyStructure
98
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
99
+
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#create_network_acl-instance_method
101
+ def create_network_acl: (
102
+ ?tag_specifications: Array[
103
+ {
104
+ 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" | "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-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" | "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")?,
105
+ tags: Array[
106
+ {
107
+ key: ::String?,
108
+ value: ::String?
109
+ },
110
+ ]?
111
+ },
112
+ ],
113
+ ?client_token: ::String,
114
+ ?dry_run: bool
115
+ ) -> NetworkAcl
116
+ | (?Hash[Symbol, untyped]) -> NetworkAcl
117
+
118
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#create_route_table-instance_method
119
+ def create_route_table: (
120
+ ?tag_specifications: Array[
121
+ {
122
+ 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" | "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-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" | "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")?,
123
+ tags: Array[
124
+ {
125
+ key: ::String?,
126
+ value: ::String?
127
+ },
128
+ ]?
129
+ },
130
+ ],
131
+ ?client_token: ::String,
132
+ ?dry_run: bool
133
+ ) -> RouteTable
134
+ | (?Hash[Symbol, untyped]) -> RouteTable
135
+
136
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#create_security_group-instance_method
137
+ def create_security_group: (
138
+ description: ::String,
139
+ group_name: ::String,
140
+ ?tag_specifications: Array[
141
+ {
142
+ 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" | "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-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" | "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")?,
143
+ tags: Array[
144
+ {
145
+ key: ::String?,
146
+ value: ::String?
147
+ },
148
+ ]?
149
+ },
150
+ ],
151
+ ?dry_run: bool
152
+ ) -> SecurityGroup
153
+ | (?Hash[Symbol, untyped]) -> SecurityGroup
154
+
155
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#create_subnet-instance_method
156
+ def create_subnet: (
157
+ ?tag_specifications: Array[
158
+ {
159
+ 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" | "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-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" | "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")?,
160
+ tags: Array[
161
+ {
162
+ key: ::String?,
163
+ value: ::String?
164
+ },
165
+ ]?
166
+ },
167
+ ],
168
+ ?availability_zone: ::String,
169
+ ?availability_zone_id: ::String,
170
+ ?cidr_block: ::String,
171
+ ?ipv_6_cidr_block: ::String,
172
+ ?outpost_arn: ::String,
173
+ ?ipv_6_native: bool,
174
+ ?ipv_4_ipam_pool_id: ::String,
175
+ ?ipv_4_netmask_length: ::Integer,
176
+ ?ipv_6_ipam_pool_id: ::String,
177
+ ?ipv_6_netmask_length: ::Integer,
178
+ ?dry_run: bool
179
+ ) -> Subnet
180
+ | (?Hash[Symbol, untyped]) -> Subnet
181
+
182
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#create_tags-instance_method
183
+ def create_tags: (
184
+ ?dry_run: bool,
185
+ tags: Array[
186
+ {
187
+ key: ::String?,
188
+ value: ::String?
189
+ },
190
+ ]
191
+ ) -> Tag::Collection
192
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
193
+
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#delete_tags-instance_method
195
+ def delete_tags: (
196
+ ?dry_run: bool,
197
+ ?tags: Array[
198
+ {
199
+ key: ::String?,
200
+ value: ::String?
201
+ },
202
+ ]
203
+ ) -> Tag::Collection
204
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
205
+
206
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#delete-instance_method
207
+ def delete: (
208
+ ?dry_run: bool
209
+ ) -> ::Aws::EmptyStructure
210
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
211
+
212
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#describe_attribute-instance_method
213
+ def describe_attribute: (
214
+ attribute: ("enableDnsSupport" | "enableDnsHostnames" | "enableNetworkAddressUsageMetrics"),
215
+ ?dry_run: bool
216
+ ) -> Types::DescribeVpcAttributeResult
217
+ | (?Hash[Symbol, untyped]) -> Types::DescribeVpcAttributeResult
218
+
219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#detach_classic_link_instance-instance_method
220
+ def detach_classic_link_instance: (
221
+ ?dry_run: bool,
222
+ instance_id: ::String
223
+ ) -> Types::DetachClassicLinkVpcResult
224
+ | (?Hash[Symbol, untyped]) -> Types::DetachClassicLinkVpcResult
225
+
226
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#detach_internet_gateway-instance_method
227
+ def detach_internet_gateway: (
228
+ ?dry_run: bool,
229
+ internet_gateway_id: ::String
230
+ ) -> ::Aws::EmptyStructure
231
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
232
+
233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#disable_classic_link-instance_method
234
+ def disable_classic_link: (
235
+ ?dry_run: bool
236
+ ) -> Types::DisableVpcClassicLinkResult
237
+ | (?Hash[Symbol, untyped]) -> Types::DisableVpcClassicLinkResult
238
+
239
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#enable_classic_link-instance_method
240
+ def enable_classic_link: (
241
+ ?dry_run: bool
242
+ ) -> Types::EnableVpcClassicLinkResult
243
+ | (?Hash[Symbol, untyped]) -> Types::EnableVpcClassicLinkResult
244
+
245
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#modify_attribute-instance_method
246
+ def modify_attribute: (
247
+ ?enable_dns_hostnames: {
248
+ value: bool?
249
+ },
250
+ ?enable_dns_support: {
251
+ value: bool?
252
+ },
253
+ ?enable_network_address_usage_metrics: {
254
+ value: bool?
255
+ }
256
+ ) -> ::Aws::EmptyStructure
257
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
258
+
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#request_vpc_peering_connection-instance_method
260
+ def request_vpc_peering_connection: (
261
+ ?peer_region: ::String,
262
+ ?tag_specifications: Array[
263
+ {
264
+ 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" | "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-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" | "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")?,
265
+ tags: Array[
266
+ {
267
+ key: ::String?,
268
+ value: ::String?
269
+ },
270
+ ]?
271
+ },
272
+ ],
273
+ ?dry_run: bool,
274
+ ?peer_vpc_id: ::String,
275
+ ?peer_owner_id: ::String
276
+ ) -> VpcPeeringConnection
277
+ | (?Hash[Symbol, untyped]) -> VpcPeeringConnection
278
+
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#accepted_vpc_peering_connections-instance_method
280
+ def accepted_vpc_peering_connections: (
281
+ ?dry_run: bool,
282
+ ?vpc_peering_connection_ids: Array[::String],
283
+ ?filters: Array[
284
+ {
285
+ name: ::String?,
286
+ values: Array[::String]?
287
+ },
288
+ ]
289
+ ) -> VpcPeeringConnection::Collection
290
+ | (?Hash[Symbol, untyped]) -> VpcPeeringConnection::Collection
291
+
292
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#dhcp_options-instance_method
293
+ def dhcp_options: () -> DhcpOptions?
294
+
295
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#instances-instance_method
296
+ def instances: (
297
+ ?instance_ids: Array[::String],
298
+ ?dry_run: bool,
299
+ ?filters: Array[
300
+ {
301
+ name: ::String?,
302
+ values: Array[::String]?
303
+ },
304
+ ]
305
+ ) -> Instance::Collection
306
+ | (?Hash[Symbol, untyped]) -> Instance::Collection
307
+
308
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#internet_gateways-instance_method
309
+ def internet_gateways: (
310
+ ?dry_run: bool,
311
+ ?internet_gateway_ids: Array[::String],
312
+ ?filters: Array[
313
+ {
314
+ name: ::String?,
315
+ values: Array[::String]?
316
+ },
317
+ ]
318
+ ) -> InternetGateway::Collection
319
+ | (?Hash[Symbol, untyped]) -> InternetGateway::Collection
320
+
321
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#network_acls-instance_method
322
+ def network_acls: (
323
+ ?dry_run: bool,
324
+ ?network_acl_ids: Array[::String],
325
+ ?filters: Array[
326
+ {
327
+ name: ::String?,
328
+ values: Array[::String]?
329
+ },
330
+ ]
331
+ ) -> NetworkAcl::Collection
332
+ | (?Hash[Symbol, untyped]) -> NetworkAcl::Collection
333
+
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#network_interfaces-instance_method
335
+ def network_interfaces: (
336
+ ?dry_run: bool,
337
+ ?network_interface_ids: Array[::String],
338
+ ?filters: Array[
339
+ {
340
+ name: ::String?,
341
+ values: Array[::String]?
342
+ },
343
+ ]
344
+ ) -> NetworkInterface::Collection
345
+ | (?Hash[Symbol, untyped]) -> NetworkInterface::Collection
346
+
347
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#requested_vpc_peering_connections-instance_method
348
+ def requested_vpc_peering_connections: (
349
+ ?dry_run: bool,
350
+ ?vpc_peering_connection_ids: Array[::String],
351
+ ?filters: Array[
352
+ {
353
+ name: ::String?,
354
+ values: Array[::String]?
355
+ },
356
+ ]
357
+ ) -> VpcPeeringConnection::Collection
358
+ | (?Hash[Symbol, untyped]) -> VpcPeeringConnection::Collection
359
+
360
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#route_tables-instance_method
361
+ def route_tables: (
362
+ ?dry_run: bool,
363
+ ?route_table_ids: Array[::String],
364
+ ?filters: Array[
365
+ {
366
+ name: ::String?,
367
+ values: Array[::String]?
368
+ },
369
+ ]
370
+ ) -> RouteTable::Collection
371
+ | (?Hash[Symbol, untyped]) -> RouteTable::Collection
372
+
373
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#security_groups-instance_method
374
+ def security_groups: (
375
+ ?group_ids: Array[::String],
376
+ ?group_names: Array[::String],
377
+ ?dry_run: bool,
378
+ ?filters: Array[
379
+ {
380
+ name: ::String?,
381
+ values: Array[::String]?
382
+ },
383
+ ]
384
+ ) -> SecurityGroup::Collection
385
+ | (?Hash[Symbol, untyped]) -> SecurityGroup::Collection
386
+
387
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#subnets-instance_method
388
+ def subnets: (
389
+ ?filters: Array[
390
+ {
391
+ name: ::String?,
392
+ values: Array[::String]?
393
+ },
394
+ ],
395
+ ?subnet_ids: Array[::String],
396
+ ?dry_run: bool
397
+ ) -> Subnet::Collection
398
+ | (?Hash[Symbol, untyped]) -> Subnet::Collection
399
+
400
+ class Collection < ::Aws::Resources::Collection[Vpc]
401
+ end
402
+ end
403
+ end
404
+ end