aws-sdk-s3files 1.0.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.
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::S3Files
13
+ module Waiters
14
+ end
15
+ end
@@ -0,0 +1,62 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:s3files)
15
+
16
+ # This module provides support for Amazon S3 Files. This module is available in the
17
+ # `aws-sdk-s3files` gem.
18
+ #
19
+ # # Client
20
+ #
21
+ # The {Client} class provides one method for each API operation. Operation
22
+ # methods each accept a hash of request parameters and return a response
23
+ # structure.
24
+ #
25
+ # s3_files = Aws::S3Files::Client.new
26
+ # resp = s3_files.create_access_point(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from Amazon S3 Files are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::S3Files::Errors::ServiceError
38
+ # # rescues all Amazon S3 Files API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::S3Files
45
+ autoload :Types, 'aws-sdk-s3files/types'
46
+ autoload :ClientApi, 'aws-sdk-s3files/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-s3files/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-s3files/client'
51
+ autoload :Errors, 'aws-sdk-s3files/errors'
52
+ autoload :Waiters, 'aws-sdk-s3files/waiters'
53
+ autoload :Resource, 'aws-sdk-s3files/resource'
54
+ autoload :EndpointParameters, 'aws-sdk-s3files/endpoint_parameters'
55
+ autoload :EndpointProvider, 'aws-sdk-s3files/endpoint_provider'
56
+ autoload :Endpoints, 'aws-sdk-s3files/endpoints'
57
+
58
+ GEM_VERSION = '1.0.0'
59
+
60
+ end
61
+
62
+ require_relative 'aws-sdk-s3files/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,417 @@
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 S3Files
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> instance
78
+ | (?Hash[Symbol, untyped]) -> instance
79
+
80
+
81
+ interface _CreateAccessPointResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAccessPointResponse]
83
+ def access_point_arn: () -> ::String
84
+ def access_point_id: () -> ::String
85
+ def client_token: () -> ::String
86
+ def file_system_id: () -> ::String
87
+ def status: () -> ("available" | "creating" | "deleting" | "deleted" | "error" | "updating")
88
+ def owner_id: () -> ::String
89
+ def posix_user: () -> Types::PosixUser
90
+ def root_directory: () -> Types::RootDirectory
91
+ def tags: () -> ::Array[Types::Tag]
92
+ def name: () -> ::String
93
+ end
94
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#create_access_point-instance_method
95
+ def create_access_point: (
96
+ ?client_token: ::String,
97
+ ?tags: Array[
98
+ {
99
+ key: ::String,
100
+ value: ::String
101
+ },
102
+ ],
103
+ file_system_id: ::String,
104
+ ?posix_user: {
105
+ uid: ::Integer,
106
+ gid: ::Integer,
107
+ secondary_gids: Array[::Integer]?
108
+ },
109
+ ?root_directory: {
110
+ path: ::String?,
111
+ creation_permissions: {
112
+ owner_uid: ::Integer,
113
+ owner_gid: ::Integer,
114
+ permissions: ::String
115
+ }?
116
+ }
117
+ ) -> _CreateAccessPointResponseSuccess
118
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAccessPointResponseSuccess
119
+
120
+ interface _CreateFileSystemResponseSuccess
121
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFileSystemResponse]
122
+ def creation_time: () -> ::Time
123
+ def file_system_arn: () -> ::String
124
+ def file_system_id: () -> ::String
125
+ def bucket: () -> ::String
126
+ def prefix: () -> ::String
127
+ def client_token: () -> ::String
128
+ def kms_key_id: () -> ::String
129
+ def status: () -> ("available" | "creating" | "deleting" | "deleted" | "error" | "updating")
130
+ def status_message: () -> ::String
131
+ def role_arn: () -> ::String
132
+ def owner_id: () -> ::String
133
+ def tags: () -> ::Array[Types::Tag]
134
+ def name: () -> ::String
135
+ end
136
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#create_file_system-instance_method
137
+ def create_file_system: (
138
+ bucket: ::String,
139
+ ?prefix: ::String,
140
+ ?client_token: ::String,
141
+ ?kms_key_id: ::String,
142
+ role_arn: ::String,
143
+ ?tags: Array[
144
+ {
145
+ key: ::String,
146
+ value: ::String
147
+ },
148
+ ],
149
+ ?accept_bucket_warning: bool
150
+ ) -> _CreateFileSystemResponseSuccess
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFileSystemResponseSuccess
152
+
153
+ interface _CreateMountTargetResponseSuccess
154
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMountTargetResponse]
155
+ def availability_zone_id: () -> ::String
156
+ def owner_id: () -> ::String
157
+ def mount_target_id: () -> ::String
158
+ def file_system_id: () -> ::String
159
+ def subnet_id: () -> ::String
160
+ def ipv4_address: () -> ::String
161
+ def ipv6_address: () -> ::String
162
+ def network_interface_id: () -> ::String
163
+ def vpc_id: () -> ::String
164
+ def security_groups: () -> ::Array[::String]
165
+ def status: () -> ("available" | "creating" | "deleting" | "deleted" | "error" | "updating")
166
+ def status_message: () -> ::String
167
+ end
168
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#create_mount_target-instance_method
169
+ def create_mount_target: (
170
+ file_system_id: ::String,
171
+ subnet_id: ::String,
172
+ ?ipv4_address: ::String,
173
+ ?ipv6_address: ::String,
174
+ ?ip_address_type: ("IPV4_ONLY" | "IPV6_ONLY" | "DUAL_STACK"),
175
+ ?security_groups: Array[::String]
176
+ ) -> _CreateMountTargetResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMountTargetResponseSuccess
178
+
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#delete_access_point-instance_method
180
+ def delete_access_point: (
181
+ access_point_id: ::String
182
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
183
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
184
+
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#delete_file_system-instance_method
186
+ def delete_file_system: (
187
+ file_system_id: ::String,
188
+ ?force_delete: bool
189
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
190
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
191
+
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#delete_file_system_policy-instance_method
193
+ def delete_file_system_policy: (
194
+ file_system_id: ::String
195
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
197
+
198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#delete_mount_target-instance_method
199
+ def delete_mount_target: (
200
+ mount_target_id: ::String
201
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
202
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
203
+
204
+ interface _GetAccessPointResponseSuccess
205
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccessPointResponse]
206
+ def access_point_arn: () -> ::String
207
+ def access_point_id: () -> ::String
208
+ def client_token: () -> ::String
209
+ def file_system_id: () -> ::String
210
+ def status: () -> ("available" | "creating" | "deleting" | "deleted" | "error" | "updating")
211
+ def owner_id: () -> ::String
212
+ def posix_user: () -> Types::PosixUser
213
+ def root_directory: () -> Types::RootDirectory
214
+ def tags: () -> ::Array[Types::Tag]
215
+ def name: () -> ::String
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#get_access_point-instance_method
218
+ def get_access_point: (
219
+ access_point_id: ::String
220
+ ) -> _GetAccessPointResponseSuccess
221
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccessPointResponseSuccess
222
+
223
+ interface _GetFileSystemResponseSuccess
224
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFileSystemResponse]
225
+ def creation_time: () -> ::Time
226
+ def file_system_arn: () -> ::String
227
+ def file_system_id: () -> ::String
228
+ def bucket: () -> ::String
229
+ def prefix: () -> ::String
230
+ def client_token: () -> ::String
231
+ def kms_key_id: () -> ::String
232
+ def status: () -> ("available" | "creating" | "deleting" | "deleted" | "error" | "updating")
233
+ def status_message: () -> ::String
234
+ def role_arn: () -> ::String
235
+ def owner_id: () -> ::String
236
+ def tags: () -> ::Array[Types::Tag]
237
+ def name: () -> ::String
238
+ end
239
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#get_file_system-instance_method
240
+ def get_file_system: (
241
+ file_system_id: ::String
242
+ ) -> _GetFileSystemResponseSuccess
243
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFileSystemResponseSuccess
244
+
245
+ interface _GetFileSystemPolicyResponseSuccess
246
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFileSystemPolicyResponse]
247
+ def file_system_id: () -> ::String
248
+ def policy: () -> ::String
249
+ end
250
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#get_file_system_policy-instance_method
251
+ def get_file_system_policy: (
252
+ file_system_id: ::String
253
+ ) -> _GetFileSystemPolicyResponseSuccess
254
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFileSystemPolicyResponseSuccess
255
+
256
+ interface _GetMountTargetResponseSuccess
257
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMountTargetResponse]
258
+ def availability_zone_id: () -> ::String
259
+ def owner_id: () -> ::String
260
+ def mount_target_id: () -> ::String
261
+ def file_system_id: () -> ::String
262
+ def subnet_id: () -> ::String
263
+ def ipv4_address: () -> ::String
264
+ def ipv6_address: () -> ::String
265
+ def network_interface_id: () -> ::String
266
+ def vpc_id: () -> ::String
267
+ def security_groups: () -> ::Array[::String]
268
+ def status: () -> ("available" | "creating" | "deleting" | "deleted" | "error" | "updating")
269
+ def status_message: () -> ::String
270
+ end
271
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#get_mount_target-instance_method
272
+ def get_mount_target: (
273
+ mount_target_id: ::String
274
+ ) -> _GetMountTargetResponseSuccess
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMountTargetResponseSuccess
276
+
277
+ interface _GetSynchronizationConfigurationResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSynchronizationConfigurationResponse]
279
+ def latest_version_number: () -> ::Integer
280
+ def import_data_rules: () -> ::Array[Types::ImportDataRule]
281
+ def expiration_data_rules: () -> ::Array[Types::ExpirationDataRule]
282
+ end
283
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#get_synchronization_configuration-instance_method
284
+ def get_synchronization_configuration: (
285
+ file_system_id: ::String
286
+ ) -> _GetSynchronizationConfigurationResponseSuccess
287
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSynchronizationConfigurationResponseSuccess
288
+
289
+ interface _ListAccessPointsResponseSuccess
290
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAccessPointsResponse]
291
+ def next_token: () -> ::String
292
+ def access_points: () -> ::Array[Types::ListAccessPointsDescription]
293
+ end
294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#list_access_points-instance_method
295
+ def list_access_points: (
296
+ file_system_id: ::String,
297
+ ?max_results: ::Integer,
298
+ ?next_token: ::String
299
+ ) -> _ListAccessPointsResponseSuccess
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccessPointsResponseSuccess
301
+
302
+ interface _ListFileSystemsResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFileSystemsResponse]
304
+ def next_token: () -> ::String
305
+ def file_systems: () -> ::Array[Types::ListFileSystemsDescription]
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#list_file_systems-instance_method
308
+ def list_file_systems: (
309
+ ?bucket: ::String,
310
+ ?max_results: ::Integer,
311
+ ?next_token: ::String
312
+ ) -> _ListFileSystemsResponseSuccess
313
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFileSystemsResponseSuccess
314
+
315
+ interface _ListMountTargetsResponseSuccess
316
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMountTargetsResponse]
317
+ def next_token: () -> ::String
318
+ def mount_targets: () -> ::Array[Types::ListMountTargetsDescription]
319
+ end
320
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#list_mount_targets-instance_method
321
+ def list_mount_targets: (
322
+ ?file_system_id: ::String,
323
+ ?access_point_id: ::String,
324
+ ?max_results: ::Integer,
325
+ ?next_token: ::String
326
+ ) -> _ListMountTargetsResponseSuccess
327
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMountTargetsResponseSuccess
328
+
329
+ interface _ListTagsForResourceResponseSuccess
330
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
331
+ def tags: () -> ::Array[Types::Tag]
332
+ def next_token: () -> ::String
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#list_tags_for_resource-instance_method
335
+ def list_tags_for_resource: (
336
+ resource_id: ::String,
337
+ ?max_results: ::Integer,
338
+ ?next_token: ::String
339
+ ) -> _ListTagsForResourceResponseSuccess
340
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
341
+
342
+ interface _PutFileSystemPolicyResponseSuccess
343
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutFileSystemPolicyResponse]
344
+ end
345
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#put_file_system_policy-instance_method
346
+ def put_file_system_policy: (
347
+ file_system_id: ::String,
348
+ policy: ::String
349
+ ) -> _PutFileSystemPolicyResponseSuccess
350
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutFileSystemPolicyResponseSuccess
351
+
352
+ interface _PutSynchronizationConfigurationResponseSuccess
353
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSynchronizationConfigurationResponse]
354
+ end
355
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#put_synchronization_configuration-instance_method
356
+ def put_synchronization_configuration: (
357
+ file_system_id: ::String,
358
+ ?latest_version_number: ::Integer,
359
+ import_data_rules: Array[
360
+ {
361
+ prefix: ::String,
362
+ trigger: ("ON_DIRECTORY_FIRST_ACCESS" | "ON_FILE_ACCESS"),
363
+ size_less_than: ::Integer
364
+ },
365
+ ],
366
+ expiration_data_rules: Array[
367
+ {
368
+ days_after_last_access: ::Integer
369
+ },
370
+ ]
371
+ ) -> _PutSynchronizationConfigurationResponseSuccess
372
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSynchronizationConfigurationResponseSuccess
373
+
374
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#tag_resource-instance_method
375
+ def tag_resource: (
376
+ resource_id: ::String,
377
+ tags: Array[
378
+ {
379
+ key: ::String,
380
+ value: ::String
381
+ },
382
+ ]
383
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
384
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
385
+
386
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#untag_resource-instance_method
387
+ def untag_resource: (
388
+ resource_id: ::String,
389
+ tag_keys: 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 _UpdateMountTargetResponseSuccess
394
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMountTargetResponse]
395
+ def availability_zone_id: () -> ::String
396
+ def owner_id: () -> ::String
397
+ def mount_target_id: () -> ::String
398
+ def file_system_id: () -> ::String
399
+ def subnet_id: () -> ::String
400
+ def ipv4_address: () -> ::String
401
+ def ipv6_address: () -> ::String
402
+ def network_interface_id: () -> ::String
403
+ def vpc_id: () -> ::String
404
+ def security_groups: () -> ::Array[::String]
405
+ def status: () -> ("available" | "creating" | "deleting" | "deleted" | "error" | "updating")
406
+ def status_message: () -> ::String
407
+ end
408
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Client.html#update_mount_target-instance_method
409
+ def update_mount_target: (
410
+ mount_target_id: ::String,
411
+ security_groups: Array[::String]
412
+ ) -> _UpdateMountTargetResponseSuccess
413
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMountTargetResponseSuccess
414
+ end
415
+ end
416
+ end
417
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,42 @@
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 S3Files
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ConflictException < ::Aws::Errors::ServiceError
15
+ def error_code: () -> ::String
16
+ def message: () -> ::String
17
+ def resource_id: () -> ::String
18
+ def resource_type: () -> ::String
19
+ end
20
+ class InternalServerException < ::Aws::Errors::ServiceError
21
+ def error_code: () -> ::String
22
+ def message: () -> ::String
23
+ end
24
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
25
+ def error_code: () -> ::String
26
+ def message: () -> ::String
27
+ end
28
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
29
+ def error_code: () -> ::String
30
+ def message: () -> ::String
31
+ end
32
+ class ThrottlingException < ::Aws::Errors::ServiceError
33
+ def error_code: () -> ::String
34
+ def message: () -> ::String
35
+ end
36
+ class ValidationException < ::Aws::Errors::ServiceError
37
+ def error_code: () -> ::String
38
+ def message: () -> ::String
39
+ end
40
+ end
41
+ end
42
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,85 @@
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 S3Files
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Files/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> void
78
+ | (?Hash[Symbol, untyped]) -> void
79
+
80
+ def client: () -> Client
81
+
82
+
83
+ end
84
+ end
85
+ end