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.
@@ -0,0 +1,232 @@
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" | "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#private_ip_address-instance_method
55
+ def private_ip_address: () -> ::String
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#private_ip_addresses-instance_method
58
+ def private_ip_addresses: () -> ::Array[Types::NetworkInterfacePrivateIpAddress]
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#ipv_4_prefixes-instance_method
61
+ def ipv_4_prefixes: () -> ::Array[Types::Ipv4PrefixSpecification]
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#ipv_6_prefixes-instance_method
64
+ def ipv_6_prefixes: () -> ::Array[Types::Ipv6PrefixSpecification]
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#requester_id-instance_method
67
+ def requester_id: () -> ::String
68
+
69
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#requester_managed-instance_method
70
+ def requester_managed: () -> bool
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#source_dest_check-instance_method
73
+ def source_dest_check: () -> bool
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#status-instance_method
76
+ def status: () -> ("available" | "associated" | "attaching" | "in-use" | "detaching")
77
+
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#subnet_id-instance_method
79
+ def subnet_id: () -> ::String
80
+
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#tag_set-instance_method
82
+ def tag_set: () -> ::Array[Types::Tag]
83
+
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#vpc_id-instance_method
85
+ def vpc_id: () -> ::String
86
+
87
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#deny_all_igw_traffic-instance_method
88
+ def deny_all_igw_traffic: () -> bool
89
+
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#ipv_6_native-instance_method
91
+ def ipv_6_native: () -> bool
92
+
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#ipv_6_address-instance_method
94
+ def ipv_6_address: () -> ::String
95
+
96
+ def client: () -> Client
97
+
98
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#load-instance_method
99
+ def load: () -> self
100
+ alias reload load
101
+
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#data-instance_method
103
+ def data: () -> Types::NetworkInterface
104
+
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#data_loaded?-instance_method
106
+ def data_loaded?: () -> bool
107
+
108
+
109
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#assign_private_ip_addresses-instance_method
110
+ def assign_private_ip_addresses: (
111
+ ?allow_reassignment: bool,
112
+ ?private_ip_addresses: Array[::String],
113
+ ?secondary_private_ip_address_count: ::Integer,
114
+ ?ipv_4_prefixes: Array[::String],
115
+ ?ipv_4_prefix_count: ::Integer
116
+ ) -> Types::AssignPrivateIpAddressesResult
117
+ | (?Hash[Symbol, untyped]) -> Types::AssignPrivateIpAddressesResult
118
+
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#attach-instance_method
120
+ def attach: (
121
+ device_index: ::Integer,
122
+ ?dry_run: bool,
123
+ instance_id: ::String,
124
+ ?network_card_index: ::Integer,
125
+ ?ena_srd_specification: {
126
+ ena_srd_enabled: bool?,
127
+ ena_srd_udp_specification: {
128
+ ena_srd_udp_enabled: bool?
129
+ }?
130
+ }
131
+ ) -> Types::AttachNetworkInterfaceResult
132
+ | (?Hash[Symbol, untyped]) -> Types::AttachNetworkInterfaceResult
133
+
134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#create_tags-instance_method
135
+ def create_tags: (
136
+ ?dry_run: bool,
137
+ tags: Array[
138
+ {
139
+ key: ::String?,
140
+ value: ::String?
141
+ },
142
+ ]
143
+ ) -> Tag::Collection
144
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
145
+
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#delete_tags-instance_method
147
+ def delete_tags: (
148
+ ?dry_run: bool,
149
+ ?tags: Array[
150
+ {
151
+ key: ::String?,
152
+ value: ::String?
153
+ },
154
+ ]
155
+ ) -> Tag::Collection
156
+ | (?Hash[Symbol, untyped]) -> Tag::Collection
157
+
158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#delete-instance_method
159
+ def delete: (
160
+ ?dry_run: bool
161
+ ) -> ::Aws::EmptyStructure
162
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
163
+
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#describe_attribute-instance_method
165
+ def describe_attribute: (
166
+ ?attribute: ("description" | "groupSet" | "sourceDestCheck" | "attachment"),
167
+ ?dry_run: bool
168
+ ) -> Types::DescribeNetworkInterfaceAttributeResult
169
+ | (?Hash[Symbol, untyped]) -> Types::DescribeNetworkInterfaceAttributeResult
170
+
171
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#detach-instance_method
172
+ def detach: (
173
+ ?dry_run: bool,
174
+ ?force: bool
175
+ ) -> ::Aws::EmptyStructure
176
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
177
+
178
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#modify_attribute-instance_method
179
+ def modify_attribute: (
180
+ ?attachment: {
181
+ attachment_id: ::String?,
182
+ delete_on_termination: bool?
183
+ },
184
+ ?description: untyped,
185
+ ?dry_run: bool,
186
+ ?groups: Array[::String],
187
+ ?source_dest_check: {
188
+ value: bool?
189
+ },
190
+ ?ena_srd_specification: {
191
+ ena_srd_enabled: bool?,
192
+ ena_srd_udp_specification: {
193
+ ena_srd_udp_enabled: bool?
194
+ }?
195
+ },
196
+ ?enable_primary_ipv_6: bool,
197
+ ?connection_tracking_specification: {
198
+ tcp_established_timeout: ::Integer?,
199
+ udp_stream_timeout: ::Integer?,
200
+ udp_timeout: ::Integer?
201
+ }
202
+ ) -> ::Aws::EmptyStructure
203
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
204
+
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#reset_attribute-instance_method
206
+ def reset_attribute: (
207
+ ?dry_run: bool,
208
+ ?source_dest_check: ::String
209
+ ) -> ::Aws::EmptyStructure
210
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
211
+
212
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#unassign_private_ip_addresses-instance_method
213
+ def unassign_private_ip_addresses: (
214
+ ?private_ip_addresses: Array[::String],
215
+ ?ipv_4_prefixes: Array[::String]
216
+ ) -> ::Aws::EmptyStructure
217
+ | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
218
+
219
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#association-instance_method
220
+ def association: () -> NetworkInterfaceAssociation?
221
+
222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#subnet-instance_method
223
+ def subnet: () -> Subnet?
224
+
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/NetworkInterface.html#vpc-instance_method
226
+ def vpc: () -> Vpc?
227
+
228
+ class Collection < ::Aws::Resources::Collection[NetworkInterface]
229
+ end
230
+ end
231
+ end
232
+ 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
+ ?filters: Array[
64
+ {
65
+ name: ::String?,
66
+ values: Array[::String]?
67
+ },
68
+ ],
69
+ ?instance_ids: Array[::String],
70
+ ?dry_run: bool
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