aws-sdk-privatenetworks 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-privatenetworks/client.rb +70 -46
- data/lib/aws-sdk-privatenetworks/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-privatenetworks.rb +1 -1
- data/sig/client.rbs +468 -0
- data/sig/errors.rbs +39 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +505 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,468 @@
|
|
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 PrivateNetworks
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _AcknowledgeOrderReceiptResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AcknowledgeOrderReceiptResponse]
|
77
|
+
def order: () -> Types::Order
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#acknowledge_order_receipt-instance_method
|
80
|
+
def acknowledge_order_receipt: (
|
81
|
+
order_arn: ::String
|
82
|
+
) -> _AcknowledgeOrderReceiptResponseSuccess
|
83
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcknowledgeOrderReceiptResponseSuccess
|
84
|
+
|
85
|
+
interface _ActivateDeviceIdentifierResponseSuccess
|
86
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ActivateDeviceIdentifierResponse]
|
87
|
+
def device_identifier: () -> Types::DeviceIdentifier
|
88
|
+
def tags: () -> ::Hash[::String, ::String]
|
89
|
+
end
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#activate_device_identifier-instance_method
|
91
|
+
def activate_device_identifier: (
|
92
|
+
?client_token: ::String,
|
93
|
+
device_identifier_arn: ::String
|
94
|
+
) -> _ActivateDeviceIdentifierResponseSuccess
|
95
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ActivateDeviceIdentifierResponseSuccess
|
96
|
+
|
97
|
+
interface _ActivateNetworkSiteResponseSuccess
|
98
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ActivateNetworkSiteResponse]
|
99
|
+
def network_site: () -> Types::NetworkSite
|
100
|
+
end
|
101
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#activate_network_site-instance_method
|
102
|
+
def activate_network_site: (
|
103
|
+
?client_token: ::String,
|
104
|
+
?commitment_configuration: {
|
105
|
+
automatic_renewal: bool,
|
106
|
+
commitment_length: ("SIXTY_DAYS" | "ONE_YEAR" | "THREE_YEARS")
|
107
|
+
},
|
108
|
+
network_site_arn: ::String,
|
109
|
+
shipping_address: {
|
110
|
+
city: ::String,
|
111
|
+
company: ::String?,
|
112
|
+
country: ::String,
|
113
|
+
email_address: ::String?,
|
114
|
+
name: ::String,
|
115
|
+
phone_number: ::String?,
|
116
|
+
postal_code: ::String,
|
117
|
+
state_or_province: ::String,
|
118
|
+
street1: ::String,
|
119
|
+
street2: ::String?,
|
120
|
+
street3: ::String?
|
121
|
+
}
|
122
|
+
) -> _ActivateNetworkSiteResponseSuccess
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ActivateNetworkSiteResponseSuccess
|
124
|
+
|
125
|
+
interface _ConfigureAccessPointResponseSuccess
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ConfigureAccessPointResponse]
|
127
|
+
def access_point: () -> Types::NetworkResource
|
128
|
+
end
|
129
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#configure_access_point-instance_method
|
130
|
+
def configure_access_point: (
|
131
|
+
access_point_arn: ::String,
|
132
|
+
?cpi_secret_key: ::String,
|
133
|
+
?cpi_user_id: ::String,
|
134
|
+
?cpi_user_password: ::String,
|
135
|
+
?cpi_username: ::String,
|
136
|
+
?position: {
|
137
|
+
elevation: ::Float?,
|
138
|
+
elevation_reference: ("AGL" | "AMSL")?,
|
139
|
+
elevation_unit: ("FEET")?,
|
140
|
+
latitude: ::Float?,
|
141
|
+
longitude: ::Float?
|
142
|
+
}
|
143
|
+
) -> _ConfigureAccessPointResponseSuccess
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ConfigureAccessPointResponseSuccess
|
145
|
+
|
146
|
+
interface _CreateNetworkResponseSuccess
|
147
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateNetworkResponse]
|
148
|
+
def network: () -> Types::Network
|
149
|
+
def tags: () -> ::Hash[::String, ::String]
|
150
|
+
end
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#create_network-instance_method
|
152
|
+
def create_network: (
|
153
|
+
?client_token: ::String,
|
154
|
+
?description: ::String,
|
155
|
+
network_name: ::String,
|
156
|
+
?tags: Hash[::String, ::String]
|
157
|
+
) -> _CreateNetworkResponseSuccess
|
158
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNetworkResponseSuccess
|
159
|
+
|
160
|
+
interface _CreateNetworkSiteResponseSuccess
|
161
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateNetworkSiteResponse]
|
162
|
+
def network_site: () -> Types::NetworkSite
|
163
|
+
def tags: () -> ::Hash[::String, ::String]
|
164
|
+
end
|
165
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#create_network_site-instance_method
|
166
|
+
def create_network_site: (
|
167
|
+
?availability_zone: ::String,
|
168
|
+
?availability_zone_id: ::String,
|
169
|
+
?client_token: ::String,
|
170
|
+
?description: ::String,
|
171
|
+
network_arn: ::String,
|
172
|
+
network_site_name: ::String,
|
173
|
+
?pending_plan: {
|
174
|
+
options: Array[
|
175
|
+
{
|
176
|
+
name: ::String,
|
177
|
+
value: ::String?
|
178
|
+
},
|
179
|
+
]?,
|
180
|
+
resource_definitions: Array[
|
181
|
+
{
|
182
|
+
count: ::Integer,
|
183
|
+
options: Array[
|
184
|
+
{
|
185
|
+
name: ::String,
|
186
|
+
value: ::String?
|
187
|
+
},
|
188
|
+
]?,
|
189
|
+
type: ("RADIO_UNIT" | "DEVICE_IDENTIFIER")
|
190
|
+
},
|
191
|
+
]?
|
192
|
+
},
|
193
|
+
?tags: Hash[::String, ::String]
|
194
|
+
) -> _CreateNetworkSiteResponseSuccess
|
195
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNetworkSiteResponseSuccess
|
196
|
+
|
197
|
+
interface _DeactivateDeviceIdentifierResponseSuccess
|
198
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeactivateDeviceIdentifierResponse]
|
199
|
+
def device_identifier: () -> Types::DeviceIdentifier
|
200
|
+
end
|
201
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#deactivate_device_identifier-instance_method
|
202
|
+
def deactivate_device_identifier: (
|
203
|
+
?client_token: ::String,
|
204
|
+
device_identifier_arn: ::String
|
205
|
+
) -> _DeactivateDeviceIdentifierResponseSuccess
|
206
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeactivateDeviceIdentifierResponseSuccess
|
207
|
+
|
208
|
+
interface _DeleteNetworkResponseSuccess
|
209
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNetworkResponse]
|
210
|
+
def network: () -> Types::Network
|
211
|
+
end
|
212
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#delete_network-instance_method
|
213
|
+
def delete_network: (
|
214
|
+
?client_token: ::String,
|
215
|
+
network_arn: ::String
|
216
|
+
) -> _DeleteNetworkResponseSuccess
|
217
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNetworkResponseSuccess
|
218
|
+
|
219
|
+
interface _DeleteNetworkSiteResponseSuccess
|
220
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNetworkSiteResponse]
|
221
|
+
def network_site: () -> Types::NetworkSite
|
222
|
+
end
|
223
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#delete_network_site-instance_method
|
224
|
+
def delete_network_site: (
|
225
|
+
?client_token: ::String,
|
226
|
+
network_site_arn: ::String
|
227
|
+
) -> _DeleteNetworkSiteResponseSuccess
|
228
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNetworkSiteResponseSuccess
|
229
|
+
|
230
|
+
interface _GetDeviceIdentifierResponseSuccess
|
231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeviceIdentifierResponse]
|
232
|
+
def device_identifier: () -> Types::DeviceIdentifier
|
233
|
+
def tags: () -> ::Hash[::String, ::String]
|
234
|
+
end
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#get_device_identifier-instance_method
|
236
|
+
def get_device_identifier: (
|
237
|
+
device_identifier_arn: ::String
|
238
|
+
) -> _GetDeviceIdentifierResponseSuccess
|
239
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeviceIdentifierResponseSuccess
|
240
|
+
|
241
|
+
interface _GetNetworkResponseSuccess
|
242
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetNetworkResponse]
|
243
|
+
def network: () -> Types::Network
|
244
|
+
def tags: () -> ::Hash[::String, ::String]
|
245
|
+
end
|
246
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#get_network-instance_method
|
247
|
+
def get_network: (
|
248
|
+
network_arn: ::String
|
249
|
+
) -> _GetNetworkResponseSuccess
|
250
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkResponseSuccess
|
251
|
+
|
252
|
+
interface _GetNetworkResourceResponseSuccess
|
253
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetNetworkResourceResponse]
|
254
|
+
def network_resource: () -> Types::NetworkResource
|
255
|
+
def tags: () -> ::Hash[::String, ::String]
|
256
|
+
end
|
257
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#get_network_resource-instance_method
|
258
|
+
def get_network_resource: (
|
259
|
+
network_resource_arn: ::String
|
260
|
+
) -> _GetNetworkResourceResponseSuccess
|
261
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkResourceResponseSuccess
|
262
|
+
|
263
|
+
interface _GetNetworkSiteResponseSuccess
|
264
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetNetworkSiteResponse]
|
265
|
+
def network_site: () -> Types::NetworkSite
|
266
|
+
def tags: () -> ::Hash[::String, ::String]
|
267
|
+
end
|
268
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#get_network_site-instance_method
|
269
|
+
def get_network_site: (
|
270
|
+
network_site_arn: ::String
|
271
|
+
) -> _GetNetworkSiteResponseSuccess
|
272
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNetworkSiteResponseSuccess
|
273
|
+
|
274
|
+
interface _GetOrderResponseSuccess
|
275
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetOrderResponse]
|
276
|
+
def order: () -> Types::Order
|
277
|
+
def tags: () -> ::Hash[::String, ::String]
|
278
|
+
end
|
279
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#get_order-instance_method
|
280
|
+
def get_order: (
|
281
|
+
order_arn: ::String
|
282
|
+
) -> _GetOrderResponseSuccess
|
283
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOrderResponseSuccess
|
284
|
+
|
285
|
+
interface _ListDeviceIdentifiersResponseSuccess
|
286
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeviceIdentifiersResponse]
|
287
|
+
def device_identifiers: () -> ::Array[Types::DeviceIdentifier]
|
288
|
+
def next_token: () -> ::String
|
289
|
+
end
|
290
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#list_device_identifiers-instance_method
|
291
|
+
def list_device_identifiers: (
|
292
|
+
?filters: Hash[("STATUS" | "ORDER" | "TRAFFIC_GROUP"), Array[::String]],
|
293
|
+
?max_results: ::Integer,
|
294
|
+
network_arn: ::String,
|
295
|
+
?start_token: ::String
|
296
|
+
) -> _ListDeviceIdentifiersResponseSuccess
|
297
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeviceIdentifiersResponseSuccess
|
298
|
+
|
299
|
+
interface _ListNetworkResourcesResponseSuccess
|
300
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNetworkResourcesResponse]
|
301
|
+
def network_resources: () -> ::Array[Types::NetworkResource]
|
302
|
+
def next_token: () -> ::String
|
303
|
+
end
|
304
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#list_network_resources-instance_method
|
305
|
+
def list_network_resources: (
|
306
|
+
?filters: Hash[("ORDER" | "STATUS"), Array[::String]],
|
307
|
+
?max_results: ::Integer,
|
308
|
+
network_arn: ::String,
|
309
|
+
?start_token: ::String
|
310
|
+
) -> _ListNetworkResourcesResponseSuccess
|
311
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNetworkResourcesResponseSuccess
|
312
|
+
|
313
|
+
interface _ListNetworkSitesResponseSuccess
|
314
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNetworkSitesResponse]
|
315
|
+
def network_sites: () -> ::Array[Types::NetworkSite]
|
316
|
+
def next_token: () -> ::String
|
317
|
+
end
|
318
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#list_network_sites-instance_method
|
319
|
+
def list_network_sites: (
|
320
|
+
?filters: Hash[("STATUS"), Array[::String]],
|
321
|
+
?max_results: ::Integer,
|
322
|
+
network_arn: ::String,
|
323
|
+
?start_token: ::String
|
324
|
+
) -> _ListNetworkSitesResponseSuccess
|
325
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNetworkSitesResponseSuccess
|
326
|
+
|
327
|
+
interface _ListNetworksResponseSuccess
|
328
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListNetworksResponse]
|
329
|
+
def networks: () -> ::Array[Types::Network]
|
330
|
+
def next_token: () -> ::String
|
331
|
+
end
|
332
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#list_networks-instance_method
|
333
|
+
def list_networks: (
|
334
|
+
?filters: Hash[("STATUS"), Array[::String]],
|
335
|
+
?max_results: ::Integer,
|
336
|
+
?start_token: ::String
|
337
|
+
) -> _ListNetworksResponseSuccess
|
338
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNetworksResponseSuccess
|
339
|
+
|
340
|
+
interface _ListOrdersResponseSuccess
|
341
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOrdersResponse]
|
342
|
+
def next_token: () -> ::String
|
343
|
+
def orders: () -> ::Array[Types::Order]
|
344
|
+
end
|
345
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#list_orders-instance_method
|
346
|
+
def list_orders: (
|
347
|
+
?filters: Hash[("STATUS" | "NETWORK_SITE"), Array[::String]],
|
348
|
+
?max_results: ::Integer,
|
349
|
+
network_arn: ::String,
|
350
|
+
?start_token: ::String
|
351
|
+
) -> _ListOrdersResponseSuccess
|
352
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrdersResponseSuccess
|
353
|
+
|
354
|
+
interface _ListTagsForResourceResponseSuccess
|
355
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
356
|
+
def tags: () -> ::Hash[::String, ::String]
|
357
|
+
end
|
358
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#list_tags_for_resource-instance_method
|
359
|
+
def list_tags_for_resource: (
|
360
|
+
resource_arn: ::String
|
361
|
+
) -> _ListTagsForResourceResponseSuccess
|
362
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
363
|
+
|
364
|
+
interface _PingResponseSuccess
|
365
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PingResponse]
|
366
|
+
def status: () -> ::String
|
367
|
+
end
|
368
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#ping-instance_method
|
369
|
+
def ping: () -> _PingResponseSuccess
|
370
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PingResponseSuccess
|
371
|
+
|
372
|
+
interface _StartNetworkResourceUpdateResponseSuccess
|
373
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartNetworkResourceUpdateResponse]
|
374
|
+
def network_resource: () -> Types::NetworkResource
|
375
|
+
end
|
376
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#start_network_resource_update-instance_method
|
377
|
+
def start_network_resource_update: (
|
378
|
+
?commitment_configuration: {
|
379
|
+
automatic_renewal: bool,
|
380
|
+
commitment_length: ("SIXTY_DAYS" | "ONE_YEAR" | "THREE_YEARS")
|
381
|
+
},
|
382
|
+
network_resource_arn: ::String,
|
383
|
+
?return_reason: ::String,
|
384
|
+
?shipping_address: {
|
385
|
+
city: ::String,
|
386
|
+
company: ::String?,
|
387
|
+
country: ::String,
|
388
|
+
email_address: ::String?,
|
389
|
+
name: ::String,
|
390
|
+
phone_number: ::String?,
|
391
|
+
postal_code: ::String,
|
392
|
+
state_or_province: ::String,
|
393
|
+
street1: ::String,
|
394
|
+
street2: ::String?,
|
395
|
+
street3: ::String?
|
396
|
+
},
|
397
|
+
update_type: ("REPLACE" | "RETURN" | "COMMITMENT")
|
398
|
+
) -> _StartNetworkResourceUpdateResponseSuccess
|
399
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartNetworkResourceUpdateResponseSuccess
|
400
|
+
|
401
|
+
interface _TagResourceResponseSuccess
|
402
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
403
|
+
end
|
404
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#tag_resource-instance_method
|
405
|
+
def tag_resource: (
|
406
|
+
resource_arn: ::String,
|
407
|
+
tags: Hash[::String, ::String]
|
408
|
+
) -> _TagResourceResponseSuccess
|
409
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
410
|
+
|
411
|
+
interface _UntagResourceResponseSuccess
|
412
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
413
|
+
end
|
414
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#untag_resource-instance_method
|
415
|
+
def untag_resource: (
|
416
|
+
resource_arn: ::String,
|
417
|
+
tag_keys: Array[::String]
|
418
|
+
) -> _UntagResourceResponseSuccess
|
419
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
420
|
+
|
421
|
+
interface _UpdateNetworkSiteResponseSuccess
|
422
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNetworkSiteResponse]
|
423
|
+
def network_site: () -> Types::NetworkSite
|
424
|
+
def tags: () -> ::Hash[::String, ::String]
|
425
|
+
end
|
426
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#update_network_site-instance_method
|
427
|
+
def update_network_site: (
|
428
|
+
?client_token: ::String,
|
429
|
+
?description: ::String,
|
430
|
+
network_site_arn: ::String
|
431
|
+
) -> _UpdateNetworkSiteResponseSuccess
|
432
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNetworkSiteResponseSuccess
|
433
|
+
|
434
|
+
interface _UpdateNetworkSitePlanResponseSuccess
|
435
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNetworkSiteResponse]
|
436
|
+
def network_site: () -> Types::NetworkSite
|
437
|
+
def tags: () -> ::Hash[::String, ::String]
|
438
|
+
end
|
439
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Client.html#update_network_site_plan-instance_method
|
440
|
+
def update_network_site_plan: (
|
441
|
+
?client_token: ::String,
|
442
|
+
network_site_arn: ::String,
|
443
|
+
pending_plan: {
|
444
|
+
options: Array[
|
445
|
+
{
|
446
|
+
name: ::String,
|
447
|
+
value: ::String?
|
448
|
+
},
|
449
|
+
]?,
|
450
|
+
resource_definitions: Array[
|
451
|
+
{
|
452
|
+
count: ::Integer,
|
453
|
+
options: Array[
|
454
|
+
{
|
455
|
+
name: ::String,
|
456
|
+
value: ::String?
|
457
|
+
},
|
458
|
+
]?,
|
459
|
+
type: ("RADIO_UNIT" | "DEVICE_IDENTIFIER")
|
460
|
+
},
|
461
|
+
]?
|
462
|
+
}
|
463
|
+
) -> _UpdateNetworkSitePlanResponseSuccess
|
464
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNetworkSitePlanResponseSuccess
|
465
|
+
end
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,39 @@
|
|
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 PrivateNetworks
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def retry_after_seconds: () -> ::String
|
20
|
+
end
|
21
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
22
|
+
def message: () -> ::String
|
23
|
+
end
|
24
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
25
|
+
def message: () -> ::String
|
26
|
+
def resource_id: () -> ::String
|
27
|
+
def resource_type: () -> ::String
|
28
|
+
end
|
29
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
33
|
+
def field_list: () -> ::String
|
34
|
+
def message: () -> ::String
|
35
|
+
def reason: () -> ::String
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
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 PrivateNetworks
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PrivateNetworks/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|