aws-sdk-datasync 1.70.0 → 1.72.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,1305 @@
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 DataSync
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/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
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _AddStorageSystemResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddStorageSystemResponse]
78
+ def storage_system_arn: () -> ::String
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#add_storage_system-instance_method
81
+ def add_storage_system: (
82
+ server_configuration: {
83
+ server_hostname: ::String,
84
+ server_port: ::Integer?
85
+ },
86
+ system_type: ("NetAppONTAP"),
87
+ agent_arns: Array[::String],
88
+ ?cloud_watch_log_group_arn: ::String,
89
+ ?tags: Array[
90
+ {
91
+ key: ::String,
92
+ value: ::String?
93
+ },
94
+ ],
95
+ ?name: ::String,
96
+ client_token: ::String,
97
+ credentials: {
98
+ username: ::String,
99
+ password: ::String
100
+ }
101
+ ) -> _AddStorageSystemResponseSuccess
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddStorageSystemResponseSuccess
103
+
104
+ interface _CancelTaskExecutionResponseSuccess
105
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelTaskExecutionResponse]
106
+ end
107
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#cancel_task_execution-instance_method
108
+ def cancel_task_execution: (
109
+ task_execution_arn: ::String
110
+ ) -> _CancelTaskExecutionResponseSuccess
111
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelTaskExecutionResponseSuccess
112
+
113
+ interface _CreateAgentResponseSuccess
114
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAgentResponse]
115
+ def agent_arn: () -> ::String
116
+ end
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_agent-instance_method
118
+ def create_agent: (
119
+ activation_key: ::String,
120
+ ?agent_name: ::String,
121
+ ?tags: Array[
122
+ {
123
+ key: ::String,
124
+ value: ::String?
125
+ },
126
+ ],
127
+ ?vpc_endpoint_id: ::String,
128
+ ?subnet_arns: Array[::String],
129
+ ?security_group_arns: Array[::String]
130
+ ) -> _CreateAgentResponseSuccess
131
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentResponseSuccess
132
+
133
+ interface _CreateLocationAzureBlobResponseSuccess
134
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationAzureBlobResponse]
135
+ def location_arn: () -> ::String
136
+ end
137
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_azure_blob-instance_method
138
+ def create_location_azure_blob: (
139
+ container_url: ::String,
140
+ authentication_type: ("SAS"),
141
+ ?sas_configuration: {
142
+ token: ::String
143
+ },
144
+ ?blob_type: ("BLOCK"),
145
+ ?access_tier: ("HOT" | "COOL" | "ARCHIVE"),
146
+ ?subdirectory: ::String,
147
+ agent_arns: Array[::String],
148
+ ?tags: Array[
149
+ {
150
+ key: ::String,
151
+ value: ::String?
152
+ },
153
+ ]
154
+ ) -> _CreateLocationAzureBlobResponseSuccess
155
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationAzureBlobResponseSuccess
156
+
157
+ interface _CreateLocationEfsResponseSuccess
158
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationEfsResponse]
159
+ def location_arn: () -> ::String
160
+ end
161
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_efs-instance_method
162
+ def create_location_efs: (
163
+ ?subdirectory: ::String,
164
+ efs_filesystem_arn: ::String,
165
+ ec2_config: {
166
+ subnet_arn: ::String,
167
+ security_group_arns: Array[::String]
168
+ },
169
+ ?tags: Array[
170
+ {
171
+ key: ::String,
172
+ value: ::String?
173
+ },
174
+ ],
175
+ ?access_point_arn: ::String,
176
+ ?file_system_access_role_arn: ::String,
177
+ ?in_transit_encryption: ("NONE" | "TLS1_2")
178
+ ) -> _CreateLocationEfsResponseSuccess
179
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationEfsResponseSuccess
180
+
181
+ interface _CreateLocationFsxLustreResponseSuccess
182
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationFsxLustreResponse]
183
+ def location_arn: () -> ::String
184
+ end
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_fsx_lustre-instance_method
186
+ def create_location_fsx_lustre: (
187
+ fsx_filesystem_arn: ::String,
188
+ security_group_arns: Array[::String],
189
+ ?subdirectory: ::String,
190
+ ?tags: Array[
191
+ {
192
+ key: ::String,
193
+ value: ::String?
194
+ },
195
+ ]
196
+ ) -> _CreateLocationFsxLustreResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationFsxLustreResponseSuccess
198
+
199
+ interface _CreateLocationFsxOntapResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationFsxOntapResponse]
201
+ def location_arn: () -> ::String
202
+ end
203
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_fsx_ontap-instance_method
204
+ def create_location_fsx_ontap: (
205
+ protocol: {
206
+ nfs: {
207
+ mount_options: {
208
+ version: ("AUTOMATIC" | "NFS3" | "NFS4_0" | "NFS4_1")?
209
+ }?
210
+ }?,
211
+ smb: {
212
+ domain: ::String?,
213
+ mount_options: {
214
+ version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
215
+ }?,
216
+ password: ::String,
217
+ user: ::String
218
+ }?
219
+ },
220
+ security_group_arns: Array[::String],
221
+ storage_virtual_machine_arn: ::String,
222
+ ?subdirectory: ::String,
223
+ ?tags: Array[
224
+ {
225
+ key: ::String,
226
+ value: ::String?
227
+ },
228
+ ]
229
+ ) -> _CreateLocationFsxOntapResponseSuccess
230
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationFsxOntapResponseSuccess
231
+
232
+ interface _CreateLocationFsxOpenZfsResponseSuccess
233
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationFsxOpenZfsResponse]
234
+ def location_arn: () -> ::String
235
+ end
236
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_fsx_open_zfs-instance_method
237
+ def create_location_fsx_open_zfs: (
238
+ fsx_filesystem_arn: ::String,
239
+ protocol: {
240
+ nfs: {
241
+ mount_options: {
242
+ version: ("AUTOMATIC" | "NFS3" | "NFS4_0" | "NFS4_1")?
243
+ }?
244
+ }?,
245
+ smb: {
246
+ domain: ::String?,
247
+ mount_options: {
248
+ version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
249
+ }?,
250
+ password: ::String,
251
+ user: ::String
252
+ }?
253
+ },
254
+ security_group_arns: Array[::String],
255
+ ?subdirectory: ::String,
256
+ ?tags: Array[
257
+ {
258
+ key: ::String,
259
+ value: ::String?
260
+ },
261
+ ]
262
+ ) -> _CreateLocationFsxOpenZfsResponseSuccess
263
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationFsxOpenZfsResponseSuccess
264
+
265
+ interface _CreateLocationFsxWindowsResponseSuccess
266
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationFsxWindowsResponse]
267
+ def location_arn: () -> ::String
268
+ end
269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_fsx_windows-instance_method
270
+ def create_location_fsx_windows: (
271
+ ?subdirectory: ::String,
272
+ fsx_filesystem_arn: ::String,
273
+ security_group_arns: Array[::String],
274
+ ?tags: Array[
275
+ {
276
+ key: ::String,
277
+ value: ::String?
278
+ },
279
+ ],
280
+ user: ::String,
281
+ ?domain: ::String,
282
+ password: ::String
283
+ ) -> _CreateLocationFsxWindowsResponseSuccess
284
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationFsxWindowsResponseSuccess
285
+
286
+ interface _CreateLocationHdfsResponseSuccess
287
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationHdfsResponse]
288
+ def location_arn: () -> ::String
289
+ end
290
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_hdfs-instance_method
291
+ def create_location_hdfs: (
292
+ ?subdirectory: ::String,
293
+ name_nodes: Array[
294
+ {
295
+ hostname: ::String,
296
+ port: ::Integer
297
+ },
298
+ ],
299
+ ?block_size: ::Integer,
300
+ ?replication_factor: ::Integer,
301
+ ?kms_key_provider_uri: ::String,
302
+ ?qop_configuration: {
303
+ rpc_protection: ("DISABLED" | "AUTHENTICATION" | "INTEGRITY" | "PRIVACY")?,
304
+ data_transfer_protection: ("DISABLED" | "AUTHENTICATION" | "INTEGRITY" | "PRIVACY")?
305
+ },
306
+ authentication_type: ("SIMPLE" | "KERBEROS"),
307
+ ?simple_user: ::String,
308
+ ?kerberos_principal: ::String,
309
+ ?kerberos_keytab: ::String,
310
+ ?kerberos_krb_5_conf: ::String,
311
+ agent_arns: Array[::String],
312
+ ?tags: Array[
313
+ {
314
+ key: ::String,
315
+ value: ::String?
316
+ },
317
+ ]
318
+ ) -> _CreateLocationHdfsResponseSuccess
319
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationHdfsResponseSuccess
320
+
321
+ interface _CreateLocationNfsResponseSuccess
322
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationNfsResponse]
323
+ def location_arn: () -> ::String
324
+ end
325
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_nfs-instance_method
326
+ def create_location_nfs: (
327
+ subdirectory: ::String,
328
+ server_hostname: ::String,
329
+ on_prem_config: {
330
+ agent_arns: Array[::String]
331
+ },
332
+ ?mount_options: {
333
+ version: ("AUTOMATIC" | "NFS3" | "NFS4_0" | "NFS4_1")?
334
+ },
335
+ ?tags: Array[
336
+ {
337
+ key: ::String,
338
+ value: ::String?
339
+ },
340
+ ]
341
+ ) -> _CreateLocationNfsResponseSuccess
342
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationNfsResponseSuccess
343
+
344
+ interface _CreateLocationObjectStorageResponseSuccess
345
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationObjectStorageResponse]
346
+ def location_arn: () -> ::String
347
+ end
348
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_object_storage-instance_method
349
+ def create_location_object_storage: (
350
+ server_hostname: ::String,
351
+ ?server_port: ::Integer,
352
+ ?server_protocol: ("HTTPS" | "HTTP"),
353
+ ?subdirectory: ::String,
354
+ bucket_name: ::String,
355
+ ?access_key: ::String,
356
+ ?secret_key: ::String,
357
+ agent_arns: Array[::String],
358
+ ?tags: Array[
359
+ {
360
+ key: ::String,
361
+ value: ::String?
362
+ },
363
+ ],
364
+ ?server_certificate: ::String
365
+ ) -> _CreateLocationObjectStorageResponseSuccess
366
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationObjectStorageResponseSuccess
367
+
368
+ interface _CreateLocationS3ResponseSuccess
369
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationS3Response]
370
+ def location_arn: () -> ::String
371
+ end
372
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_s3-instance_method
373
+ def create_location_s3: (
374
+ ?subdirectory: ::String,
375
+ s3_bucket_arn: ::String,
376
+ ?s3_storage_class: ("STANDARD" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_INSTANT_RETRIEVAL"),
377
+ s3_config: {
378
+ bucket_access_role_arn: ::String
379
+ },
380
+ ?agent_arns: Array[::String],
381
+ ?tags: Array[
382
+ {
383
+ key: ::String,
384
+ value: ::String?
385
+ },
386
+ ]
387
+ ) -> _CreateLocationS3ResponseSuccess
388
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationS3ResponseSuccess
389
+
390
+ interface _CreateLocationSmbResponseSuccess
391
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLocationSmbResponse]
392
+ def location_arn: () -> ::String
393
+ end
394
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_location_smb-instance_method
395
+ def create_location_smb: (
396
+ subdirectory: ::String,
397
+ server_hostname: ::String,
398
+ user: ::String,
399
+ ?domain: ::String,
400
+ password: ::String,
401
+ agent_arns: Array[::String],
402
+ ?mount_options: {
403
+ version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
404
+ },
405
+ ?tags: Array[
406
+ {
407
+ key: ::String,
408
+ value: ::String?
409
+ },
410
+ ]
411
+ ) -> _CreateLocationSmbResponseSuccess
412
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLocationSmbResponseSuccess
413
+
414
+ interface _CreateTaskResponseSuccess
415
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTaskResponse]
416
+ def task_arn: () -> ::String
417
+ end
418
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#create_task-instance_method
419
+ def create_task: (
420
+ source_location_arn: ::String,
421
+ destination_location_arn: ::String,
422
+ ?cloud_watch_log_group_arn: ::String,
423
+ ?name: ::String,
424
+ ?options: {
425
+ verify_mode: ("POINT_IN_TIME_CONSISTENT" | "ONLY_FILES_TRANSFERRED" | "NONE")?,
426
+ overwrite_mode: ("ALWAYS" | "NEVER")?,
427
+ atime: ("NONE" | "BEST_EFFORT")?,
428
+ mtime: ("NONE" | "PRESERVE")?,
429
+ uid: ("NONE" | "INT_VALUE" | "NAME" | "BOTH")?,
430
+ gid: ("NONE" | "INT_VALUE" | "NAME" | "BOTH")?,
431
+ preserve_deleted_files: ("PRESERVE" | "REMOVE")?,
432
+ preserve_devices: ("NONE" | "PRESERVE")?,
433
+ posix_permissions: ("NONE" | "PRESERVE")?,
434
+ bytes_per_second: ::Integer?,
435
+ task_queueing: ("ENABLED" | "DISABLED")?,
436
+ log_level: ("OFF" | "BASIC" | "TRANSFER")?,
437
+ transfer_mode: ("CHANGED" | "ALL")?,
438
+ security_descriptor_copy_flags: ("NONE" | "OWNER_DACL" | "OWNER_DACL_SACL")?,
439
+ object_tags: ("PRESERVE" | "NONE")?
440
+ },
441
+ ?excludes: Array[
442
+ {
443
+ filter_type: ("SIMPLE_PATTERN")?,
444
+ value: ::String?
445
+ },
446
+ ],
447
+ ?schedule: {
448
+ schedule_expression: ::String
449
+ },
450
+ ?tags: Array[
451
+ {
452
+ key: ::String,
453
+ value: ::String?
454
+ },
455
+ ],
456
+ ?includes: Array[
457
+ {
458
+ filter_type: ("SIMPLE_PATTERN")?,
459
+ value: ::String?
460
+ },
461
+ ],
462
+ ?task_report_config: {
463
+ destination: {
464
+ s3: {
465
+ subdirectory: ::String?,
466
+ s3_bucket_arn: ::String,
467
+ bucket_access_role_arn: ::String
468
+ }?
469
+ }?,
470
+ output_type: ("SUMMARY_ONLY" | "STANDARD")?,
471
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?,
472
+ object_version_ids: ("INCLUDE" | "NONE")?,
473
+ overrides: {
474
+ transferred: {
475
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
476
+ }?,
477
+ verified: {
478
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
479
+ }?,
480
+ deleted: {
481
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
482
+ }?,
483
+ skipped: {
484
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
485
+ }?
486
+ }?
487
+ }
488
+ ) -> _CreateTaskResponseSuccess
489
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTaskResponseSuccess
490
+
491
+ interface _DeleteAgentResponseSuccess
492
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentResponse]
493
+ end
494
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#delete_agent-instance_method
495
+ def delete_agent: (
496
+ agent_arn: ::String
497
+ ) -> _DeleteAgentResponseSuccess
498
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentResponseSuccess
499
+
500
+ interface _DeleteLocationResponseSuccess
501
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLocationResponse]
502
+ end
503
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#delete_location-instance_method
504
+ def delete_location: (
505
+ location_arn: ::String
506
+ ) -> _DeleteLocationResponseSuccess
507
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLocationResponseSuccess
508
+
509
+ interface _DeleteTaskResponseSuccess
510
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTaskResponse]
511
+ end
512
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#delete_task-instance_method
513
+ def delete_task: (
514
+ task_arn: ::String
515
+ ) -> _DeleteTaskResponseSuccess
516
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTaskResponseSuccess
517
+
518
+ interface _DescribeAgentResponseSuccess
519
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAgentResponse]
520
+ def agent_arn: () -> ::String
521
+ def name: () -> ::String
522
+ def status: () -> ("ONLINE" | "OFFLINE")
523
+ def last_connection_time: () -> ::Time
524
+ def creation_time: () -> ::Time
525
+ def endpoint_type: () -> ("PUBLIC" | "PRIVATE_LINK" | "FIPS")
526
+ def private_link_config: () -> Types::PrivateLinkConfig
527
+ def platform: () -> Types::Platform
528
+ end
529
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_agent-instance_method
530
+ def describe_agent: (
531
+ agent_arn: ::String
532
+ ) -> _DescribeAgentResponseSuccess
533
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAgentResponseSuccess
534
+
535
+ interface _DescribeDiscoveryJobResponseSuccess
536
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDiscoveryJobResponse]
537
+ def storage_system_arn: () -> ::String
538
+ def discovery_job_arn: () -> ::String
539
+ def collection_duration_minutes: () -> ::Integer
540
+ def status: () -> ("RUNNING" | "WARNING" | "TERMINATED" | "FAILED" | "STOPPED" | "COMPLETED" | "COMPLETED_WITH_ISSUES")
541
+ def job_start_time: () -> ::Time
542
+ def job_end_time: () -> ::Time
543
+ end
544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_discovery_job-instance_method
545
+ def describe_discovery_job: (
546
+ discovery_job_arn: ::String
547
+ ) -> _DescribeDiscoveryJobResponseSuccess
548
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDiscoveryJobResponseSuccess
549
+
550
+ interface _DescribeLocationAzureBlobResponseSuccess
551
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationAzureBlobResponse]
552
+ def location_arn: () -> ::String
553
+ def location_uri: () -> ::String
554
+ def authentication_type: () -> ("SAS")
555
+ def blob_type: () -> ("BLOCK")
556
+ def access_tier: () -> ("HOT" | "COOL" | "ARCHIVE")
557
+ def agent_arns: () -> ::Array[::String]
558
+ def creation_time: () -> ::Time
559
+ end
560
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_azure_blob-instance_method
561
+ def describe_location_azure_blob: (
562
+ location_arn: ::String
563
+ ) -> _DescribeLocationAzureBlobResponseSuccess
564
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationAzureBlobResponseSuccess
565
+
566
+ interface _DescribeLocationEfsResponseSuccess
567
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationEfsResponse]
568
+ def location_arn: () -> ::String
569
+ def location_uri: () -> ::String
570
+ def ec2_config: () -> Types::Ec2Config
571
+ def creation_time: () -> ::Time
572
+ def access_point_arn: () -> ::String
573
+ def file_system_access_role_arn: () -> ::String
574
+ def in_transit_encryption: () -> ("NONE" | "TLS1_2")
575
+ end
576
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_efs-instance_method
577
+ def describe_location_efs: (
578
+ location_arn: ::String
579
+ ) -> _DescribeLocationEfsResponseSuccess
580
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationEfsResponseSuccess
581
+
582
+ interface _DescribeLocationFsxLustreResponseSuccess
583
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationFsxLustreResponse]
584
+ def location_arn: () -> ::String
585
+ def location_uri: () -> ::String
586
+ def security_group_arns: () -> ::Array[::String]
587
+ def creation_time: () -> ::Time
588
+ end
589
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_fsx_lustre-instance_method
590
+ def describe_location_fsx_lustre: (
591
+ location_arn: ::String
592
+ ) -> _DescribeLocationFsxLustreResponseSuccess
593
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationFsxLustreResponseSuccess
594
+
595
+ interface _DescribeLocationFsxOntapResponseSuccess
596
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationFsxOntapResponse]
597
+ def creation_time: () -> ::Time
598
+ def location_arn: () -> ::String
599
+ def location_uri: () -> ::String
600
+ def protocol: () -> Types::FsxProtocol
601
+ def security_group_arns: () -> ::Array[::String]
602
+ def storage_virtual_machine_arn: () -> ::String
603
+ def fsx_filesystem_arn: () -> ::String
604
+ end
605
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_fsx_ontap-instance_method
606
+ def describe_location_fsx_ontap: (
607
+ location_arn: ::String
608
+ ) -> _DescribeLocationFsxOntapResponseSuccess
609
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationFsxOntapResponseSuccess
610
+
611
+ interface _DescribeLocationFsxOpenZfsResponseSuccess
612
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationFsxOpenZfsResponse]
613
+ def location_arn: () -> ::String
614
+ def location_uri: () -> ::String
615
+ def security_group_arns: () -> ::Array[::String]
616
+ def protocol: () -> Types::FsxProtocol
617
+ def creation_time: () -> ::Time
618
+ end
619
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_fsx_open_zfs-instance_method
620
+ def describe_location_fsx_open_zfs: (
621
+ location_arn: ::String
622
+ ) -> _DescribeLocationFsxOpenZfsResponseSuccess
623
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationFsxOpenZfsResponseSuccess
624
+
625
+ interface _DescribeLocationFsxWindowsResponseSuccess
626
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationFsxWindowsResponse]
627
+ def location_arn: () -> ::String
628
+ def location_uri: () -> ::String
629
+ def security_group_arns: () -> ::Array[::String]
630
+ def creation_time: () -> ::Time
631
+ def user: () -> ::String
632
+ def domain: () -> ::String
633
+ end
634
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_fsx_windows-instance_method
635
+ def describe_location_fsx_windows: (
636
+ location_arn: ::String
637
+ ) -> _DescribeLocationFsxWindowsResponseSuccess
638
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationFsxWindowsResponseSuccess
639
+
640
+ interface _DescribeLocationHdfsResponseSuccess
641
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationHdfsResponse]
642
+ def location_arn: () -> ::String
643
+ def location_uri: () -> ::String
644
+ def name_nodes: () -> ::Array[Types::HdfsNameNode]
645
+ def block_size: () -> ::Integer
646
+ def replication_factor: () -> ::Integer
647
+ def kms_key_provider_uri: () -> ::String
648
+ def qop_configuration: () -> Types::QopConfiguration
649
+ def authentication_type: () -> ("SIMPLE" | "KERBEROS")
650
+ def simple_user: () -> ::String
651
+ def kerberos_principal: () -> ::String
652
+ def agent_arns: () -> ::Array[::String]
653
+ def creation_time: () -> ::Time
654
+ end
655
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_hdfs-instance_method
656
+ def describe_location_hdfs: (
657
+ location_arn: ::String
658
+ ) -> _DescribeLocationHdfsResponseSuccess
659
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationHdfsResponseSuccess
660
+
661
+ interface _DescribeLocationNfsResponseSuccess
662
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationNfsResponse]
663
+ def location_arn: () -> ::String
664
+ def location_uri: () -> ::String
665
+ def on_prem_config: () -> Types::OnPremConfig
666
+ def mount_options: () -> Types::NfsMountOptions
667
+ def creation_time: () -> ::Time
668
+ end
669
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_nfs-instance_method
670
+ def describe_location_nfs: (
671
+ location_arn: ::String
672
+ ) -> _DescribeLocationNfsResponseSuccess
673
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationNfsResponseSuccess
674
+
675
+ interface _DescribeLocationObjectStorageResponseSuccess
676
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationObjectStorageResponse]
677
+ def location_arn: () -> ::String
678
+ def location_uri: () -> ::String
679
+ def access_key: () -> ::String
680
+ def server_port: () -> ::Integer
681
+ def server_protocol: () -> ("HTTPS" | "HTTP")
682
+ def agent_arns: () -> ::Array[::String]
683
+ def creation_time: () -> ::Time
684
+ def server_certificate: () -> ::String
685
+ end
686
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_object_storage-instance_method
687
+ def describe_location_object_storage: (
688
+ location_arn: ::String
689
+ ) -> _DescribeLocationObjectStorageResponseSuccess
690
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationObjectStorageResponseSuccess
691
+
692
+ interface _DescribeLocationS3ResponseSuccess
693
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationS3Response]
694
+ def location_arn: () -> ::String
695
+ def location_uri: () -> ::String
696
+ def s3_storage_class: () -> ("STANDARD" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_INSTANT_RETRIEVAL")
697
+ def s3_config: () -> Types::S3Config
698
+ def agent_arns: () -> ::Array[::String]
699
+ def creation_time: () -> ::Time
700
+ end
701
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_s3-instance_method
702
+ def describe_location_s3: (
703
+ location_arn: ::String
704
+ ) -> _DescribeLocationS3ResponseSuccess
705
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationS3ResponseSuccess
706
+
707
+ interface _DescribeLocationSmbResponseSuccess
708
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeLocationSmbResponse]
709
+ def location_arn: () -> ::String
710
+ def location_uri: () -> ::String
711
+ def agent_arns: () -> ::Array[::String]
712
+ def user: () -> ::String
713
+ def domain: () -> ::String
714
+ def mount_options: () -> Types::SmbMountOptions
715
+ def creation_time: () -> ::Time
716
+ end
717
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_location_smb-instance_method
718
+ def describe_location_smb: (
719
+ location_arn: ::String
720
+ ) -> _DescribeLocationSmbResponseSuccess
721
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeLocationSmbResponseSuccess
722
+
723
+ interface _DescribeStorageSystemResponseSuccess
724
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStorageSystemResponse]
725
+ def storage_system_arn: () -> ::String
726
+ def server_configuration: () -> Types::DiscoveryServerConfiguration
727
+ def system_type: () -> ("NetAppONTAP")
728
+ def agent_arns: () -> ::Array[::String]
729
+ def name: () -> ::String
730
+ def error_message: () -> ::String
731
+ def connectivity_status: () -> ("PASS" | "FAIL" | "UNKNOWN")
732
+ def cloud_watch_log_group_arn: () -> ::String
733
+ def creation_time: () -> ::Time
734
+ def secrets_manager_arn: () -> ::String
735
+ end
736
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_storage_system-instance_method
737
+ def describe_storage_system: (
738
+ storage_system_arn: ::String
739
+ ) -> _DescribeStorageSystemResponseSuccess
740
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStorageSystemResponseSuccess
741
+
742
+ interface _DescribeStorageSystemResourceMetricsResponseSuccess
743
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStorageSystemResourceMetricsResponse]
744
+ def metrics: () -> ::Array[Types::ResourceMetrics]
745
+ def next_token: () -> ::String
746
+ end
747
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_storage_system_resource_metrics-instance_method
748
+ def describe_storage_system_resource_metrics: (
749
+ discovery_job_arn: ::String,
750
+ resource_type: ("SVM" | "VOLUME" | "CLUSTER"),
751
+ resource_id: ::String,
752
+ ?start_time: ::Time,
753
+ ?end_time: ::Time,
754
+ ?max_results: ::Integer,
755
+ ?next_token: ::String
756
+ ) -> _DescribeStorageSystemResourceMetricsResponseSuccess
757
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStorageSystemResourceMetricsResponseSuccess
758
+
759
+ interface _DescribeStorageSystemResourcesResponseSuccess
760
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStorageSystemResourcesResponse]
761
+ def resource_details: () -> Types::ResourceDetails
762
+ def next_token: () -> ::String
763
+ end
764
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_storage_system_resources-instance_method
765
+ def describe_storage_system_resources: (
766
+ discovery_job_arn: ::String,
767
+ resource_type: ("SVM" | "VOLUME" | "CLUSTER"),
768
+ ?resource_ids: Array[::String],
769
+ ?filter: Hash[("SVM"), Array[::String]],
770
+ ?max_results: ::Integer,
771
+ ?next_token: ::String
772
+ ) -> _DescribeStorageSystemResourcesResponseSuccess
773
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStorageSystemResourcesResponseSuccess
774
+
775
+ interface _DescribeTaskResponseSuccess
776
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTaskResponse]
777
+ def task_arn: () -> ::String
778
+ def status: () -> ("AVAILABLE" | "CREATING" | "QUEUED" | "RUNNING" | "UNAVAILABLE")
779
+ def name: () -> ::String
780
+ def current_task_execution_arn: () -> ::String
781
+ def source_location_arn: () -> ::String
782
+ def destination_location_arn: () -> ::String
783
+ def cloud_watch_log_group_arn: () -> ::String
784
+ def source_network_interface_arns: () -> ::Array[::String]
785
+ def destination_network_interface_arns: () -> ::Array[::String]
786
+ def options: () -> Types::Options
787
+ def excludes: () -> ::Array[Types::FilterRule]
788
+ def schedule: () -> Types::TaskSchedule
789
+ def error_code: () -> ::String
790
+ def error_detail: () -> ::String
791
+ def creation_time: () -> ::Time
792
+ def includes: () -> ::Array[Types::FilterRule]
793
+ def task_report_config: () -> Types::TaskReportConfig
794
+ end
795
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_task-instance_method
796
+ def describe_task: (
797
+ task_arn: ::String
798
+ ) -> _DescribeTaskResponseSuccess
799
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTaskResponseSuccess
800
+
801
+ interface _DescribeTaskExecutionResponseSuccess
802
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTaskExecutionResponse]
803
+ def task_execution_arn: () -> ::String
804
+ def status: () -> ("QUEUED" | "LAUNCHING" | "PREPARING" | "TRANSFERRING" | "VERIFYING" | "SUCCESS" | "ERROR")
805
+ def options: () -> Types::Options
806
+ def excludes: () -> ::Array[Types::FilterRule]
807
+ def includes: () -> ::Array[Types::FilterRule]
808
+ def start_time: () -> ::Time
809
+ def estimated_files_to_transfer: () -> ::Integer
810
+ def estimated_bytes_to_transfer: () -> ::Integer
811
+ def files_transferred: () -> ::Integer
812
+ def bytes_written: () -> ::Integer
813
+ def bytes_transferred: () -> ::Integer
814
+ def result: () -> Types::TaskExecutionResultDetail
815
+ def bytes_compressed: () -> ::Integer
816
+ def task_report_config: () -> Types::TaskReportConfig
817
+ def files_deleted: () -> ::Integer
818
+ def files_skipped: () -> ::Integer
819
+ def files_verified: () -> ::Integer
820
+ def report_result: () -> Types::ReportResult
821
+ def estimated_files_to_delete: () -> ::Integer
822
+ end
823
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#describe_task_execution-instance_method
824
+ def describe_task_execution: (
825
+ task_execution_arn: ::String
826
+ ) -> _DescribeTaskExecutionResponseSuccess
827
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTaskExecutionResponseSuccess
828
+
829
+ interface _GenerateRecommendationsResponseSuccess
830
+ include ::Seahorse::Client::_ResponseSuccess[Types::GenerateRecommendationsResponse]
831
+ end
832
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#generate_recommendations-instance_method
833
+ def generate_recommendations: (
834
+ discovery_job_arn: ::String,
835
+ resource_ids: Array[::String],
836
+ resource_type: ("SVM" | "VOLUME" | "CLUSTER")
837
+ ) -> _GenerateRecommendationsResponseSuccess
838
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GenerateRecommendationsResponseSuccess
839
+
840
+ interface _ListAgentsResponseSuccess
841
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentsResponse]
842
+ def agents: () -> ::Array[Types::AgentListEntry]
843
+ def next_token: () -> ::String
844
+ end
845
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#list_agents-instance_method
846
+ def list_agents: (
847
+ ?max_results: ::Integer,
848
+ ?next_token: ::String
849
+ ) -> _ListAgentsResponseSuccess
850
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAgentsResponseSuccess
851
+
852
+ interface _ListDiscoveryJobsResponseSuccess
853
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDiscoveryJobsResponse]
854
+ def discovery_jobs: () -> ::Array[Types::DiscoveryJobListEntry]
855
+ def next_token: () -> ::String
856
+ end
857
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#list_discovery_jobs-instance_method
858
+ def list_discovery_jobs: (
859
+ ?storage_system_arn: ::String,
860
+ ?max_results: ::Integer,
861
+ ?next_token: ::String
862
+ ) -> _ListDiscoveryJobsResponseSuccess
863
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDiscoveryJobsResponseSuccess
864
+
865
+ interface _ListLocationsResponseSuccess
866
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListLocationsResponse]
867
+ def locations: () -> ::Array[Types::LocationListEntry]
868
+ def next_token: () -> ::String
869
+ end
870
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#list_locations-instance_method
871
+ def list_locations: (
872
+ ?max_results: ::Integer,
873
+ ?next_token: ::String,
874
+ ?filters: Array[
875
+ {
876
+ name: ("LocationUri" | "LocationType" | "CreationTime"),
877
+ values: Array[::String],
878
+ operator: ("Equals" | "NotEquals" | "In" | "LessThanOrEqual" | "LessThan" | "GreaterThanOrEqual" | "GreaterThan" | "Contains" | "NotContains" | "BeginsWith")
879
+ },
880
+ ]
881
+ ) -> _ListLocationsResponseSuccess
882
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLocationsResponseSuccess
883
+
884
+ interface _ListStorageSystemsResponseSuccess
885
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListStorageSystemsResponse]
886
+ def storage_systems: () -> ::Array[Types::StorageSystemListEntry]
887
+ def next_token: () -> ::String
888
+ end
889
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#list_storage_systems-instance_method
890
+ def list_storage_systems: (
891
+ ?max_results: ::Integer,
892
+ ?next_token: ::String
893
+ ) -> _ListStorageSystemsResponseSuccess
894
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStorageSystemsResponseSuccess
895
+
896
+ interface _ListTagsForResourceResponseSuccess
897
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
898
+ def tags: () -> ::Array[Types::TagListEntry]
899
+ def next_token: () -> ::String
900
+ end
901
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#list_tags_for_resource-instance_method
902
+ def list_tags_for_resource: (
903
+ resource_arn: ::String,
904
+ ?max_results: ::Integer,
905
+ ?next_token: ::String
906
+ ) -> _ListTagsForResourceResponseSuccess
907
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
908
+
909
+ interface _ListTaskExecutionsResponseSuccess
910
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTaskExecutionsResponse]
911
+ def task_executions: () -> ::Array[Types::TaskExecutionListEntry]
912
+ def next_token: () -> ::String
913
+ end
914
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#list_task_executions-instance_method
915
+ def list_task_executions: (
916
+ ?task_arn: ::String,
917
+ ?max_results: ::Integer,
918
+ ?next_token: ::String
919
+ ) -> _ListTaskExecutionsResponseSuccess
920
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTaskExecutionsResponseSuccess
921
+
922
+ interface _ListTasksResponseSuccess
923
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTasksResponse]
924
+ def tasks: () -> ::Array[Types::TaskListEntry]
925
+ def next_token: () -> ::String
926
+ end
927
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#list_tasks-instance_method
928
+ def list_tasks: (
929
+ ?max_results: ::Integer,
930
+ ?next_token: ::String,
931
+ ?filters: Array[
932
+ {
933
+ name: ("LocationId" | "CreationTime"),
934
+ values: Array[::String],
935
+ operator: ("Equals" | "NotEquals" | "In" | "LessThanOrEqual" | "LessThan" | "GreaterThanOrEqual" | "GreaterThan" | "Contains" | "NotContains" | "BeginsWith")
936
+ },
937
+ ]
938
+ ) -> _ListTasksResponseSuccess
939
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTasksResponseSuccess
940
+
941
+ interface _RemoveStorageSystemResponseSuccess
942
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveStorageSystemResponse]
943
+ end
944
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#remove_storage_system-instance_method
945
+ def remove_storage_system: (
946
+ storage_system_arn: ::String
947
+ ) -> _RemoveStorageSystemResponseSuccess
948
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveStorageSystemResponseSuccess
949
+
950
+ interface _StartDiscoveryJobResponseSuccess
951
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartDiscoveryJobResponse]
952
+ def discovery_job_arn: () -> ::String
953
+ end
954
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#start_discovery_job-instance_method
955
+ def start_discovery_job: (
956
+ storage_system_arn: ::String,
957
+ collection_duration_minutes: ::Integer,
958
+ client_token: ::String,
959
+ ?tags: Array[
960
+ {
961
+ key: ::String,
962
+ value: ::String?
963
+ },
964
+ ]
965
+ ) -> _StartDiscoveryJobResponseSuccess
966
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDiscoveryJobResponseSuccess
967
+
968
+ interface _StartTaskExecutionResponseSuccess
969
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartTaskExecutionResponse]
970
+ def task_execution_arn: () -> ::String
971
+ end
972
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#start_task_execution-instance_method
973
+ def start_task_execution: (
974
+ task_arn: ::String,
975
+ ?override_options: {
976
+ verify_mode: ("POINT_IN_TIME_CONSISTENT" | "ONLY_FILES_TRANSFERRED" | "NONE")?,
977
+ overwrite_mode: ("ALWAYS" | "NEVER")?,
978
+ atime: ("NONE" | "BEST_EFFORT")?,
979
+ mtime: ("NONE" | "PRESERVE")?,
980
+ uid: ("NONE" | "INT_VALUE" | "NAME" | "BOTH")?,
981
+ gid: ("NONE" | "INT_VALUE" | "NAME" | "BOTH")?,
982
+ preserve_deleted_files: ("PRESERVE" | "REMOVE")?,
983
+ preserve_devices: ("NONE" | "PRESERVE")?,
984
+ posix_permissions: ("NONE" | "PRESERVE")?,
985
+ bytes_per_second: ::Integer?,
986
+ task_queueing: ("ENABLED" | "DISABLED")?,
987
+ log_level: ("OFF" | "BASIC" | "TRANSFER")?,
988
+ transfer_mode: ("CHANGED" | "ALL")?,
989
+ security_descriptor_copy_flags: ("NONE" | "OWNER_DACL" | "OWNER_DACL_SACL")?,
990
+ object_tags: ("PRESERVE" | "NONE")?
991
+ },
992
+ ?includes: Array[
993
+ {
994
+ filter_type: ("SIMPLE_PATTERN")?,
995
+ value: ::String?
996
+ },
997
+ ],
998
+ ?excludes: Array[
999
+ {
1000
+ filter_type: ("SIMPLE_PATTERN")?,
1001
+ value: ::String?
1002
+ },
1003
+ ],
1004
+ ?tags: Array[
1005
+ {
1006
+ key: ::String,
1007
+ value: ::String?
1008
+ },
1009
+ ],
1010
+ ?task_report_config: {
1011
+ destination: {
1012
+ s3: {
1013
+ subdirectory: ::String?,
1014
+ s3_bucket_arn: ::String,
1015
+ bucket_access_role_arn: ::String
1016
+ }?
1017
+ }?,
1018
+ output_type: ("SUMMARY_ONLY" | "STANDARD")?,
1019
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?,
1020
+ object_version_ids: ("INCLUDE" | "NONE")?,
1021
+ overrides: {
1022
+ transferred: {
1023
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
1024
+ }?,
1025
+ verified: {
1026
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
1027
+ }?,
1028
+ deleted: {
1029
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
1030
+ }?,
1031
+ skipped: {
1032
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
1033
+ }?
1034
+ }?
1035
+ }
1036
+ ) -> _StartTaskExecutionResponseSuccess
1037
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartTaskExecutionResponseSuccess
1038
+
1039
+ interface _StopDiscoveryJobResponseSuccess
1040
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopDiscoveryJobResponse]
1041
+ end
1042
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#stop_discovery_job-instance_method
1043
+ def stop_discovery_job: (
1044
+ discovery_job_arn: ::String
1045
+ ) -> _StopDiscoveryJobResponseSuccess
1046
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDiscoveryJobResponseSuccess
1047
+
1048
+ interface _TagResourceResponseSuccess
1049
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1050
+ end
1051
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#tag_resource-instance_method
1052
+ def tag_resource: (
1053
+ resource_arn: ::String,
1054
+ tags: Array[
1055
+ {
1056
+ key: ::String,
1057
+ value: ::String?
1058
+ },
1059
+ ]
1060
+ ) -> _TagResourceResponseSuccess
1061
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
1062
+
1063
+ interface _UntagResourceResponseSuccess
1064
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
1065
+ end
1066
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#untag_resource-instance_method
1067
+ def untag_resource: (
1068
+ resource_arn: ::String,
1069
+ keys: Array[::String]
1070
+ ) -> _UntagResourceResponseSuccess
1071
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1072
+
1073
+ interface _UpdateAgentResponseSuccess
1074
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAgentResponse]
1075
+ end
1076
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_agent-instance_method
1077
+ def update_agent: (
1078
+ agent_arn: ::String,
1079
+ ?name: ::String
1080
+ ) -> _UpdateAgentResponseSuccess
1081
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentResponseSuccess
1082
+
1083
+ interface _UpdateDiscoveryJobResponseSuccess
1084
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDiscoveryJobResponse]
1085
+ end
1086
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_discovery_job-instance_method
1087
+ def update_discovery_job: (
1088
+ discovery_job_arn: ::String,
1089
+ collection_duration_minutes: ::Integer
1090
+ ) -> _UpdateDiscoveryJobResponseSuccess
1091
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDiscoveryJobResponseSuccess
1092
+
1093
+ interface _UpdateLocationAzureBlobResponseSuccess
1094
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationAzureBlobResponse]
1095
+ end
1096
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_azure_blob-instance_method
1097
+ def update_location_azure_blob: (
1098
+ location_arn: ::String,
1099
+ ?subdirectory: ::String,
1100
+ ?authentication_type: ("SAS"),
1101
+ ?sas_configuration: {
1102
+ token: ::String
1103
+ },
1104
+ ?blob_type: ("BLOCK"),
1105
+ ?access_tier: ("HOT" | "COOL" | "ARCHIVE"),
1106
+ ?agent_arns: Array[::String]
1107
+ ) -> _UpdateLocationAzureBlobResponseSuccess
1108
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationAzureBlobResponseSuccess
1109
+
1110
+ interface _UpdateLocationHdfsResponseSuccess
1111
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationHdfsResponse]
1112
+ end
1113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_hdfs-instance_method
1114
+ def update_location_hdfs: (
1115
+ location_arn: ::String,
1116
+ ?subdirectory: ::String,
1117
+ ?name_nodes: Array[
1118
+ {
1119
+ hostname: ::String,
1120
+ port: ::Integer
1121
+ },
1122
+ ],
1123
+ ?block_size: ::Integer,
1124
+ ?replication_factor: ::Integer,
1125
+ ?kms_key_provider_uri: ::String,
1126
+ ?qop_configuration: {
1127
+ rpc_protection: ("DISABLED" | "AUTHENTICATION" | "INTEGRITY" | "PRIVACY")?,
1128
+ data_transfer_protection: ("DISABLED" | "AUTHENTICATION" | "INTEGRITY" | "PRIVACY")?
1129
+ },
1130
+ ?authentication_type: ("SIMPLE" | "KERBEROS"),
1131
+ ?simple_user: ::String,
1132
+ ?kerberos_principal: ::String,
1133
+ ?kerberos_keytab: ::String,
1134
+ ?kerberos_krb_5_conf: ::String,
1135
+ ?agent_arns: Array[::String]
1136
+ ) -> _UpdateLocationHdfsResponseSuccess
1137
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationHdfsResponseSuccess
1138
+
1139
+ interface _UpdateLocationNfsResponseSuccess
1140
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationNfsResponse]
1141
+ end
1142
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_nfs-instance_method
1143
+ def update_location_nfs: (
1144
+ location_arn: ::String,
1145
+ ?subdirectory: ::String,
1146
+ ?on_prem_config: {
1147
+ agent_arns: Array[::String]
1148
+ },
1149
+ ?mount_options: {
1150
+ version: ("AUTOMATIC" | "NFS3" | "NFS4_0" | "NFS4_1")?
1151
+ }
1152
+ ) -> _UpdateLocationNfsResponseSuccess
1153
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationNfsResponseSuccess
1154
+
1155
+ interface _UpdateLocationObjectStorageResponseSuccess
1156
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationObjectStorageResponse]
1157
+ end
1158
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_object_storage-instance_method
1159
+ def update_location_object_storage: (
1160
+ location_arn: ::String,
1161
+ ?server_port: ::Integer,
1162
+ ?server_protocol: ("HTTPS" | "HTTP"),
1163
+ ?subdirectory: ::String,
1164
+ ?access_key: ::String,
1165
+ ?secret_key: ::String,
1166
+ ?agent_arns: Array[::String],
1167
+ ?server_certificate: ::String
1168
+ ) -> _UpdateLocationObjectStorageResponseSuccess
1169
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationObjectStorageResponseSuccess
1170
+
1171
+ interface _UpdateLocationSmbResponseSuccess
1172
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLocationSmbResponse]
1173
+ end
1174
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_location_smb-instance_method
1175
+ def update_location_smb: (
1176
+ location_arn: ::String,
1177
+ ?subdirectory: ::String,
1178
+ ?user: ::String,
1179
+ ?domain: ::String,
1180
+ ?password: ::String,
1181
+ ?agent_arns: Array[::String],
1182
+ ?mount_options: {
1183
+ version: ("AUTOMATIC" | "SMB2" | "SMB3" | "SMB1" | "SMB2_0")?
1184
+ }
1185
+ ) -> _UpdateLocationSmbResponseSuccess
1186
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLocationSmbResponseSuccess
1187
+
1188
+ interface _UpdateStorageSystemResponseSuccess
1189
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStorageSystemResponse]
1190
+ end
1191
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_storage_system-instance_method
1192
+ def update_storage_system: (
1193
+ storage_system_arn: ::String,
1194
+ ?server_configuration: {
1195
+ server_hostname: ::String,
1196
+ server_port: ::Integer?
1197
+ },
1198
+ ?agent_arns: Array[::String],
1199
+ ?name: ::String,
1200
+ ?cloud_watch_log_group_arn: ::String,
1201
+ ?credentials: {
1202
+ username: ::String,
1203
+ password: ::String
1204
+ }
1205
+ ) -> _UpdateStorageSystemResponseSuccess
1206
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStorageSystemResponseSuccess
1207
+
1208
+ interface _UpdateTaskResponseSuccess
1209
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTaskResponse]
1210
+ end
1211
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_task-instance_method
1212
+ def update_task: (
1213
+ task_arn: ::String,
1214
+ ?options: {
1215
+ verify_mode: ("POINT_IN_TIME_CONSISTENT" | "ONLY_FILES_TRANSFERRED" | "NONE")?,
1216
+ overwrite_mode: ("ALWAYS" | "NEVER")?,
1217
+ atime: ("NONE" | "BEST_EFFORT")?,
1218
+ mtime: ("NONE" | "PRESERVE")?,
1219
+ uid: ("NONE" | "INT_VALUE" | "NAME" | "BOTH")?,
1220
+ gid: ("NONE" | "INT_VALUE" | "NAME" | "BOTH")?,
1221
+ preserve_deleted_files: ("PRESERVE" | "REMOVE")?,
1222
+ preserve_devices: ("NONE" | "PRESERVE")?,
1223
+ posix_permissions: ("NONE" | "PRESERVE")?,
1224
+ bytes_per_second: ::Integer?,
1225
+ task_queueing: ("ENABLED" | "DISABLED")?,
1226
+ log_level: ("OFF" | "BASIC" | "TRANSFER")?,
1227
+ transfer_mode: ("CHANGED" | "ALL")?,
1228
+ security_descriptor_copy_flags: ("NONE" | "OWNER_DACL" | "OWNER_DACL_SACL")?,
1229
+ object_tags: ("PRESERVE" | "NONE")?
1230
+ },
1231
+ ?excludes: Array[
1232
+ {
1233
+ filter_type: ("SIMPLE_PATTERN")?,
1234
+ value: ::String?
1235
+ },
1236
+ ],
1237
+ ?schedule: {
1238
+ schedule_expression: ::String
1239
+ },
1240
+ ?name: ::String,
1241
+ ?cloud_watch_log_group_arn: ::String,
1242
+ ?includes: Array[
1243
+ {
1244
+ filter_type: ("SIMPLE_PATTERN")?,
1245
+ value: ::String?
1246
+ },
1247
+ ],
1248
+ ?task_report_config: {
1249
+ destination: {
1250
+ s3: {
1251
+ subdirectory: ::String?,
1252
+ s3_bucket_arn: ::String,
1253
+ bucket_access_role_arn: ::String
1254
+ }?
1255
+ }?,
1256
+ output_type: ("SUMMARY_ONLY" | "STANDARD")?,
1257
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?,
1258
+ object_version_ids: ("INCLUDE" | "NONE")?,
1259
+ overrides: {
1260
+ transferred: {
1261
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
1262
+ }?,
1263
+ verified: {
1264
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
1265
+ }?,
1266
+ deleted: {
1267
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
1268
+ }?,
1269
+ skipped: {
1270
+ report_level: ("ERRORS_ONLY" | "SUCCESSES_AND_ERRORS")?
1271
+ }?
1272
+ }?
1273
+ }
1274
+ ) -> _UpdateTaskResponseSuccess
1275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTaskResponseSuccess
1276
+
1277
+ interface _UpdateTaskExecutionResponseSuccess
1278
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTaskExecutionResponse]
1279
+ end
1280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DataSync/Client.html#update_task_execution-instance_method
1281
+ def update_task_execution: (
1282
+ task_execution_arn: ::String,
1283
+ options: {
1284
+ verify_mode: ("POINT_IN_TIME_CONSISTENT" | "ONLY_FILES_TRANSFERRED" | "NONE")?,
1285
+ overwrite_mode: ("ALWAYS" | "NEVER")?,
1286
+ atime: ("NONE" | "BEST_EFFORT")?,
1287
+ mtime: ("NONE" | "PRESERVE")?,
1288
+ uid: ("NONE" | "INT_VALUE" | "NAME" | "BOTH")?,
1289
+ gid: ("NONE" | "INT_VALUE" | "NAME" | "BOTH")?,
1290
+ preserve_deleted_files: ("PRESERVE" | "REMOVE")?,
1291
+ preserve_devices: ("NONE" | "PRESERVE")?,
1292
+ posix_permissions: ("NONE" | "PRESERVE")?,
1293
+ bytes_per_second: ::Integer?,
1294
+ task_queueing: ("ENABLED" | "DISABLED")?,
1295
+ log_level: ("OFF" | "BASIC" | "TRANSFER")?,
1296
+ transfer_mode: ("CHANGED" | "ALL")?,
1297
+ security_descriptor_copy_flags: ("NONE" | "OWNER_DACL" | "OWNER_DACL_SACL")?,
1298
+ object_tags: ("PRESERVE" | "NONE")?
1299
+ }
1300
+ ) -> _UpdateTaskExecutionResponseSuccess
1301
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTaskExecutionResponseSuccess
1302
+ end
1303
+ end
1304
+ end
1305
+