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
@@ -0,0 +1,249 @@
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/NetworkInterface.html
11
+ class NetworkInterface
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.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/NetworkInterface.html#id-instance_method
18
+ def id: () -> String
19
+ alias network_interface_id id
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#attachment-instance_method
22
+ def attachment: () -> Types::NetworkInterfaceAttachment
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#availability_zone-instance_method
25
+ def availability_zone: () -> ::String
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#connection_tracking_configuration-instance_method
28
+ def connection_tracking_configuration: () -> Types::ConnectionTrackingConfiguration
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#description-instance_method
31
+ def description: () -> ::String
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#groups-instance_method
34
+ def groups: () -> ::Array[Types::GroupIdentifier]
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#interface_type-instance_method
37
+ def interface_type: () -> ("interface" | "natGateway" | "efa" | "efa-only" | "trunk" | "load_balancer" | "network_load_balancer" | "vpc_endpoint" | "branch" | "transit_gateway" | "lambda" | "quicksight" | "global_accelerator_managed" | "api_gateway_managed" | "gateway_load_balancer" | "gateway_load_balancer_endpoint" | "iot_rules_managed" | "aws_codestar_connections_managed")
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#ipv_6_addresses-instance_method
40
+ def ipv_6_addresses: () -> ::Array[Types::NetworkInterfaceIpv6Address]
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#mac_address-instance_method
43
+ def mac_address: () -> ::String
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#outpost_arn-instance_method
46
+ def outpost_arn: () -> ::String
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#owner_id-instance_method
49
+ def owner_id: () -> ::String
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#private_dns_name-instance_method
52
+ def private_dns_name: () -> ::String
53
+
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#public_dns_name-instance_method
55
+ def public_dns_name: () -> ::String
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#public_ip_dns_name_options-instance_method
58
+ def public_ip_dns_name_options: () -> Types::PublicIpDnsNameOptions
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#private_ip_address-instance_method
61
+ def private_ip_address: () -> ::String
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#private_ip_addresses-instance_method
64
+ def private_ip_addresses: () -> ::Array[Types::NetworkInterfacePrivateIpAddress]
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#ipv_4_prefixes-instance_method
67
+ def ipv_4_prefixes: () -> ::Array[Types::Ipv4PrefixSpecification]
68
+
69
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#ipv_6_prefixes-instance_method
70
+ def ipv_6_prefixes: () -> ::Array[Types::Ipv6PrefixSpecification]
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#requester_id-instance_method
73
+ def requester_id: () -> ::String
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#requester_managed-instance_method
76
+ def requester_managed: () -> bool
77
+
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#source_dest_check-instance_method
79
+ def source_dest_check: () -> bool
80
+
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#status-instance_method
82
+ def status: () -> ("available" | "associated" | "attaching" | "in-use" | "detaching")
83
+
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#subnet_id-instance_method
85
+ def subnet_id: () -> ::String
86
+
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#tag_set-instance_method
88
+ def tag_set: () -> ::Array[Types::Tag]
89
+
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#vpc_id-instance_method
91
+ def vpc_id: () -> ::String
92
+
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#deny_all_igw_traffic-instance_method
94
+ def deny_all_igw_traffic: () -> bool
95
+
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#ipv_6_native-instance_method
97
+ def ipv_6_native: () -> bool
98
+
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#ipv_6_address-instance_method
100
+ def ipv_6_address: () -> ::String
101
+
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#operator-instance_method
103
+ def operator: () -> Types::OperatorResponse
104
+
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#associated_subnets-instance_method
106
+ def associated_subnets: () -> ::Array[::String]
107
+
108
+ def client: () -> Client
109
+
110
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#load-instance_method
111
+ def load: () -> self
112
+ alias reload load
113
+
114
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#data-instance_method
115
+ def data: () -> Types::NetworkInterface
116
+
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#data_loaded?-instance_method
118
+ def data_loaded?: () -> bool
119
+
120
+
121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#assign_private_ip_addresses-instance_method
122
+ def assign_private_ip_addresses: (
123
+ ?ipv_4_prefixes: Array[::String],
124
+ ?ipv_4_prefix_count: ::Integer,
125
+ ?private_ip_addresses: Array[::String],
126
+ ?secondary_private_ip_address_count: ::Integer,
127
+ ?allow_reassignment: bool
128
+ ) -> Types::AssignPrivateIpAddressesResult
129
+ | (?Hash[Symbol, untyped]) -> Types::AssignPrivateIpAddressesResult
130
+
131
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#attach-instance_method
132
+ def attach: (
133
+ ?network_card_index: ::Integer,
134
+ ?ena_srd_specification: {
135
+ ena_srd_enabled: bool?,
136
+ ena_srd_udp_specification: {
137
+ ena_srd_udp_enabled: bool?
138
+ }?
139
+ },
140
+ ?ena_queue_count: ::Integer,
141
+ ?dry_run: bool,
142
+ instance_id: ::String,
143
+ device_index: ::Integer
144
+ ) -> Types::AttachNetworkInterfaceResult
145
+ | (?Hash[Symbol, untyped]) -> Types::AttachNetworkInterfaceResult
146
+
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#create_tags-instance_method
148
+ def create_tags: (
149
+ ?dry_run: bool,
150
+ tags: Array[
151
+ {
152
+ key: ::String?,
153
+ value: ::String?
154
+ },
155
+ ]
156
+ ) -> Tag::Collection
157
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
158
+
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#delete_tags-instance_method
160
+ def delete_tags: (
161
+ ?dry_run: bool,
162
+ ?tags: Array[
163
+ {
164
+ key: ::String?,
165
+ value: ::String?
166
+ },
167
+ ]
168
+ ) -> Tag::Collection
169
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
170
+
171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#delete-instance_method
172
+ def delete: (
173
+ ?dry_run: bool
174
+ ) -> ::Aws::EmptyStructure
175
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
176
+
177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#describe_attribute-instance_method
178
+ def describe_attribute: (
179
+ ?dry_run: bool,
180
+ ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment" | "associatePublicIpAddress")
181
+ ) -> Types::DescribeNetworkInterfaceAttributeResult
182
+ | (?Hash[Symbol, untyped]) -> Types::DescribeNetworkInterfaceAttributeResult
183
+
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#detach-instance_method
185
+ def detach: (
186
+ ?dry_run: bool,
187
+ ?force: bool
188
+ ) -> ::Aws::EmptyStructure
189
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
190
+
191
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#modify_attribute-instance_method
192
+ def modify_attribute: (
193
+ ?ena_srd_specification: {
194
+ ena_srd_enabled: bool?,
195
+ ena_srd_udp_specification: {
196
+ ena_srd_udp_enabled: bool?
197
+ }?
198
+ },
199
+ ?enable_primary_ipv_6: bool,
200
+ ?connection_tracking_specification: {
201
+ tcp_established_timeout: ::Integer?,
202
+ udp_stream_timeout: ::Integer?,
203
+ udp_timeout: ::Integer?
204
+ },
205
+ ?associate_public_ip_address: bool,
206
+ ?associated_subnet_ids: Array[::String],
207
+ ?dry_run: bool,
208
+ ?description: untyped,
209
+ ?source_dest_check: {
210
+ value: bool?
211
+ },
212
+ ?groups: Array[::String],
213
+ ?attachment: {
214
+ default_ena_queue_count: bool?,
215
+ ena_queue_count: ::Integer?,
216
+ attachment_id: ::String?,
217
+ delete_on_termination: bool?
218
+ }
219
+ ) -> ::Aws::EmptyStructure
220
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
221
+
222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#reset_attribute-instance_method
223
+ def reset_attribute: (
224
+ ?dry_run: bool,
225
+ ?source_dest_check: ::String
226
+ ) -> ::Aws::EmptyStructure
227
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
228
+
229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#unassign_private_ip_addresses-instance_method
230
+ def unassign_private_ip_addresses: (
231
+ ?ipv_4_prefixes: Array[::String],
232
+ ?private_ip_addresses: Array[::String]
233
+ ) -> ::Aws::EmptyStructure
234
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
235
+
236
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#association-instance_method
237
+ def association: () -> NetworkInterfaceAssociation?
238
+
239
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#subnet-instance_method
240
+ def subnet: () -> Subnet?
241
+
242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#vpc-instance_method
243
+ def vpc: () -> Vpc?
244
+
245
+ class Collection < ::Aws::Resources::Collection[NetworkInterface]
246
+ end
247
+ end
248
+ end
249
+ end
@@ -0,0 +1,62 @@
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/NetworkInterfaceAssociation.html
11
+ class NetworkInterfaceAssociation
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.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/NetworkInterfaceAssociation.html#id-instance_method
18
+ def id: () -> String
19
+
20
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#carrier_ip-instance_method
21
+ def carrier_ip: () -> ::String
22
+
23
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#customer_owned_ip-instance_method
24
+ def customer_owned_ip: () -> ::String
25
+
26
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#ip_owner_id-instance_method
27
+ def ip_owner_id: () -> ::String
28
+
29
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#public_dns_name-instance_method
30
+ def public_dns_name: () -> ::String
31
+
32
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#public_ip-instance_method
33
+ def public_ip: () -> ::String
34
+
35
+ def client: () -> Client
36
+
37
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#load-instance_method
38
+ def load: () -> self
39
+ alias reload load
40
+
41
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#data-instance_method
42
+ def data: () -> Types::InstanceNetworkInterfaceAssociation
43
+
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#data_loaded?-instance_method
45
+ def data_loaded?: () -> bool
46
+
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#delete-instance_method
49
+ def delete: (
50
+ ?public_ip: ::String,
51
+ ?dry_run: bool
52
+ ) -> ::Aws::EmptyStructure
53
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
54
+
55
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterfaceAssociation.html#address-instance_method
56
+ def address: () -> VpcAddress?
57
+
58
+ class Collection < ::Aws::Resources::Collection[NetworkInterfaceAssociation]
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,78 @@
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/PlacementGroup.html
11
+ class PlacementGroup
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#initialize-instance_method
13
+ def initialize: (String name, Hash[Symbol, untyped] options) -> void
14
+ | (name: String, ?client: Client) -> void
15
+ | (Hash[Symbol, untyped] args) -> void
16
+
17
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#name-instance_method
18
+ def name: () -> String
19
+ alias group_name name
20
+
21
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#state-instance_method
22
+ def state: () -> ("pending" | "available" | "deleting" | "deleted")
23
+
24
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#strategy-instance_method
25
+ def strategy: () -> ("cluster" | "spread" | "partition")
26
+
27
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#partition_count-instance_method
28
+ def partition_count: () -> ::Integer
29
+
30
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#group_id-instance_method
31
+ def group_id: () -> ::String
32
+
33
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#tags-instance_method
34
+ def tags: () -> ::Array[Types::Tag]
35
+
36
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#group_arn-instance_method
37
+ def group_arn: () -> ::String
38
+
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#spread_level-instance_method
40
+ def spread_level: () -> ("host" | "rack")
41
+
42
+ def client: () -> Client
43
+
44
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#load-instance_method
45
+ def load: () -> self
46
+ alias reload load
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#data-instance_method
49
+ def data: () -> Types::PlacementGroup
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#data_loaded?-instance_method
52
+ def data_loaded?: () -> bool
53
+
54
+
55
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#delete-instance_method
56
+ def delete: (
57
+ ?dry_run: bool
58
+ ) -> ::Aws::EmptyStructure
59
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
60
+
61
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/PlacementGroup.html#instances-instance_method
62
+ def instances: (
63
+ ?instance_ids: Array[::String],
64
+ ?dry_run: bool,
65
+ ?filters: Array[
66
+ {
67
+ name: ::String?,
68
+ values: Array[::String]?
69
+ },
70
+ ]
71
+ ) -> Instance::Collection
72
+ | (?Hash[Symbol, untyped]) -> Instance::Collection
73
+
74
+ class Collection < ::Aws::Resources::Collection[PlacementGroup]
75
+ end
76
+ end
77
+ end
78
+ end