aws-sdk-datasync 1.45.0 → 1.48.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +242 -81
- data/lib/aws-sdk-datasync/client_api.rb +67 -0
- data/lib/aws-sdk-datasync/errors.rb +5 -0
- data/lib/aws-sdk-datasync/types.rb +484 -205
- data/lib/aws-sdk-datasync.rb +1 -1
- metadata +2 -2
@@ -29,6 +29,8 @@ module Aws::DataSync
|
|
29
29
|
CreateLocationEfsResponse = Shapes::StructureShape.new(name: 'CreateLocationEfsResponse')
|
30
30
|
CreateLocationFsxLustreRequest = Shapes::StructureShape.new(name: 'CreateLocationFsxLustreRequest')
|
31
31
|
CreateLocationFsxLustreResponse = Shapes::StructureShape.new(name: 'CreateLocationFsxLustreResponse')
|
32
|
+
CreateLocationFsxOntapRequest = Shapes::StructureShape.new(name: 'CreateLocationFsxOntapRequest')
|
33
|
+
CreateLocationFsxOntapResponse = Shapes::StructureShape.new(name: 'CreateLocationFsxOntapResponse')
|
32
34
|
CreateLocationFsxOpenZfsRequest = Shapes::StructureShape.new(name: 'CreateLocationFsxOpenZfsRequest')
|
33
35
|
CreateLocationFsxOpenZfsResponse = Shapes::StructureShape.new(name: 'CreateLocationFsxOpenZfsResponse')
|
34
36
|
CreateLocationFsxWindowsRequest = Shapes::StructureShape.new(name: 'CreateLocationFsxWindowsRequest')
|
@@ -57,6 +59,8 @@ module Aws::DataSync
|
|
57
59
|
DescribeLocationEfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationEfsResponse')
|
58
60
|
DescribeLocationFsxLustreRequest = Shapes::StructureShape.new(name: 'DescribeLocationFsxLustreRequest')
|
59
61
|
DescribeLocationFsxLustreResponse = Shapes::StructureShape.new(name: 'DescribeLocationFsxLustreResponse')
|
62
|
+
DescribeLocationFsxOntapRequest = Shapes::StructureShape.new(name: 'DescribeLocationFsxOntapRequest')
|
63
|
+
DescribeLocationFsxOntapResponse = Shapes::StructureShape.new(name: 'DescribeLocationFsxOntapResponse')
|
60
64
|
DescribeLocationFsxOpenZfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationFsxOpenZfsRequest')
|
61
65
|
DescribeLocationFsxOpenZfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationFsxOpenZfsResponse')
|
62
66
|
DescribeLocationFsxWindowsRequest = Shapes::StructureShape.new(name: 'DescribeLocationFsxWindowsRequest')
|
@@ -81,7 +85,9 @@ module Aws::DataSync
|
|
81
85
|
Ec2SecurityGroupArn = Shapes::StringShape.new(name: 'Ec2SecurityGroupArn')
|
82
86
|
Ec2SecurityGroupArnList = Shapes::ListShape.new(name: 'Ec2SecurityGroupArnList')
|
83
87
|
Ec2SubnetArn = Shapes::StringShape.new(name: 'Ec2SubnetArn')
|
88
|
+
EfsAccessPointArn = Shapes::StringShape.new(name: 'EfsAccessPointArn')
|
84
89
|
EfsFilesystemArn = Shapes::StringShape.new(name: 'EfsFilesystemArn')
|
90
|
+
EfsInTransitEncryption = Shapes::StringShape.new(name: 'EfsInTransitEncryption')
|
85
91
|
EfsSubdirectory = Shapes::StringShape.new(name: 'EfsSubdirectory')
|
86
92
|
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
87
93
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
@@ -93,9 +99,11 @@ module Aws::DataSync
|
|
93
99
|
FilterValues = Shapes::ListShape.new(name: 'FilterValues')
|
94
100
|
FsxFilesystemArn = Shapes::StringShape.new(name: 'FsxFilesystemArn')
|
95
101
|
FsxLustreSubdirectory = Shapes::StringShape.new(name: 'FsxLustreSubdirectory')
|
102
|
+
FsxOntapSubdirectory = Shapes::StringShape.new(name: 'FsxOntapSubdirectory')
|
96
103
|
FsxOpenZfsSubdirectory = Shapes::StringShape.new(name: 'FsxOpenZfsSubdirectory')
|
97
104
|
FsxProtocol = Shapes::StructureShape.new(name: 'FsxProtocol')
|
98
105
|
FsxProtocolNfs = Shapes::StructureShape.new(name: 'FsxProtocolNfs')
|
106
|
+
FsxProtocolSmb = Shapes::StructureShape.new(name: 'FsxProtocolSmb')
|
99
107
|
FsxWindowsSubdirectory = Shapes::StringShape.new(name: 'FsxWindowsSubdirectory')
|
100
108
|
Gid = Shapes::StringShape.new(name: 'Gid')
|
101
109
|
HdfsAuthenticationType = Shapes::StringShape.new(name: 'HdfsAuthenticationType')
|
@@ -148,6 +156,7 @@ module Aws::DataSync
|
|
148
156
|
ObjectStorageSecretKey = Shapes::StringShape.new(name: 'ObjectStorageSecretKey')
|
149
157
|
ObjectStorageServerPort = Shapes::IntegerShape.new(name: 'ObjectStorageServerPort')
|
150
158
|
ObjectStorageServerProtocol = Shapes::StringShape.new(name: 'ObjectStorageServerProtocol')
|
159
|
+
ObjectTags = Shapes::StringShape.new(name: 'ObjectTags')
|
151
160
|
OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
|
152
161
|
Operator = Shapes::StringShape.new(name: 'Operator')
|
153
162
|
Options = Shapes::StructureShape.new(name: 'Options')
|
@@ -177,6 +186,7 @@ module Aws::DataSync
|
|
177
186
|
SourceNetworkInterfaceArns = Shapes::ListShape.new(name: 'SourceNetworkInterfaceArns')
|
178
187
|
StartTaskExecutionRequest = Shapes::StructureShape.new(name: 'StartTaskExecutionRequest')
|
179
188
|
StartTaskExecutionResponse = Shapes::StructureShape.new(name: 'StartTaskExecutionResponse')
|
189
|
+
StorageVirtualMachineArn = Shapes::StringShape.new(name: 'StorageVirtualMachineArn')
|
180
190
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
181
191
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
182
192
|
TagListEntry = Shapes::StructureShape.new(name: 'TagListEntry')
|
@@ -251,6 +261,9 @@ module Aws::DataSync
|
|
251
261
|
CreateLocationEfsRequest.add_member(:efs_filesystem_arn, Shapes::ShapeRef.new(shape: EfsFilesystemArn, required: true, location_name: "EfsFilesystemArn"))
|
252
262
|
CreateLocationEfsRequest.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, required: true, location_name: "Ec2Config"))
|
253
263
|
CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
264
|
+
CreateLocationEfsRequest.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: EfsAccessPointArn, location_name: "AccessPointArn"))
|
265
|
+
CreateLocationEfsRequest.add_member(:file_system_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "FileSystemAccessRoleArn"))
|
266
|
+
CreateLocationEfsRequest.add_member(:in_transit_encryption, Shapes::ShapeRef.new(shape: EfsInTransitEncryption, location_name: "InTransitEncryption"))
|
254
267
|
CreateLocationEfsRequest.struct_class = Types::CreateLocationEfsRequest
|
255
268
|
|
256
269
|
CreateLocationEfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -265,6 +278,16 @@ module Aws::DataSync
|
|
265
278
|
CreateLocationFsxLustreResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
266
279
|
CreateLocationFsxLustreResponse.struct_class = Types::CreateLocationFsxLustreResponse
|
267
280
|
|
281
|
+
CreateLocationFsxOntapRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: FsxProtocol, required: true, location_name: "Protocol"))
|
282
|
+
CreateLocationFsxOntapRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
|
283
|
+
CreateLocationFsxOntapRequest.add_member(:storage_virtual_machine_arn, Shapes::ShapeRef.new(shape: StorageVirtualMachineArn, required: true, location_name: "StorageVirtualMachineArn"))
|
284
|
+
CreateLocationFsxOntapRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxOntapSubdirectory, location_name: "Subdirectory"))
|
285
|
+
CreateLocationFsxOntapRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
286
|
+
CreateLocationFsxOntapRequest.struct_class = Types::CreateLocationFsxOntapRequest
|
287
|
+
|
288
|
+
CreateLocationFsxOntapResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
289
|
+
CreateLocationFsxOntapResponse.struct_class = Types::CreateLocationFsxOntapResponse
|
290
|
+
|
268
291
|
CreateLocationFsxOpenZfsRequest.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, required: true, location_name: "FsxFilesystemArn"))
|
269
292
|
CreateLocationFsxOpenZfsRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: FsxProtocol, required: true, location_name: "Protocol"))
|
270
293
|
CreateLocationFsxOpenZfsRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
|
@@ -401,6 +424,9 @@ module Aws::DataSync
|
|
401
424
|
DescribeLocationEfsResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
402
425
|
DescribeLocationEfsResponse.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, location_name: "Ec2Config"))
|
403
426
|
DescribeLocationEfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
427
|
+
DescribeLocationEfsResponse.add_member(:access_point_arn, Shapes::ShapeRef.new(shape: EfsAccessPointArn, location_name: "AccessPointArn"))
|
428
|
+
DescribeLocationEfsResponse.add_member(:file_system_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "FileSystemAccessRoleArn"))
|
429
|
+
DescribeLocationEfsResponse.add_member(:in_transit_encryption, Shapes::ShapeRef.new(shape: EfsInTransitEncryption, location_name: "InTransitEncryption"))
|
404
430
|
DescribeLocationEfsResponse.struct_class = Types::DescribeLocationEfsResponse
|
405
431
|
|
406
432
|
DescribeLocationFsxLustreRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
@@ -412,6 +438,18 @@ module Aws::DataSync
|
|
412
438
|
DescribeLocationFsxLustreResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
413
439
|
DescribeLocationFsxLustreResponse.struct_class = Types::DescribeLocationFsxLustreResponse
|
414
440
|
|
441
|
+
DescribeLocationFsxOntapRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
442
|
+
DescribeLocationFsxOntapRequest.struct_class = Types::DescribeLocationFsxOntapRequest
|
443
|
+
|
444
|
+
DescribeLocationFsxOntapResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
445
|
+
DescribeLocationFsxOntapResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
446
|
+
DescribeLocationFsxOntapResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
447
|
+
DescribeLocationFsxOntapResponse.add_member(:protocol, Shapes::ShapeRef.new(shape: FsxProtocol, location_name: "Protocol"))
|
448
|
+
DescribeLocationFsxOntapResponse.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, location_name: "SecurityGroupArns"))
|
449
|
+
DescribeLocationFsxOntapResponse.add_member(:storage_virtual_machine_arn, Shapes::ShapeRef.new(shape: StorageVirtualMachineArn, location_name: "StorageVirtualMachineArn"))
|
450
|
+
DescribeLocationFsxOntapResponse.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, location_name: "FsxFilesystemArn"))
|
451
|
+
DescribeLocationFsxOntapResponse.struct_class = Types::DescribeLocationFsxOntapResponse
|
452
|
+
|
415
453
|
DescribeLocationFsxOpenZfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
416
454
|
DescribeLocationFsxOpenZfsRequest.struct_class = Types::DescribeLocationFsxOpenZfsRequest
|
417
455
|
|
@@ -550,11 +588,18 @@ module Aws::DataSync
|
|
550
588
|
FilterValues.member = Shapes::ShapeRef.new(shape: FilterAttributeValue)
|
551
589
|
|
552
590
|
FsxProtocol.add_member(:nfs, Shapes::ShapeRef.new(shape: FsxProtocolNfs, location_name: "NFS"))
|
591
|
+
FsxProtocol.add_member(:smb, Shapes::ShapeRef.new(shape: FsxProtocolSmb, location_name: "SMB"))
|
553
592
|
FsxProtocol.struct_class = Types::FsxProtocol
|
554
593
|
|
555
594
|
FsxProtocolNfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
|
556
595
|
FsxProtocolNfs.struct_class = Types::FsxProtocolNfs
|
557
596
|
|
597
|
+
FsxProtocolSmb.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
598
|
+
FsxProtocolSmb.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
599
|
+
FsxProtocolSmb.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, required: true, location_name: "Password"))
|
600
|
+
FsxProtocolSmb.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, required: true, location_name: "User"))
|
601
|
+
FsxProtocolSmb.struct_class = Types::FsxProtocolSmb
|
602
|
+
|
558
603
|
HdfsNameNode.add_member(:hostname, Shapes::ShapeRef.new(shape: HdfsServerHostname, required: true, location_name: "Hostname"))
|
559
604
|
HdfsNameNode.add_member(:port, Shapes::ShapeRef.new(shape: HdfsServerPort, required: true, location_name: "Port"))
|
560
605
|
HdfsNameNode.struct_class = Types::HdfsNameNode
|
@@ -569,6 +614,7 @@ module Aws::DataSync
|
|
569
614
|
|
570
615
|
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
571
616
|
InvalidRequestException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "errorCode"))
|
617
|
+
InvalidRequestException.add_member(:datasync_error_code, Shapes::ShapeRef.new(shape: string, location_name: "datasyncErrorCode"))
|
572
618
|
InvalidRequestException.struct_class = Types::InvalidRequestException
|
573
619
|
|
574
620
|
ListAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
@@ -648,6 +694,7 @@ module Aws::DataSync
|
|
648
694
|
Options.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "LogLevel"))
|
649
695
|
Options.add_member(:transfer_mode, Shapes::ShapeRef.new(shape: TransferMode, location_name: "TransferMode"))
|
650
696
|
Options.add_member(:security_descriptor_copy_flags, Shapes::ShapeRef.new(shape: SmbSecurityDescriptorCopyFlags, location_name: "SecurityDescriptorCopyFlags"))
|
697
|
+
Options.add_member(:object_tags, Shapes::ShapeRef.new(shape: ObjectTags, location_name: "ObjectTags"))
|
651
698
|
Options.struct_class = Types::Options
|
652
699
|
|
653
700
|
OutputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
@@ -865,6 +912,16 @@ module Aws::DataSync
|
|
865
912
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
866
913
|
end)
|
867
914
|
|
915
|
+
api.add_operation(:create_location_fsx_ontap, Seahorse::Model::Operation.new.tap do |o|
|
916
|
+
o.name = "CreateLocationFsxOntap"
|
917
|
+
o.http_method = "POST"
|
918
|
+
o.http_request_uri = "/"
|
919
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationFsxOntapRequest)
|
920
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationFsxOntapResponse)
|
921
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
922
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
923
|
+
end)
|
924
|
+
|
868
925
|
api.add_operation(:create_location_fsx_open_zfs, Seahorse::Model::Operation.new.tap do |o|
|
869
926
|
o.name = "CreateLocationFsxOpenZfs"
|
870
927
|
o.http_method = "POST"
|
@@ -1005,6 +1062,16 @@ module Aws::DataSync
|
|
1005
1062
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1006
1063
|
end)
|
1007
1064
|
|
1065
|
+
api.add_operation(:describe_location_fsx_ontap, Seahorse::Model::Operation.new.tap do |o|
|
1066
|
+
o.name = "DescribeLocationFsxOntap"
|
1067
|
+
o.http_method = "POST"
|
1068
|
+
o.http_request_uri = "/"
|
1069
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationFsxOntapRequest)
|
1070
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationFsxOntapResponse)
|
1071
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
1072
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
1073
|
+
end)
|
1074
|
+
|
1008
1075
|
api.add_operation(:describe_location_fsx_open_zfs, Seahorse::Model::Operation.new.tap do |o|
|
1009
1076
|
o.name = "DescribeLocationFsxOpenZfs"
|
1010
1077
|
o.http_method = "POST"
|