aws-sdk-datasync 1.62.0 → 1.64.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 +290 -93
- data/lib/aws-sdk-datasync/client_api.rb +84 -0
- data/lib/aws-sdk-datasync/endpoints.rb +42 -0
- data/lib/aws-sdk-datasync/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-datasync/types.rb +338 -114
- data/lib/aws-sdk-datasync.rb +1 -1
- metadata +2 -2
@@ -22,6 +22,13 @@ module Aws::DataSync
|
|
22
22
|
AgentListEntry = Shapes::StructureShape.new(name: 'AgentListEntry')
|
23
23
|
AgentStatus = Shapes::StringShape.new(name: 'AgentStatus')
|
24
24
|
Atime = Shapes::StringShape.new(name: 'Atime')
|
25
|
+
AzureAccessTier = Shapes::StringShape.new(name: 'AzureAccessTier')
|
26
|
+
AzureBlobAuthenticationType = Shapes::StringShape.new(name: 'AzureBlobAuthenticationType')
|
27
|
+
AzureBlobContainerUrl = Shapes::StringShape.new(name: 'AzureBlobContainerUrl')
|
28
|
+
AzureBlobSasConfiguration = Shapes::StructureShape.new(name: 'AzureBlobSasConfiguration')
|
29
|
+
AzureBlobSasToken = Shapes::StringShape.new(name: 'AzureBlobSasToken')
|
30
|
+
AzureBlobSubdirectory = Shapes::StringShape.new(name: 'AzureBlobSubdirectory')
|
31
|
+
AzureBlobType = Shapes::StringShape.new(name: 'AzureBlobType')
|
25
32
|
BytesPerSecond = Shapes::IntegerShape.new(name: 'BytesPerSecond')
|
26
33
|
CancelTaskExecutionRequest = Shapes::StructureShape.new(name: 'CancelTaskExecutionRequest')
|
27
34
|
CancelTaskExecutionResponse = Shapes::StructureShape.new(name: 'CancelTaskExecutionResponse')
|
@@ -29,6 +36,8 @@ module Aws::DataSync
|
|
29
36
|
CollectionDurationMinutes = Shapes::IntegerShape.new(name: 'CollectionDurationMinutes')
|
30
37
|
CreateAgentRequest = Shapes::StructureShape.new(name: 'CreateAgentRequest')
|
31
38
|
CreateAgentResponse = Shapes::StructureShape.new(name: 'CreateAgentResponse')
|
39
|
+
CreateLocationAzureBlobRequest = Shapes::StructureShape.new(name: 'CreateLocationAzureBlobRequest')
|
40
|
+
CreateLocationAzureBlobResponse = Shapes::StructureShape.new(name: 'CreateLocationAzureBlobResponse')
|
32
41
|
CreateLocationEfsRequest = Shapes::StructureShape.new(name: 'CreateLocationEfsRequest')
|
33
42
|
CreateLocationEfsResponse = Shapes::StructureShape.new(name: 'CreateLocationEfsResponse')
|
34
43
|
CreateLocationFsxLustreRequest = Shapes::StructureShape.new(name: 'CreateLocationFsxLustreRequest')
|
@@ -62,6 +71,8 @@ module Aws::DataSync
|
|
62
71
|
DescribeAgentResponse = Shapes::StructureShape.new(name: 'DescribeAgentResponse')
|
63
72
|
DescribeDiscoveryJobRequest = Shapes::StructureShape.new(name: 'DescribeDiscoveryJobRequest')
|
64
73
|
DescribeDiscoveryJobResponse = Shapes::StructureShape.new(name: 'DescribeDiscoveryJobResponse')
|
74
|
+
DescribeLocationAzureBlobRequest = Shapes::StructureShape.new(name: 'DescribeLocationAzureBlobRequest')
|
75
|
+
DescribeLocationAzureBlobResponse = Shapes::StructureShape.new(name: 'DescribeLocationAzureBlobResponse')
|
65
76
|
DescribeLocationEfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationEfsRequest')
|
66
77
|
DescribeLocationEfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationEfsResponse')
|
67
78
|
DescribeLocationFsxLustreRequest = Shapes::StructureShape.new(name: 'DescribeLocationFsxLustreRequest')
|
@@ -295,6 +306,8 @@ module Aws::DataSync
|
|
295
306
|
UpdateAgentResponse = Shapes::StructureShape.new(name: 'UpdateAgentResponse')
|
296
307
|
UpdateDiscoveryJobRequest = Shapes::StructureShape.new(name: 'UpdateDiscoveryJobRequest')
|
297
308
|
UpdateDiscoveryJobResponse = Shapes::StructureShape.new(name: 'UpdateDiscoveryJobResponse')
|
309
|
+
UpdateLocationAzureBlobRequest = Shapes::StructureShape.new(name: 'UpdateLocationAzureBlobRequest')
|
310
|
+
UpdateLocationAzureBlobResponse = Shapes::StructureShape.new(name: 'UpdateLocationAzureBlobResponse')
|
298
311
|
UpdateLocationHdfsRequest = Shapes::StructureShape.new(name: 'UpdateLocationHdfsRequest')
|
299
312
|
UpdateLocationHdfsResponse = Shapes::StructureShape.new(name: 'UpdateLocationHdfsResponse')
|
300
313
|
UpdateLocationNfsRequest = Shapes::StructureShape.new(name: 'UpdateLocationNfsRequest')
|
@@ -336,6 +349,9 @@ module Aws::DataSync
|
|
336
349
|
AgentListEntry.add_member(:status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "Status"))
|
337
350
|
AgentListEntry.struct_class = Types::AgentListEntry
|
338
351
|
|
352
|
+
AzureBlobSasConfiguration.add_member(:token, Shapes::ShapeRef.new(shape: AzureBlobSasToken, required: true, location_name: "Token"))
|
353
|
+
AzureBlobSasConfiguration.struct_class = Types::AzureBlobSasConfiguration
|
354
|
+
|
339
355
|
CancelTaskExecutionRequest.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, required: true, location_name: "TaskExecutionArn"))
|
340
356
|
CancelTaskExecutionRequest.struct_class = Types::CancelTaskExecutionRequest
|
341
357
|
|
@@ -344,6 +360,7 @@ module Aws::DataSync
|
|
344
360
|
Capacity.add_member(:used, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "Used"))
|
345
361
|
Capacity.add_member(:provisioned, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "Provisioned"))
|
346
362
|
Capacity.add_member(:logical_used, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "LogicalUsed"))
|
363
|
+
Capacity.add_member(:cluster_cloud_storage_used, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "ClusterCloudStorageUsed"))
|
347
364
|
Capacity.struct_class = Types::Capacity
|
348
365
|
|
349
366
|
CreateAgentRequest.add_member(:activation_key, Shapes::ShapeRef.new(shape: ActivationKey, required: true, location_name: "ActivationKey"))
|
@@ -357,6 +374,19 @@ module Aws::DataSync
|
|
357
374
|
CreateAgentResponse.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, location_name: "AgentArn"))
|
358
375
|
CreateAgentResponse.struct_class = Types::CreateAgentResponse
|
359
376
|
|
377
|
+
CreateLocationAzureBlobRequest.add_member(:container_url, Shapes::ShapeRef.new(shape: AzureBlobContainerUrl, required: true, location_name: "ContainerUrl"))
|
378
|
+
CreateLocationAzureBlobRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AzureBlobAuthenticationType, required: true, location_name: "AuthenticationType"))
|
379
|
+
CreateLocationAzureBlobRequest.add_member(:sas_configuration, Shapes::ShapeRef.new(shape: AzureBlobSasConfiguration, location_name: "SasConfiguration"))
|
380
|
+
CreateLocationAzureBlobRequest.add_member(:blob_type, Shapes::ShapeRef.new(shape: AzureBlobType, location_name: "BlobType"))
|
381
|
+
CreateLocationAzureBlobRequest.add_member(:access_tier, Shapes::ShapeRef.new(shape: AzureAccessTier, location_name: "AccessTier"))
|
382
|
+
CreateLocationAzureBlobRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: AzureBlobSubdirectory, location_name: "Subdirectory"))
|
383
|
+
CreateLocationAzureBlobRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
|
384
|
+
CreateLocationAzureBlobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
385
|
+
CreateLocationAzureBlobRequest.struct_class = Types::CreateLocationAzureBlobRequest
|
386
|
+
|
387
|
+
CreateLocationAzureBlobResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
388
|
+
CreateLocationAzureBlobResponse.struct_class = Types::CreateLocationAzureBlobResponse
|
389
|
+
|
360
390
|
CreateLocationEfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: EfsSubdirectory, location_name: "Subdirectory"))
|
361
391
|
CreateLocationEfsRequest.add_member(:efs_filesystem_arn, Shapes::ShapeRef.new(shape: EfsFilesystemArn, required: true, location_name: "EfsFilesystemArn"))
|
362
392
|
CreateLocationEfsRequest.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, required: true, location_name: "Ec2Config"))
|
@@ -533,6 +563,18 @@ module Aws::DataSync
|
|
533
563
|
DescribeDiscoveryJobResponse.add_member(:job_end_time, Shapes::ShapeRef.new(shape: DiscoveryTime, location_name: "JobEndTime"))
|
534
564
|
DescribeDiscoveryJobResponse.struct_class = Types::DescribeDiscoveryJobResponse
|
535
565
|
|
566
|
+
DescribeLocationAzureBlobRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
567
|
+
DescribeLocationAzureBlobRequest.struct_class = Types::DescribeLocationAzureBlobRequest
|
568
|
+
|
569
|
+
DescribeLocationAzureBlobResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
570
|
+
DescribeLocationAzureBlobResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
571
|
+
DescribeLocationAzureBlobResponse.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AzureBlobAuthenticationType, location_name: "AuthenticationType"))
|
572
|
+
DescribeLocationAzureBlobResponse.add_member(:blob_type, Shapes::ShapeRef.new(shape: AzureBlobType, location_name: "BlobType"))
|
573
|
+
DescribeLocationAzureBlobResponse.add_member(:access_tier, Shapes::ShapeRef.new(shape: AzureAccessTier, location_name: "AccessTier"))
|
574
|
+
DescribeLocationAzureBlobResponse.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
|
575
|
+
DescribeLocationAzureBlobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
576
|
+
DescribeLocationAzureBlobResponse.struct_class = Types::DescribeLocationAzureBlobResponse
|
577
|
+
|
536
578
|
DescribeLocationEfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
537
579
|
DescribeLocationEfsRequest.struct_class = Types::DescribeLocationEfsRequest
|
538
580
|
|
@@ -909,6 +951,7 @@ module Aws::DataSync
|
|
909
951
|
NetAppONTAPCluster.add_member(:recommendations, Shapes::ShapeRef.new(shape: Recommendations, location_name: "Recommendations"))
|
910
952
|
NetAppONTAPCluster.add_member(:recommendation_status, Shapes::ShapeRef.new(shape: RecommendationStatus, location_name: "RecommendationStatus"))
|
911
953
|
NetAppONTAPCluster.add_member(:lun_count, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "LunCount"))
|
954
|
+
NetAppONTAPCluster.add_member(:cluster_cloud_storage_used, Shapes::ShapeRef.new(shape: NonNegativeLong, location_name: "ClusterCloudStorageUsed"))
|
912
955
|
NetAppONTAPCluster.struct_class = Types::NetAppONTAPCluster
|
913
956
|
|
914
957
|
NetAppONTAPClusters.member = Shapes::ShapeRef.new(shape: NetAppONTAPCluster)
|
@@ -1134,6 +1177,17 @@ module Aws::DataSync
|
|
1134
1177
|
|
1135
1178
|
UpdateDiscoveryJobResponse.struct_class = Types::UpdateDiscoveryJobResponse
|
1136
1179
|
|
1180
|
+
UpdateLocationAzureBlobRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
1181
|
+
UpdateLocationAzureBlobRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: AzureBlobSubdirectory, location_name: "Subdirectory"))
|
1182
|
+
UpdateLocationAzureBlobRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AzureBlobAuthenticationType, location_name: "AuthenticationType"))
|
1183
|
+
UpdateLocationAzureBlobRequest.add_member(:sas_configuration, Shapes::ShapeRef.new(shape: AzureBlobSasConfiguration, location_name: "SasConfiguration"))
|
1184
|
+
UpdateLocationAzureBlobRequest.add_member(:blob_type, Shapes::ShapeRef.new(shape: AzureBlobType, location_name: "BlobType"))
|
1185
|
+
UpdateLocationAzureBlobRequest.add_member(:access_tier, Shapes::ShapeRef.new(shape: AzureAccessTier, location_name: "AccessTier"))
|
1186
|
+
UpdateLocationAzureBlobRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
|
1187
|
+
UpdateLocationAzureBlobRequest.struct_class = Types::UpdateLocationAzureBlobRequest
|
1188
|
+
|
1189
|
+
UpdateLocationAzureBlobResponse.struct_class = Types::UpdateLocationAzureBlobResponse
|
1190
|
+
|
1137
1191
|
UpdateLocationHdfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
1138
1192
|
UpdateLocationHdfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: HdfsSubdirectory, location_name: "Subdirectory"))
|
1139
1193
|
UpdateLocationHdfsRequest.add_member(:name_nodes, Shapes::ShapeRef.new(shape: HdfsNameNodeList, location_name: "NameNodes"))
|
@@ -1262,6 +1316,16 @@ module Aws::DataSync
|
|
1262
1316
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1263
1317
|
end)
|
1264
1318
|
|
1319
|
+
api.add_operation(:create_location_azure_blob, Seahorse::Model::Operation.new.tap do |o|
|
1320
|
+
o.name = "CreateLocationAzureBlob"
|
1321
|
+
o.http_method = "POST"
|
1322
|
+
o.http_request_uri = "/"
|
1323
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationAzureBlobRequest)
|
1324
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationAzureBlobResponse)
|
1325
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1326
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1327
|
+
end)
|
1328
|
+
|
1265
1329
|
api.add_operation(:create_location_efs, Seahorse::Model::Operation.new.tap do |o|
|
1266
1330
|
o.name = "CreateLocationEfs"
|
1267
1331
|
o.http_method = "POST"
|
@@ -1425,6 +1489,16 @@ module Aws::DataSync
|
|
1425
1489
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1426
1490
|
end)
|
1427
1491
|
|
1492
|
+
api.add_operation(:describe_location_azure_blob, Seahorse::Model::Operation.new.tap do |o|
|
1493
|
+
o.name = "DescribeLocationAzureBlob"
|
1494
|
+
o.http_method = "POST"
|
1495
|
+
o.http_request_uri = "/"
|
1496
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationAzureBlobRequest)
|
1497
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationAzureBlobResponse)
|
1498
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1499
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1500
|
+
end)
|
1501
|
+
|
1428
1502
|
api.add_operation(:describe_location_efs, Seahorse::Model::Operation.new.tap do |o|
|
1429
1503
|
o.name = "DescribeLocationEfs"
|
1430
1504
|
o.http_method = "POST"
|
@@ -1819,6 +1893,16 @@ module Aws::DataSync
|
|
1819
1893
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1820
1894
|
end)
|
1821
1895
|
|
1896
|
+
api.add_operation(:update_location_azure_blob, Seahorse::Model::Operation.new.tap do |o|
|
1897
|
+
o.name = "UpdateLocationAzureBlob"
|
1898
|
+
o.http_method = "POST"
|
1899
|
+
o.http_request_uri = "/"
|
1900
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateLocationAzureBlobRequest)
|
1901
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateLocationAzureBlobResponse)
|
1902
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1903
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1904
|
+
end)
|
1905
|
+
|
1822
1906
|
api.add_operation(:update_location_hdfs, Seahorse::Model::Operation.new.tap do |o|
|
1823
1907
|
o.name = "UpdateLocationHdfs"
|
1824
1908
|
o.http_method = "POST"
|
@@ -54,6 +54,20 @@ module Aws::DataSync
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
class CreateLocationAzureBlob
|
58
|
+
def self.build(context)
|
59
|
+
unless context.config.regional_endpoint
|
60
|
+
endpoint = context.config.endpoint.to_s
|
61
|
+
end
|
62
|
+
Aws::DataSync::EndpointParameters.new(
|
63
|
+
region: context.config.region,
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
66
|
+
endpoint: endpoint,
|
67
|
+
)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
57
71
|
class CreateLocationEfs
|
58
72
|
def self.build(context)
|
59
73
|
unless context.config.regional_endpoint
|
@@ -278,6 +292,20 @@ module Aws::DataSync
|
|
278
292
|
end
|
279
293
|
end
|
280
294
|
|
295
|
+
class DescribeLocationAzureBlob
|
296
|
+
def self.build(context)
|
297
|
+
unless context.config.regional_endpoint
|
298
|
+
endpoint = context.config.endpoint.to_s
|
299
|
+
end
|
300
|
+
Aws::DataSync::EndpointParameters.new(
|
301
|
+
region: context.config.region,
|
302
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
303
|
+
use_fips: context.config.use_fips_endpoint,
|
304
|
+
endpoint: endpoint,
|
305
|
+
)
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
281
309
|
class DescribeLocationEfs
|
282
310
|
def self.build(context)
|
283
311
|
unless context.config.regional_endpoint
|
@@ -712,6 +740,20 @@ module Aws::DataSync
|
|
712
740
|
end
|
713
741
|
end
|
714
742
|
|
743
|
+
class UpdateLocationAzureBlob
|
744
|
+
def self.build(context)
|
745
|
+
unless context.config.regional_endpoint
|
746
|
+
endpoint = context.config.endpoint.to_s
|
747
|
+
end
|
748
|
+
Aws::DataSync::EndpointParameters.new(
|
749
|
+
region: context.config.region,
|
750
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
751
|
+
use_fips: context.config.use_fips_endpoint,
|
752
|
+
endpoint: endpoint,
|
753
|
+
)
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
715
757
|
class UpdateLocationHdfs
|
716
758
|
def self.build(context)
|
717
759
|
unless context.config.regional_endpoint
|
@@ -62,6 +62,8 @@ module Aws::DataSync
|
|
62
62
|
Aws::DataSync::Endpoints::CancelTaskExecution.build(context)
|
63
63
|
when :create_agent
|
64
64
|
Aws::DataSync::Endpoints::CreateAgent.build(context)
|
65
|
+
when :create_location_azure_blob
|
66
|
+
Aws::DataSync::Endpoints::CreateLocationAzureBlob.build(context)
|
65
67
|
when :create_location_efs
|
66
68
|
Aws::DataSync::Endpoints::CreateLocationEfs.build(context)
|
67
69
|
when :create_location_fsx_lustre
|
@@ -94,6 +96,8 @@ module Aws::DataSync
|
|
94
96
|
Aws::DataSync::Endpoints::DescribeAgent.build(context)
|
95
97
|
when :describe_discovery_job
|
96
98
|
Aws::DataSync::Endpoints::DescribeDiscoveryJob.build(context)
|
99
|
+
when :describe_location_azure_blob
|
100
|
+
Aws::DataSync::Endpoints::DescribeLocationAzureBlob.build(context)
|
97
101
|
when :describe_location_efs
|
98
102
|
Aws::DataSync::Endpoints::DescribeLocationEfs.build(context)
|
99
103
|
when :describe_location_fsx_lustre
|
@@ -156,6 +160,8 @@ module Aws::DataSync
|
|
156
160
|
Aws::DataSync::Endpoints::UpdateAgent.build(context)
|
157
161
|
when :update_discovery_job
|
158
162
|
Aws::DataSync::Endpoints::UpdateDiscoveryJob.build(context)
|
163
|
+
when :update_location_azure_blob
|
164
|
+
Aws::DataSync::Endpoints::UpdateLocationAzureBlob.build(context)
|
159
165
|
when :update_location_hdfs
|
160
166
|
Aws::DataSync::Endpoints::UpdateLocationHdfs.build(context)
|
161
167
|
when :update_location_nfs
|