aws-sdk-efs 1.71.0 → 1.73.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,507 @@
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 EFS
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/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 _CreateAccessPointResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AccessPointDescription]
77
+ def client_token: () -> ::String
78
+ def name: () -> ::String
79
+ def tags: () -> ::Array[Types::Tag]
80
+ def access_point_id: () -> ::String
81
+ def access_point_arn: () -> ::String
82
+ def file_system_id: () -> ::String
83
+ def posix_user: () -> Types::PosixUser
84
+ def root_directory: () -> Types::RootDirectory
85
+ def owner_id: () -> ::String
86
+ def life_cycle_state: () -> ("creating" | "available" | "updating" | "deleting" | "deleted" | "error")
87
+ end
88
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#create_access_point-instance_method
89
+ def create_access_point: (
90
+ client_token: ::String,
91
+ ?tags: Array[
92
+ {
93
+ key: ::String,
94
+ value: ::String
95
+ },
96
+ ],
97
+ file_system_id: ::String,
98
+ ?posix_user: {
99
+ uid: ::Integer,
100
+ gid: ::Integer,
101
+ secondary_gids: Array[::Integer]?
102
+ },
103
+ ?root_directory: {
104
+ path: ::String?,
105
+ creation_info: {
106
+ owner_uid: ::Integer,
107
+ owner_gid: ::Integer,
108
+ permissions: ::String
109
+ }?
110
+ }
111
+ ) -> _CreateAccessPointResponseSuccess
112
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAccessPointResponseSuccess
113
+
114
+ interface _CreateFileSystemResponseSuccess
115
+ include ::Seahorse::Client::_ResponseSuccess[Types::FileSystemDescription]
116
+ def owner_id: () -> ::String
117
+ def creation_token: () -> ::String
118
+ def file_system_id: () -> ::String
119
+ def file_system_arn: () -> ::String
120
+ def creation_time: () -> ::Time
121
+ def life_cycle_state: () -> ("creating" | "available" | "updating" | "deleting" | "deleted" | "error")
122
+ def name: () -> ::String
123
+ def number_of_mount_targets: () -> ::Integer
124
+ def size_in_bytes: () -> Types::FileSystemSize
125
+ def performance_mode: () -> ("generalPurpose" | "maxIO")
126
+ def encrypted: () -> bool
127
+ def kms_key_id: () -> ::String
128
+ def throughput_mode: () -> ("bursting" | "provisioned" | "elastic")
129
+ def provisioned_throughput_in_mibps: () -> ::Float
130
+ def availability_zone_name: () -> ::String
131
+ def availability_zone_id: () -> ::String
132
+ def tags: () -> ::Array[Types::Tag]
133
+ def file_system_protection: () -> Types::FileSystemProtectionDescription
134
+ end
135
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#create_file_system-instance_method
136
+ def create_file_system: (
137
+ creation_token: ::String,
138
+ ?performance_mode: ("generalPurpose" | "maxIO"),
139
+ ?encrypted: bool,
140
+ ?kms_key_id: ::String,
141
+ ?throughput_mode: ("bursting" | "provisioned" | "elastic"),
142
+ ?provisioned_throughput_in_mibps: ::Float,
143
+ ?availability_zone_name: ::String,
144
+ ?backup: bool,
145
+ ?tags: Array[
146
+ {
147
+ key: ::String,
148
+ value: ::String
149
+ },
150
+ ]
151
+ ) -> _CreateFileSystemResponseSuccess
152
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFileSystemResponseSuccess
153
+
154
+ interface _CreateMountTargetResponseSuccess
155
+ include ::Seahorse::Client::_ResponseSuccess[Types::MountTargetDescription]
156
+ def owner_id: () -> ::String
157
+ def mount_target_id: () -> ::String
158
+ def file_system_id: () -> ::String
159
+ def subnet_id: () -> ::String
160
+ def life_cycle_state: () -> ("creating" | "available" | "updating" | "deleting" | "deleted" | "error")
161
+ def ip_address: () -> ::String
162
+ def network_interface_id: () -> ::String
163
+ def availability_zone_id: () -> ::String
164
+ def availability_zone_name: () -> ::String
165
+ def vpc_id: () -> ::String
166
+ end
167
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#create_mount_target-instance_method
168
+ def create_mount_target: (
169
+ file_system_id: ::String,
170
+ subnet_id: ::String,
171
+ ?ip_address: ::String,
172
+ ?security_groups: Array[::String]
173
+ ) -> _CreateMountTargetResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMountTargetResponseSuccess
175
+
176
+ interface _CreateReplicationConfigurationResponseSuccess
177
+ include ::Seahorse::Client::_ResponseSuccess[Types::ReplicationConfigurationDescription]
178
+ def source_file_system_id: () -> ::String
179
+ def source_file_system_region: () -> ::String
180
+ def source_file_system_arn: () -> ::String
181
+ def original_source_file_system_arn: () -> ::String
182
+ def creation_time: () -> ::Time
183
+ def destinations: () -> ::Array[Types::Destination]
184
+ end
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#create_replication_configuration-instance_method
186
+ def create_replication_configuration: (
187
+ source_file_system_id: ::String,
188
+ destinations: Array[
189
+ {
190
+ region: ::String?,
191
+ availability_zone_name: ::String?,
192
+ kms_key_id: ::String?,
193
+ file_system_id: ::String?
194
+ },
195
+ ]
196
+ ) -> _CreateReplicationConfigurationResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateReplicationConfigurationResponseSuccess
198
+
199
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#create_tags-instance_method
200
+ def create_tags: (
201
+ file_system_id: ::String,
202
+ tags: Array[
203
+ {
204
+ key: ::String,
205
+ value: ::String
206
+ },
207
+ ]
208
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
210
+
211
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#delete_access_point-instance_method
212
+ def delete_access_point: (
213
+ access_point_id: ::String
214
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
216
+
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#delete_file_system-instance_method
218
+ def delete_file_system: (
219
+ file_system_id: ::String
220
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
221
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
222
+
223
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#delete_file_system_policy-instance_method
224
+ def delete_file_system_policy: (
225
+ file_system_id: ::String
226
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
227
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
228
+
229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#delete_mount_target-instance_method
230
+ def delete_mount_target: (
231
+ mount_target_id: ::String
232
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
234
+
235
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#delete_replication_configuration-instance_method
236
+ def delete_replication_configuration: (
237
+ source_file_system_id: ::String
238
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
239
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
240
+
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#delete_tags-instance_method
242
+ def delete_tags: (
243
+ file_system_id: ::String,
244
+ tag_keys: Array[::String]
245
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
247
+
248
+ interface _DescribeAccessPointsResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccessPointsResponse]
250
+ def access_points: () -> ::Array[Types::AccessPointDescription]
251
+ def next_token: () -> ::String
252
+ end
253
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_access_points-instance_method
254
+ def describe_access_points: (
255
+ ?max_results: ::Integer,
256
+ ?next_token: ::String,
257
+ ?access_point_id: ::String,
258
+ ?file_system_id: ::String
259
+ ) -> _DescribeAccessPointsResponseSuccess
260
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccessPointsResponseSuccess
261
+
262
+ interface _DescribeAccountPreferencesResponseSuccess
263
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountPreferencesResponse]
264
+ def resource_id_preference: () -> Types::ResourceIdPreference
265
+ def next_token: () -> ::String
266
+ end
267
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_account_preferences-instance_method
268
+ def describe_account_preferences: (
269
+ ?next_token: ::String,
270
+ ?max_results: ::Integer
271
+ ) -> _DescribeAccountPreferencesResponseSuccess
272
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountPreferencesResponseSuccess
273
+
274
+ interface _DescribeBackupPolicyResponseSuccess
275
+ include ::Seahorse::Client::_ResponseSuccess[Types::BackupPolicyDescription]
276
+ def backup_policy: () -> Types::BackupPolicy
277
+ end
278
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_backup_policy-instance_method
279
+ def describe_backup_policy: (
280
+ file_system_id: ::String
281
+ ) -> _DescribeBackupPolicyResponseSuccess
282
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBackupPolicyResponseSuccess
283
+
284
+ interface _DescribeFileSystemPolicyResponseSuccess
285
+ include ::Seahorse::Client::_ResponseSuccess[Types::FileSystemPolicyDescription]
286
+ def file_system_id: () -> ::String
287
+ def policy: () -> ::String
288
+ end
289
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_file_system_policy-instance_method
290
+ def describe_file_system_policy: (
291
+ file_system_id: ::String
292
+ ) -> _DescribeFileSystemPolicyResponseSuccess
293
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFileSystemPolicyResponseSuccess
294
+
295
+ interface _DescribeFileSystemsResponseSuccess
296
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFileSystemsResponse]
297
+ def marker: () -> ::String
298
+ def file_systems: () -> ::Array[Types::FileSystemDescription]
299
+ def next_marker: () -> ::String
300
+ end
301
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_file_systems-instance_method
302
+ def describe_file_systems: (
303
+ ?max_items: ::Integer,
304
+ ?marker: ::String,
305
+ ?creation_token: ::String,
306
+ ?file_system_id: ::String
307
+ ) -> _DescribeFileSystemsResponseSuccess
308
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFileSystemsResponseSuccess
309
+
310
+ interface _DescribeLifecycleConfigurationResponseSuccess
311
+ include ::Seahorse::Client::_ResponseSuccess[Types::LifecycleConfigurationDescription]
312
+ def lifecycle_policies: () -> ::Array[Types::LifecyclePolicy]
313
+ end
314
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_lifecycle_configuration-instance_method
315
+ def describe_lifecycle_configuration: (
316
+ file_system_id: ::String
317
+ ) -> _DescribeLifecycleConfigurationResponseSuccess
318
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLifecycleConfigurationResponseSuccess
319
+
320
+ interface _DescribeMountTargetSecurityGroupsResponseSuccess
321
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMountTargetSecurityGroupsResponse]
322
+ def security_groups: () -> ::Array[::String]
323
+ end
324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_mount_target_security_groups-instance_method
325
+ def describe_mount_target_security_groups: (
326
+ mount_target_id: ::String
327
+ ) -> _DescribeMountTargetSecurityGroupsResponseSuccess
328
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMountTargetSecurityGroupsResponseSuccess
329
+
330
+ interface _DescribeMountTargetsResponseSuccess
331
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMountTargetsResponse]
332
+ def marker: () -> ::String
333
+ def mount_targets: () -> ::Array[Types::MountTargetDescription]
334
+ def next_marker: () -> ::String
335
+ end
336
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_mount_targets-instance_method
337
+ def describe_mount_targets: (
338
+ ?max_items: ::Integer,
339
+ ?marker: ::String,
340
+ ?file_system_id: ::String,
341
+ ?mount_target_id: ::String,
342
+ ?access_point_id: ::String
343
+ ) -> _DescribeMountTargetsResponseSuccess
344
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMountTargetsResponseSuccess
345
+
346
+ interface _DescribeReplicationConfigurationsResponseSuccess
347
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeReplicationConfigurationsResponse]
348
+ def replications: () -> ::Array[Types::ReplicationConfigurationDescription]
349
+ def next_token: () -> ::String
350
+ end
351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_replication_configurations-instance_method
352
+ def describe_replication_configurations: (
353
+ ?file_system_id: ::String,
354
+ ?next_token: ::String,
355
+ ?max_results: ::Integer
356
+ ) -> _DescribeReplicationConfigurationsResponseSuccess
357
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeReplicationConfigurationsResponseSuccess
358
+
359
+ interface _DescribeTagsResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTagsResponse]
361
+ def marker: () -> ::String
362
+ def tags: () -> ::Array[Types::Tag]
363
+ def next_marker: () -> ::String
364
+ end
365
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#describe_tags-instance_method
366
+ def describe_tags: (
367
+ ?max_items: ::Integer,
368
+ ?marker: ::String,
369
+ file_system_id: ::String
370
+ ) -> _DescribeTagsResponseSuccess
371
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTagsResponseSuccess
372
+
373
+ interface _ListTagsForResourceResponseSuccess
374
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
375
+ def tags: () -> ::Array[Types::Tag]
376
+ def next_token: () -> ::String
377
+ end
378
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#list_tags_for_resource-instance_method
379
+ def list_tags_for_resource: (
380
+ resource_id: ::String,
381
+ ?max_results: ::Integer,
382
+ ?next_token: ::String
383
+ ) -> _ListTagsForResourceResponseSuccess
384
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
385
+
386
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#modify_mount_target_security_groups-instance_method
387
+ def modify_mount_target_security_groups: (
388
+ mount_target_id: ::String,
389
+ ?security_groups: Array[::String]
390
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
391
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
392
+
393
+ interface _PutAccountPreferencesResponseSuccess
394
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountPreferencesResponse]
395
+ def resource_id_preference: () -> Types::ResourceIdPreference
396
+ end
397
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#put_account_preferences-instance_method
398
+ def put_account_preferences: (
399
+ resource_id_type: ("LONG_ID" | "SHORT_ID")
400
+ ) -> _PutAccountPreferencesResponseSuccess
401
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountPreferencesResponseSuccess
402
+
403
+ interface _PutBackupPolicyResponseSuccess
404
+ include ::Seahorse::Client::_ResponseSuccess[Types::BackupPolicyDescription]
405
+ def backup_policy: () -> Types::BackupPolicy
406
+ end
407
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#put_backup_policy-instance_method
408
+ def put_backup_policy: (
409
+ file_system_id: ::String,
410
+ backup_policy: {
411
+ status: ("ENABLED" | "ENABLING" | "DISABLED" | "DISABLING")
412
+ }
413
+ ) -> _PutBackupPolicyResponseSuccess
414
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutBackupPolicyResponseSuccess
415
+
416
+ interface _PutFileSystemPolicyResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::FileSystemPolicyDescription]
418
+ def file_system_id: () -> ::String
419
+ def policy: () -> ::String
420
+ end
421
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#put_file_system_policy-instance_method
422
+ def put_file_system_policy: (
423
+ file_system_id: ::String,
424
+ policy: ::String,
425
+ ?bypass_policy_lockout_safety_check: bool
426
+ ) -> _PutFileSystemPolicyResponseSuccess
427
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutFileSystemPolicyResponseSuccess
428
+
429
+ interface _PutLifecycleConfigurationResponseSuccess
430
+ include ::Seahorse::Client::_ResponseSuccess[Types::LifecycleConfigurationDescription]
431
+ def lifecycle_policies: () -> ::Array[Types::LifecyclePolicy]
432
+ end
433
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#put_lifecycle_configuration-instance_method
434
+ def put_lifecycle_configuration: (
435
+ file_system_id: ::String,
436
+ lifecycle_policies: Array[
437
+ {
438
+ transition_to_ia: ("AFTER_7_DAYS" | "AFTER_14_DAYS" | "AFTER_30_DAYS" | "AFTER_60_DAYS" | "AFTER_90_DAYS" | "AFTER_1_DAY" | "AFTER_180_DAYS" | "AFTER_270_DAYS" | "AFTER_365_DAYS")?,
439
+ transition_to_primary_storage_class: ("AFTER_1_ACCESS")?,
440
+ transition_to_archive: ("AFTER_1_DAY" | "AFTER_7_DAYS" | "AFTER_14_DAYS" | "AFTER_30_DAYS" | "AFTER_60_DAYS" | "AFTER_90_DAYS" | "AFTER_180_DAYS" | "AFTER_270_DAYS" | "AFTER_365_DAYS")?
441
+ },
442
+ ]
443
+ ) -> _PutLifecycleConfigurationResponseSuccess
444
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLifecycleConfigurationResponseSuccess
445
+
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#tag_resource-instance_method
447
+ def tag_resource: (
448
+ resource_id: ::String,
449
+ tags: Array[
450
+ {
451
+ key: ::String,
452
+ value: ::String
453
+ },
454
+ ]
455
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
456
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
457
+
458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#untag_resource-instance_method
459
+ def untag_resource: (
460
+ resource_id: ::String,
461
+ tag_keys: Array[::String]
462
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
463
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
464
+
465
+ interface _UpdateFileSystemResponseSuccess
466
+ include ::Seahorse::Client::_ResponseSuccess[Types::FileSystemDescription]
467
+ def owner_id: () -> ::String
468
+ def creation_token: () -> ::String
469
+ def file_system_id: () -> ::String
470
+ def file_system_arn: () -> ::String
471
+ def creation_time: () -> ::Time
472
+ def life_cycle_state: () -> ("creating" | "available" | "updating" | "deleting" | "deleted" | "error")
473
+ def name: () -> ::String
474
+ def number_of_mount_targets: () -> ::Integer
475
+ def size_in_bytes: () -> Types::FileSystemSize
476
+ def performance_mode: () -> ("generalPurpose" | "maxIO")
477
+ def encrypted: () -> bool
478
+ def kms_key_id: () -> ::String
479
+ def throughput_mode: () -> ("bursting" | "provisioned" | "elastic")
480
+ def provisioned_throughput_in_mibps: () -> ::Float
481
+ def availability_zone_name: () -> ::String
482
+ def availability_zone_id: () -> ::String
483
+ def tags: () -> ::Array[Types::Tag]
484
+ def file_system_protection: () -> Types::FileSystemProtectionDescription
485
+ end
486
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#update_file_system-instance_method
487
+ def update_file_system: (
488
+ file_system_id: ::String,
489
+ ?throughput_mode: ("bursting" | "provisioned" | "elastic"),
490
+ ?provisioned_throughput_in_mibps: ::Float
491
+ ) -> _UpdateFileSystemResponseSuccess
492
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFileSystemResponseSuccess
493
+
494
+ interface _UpdateFileSystemProtectionResponseSuccess
495
+ include ::Seahorse::Client::_ResponseSuccess[Types::FileSystemProtectionDescription]
496
+ def replication_overwrite_protection: () -> ("ENABLED" | "DISABLED" | "REPLICATING")
497
+ end
498
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#update_file_system_protection-instance_method
499
+ def update_file_system_protection: (
500
+ file_system_id: ::String,
501
+ ?replication_overwrite_protection: ("ENABLED" | "DISABLED" | "REPLICATING")
502
+ ) -> _UpdateFileSystemProtectionResponseSuccess
503
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFileSystemProtectionResponseSuccess
504
+ end
505
+ end
506
+ end
507
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,146 @@
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 EFS
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessPointAlreadyExists < ::Aws::Errors::ServiceError
15
+ def error_code: () -> ::String
16
+ def message: () -> ::String
17
+ def access_point_id: () -> ::String
18
+ end
19
+ class AccessPointLimitExceeded < ::Aws::Errors::ServiceError
20
+ def error_code: () -> ::String
21
+ def message: () -> ::String
22
+ end
23
+ class AccessPointNotFound < ::Aws::Errors::ServiceError
24
+ def error_code: () -> ::String
25
+ def message: () -> ::String
26
+ end
27
+ class AvailabilityZonesMismatch < ::Aws::Errors::ServiceError
28
+ def error_code: () -> ::String
29
+ def message: () -> ::String
30
+ end
31
+ class BadRequest < ::Aws::Errors::ServiceError
32
+ def error_code: () -> ::String
33
+ def message: () -> ::String
34
+ end
35
+ class ConflictException < ::Aws::Errors::ServiceError
36
+ def error_code: () -> ::String
37
+ def message: () -> ::String
38
+ end
39
+ class DependencyTimeout < ::Aws::Errors::ServiceError
40
+ def error_code: () -> ::String
41
+ def message: () -> ::String
42
+ end
43
+ class FileSystemAlreadyExists < ::Aws::Errors::ServiceError
44
+ def error_code: () -> ::String
45
+ def message: () -> ::String
46
+ def file_system_id: () -> ::String
47
+ end
48
+ class FileSystemInUse < ::Aws::Errors::ServiceError
49
+ def error_code: () -> ::String
50
+ def message: () -> ::String
51
+ end
52
+ class FileSystemLimitExceeded < ::Aws::Errors::ServiceError
53
+ def error_code: () -> ::String
54
+ def message: () -> ::String
55
+ end
56
+ class FileSystemNotFound < ::Aws::Errors::ServiceError
57
+ def error_code: () -> ::String
58
+ def message: () -> ::String
59
+ end
60
+ class IncorrectFileSystemLifeCycleState < ::Aws::Errors::ServiceError
61
+ def error_code: () -> ::String
62
+ def message: () -> ::String
63
+ end
64
+ class IncorrectMountTargetState < ::Aws::Errors::ServiceError
65
+ def error_code: () -> ::String
66
+ def message: () -> ::String
67
+ end
68
+ class InsufficientThroughputCapacity < ::Aws::Errors::ServiceError
69
+ def error_code: () -> ::String
70
+ def message: () -> ::String
71
+ end
72
+ class InternalServerError < ::Aws::Errors::ServiceError
73
+ def error_code: () -> ::String
74
+ def message: () -> ::String
75
+ end
76
+ class InvalidPolicyException < ::Aws::Errors::ServiceError
77
+ def error_code: () -> ::String
78
+ def message: () -> ::String
79
+ end
80
+ class IpAddressInUse < ::Aws::Errors::ServiceError
81
+ def error_code: () -> ::String
82
+ def message: () -> ::String
83
+ end
84
+ class MountTargetConflict < ::Aws::Errors::ServiceError
85
+ def error_code: () -> ::String
86
+ def message: () -> ::String
87
+ end
88
+ class MountTargetNotFound < ::Aws::Errors::ServiceError
89
+ def error_code: () -> ::String
90
+ def message: () -> ::String
91
+ end
92
+ class NetworkInterfaceLimitExceeded < ::Aws::Errors::ServiceError
93
+ def error_code: () -> ::String
94
+ def message: () -> ::String
95
+ end
96
+ class NoFreeAddressesInSubnet < ::Aws::Errors::ServiceError
97
+ def error_code: () -> ::String
98
+ def message: () -> ::String
99
+ end
100
+ class PolicyNotFound < ::Aws::Errors::ServiceError
101
+ def error_code: () -> ::String
102
+ def message: () -> ::String
103
+ end
104
+ class ReplicationAlreadyExists < ::Aws::Errors::ServiceError
105
+ def error_code: () -> ::String
106
+ def message: () -> ::String
107
+ end
108
+ class ReplicationNotFound < ::Aws::Errors::ServiceError
109
+ def error_code: () -> ::String
110
+ def message: () -> ::String
111
+ end
112
+ class SecurityGroupLimitExceeded < ::Aws::Errors::ServiceError
113
+ def error_code: () -> ::String
114
+ def message: () -> ::String
115
+ end
116
+ class SecurityGroupNotFound < ::Aws::Errors::ServiceError
117
+ def error_code: () -> ::String
118
+ def message: () -> ::String
119
+ end
120
+ class SubnetNotFound < ::Aws::Errors::ServiceError
121
+ def error_code: () -> ::String
122
+ def message: () -> ::String
123
+ end
124
+ class ThrottlingException < ::Aws::Errors::ServiceError
125
+ def error_code: () -> ::String
126
+ def message: () -> ::String
127
+ end
128
+ class ThroughputLimitExceeded < ::Aws::Errors::ServiceError
129
+ def error_code: () -> ::String
130
+ def message: () -> ::String
131
+ end
132
+ class TooManyRequests < ::Aws::Errors::ServiceError
133
+ def error_code: () -> ::String
134
+ def message: () -> ::String
135
+ end
136
+ class UnsupportedAvailabilityZone < ::Aws::Errors::ServiceError
137
+ def error_code: () -> ::String
138
+ def message: () -> ::String
139
+ end
140
+ class ValidationException < ::Aws::Errors::ServiceError
141
+ def error_code: () -> ::String
142
+ def message: () -> ::String
143
+ end
144
+ end
145
+ end
146
+ end