aws-sdk-tnb 1.10.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,519 @@
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 Tnb
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/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
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#cancel_sol_network_operation-instance_method
76
+ def cancel_sol_network_operation: (
77
+ ns_lcm_op_occ_id: ::String
78
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
79
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
80
+
81
+ interface _CreateSolFunctionPackageResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSolFunctionPackageOutput]
83
+ def arn: () -> ::String
84
+ def id: () -> ::String
85
+ def onboarding_state: () -> ("CREATED" | "ONBOARDED" | "ERROR")
86
+ def operational_state: () -> ("ENABLED" | "DISABLED")
87
+ def tags: () -> ::Hash[::String, ::String]
88
+ def usage_state: () -> ("IN_USE" | "NOT_IN_USE")
89
+ end
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#create_sol_function_package-instance_method
91
+ def create_sol_function_package: (
92
+ ?tags: Hash[::String, ::String]
93
+ ) -> _CreateSolFunctionPackageResponseSuccess
94
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSolFunctionPackageResponseSuccess
95
+
96
+ interface _CreateSolNetworkInstanceResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSolNetworkInstanceOutput]
98
+ def arn: () -> ::String
99
+ def id: () -> ::String
100
+ def ns_instance_name: () -> ::String
101
+ def nsd_info_id: () -> ::String
102
+ def tags: () -> ::Hash[::String, ::String]
103
+ end
104
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#create_sol_network_instance-instance_method
105
+ def create_sol_network_instance: (
106
+ ?ns_description: ::String,
107
+ ns_name: ::String,
108
+ nsd_info_id: ::String,
109
+ ?tags: Hash[::String, ::String]
110
+ ) -> _CreateSolNetworkInstanceResponseSuccess
111
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSolNetworkInstanceResponseSuccess
112
+
113
+ interface _CreateSolNetworkPackageResponseSuccess
114
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSolNetworkPackageOutput]
115
+ def arn: () -> ::String
116
+ def id: () -> ::String
117
+ def nsd_onboarding_state: () -> ("CREATED" | "ONBOARDED" | "ERROR")
118
+ def nsd_operational_state: () -> ("ENABLED" | "DISABLED")
119
+ def nsd_usage_state: () -> ("IN_USE" | "NOT_IN_USE")
120
+ def tags: () -> ::Hash[::String, ::String]
121
+ end
122
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#create_sol_network_package-instance_method
123
+ def create_sol_network_package: (
124
+ ?tags: Hash[::String, ::String]
125
+ ) -> _CreateSolNetworkPackageResponseSuccess
126
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSolNetworkPackageResponseSuccess
127
+
128
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#delete_sol_function_package-instance_method
129
+ def delete_sol_function_package: (
130
+ vnf_pkg_id: ::String
131
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
132
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
133
+
134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#delete_sol_network_instance-instance_method
135
+ def delete_sol_network_instance: (
136
+ ns_instance_id: ::String
137
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
138
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
139
+
140
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#delete_sol_network_package-instance_method
141
+ def delete_sol_network_package: (
142
+ nsd_info_id: ::String
143
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
144
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
145
+
146
+ interface _GetSolFunctionInstanceResponseSuccess
147
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSolFunctionInstanceOutput]
148
+ def arn: () -> ::String
149
+ def id: () -> ::String
150
+ def instantiated_vnf_info: () -> Types::GetSolVnfInfo
151
+ def instantiation_state: () -> ("INSTANTIATED" | "NOT_INSTANTIATED")
152
+ def metadata: () -> Types::GetSolFunctionInstanceMetadata
153
+ def ns_instance_id: () -> ::String
154
+ def tags: () -> ::Hash[::String, ::String]
155
+ def vnf_pkg_id: () -> ::String
156
+ def vnf_product_name: () -> ::String
157
+ def vnf_provider: () -> ::String
158
+ def vnfd_id: () -> ::String
159
+ def vnfd_version: () -> ::String
160
+ end
161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#get_sol_function_instance-instance_method
162
+ def get_sol_function_instance: (
163
+ vnf_instance_id: ::String
164
+ ) -> _GetSolFunctionInstanceResponseSuccess
165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSolFunctionInstanceResponseSuccess
166
+
167
+ interface _GetSolFunctionPackageResponseSuccess
168
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSolFunctionPackageOutput]
169
+ def arn: () -> ::String
170
+ def id: () -> ::String
171
+ def metadata: () -> Types::GetSolFunctionPackageMetadata
172
+ def onboarding_state: () -> ("CREATED" | "ONBOARDED" | "ERROR")
173
+ def operational_state: () -> ("ENABLED" | "DISABLED")
174
+ def tags: () -> ::Hash[::String, ::String]
175
+ def usage_state: () -> ("IN_USE" | "NOT_IN_USE")
176
+ def vnf_product_name: () -> ::String
177
+ def vnf_provider: () -> ::String
178
+ def vnfd_id: () -> ::String
179
+ def vnfd_version: () -> ::String
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#get_sol_function_package-instance_method
182
+ def get_sol_function_package: (
183
+ vnf_pkg_id: ::String
184
+ ) -> _GetSolFunctionPackageResponseSuccess
185
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSolFunctionPackageResponseSuccess
186
+
187
+ interface _GetSolFunctionPackageContentResponseSuccess
188
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSolFunctionPackageContentOutput]
189
+ def content_type: () -> ("application/zip")
190
+ def package_content: () -> ::String
191
+ end
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#get_sol_function_package_content-instance_method
193
+ def get_sol_function_package_content: (
194
+ accept: ("application/zip"),
195
+ vnf_pkg_id: ::String
196
+ ) -> _GetSolFunctionPackageContentResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSolFunctionPackageContentResponseSuccess
198
+
199
+ interface _GetSolFunctionPackageDescriptorResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSolFunctionPackageDescriptorOutput]
201
+ def content_type: () -> ("text/plain")
202
+ def vnfd: () -> ::String
203
+ end
204
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#get_sol_function_package_descriptor-instance_method
205
+ def get_sol_function_package_descriptor: (
206
+ accept: ("text/plain"),
207
+ vnf_pkg_id: ::String
208
+ ) -> _GetSolFunctionPackageDescriptorResponseSuccess
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSolFunctionPackageDescriptorResponseSuccess
210
+
211
+ interface _GetSolNetworkInstanceResponseSuccess
212
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSolNetworkInstanceOutput]
213
+ def arn: () -> ::String
214
+ def id: () -> ::String
215
+ def lcm_op_info: () -> Types::LcmOperationInfo
216
+ def metadata: () -> Types::GetSolNetworkInstanceMetadata
217
+ def ns_instance_description: () -> ::String
218
+ def ns_instance_name: () -> ::String
219
+ def ns_state: () -> ("INSTANTIATED" | "NOT_INSTANTIATED" | "IMPAIRED" | "STOPPED" | "DELETED" | "INSTANTIATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "TERMINATE_IN_PROGRESS")
220
+ def nsd_id: () -> ::String
221
+ def nsd_info_id: () -> ::String
222
+ def tags: () -> ::Hash[::String, ::String]
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#get_sol_network_instance-instance_method
225
+ def get_sol_network_instance: (
226
+ ns_instance_id: ::String
227
+ ) -> _GetSolNetworkInstanceResponseSuccess
228
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSolNetworkInstanceResponseSuccess
229
+
230
+ interface _GetSolNetworkOperationResponseSuccess
231
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSolNetworkOperationOutput]
232
+ def arn: () -> ::String
233
+ def id: () -> ::String
234
+ def lcm_operation_type: () -> ("INSTANTIATE" | "UPDATE" | "TERMINATE")
235
+ def metadata: () -> Types::GetSolNetworkOperationMetadata
236
+ def ns_instance_id: () -> ::String
237
+ def operation_state: () -> ("PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED")
238
+ def tags: () -> ::Hash[::String, ::String]
239
+ def tasks: () -> ::Array[Types::GetSolNetworkOperationTaskDetails]
240
+ end
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#get_sol_network_operation-instance_method
242
+ def get_sol_network_operation: (
243
+ ns_lcm_op_occ_id: ::String
244
+ ) -> _GetSolNetworkOperationResponseSuccess
245
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSolNetworkOperationResponseSuccess
246
+
247
+ interface _GetSolNetworkPackageResponseSuccess
248
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSolNetworkPackageOutput]
249
+ def arn: () -> ::String
250
+ def id: () -> ::String
251
+ def metadata: () -> Types::GetSolNetworkPackageMetadata
252
+ def nsd_id: () -> ::String
253
+ def nsd_name: () -> ::String
254
+ def nsd_onboarding_state: () -> ("CREATED" | "ONBOARDED" | "ERROR")
255
+ def nsd_operational_state: () -> ("ENABLED" | "DISABLED")
256
+ def nsd_usage_state: () -> ("IN_USE" | "NOT_IN_USE")
257
+ def nsd_version: () -> ::String
258
+ def tags: () -> ::Hash[::String, ::String]
259
+ def vnf_pkg_ids: () -> ::Array[::String]
260
+ end
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#get_sol_network_package-instance_method
262
+ def get_sol_network_package: (
263
+ nsd_info_id: ::String
264
+ ) -> _GetSolNetworkPackageResponseSuccess
265
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSolNetworkPackageResponseSuccess
266
+
267
+ interface _GetSolNetworkPackageContentResponseSuccess
268
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSolNetworkPackageContentOutput]
269
+ def content_type: () -> ("application/zip")
270
+ def nsd_content: () -> ::String
271
+ end
272
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#get_sol_network_package_content-instance_method
273
+ def get_sol_network_package_content: (
274
+ accept: ("application/zip"),
275
+ nsd_info_id: ::String
276
+ ) -> _GetSolNetworkPackageContentResponseSuccess
277
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSolNetworkPackageContentResponseSuccess
278
+
279
+ interface _GetSolNetworkPackageDescriptorResponseSuccess
280
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSolNetworkPackageDescriptorOutput]
281
+ def content_type: () -> ("text/plain")
282
+ def nsd: () -> ::String
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#get_sol_network_package_descriptor-instance_method
285
+ def get_sol_network_package_descriptor: (
286
+ nsd_info_id: ::String
287
+ ) -> _GetSolNetworkPackageDescriptorResponseSuccess
288
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSolNetworkPackageDescriptorResponseSuccess
289
+
290
+ interface _InstantiateSolNetworkInstanceResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::InstantiateSolNetworkInstanceOutput]
292
+ def ns_lcm_op_occ_id: () -> ::String
293
+ def tags: () -> ::Hash[::String, ::String]
294
+ end
295
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#instantiate_sol_network_instance-instance_method
296
+ def instantiate_sol_network_instance: (
297
+ ?additional_params_for_ns: {
298
+ },
299
+ ?dry_run: bool,
300
+ ns_instance_id: ::String,
301
+ ?tags: Hash[::String, ::String]
302
+ ) -> _InstantiateSolNetworkInstanceResponseSuccess
303
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InstantiateSolNetworkInstanceResponseSuccess
304
+
305
+ interface _ListSolFunctionInstancesResponseSuccess
306
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSolFunctionInstancesOutput]
307
+ def function_instances: () -> ::Array[Types::ListSolFunctionInstanceInfo]
308
+ def next_token: () -> ::String
309
+ end
310
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#list_sol_function_instances-instance_method
311
+ def list_sol_function_instances: (
312
+ ?max_results: ::Integer,
313
+ ?next_token: ::String
314
+ ) -> _ListSolFunctionInstancesResponseSuccess
315
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSolFunctionInstancesResponseSuccess
316
+
317
+ interface _ListSolFunctionPackagesResponseSuccess
318
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSolFunctionPackagesOutput]
319
+ def function_packages: () -> ::Array[Types::ListSolFunctionPackageInfo]
320
+ def next_token: () -> ::String
321
+ end
322
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#list_sol_function_packages-instance_method
323
+ def list_sol_function_packages: (
324
+ ?max_results: ::Integer,
325
+ ?next_token: ::String
326
+ ) -> _ListSolFunctionPackagesResponseSuccess
327
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSolFunctionPackagesResponseSuccess
328
+
329
+ interface _ListSolNetworkInstancesResponseSuccess
330
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSolNetworkInstancesOutput]
331
+ def network_instances: () -> ::Array[Types::ListSolNetworkInstanceInfo]
332
+ def next_token: () -> ::String
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#list_sol_network_instances-instance_method
335
+ def list_sol_network_instances: (
336
+ ?max_results: ::Integer,
337
+ ?next_token: ::String
338
+ ) -> _ListSolNetworkInstancesResponseSuccess
339
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSolNetworkInstancesResponseSuccess
340
+
341
+ interface _ListSolNetworkOperationsResponseSuccess
342
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSolNetworkOperationsOutput]
343
+ def network_operations: () -> ::Array[Types::ListSolNetworkOperationsInfo]
344
+ def next_token: () -> ::String
345
+ end
346
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#list_sol_network_operations-instance_method
347
+ def list_sol_network_operations: (
348
+ ?max_results: ::Integer,
349
+ ?next_token: ::String
350
+ ) -> _ListSolNetworkOperationsResponseSuccess
351
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSolNetworkOperationsResponseSuccess
352
+
353
+ interface _ListSolNetworkPackagesResponseSuccess
354
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSolNetworkPackagesOutput]
355
+ def network_packages: () -> ::Array[Types::ListSolNetworkPackageInfo]
356
+ def next_token: () -> ::String
357
+ end
358
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#list_sol_network_packages-instance_method
359
+ def list_sol_network_packages: (
360
+ ?max_results: ::Integer,
361
+ ?next_token: ::String
362
+ ) -> _ListSolNetworkPackagesResponseSuccess
363
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSolNetworkPackagesResponseSuccess
364
+
365
+ interface _ListTagsForResourceResponseSuccess
366
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
367
+ def tags: () -> ::Hash[::String, ::String]
368
+ end
369
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#list_tags_for_resource-instance_method
370
+ def list_tags_for_resource: (
371
+ resource_arn: ::String
372
+ ) -> _ListTagsForResourceResponseSuccess
373
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
374
+
375
+ interface _PutSolFunctionPackageContentResponseSuccess
376
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSolFunctionPackageContentOutput]
377
+ def id: () -> ::String
378
+ def metadata: () -> Types::PutSolFunctionPackageContentMetadata
379
+ def vnf_product_name: () -> ::String
380
+ def vnf_provider: () -> ::String
381
+ def vnfd_id: () -> ::String
382
+ def vnfd_version: () -> ::String
383
+ end
384
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#put_sol_function_package_content-instance_method
385
+ def put_sol_function_package_content: (
386
+ ?content_type: ("application/zip"),
387
+ file: ::String,
388
+ vnf_pkg_id: ::String
389
+ ) -> _PutSolFunctionPackageContentResponseSuccess
390
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSolFunctionPackageContentResponseSuccess
391
+
392
+ interface _PutSolNetworkPackageContentResponseSuccess
393
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSolNetworkPackageContentOutput]
394
+ def arn: () -> ::String
395
+ def id: () -> ::String
396
+ def metadata: () -> Types::PutSolNetworkPackageContentMetadata
397
+ def nsd_id: () -> ::String
398
+ def nsd_name: () -> ::String
399
+ def nsd_version: () -> ::String
400
+ def vnf_pkg_ids: () -> ::Array[::String]
401
+ end
402
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#put_sol_network_package_content-instance_method
403
+ def put_sol_network_package_content: (
404
+ ?content_type: ("application/zip"),
405
+ file: ::String,
406
+ nsd_info_id: ::String
407
+ ) -> _PutSolNetworkPackageContentResponseSuccess
408
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSolNetworkPackageContentResponseSuccess
409
+
410
+ interface _TagResourceResponseSuccess
411
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
412
+ end
413
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#tag_resource-instance_method
414
+ def tag_resource: (
415
+ resource_arn: ::String,
416
+ tags: Hash[::String, ::String]
417
+ ) -> _TagResourceResponseSuccess
418
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
419
+
420
+ interface _TerminateSolNetworkInstanceResponseSuccess
421
+ include ::Seahorse::Client::_ResponseSuccess[Types::TerminateSolNetworkInstanceOutput]
422
+ def ns_lcm_op_occ_id: () -> ::String
423
+ def tags: () -> ::Hash[::String, ::String]
424
+ end
425
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#terminate_sol_network_instance-instance_method
426
+ def terminate_sol_network_instance: (
427
+ ns_instance_id: ::String,
428
+ ?tags: Hash[::String, ::String]
429
+ ) -> _TerminateSolNetworkInstanceResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TerminateSolNetworkInstanceResponseSuccess
431
+
432
+ interface _UntagResourceResponseSuccess
433
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
434
+ end
435
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#untag_resource-instance_method
436
+ def untag_resource: (
437
+ resource_arn: ::String,
438
+ tag_keys: Array[::String]
439
+ ) -> _UntagResourceResponseSuccess
440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
441
+
442
+ interface _UpdateSolFunctionPackageResponseSuccess
443
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSolFunctionPackageOutput]
444
+ def operational_state: () -> ("ENABLED" | "DISABLED")
445
+ end
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#update_sol_function_package-instance_method
447
+ def update_sol_function_package: (
448
+ operational_state: ("ENABLED" | "DISABLED"),
449
+ vnf_pkg_id: ::String
450
+ ) -> _UpdateSolFunctionPackageResponseSuccess
451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSolFunctionPackageResponseSuccess
452
+
453
+ interface _UpdateSolNetworkInstanceResponseSuccess
454
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSolNetworkInstanceOutput]
455
+ def ns_lcm_op_occ_id: () -> ::String
456
+ def tags: () -> ::Hash[::String, ::String]
457
+ end
458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#update_sol_network_instance-instance_method
459
+ def update_sol_network_instance: (
460
+ ?modify_vnf_info_data: {
461
+ vnf_configurable_properties: {
462
+ },
463
+ vnf_instance_id: ::String
464
+ },
465
+ ns_instance_id: ::String,
466
+ ?tags: Hash[::String, ::String],
467
+ update_type: ("MODIFY_VNF_INFORMATION")
468
+ ) -> _UpdateSolNetworkInstanceResponseSuccess
469
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSolNetworkInstanceResponseSuccess
470
+
471
+ interface _UpdateSolNetworkPackageResponseSuccess
472
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSolNetworkPackageOutput]
473
+ def nsd_operational_state: () -> ("ENABLED" | "DISABLED")
474
+ end
475
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#update_sol_network_package-instance_method
476
+ def update_sol_network_package: (
477
+ nsd_info_id: ::String,
478
+ nsd_operational_state: ("ENABLED" | "DISABLED")
479
+ ) -> _UpdateSolNetworkPackageResponseSuccess
480
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSolNetworkPackageResponseSuccess
481
+
482
+ interface _ValidateSolFunctionPackageContentResponseSuccess
483
+ include ::Seahorse::Client::_ResponseSuccess[Types::ValidateSolFunctionPackageContentOutput]
484
+ def id: () -> ::String
485
+ def metadata: () -> Types::ValidateSolFunctionPackageContentMetadata
486
+ def vnf_product_name: () -> ::String
487
+ def vnf_provider: () -> ::String
488
+ def vnfd_id: () -> ::String
489
+ def vnfd_version: () -> ::String
490
+ end
491
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#validate_sol_function_package_content-instance_method
492
+ def validate_sol_function_package_content: (
493
+ ?content_type: ("application/zip"),
494
+ file: ::String,
495
+ vnf_pkg_id: ::String
496
+ ) -> _ValidateSolFunctionPackageContentResponseSuccess
497
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateSolFunctionPackageContentResponseSuccess
498
+
499
+ interface _ValidateSolNetworkPackageContentResponseSuccess
500
+ include ::Seahorse::Client::_ResponseSuccess[Types::ValidateSolNetworkPackageContentOutput]
501
+ def arn: () -> ::String
502
+ def id: () -> ::String
503
+ def metadata: () -> Types::ValidateSolNetworkPackageContentMetadata
504
+ def nsd_id: () -> ::String
505
+ def nsd_name: () -> ::String
506
+ def nsd_version: () -> ::String
507
+ def vnf_pkg_ids: () -> ::Array[::String]
508
+ end
509
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Client.html#validate_sol_network_package_content-instance_method
510
+ def validate_sol_network_package_content: (
511
+ ?content_type: ("application/zip"),
512
+ file: ::String,
513
+ nsd_info_id: ::String
514
+ ) -> _ValidateSolNetworkPackageContentResponseSuccess
515
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateSolNetworkPackageContentResponseSuccess
516
+ end
517
+ end
518
+ end
519
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,34 @@
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 Tnb
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
+ end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ThrottlingException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ValidationException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ end
33
+ end
34
+ 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 Tnb
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Tnb/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