aws-sdk-datasync 1.54.0 → 1.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +786 -20
- data/lib/aws-sdk-datasync/client_api.rb +541 -0
- data/lib/aws-sdk-datasync/endpoints.rb +182 -0
- data/lib/aws-sdk-datasync/plugins/endpoints.rb +26 -0
- data/lib/aws-sdk-datasync/types.rb +1354 -46
- data/lib/aws-sdk-datasync.rb +2 -2
- metadata +2 -2
@@ -11,6 +11,20 @@
|
|
11
11
|
module Aws::DataSync
|
12
12
|
module Endpoints
|
13
13
|
|
14
|
+
class AddStorageSystem
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::DataSync::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
14
28
|
class CancelTaskExecution
|
15
29
|
def self.build(context)
|
16
30
|
unless context.config.regional_endpoint
|
@@ -249,6 +263,20 @@ module Aws::DataSync
|
|
249
263
|
end
|
250
264
|
end
|
251
265
|
|
266
|
+
class DescribeDiscoveryJob
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::DataSync::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
252
280
|
class DescribeLocationEfs
|
253
281
|
def self.build(context)
|
254
282
|
unless context.config.regional_endpoint
|
@@ -389,6 +417,48 @@ module Aws::DataSync
|
|
389
417
|
end
|
390
418
|
end
|
391
419
|
|
420
|
+
class DescribeStorageSystem
|
421
|
+
def self.build(context)
|
422
|
+
unless context.config.regional_endpoint
|
423
|
+
endpoint = context.config.endpoint.to_s
|
424
|
+
end
|
425
|
+
Aws::DataSync::EndpointParameters.new(
|
426
|
+
region: context.config.region,
|
427
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
428
|
+
use_fips: context.config.use_fips_endpoint,
|
429
|
+
endpoint: endpoint,
|
430
|
+
)
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
class DescribeStorageSystemResourceMetrics
|
435
|
+
def self.build(context)
|
436
|
+
unless context.config.regional_endpoint
|
437
|
+
endpoint = context.config.endpoint.to_s
|
438
|
+
end
|
439
|
+
Aws::DataSync::EndpointParameters.new(
|
440
|
+
region: context.config.region,
|
441
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
442
|
+
use_fips: context.config.use_fips_endpoint,
|
443
|
+
endpoint: endpoint,
|
444
|
+
)
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
class DescribeStorageSystemResources
|
449
|
+
def self.build(context)
|
450
|
+
unless context.config.regional_endpoint
|
451
|
+
endpoint = context.config.endpoint.to_s
|
452
|
+
end
|
453
|
+
Aws::DataSync::EndpointParameters.new(
|
454
|
+
region: context.config.region,
|
455
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
456
|
+
use_fips: context.config.use_fips_endpoint,
|
457
|
+
endpoint: endpoint,
|
458
|
+
)
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
392
462
|
class DescribeTask
|
393
463
|
def self.build(context)
|
394
464
|
unless context.config.regional_endpoint
|
@@ -417,6 +487,20 @@ module Aws::DataSync
|
|
417
487
|
end
|
418
488
|
end
|
419
489
|
|
490
|
+
class GenerateRecommendations
|
491
|
+
def self.build(context)
|
492
|
+
unless context.config.regional_endpoint
|
493
|
+
endpoint = context.config.endpoint.to_s
|
494
|
+
end
|
495
|
+
Aws::DataSync::EndpointParameters.new(
|
496
|
+
region: context.config.region,
|
497
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
498
|
+
use_fips: context.config.use_fips_endpoint,
|
499
|
+
endpoint: endpoint,
|
500
|
+
)
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
420
504
|
class ListAgents
|
421
505
|
def self.build(context)
|
422
506
|
unless context.config.regional_endpoint
|
@@ -431,6 +515,20 @@ module Aws::DataSync
|
|
431
515
|
end
|
432
516
|
end
|
433
517
|
|
518
|
+
class ListDiscoveryJobs
|
519
|
+
def self.build(context)
|
520
|
+
unless context.config.regional_endpoint
|
521
|
+
endpoint = context.config.endpoint.to_s
|
522
|
+
end
|
523
|
+
Aws::DataSync::EndpointParameters.new(
|
524
|
+
region: context.config.region,
|
525
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
526
|
+
use_fips: context.config.use_fips_endpoint,
|
527
|
+
endpoint: endpoint,
|
528
|
+
)
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
434
532
|
class ListLocations
|
435
533
|
def self.build(context)
|
436
534
|
unless context.config.regional_endpoint
|
@@ -445,6 +543,20 @@ module Aws::DataSync
|
|
445
543
|
end
|
446
544
|
end
|
447
545
|
|
546
|
+
class ListStorageSystems
|
547
|
+
def self.build(context)
|
548
|
+
unless context.config.regional_endpoint
|
549
|
+
endpoint = context.config.endpoint.to_s
|
550
|
+
end
|
551
|
+
Aws::DataSync::EndpointParameters.new(
|
552
|
+
region: context.config.region,
|
553
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
554
|
+
use_fips: context.config.use_fips_endpoint,
|
555
|
+
endpoint: endpoint,
|
556
|
+
)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
448
560
|
class ListTagsForResource
|
449
561
|
def self.build(context)
|
450
562
|
unless context.config.regional_endpoint
|
@@ -487,6 +599,34 @@ module Aws::DataSync
|
|
487
599
|
end
|
488
600
|
end
|
489
601
|
|
602
|
+
class RemoveStorageSystem
|
603
|
+
def self.build(context)
|
604
|
+
unless context.config.regional_endpoint
|
605
|
+
endpoint = context.config.endpoint.to_s
|
606
|
+
end
|
607
|
+
Aws::DataSync::EndpointParameters.new(
|
608
|
+
region: context.config.region,
|
609
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
610
|
+
use_fips: context.config.use_fips_endpoint,
|
611
|
+
endpoint: endpoint,
|
612
|
+
)
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
class StartDiscoveryJob
|
617
|
+
def self.build(context)
|
618
|
+
unless context.config.regional_endpoint
|
619
|
+
endpoint = context.config.endpoint.to_s
|
620
|
+
end
|
621
|
+
Aws::DataSync::EndpointParameters.new(
|
622
|
+
region: context.config.region,
|
623
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
624
|
+
use_fips: context.config.use_fips_endpoint,
|
625
|
+
endpoint: endpoint,
|
626
|
+
)
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
490
630
|
class StartTaskExecution
|
491
631
|
def self.build(context)
|
492
632
|
unless context.config.regional_endpoint
|
@@ -501,6 +641,20 @@ module Aws::DataSync
|
|
501
641
|
end
|
502
642
|
end
|
503
643
|
|
644
|
+
class StopDiscoveryJob
|
645
|
+
def self.build(context)
|
646
|
+
unless context.config.regional_endpoint
|
647
|
+
endpoint = context.config.endpoint.to_s
|
648
|
+
end
|
649
|
+
Aws::DataSync::EndpointParameters.new(
|
650
|
+
region: context.config.region,
|
651
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
652
|
+
use_fips: context.config.use_fips_endpoint,
|
653
|
+
endpoint: endpoint,
|
654
|
+
)
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
504
658
|
class TagResource
|
505
659
|
def self.build(context)
|
506
660
|
unless context.config.regional_endpoint
|
@@ -543,6 +697,20 @@ module Aws::DataSync
|
|
543
697
|
end
|
544
698
|
end
|
545
699
|
|
700
|
+
class UpdateDiscoveryJob
|
701
|
+
def self.build(context)
|
702
|
+
unless context.config.regional_endpoint
|
703
|
+
endpoint = context.config.endpoint.to_s
|
704
|
+
end
|
705
|
+
Aws::DataSync::EndpointParameters.new(
|
706
|
+
region: context.config.region,
|
707
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
708
|
+
use_fips: context.config.use_fips_endpoint,
|
709
|
+
endpoint: endpoint,
|
710
|
+
)
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
546
714
|
class UpdateLocationHdfs
|
547
715
|
def self.build(context)
|
548
716
|
unless context.config.regional_endpoint
|
@@ -599,6 +767,20 @@ module Aws::DataSync
|
|
599
767
|
end
|
600
768
|
end
|
601
769
|
|
770
|
+
class UpdateStorageSystem
|
771
|
+
def self.build(context)
|
772
|
+
unless context.config.regional_endpoint
|
773
|
+
endpoint = context.config.endpoint.to_s
|
774
|
+
end
|
775
|
+
Aws::DataSync::EndpointParameters.new(
|
776
|
+
region: context.config.region,
|
777
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
778
|
+
use_fips: context.config.use_fips_endpoint,
|
779
|
+
endpoint: endpoint,
|
780
|
+
)
|
781
|
+
end
|
782
|
+
end
|
783
|
+
|
602
784
|
class UpdateTask
|
603
785
|
def self.build(context)
|
604
786
|
unless context.config.regional_endpoint
|
@@ -56,6 +56,8 @@ module Aws::DataSync
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :add_storage_system
|
60
|
+
Aws::DataSync::Endpoints::AddStorageSystem.build(context)
|
59
61
|
when :cancel_task_execution
|
60
62
|
Aws::DataSync::Endpoints::CancelTaskExecution.build(context)
|
61
63
|
when :create_agent
|
@@ -90,6 +92,8 @@ module Aws::DataSync
|
|
90
92
|
Aws::DataSync::Endpoints::DeleteTask.build(context)
|
91
93
|
when :describe_agent
|
92
94
|
Aws::DataSync::Endpoints::DescribeAgent.build(context)
|
95
|
+
when :describe_discovery_job
|
96
|
+
Aws::DataSync::Endpoints::DescribeDiscoveryJob.build(context)
|
93
97
|
when :describe_location_efs
|
94
98
|
Aws::DataSync::Endpoints::DescribeLocationEfs.build(context)
|
95
99
|
when :describe_location_fsx_lustre
|
@@ -110,28 +114,48 @@ module Aws::DataSync
|
|
110
114
|
Aws::DataSync::Endpoints::DescribeLocationS3.build(context)
|
111
115
|
when :describe_location_smb
|
112
116
|
Aws::DataSync::Endpoints::DescribeLocationSmb.build(context)
|
117
|
+
when :describe_storage_system
|
118
|
+
Aws::DataSync::Endpoints::DescribeStorageSystem.build(context)
|
119
|
+
when :describe_storage_system_resource_metrics
|
120
|
+
Aws::DataSync::Endpoints::DescribeStorageSystemResourceMetrics.build(context)
|
121
|
+
when :describe_storage_system_resources
|
122
|
+
Aws::DataSync::Endpoints::DescribeStorageSystemResources.build(context)
|
113
123
|
when :describe_task
|
114
124
|
Aws::DataSync::Endpoints::DescribeTask.build(context)
|
115
125
|
when :describe_task_execution
|
116
126
|
Aws::DataSync::Endpoints::DescribeTaskExecution.build(context)
|
127
|
+
when :generate_recommendations
|
128
|
+
Aws::DataSync::Endpoints::GenerateRecommendations.build(context)
|
117
129
|
when :list_agents
|
118
130
|
Aws::DataSync::Endpoints::ListAgents.build(context)
|
131
|
+
when :list_discovery_jobs
|
132
|
+
Aws::DataSync::Endpoints::ListDiscoveryJobs.build(context)
|
119
133
|
when :list_locations
|
120
134
|
Aws::DataSync::Endpoints::ListLocations.build(context)
|
135
|
+
when :list_storage_systems
|
136
|
+
Aws::DataSync::Endpoints::ListStorageSystems.build(context)
|
121
137
|
when :list_tags_for_resource
|
122
138
|
Aws::DataSync::Endpoints::ListTagsForResource.build(context)
|
123
139
|
when :list_task_executions
|
124
140
|
Aws::DataSync::Endpoints::ListTaskExecutions.build(context)
|
125
141
|
when :list_tasks
|
126
142
|
Aws::DataSync::Endpoints::ListTasks.build(context)
|
143
|
+
when :remove_storage_system
|
144
|
+
Aws::DataSync::Endpoints::RemoveStorageSystem.build(context)
|
145
|
+
when :start_discovery_job
|
146
|
+
Aws::DataSync::Endpoints::StartDiscoveryJob.build(context)
|
127
147
|
when :start_task_execution
|
128
148
|
Aws::DataSync::Endpoints::StartTaskExecution.build(context)
|
149
|
+
when :stop_discovery_job
|
150
|
+
Aws::DataSync::Endpoints::StopDiscoveryJob.build(context)
|
129
151
|
when :tag_resource
|
130
152
|
Aws::DataSync::Endpoints::TagResource.build(context)
|
131
153
|
when :untag_resource
|
132
154
|
Aws::DataSync::Endpoints::UntagResource.build(context)
|
133
155
|
when :update_agent
|
134
156
|
Aws::DataSync::Endpoints::UpdateAgent.build(context)
|
157
|
+
when :update_discovery_job
|
158
|
+
Aws::DataSync::Endpoints::UpdateDiscoveryJob.build(context)
|
135
159
|
when :update_location_hdfs
|
136
160
|
Aws::DataSync::Endpoints::UpdateLocationHdfs.build(context)
|
137
161
|
when :update_location_nfs
|
@@ -140,6 +164,8 @@ module Aws::DataSync
|
|
140
164
|
Aws::DataSync::Endpoints::UpdateLocationObjectStorage.build(context)
|
141
165
|
when :update_location_smb
|
142
166
|
Aws::DataSync::Endpoints::UpdateLocationSmb.build(context)
|
167
|
+
when :update_storage_system
|
168
|
+
Aws::DataSync::Endpoints::UpdateStorageSystem.build(context)
|
143
169
|
when :update_task
|
144
170
|
Aws::DataSync::Endpoints::UpdateTask.build(context)
|
145
171
|
when :update_task_execution
|