aws-sdk-datasync 1.18.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-datasync.rb +3 -1
- data/lib/aws-sdk-datasync/client.rb +201 -43
- data/lib/aws-sdk-datasync/client_api.rb +74 -12
- data/lib/aws-sdk-datasync/errors.rb +2 -0
- data/lib/aws-sdk-datasync/resource.rb +3 -7
- data/lib/aws-sdk-datasync/types.rb +322 -35
- metadata +5 -5
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -29,6 +31,8 @@ module Aws::DataSync
|
|
29
31
|
CreateLocationFsxWindowsResponse = Shapes::StructureShape.new(name: 'CreateLocationFsxWindowsResponse')
|
30
32
|
CreateLocationNfsRequest = Shapes::StructureShape.new(name: 'CreateLocationNfsRequest')
|
31
33
|
CreateLocationNfsResponse = Shapes::StructureShape.new(name: 'CreateLocationNfsResponse')
|
34
|
+
CreateLocationObjectStorageRequest = Shapes::StructureShape.new(name: 'CreateLocationObjectStorageRequest')
|
35
|
+
CreateLocationObjectStorageResponse = Shapes::StructureShape.new(name: 'CreateLocationObjectStorageResponse')
|
32
36
|
CreateLocationS3Request = Shapes::StructureShape.new(name: 'CreateLocationS3Request')
|
33
37
|
CreateLocationS3Response = Shapes::StructureShape.new(name: 'CreateLocationS3Response')
|
34
38
|
CreateLocationSmbRequest = Shapes::StructureShape.new(name: 'CreateLocationSmbRequest')
|
@@ -49,6 +53,8 @@ module Aws::DataSync
|
|
49
53
|
DescribeLocationFsxWindowsResponse = Shapes::StructureShape.new(name: 'DescribeLocationFsxWindowsResponse')
|
50
54
|
DescribeLocationNfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationNfsRequest')
|
51
55
|
DescribeLocationNfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationNfsResponse')
|
56
|
+
DescribeLocationObjectStorageRequest = Shapes::StructureShape.new(name: 'DescribeLocationObjectStorageRequest')
|
57
|
+
DescribeLocationObjectStorageResponse = Shapes::StructureShape.new(name: 'DescribeLocationObjectStorageResponse')
|
52
58
|
DescribeLocationS3Request = Shapes::StructureShape.new(name: 'DescribeLocationS3Request')
|
53
59
|
DescribeLocationS3Response = Shapes::StructureShape.new(name: 'DescribeLocationS3Response')
|
54
60
|
DescribeLocationSmbRequest = Shapes::StructureShape.new(name: 'DescribeLocationSmbRequest')
|
@@ -75,6 +81,7 @@ module Aws::DataSync
|
|
75
81
|
FsxWindowsSubdirectory = Shapes::StringShape.new(name: 'FsxWindowsSubdirectory')
|
76
82
|
Gid = Shapes::StringShape.new(name: 'Gid')
|
77
83
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
84
|
+
InputTagList = Shapes::ListShape.new(name: 'InputTagList')
|
78
85
|
InternalException = Shapes::StructureShape.new(name: 'InternalException')
|
79
86
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
80
87
|
ListAgentsRequest = Shapes::StructureShape.new(name: 'ListAgentsRequest')
|
@@ -100,8 +107,14 @@ module Aws::DataSync
|
|
100
107
|
NfsMountOptions = Shapes::StructureShape.new(name: 'NfsMountOptions')
|
101
108
|
NfsSubdirectory = Shapes::StringShape.new(name: 'NfsSubdirectory')
|
102
109
|
NfsVersion = Shapes::StringShape.new(name: 'NfsVersion')
|
110
|
+
ObjectStorageAccessKey = Shapes::StringShape.new(name: 'ObjectStorageAccessKey')
|
111
|
+
ObjectStorageBucketName = Shapes::StringShape.new(name: 'ObjectStorageBucketName')
|
112
|
+
ObjectStorageSecretKey = Shapes::StringShape.new(name: 'ObjectStorageSecretKey')
|
113
|
+
ObjectStorageServerPort = Shapes::IntegerShape.new(name: 'ObjectStorageServerPort')
|
114
|
+
ObjectStorageServerProtocol = Shapes::StringShape.new(name: 'ObjectStorageServerProtocol')
|
103
115
|
OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
|
104
116
|
Options = Shapes::StructureShape.new(name: 'Options')
|
117
|
+
OutputTagList = Shapes::ListShape.new(name: 'OutputTagList')
|
105
118
|
OverwriteMode = Shapes::StringShape.new(name: 'OverwriteMode')
|
106
119
|
PLSecurityGroupArnList = Shapes::ListShape.new(name: 'PLSecurityGroupArnList')
|
107
120
|
PLSubnetArnList = Shapes::ListShape.new(name: 'PLSubnetArnList')
|
@@ -127,7 +140,6 @@ module Aws::DataSync
|
|
127
140
|
StartTaskExecutionResponse = Shapes::StructureShape.new(name: 'StartTaskExecutionResponse')
|
128
141
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
129
142
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
130
|
-
TagList = Shapes::ListShape.new(name: 'TagList')
|
131
143
|
TagListEntry = Shapes::StructureShape.new(name: 'TagListEntry')
|
132
144
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
133
145
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
@@ -145,6 +157,7 @@ module Aws::DataSync
|
|
145
157
|
TaskSchedule = Shapes::StructureShape.new(name: 'TaskSchedule')
|
146
158
|
TaskStatus = Shapes::StringShape.new(name: 'TaskStatus')
|
147
159
|
Time = Shapes::TimestampShape.new(name: 'Time')
|
160
|
+
TransferMode = Shapes::StringShape.new(name: 'TransferMode')
|
148
161
|
Uid = Shapes::StringShape.new(name: 'Uid')
|
149
162
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
150
163
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -173,7 +186,7 @@ module Aws::DataSync
|
|
173
186
|
|
174
187
|
CreateAgentRequest.add_member(:activation_key, Shapes::ShapeRef.new(shape: ActivationKey, required: true, location_name: "ActivationKey"))
|
175
188
|
CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: TagValue, location_name: "AgentName"))
|
176
|
-
CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
189
|
+
CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
177
190
|
CreateAgentRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
|
178
191
|
CreateAgentRequest.add_member(:subnet_arns, Shapes::ShapeRef.new(shape: PLSubnetArnList, location_name: "SubnetArns"))
|
179
192
|
CreateAgentRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: PLSecurityGroupArnList, location_name: "SecurityGroupArns"))
|
@@ -185,7 +198,7 @@ module Aws::DataSync
|
|
185
198
|
CreateLocationEfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: EfsSubdirectory, location_name: "Subdirectory"))
|
186
199
|
CreateLocationEfsRequest.add_member(:efs_filesystem_arn, Shapes::ShapeRef.new(shape: EfsFilesystemArn, required: true, location_name: "EfsFilesystemArn"))
|
187
200
|
CreateLocationEfsRequest.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, required: true, location_name: "Ec2Config"))
|
188
|
-
CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
201
|
+
CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
189
202
|
CreateLocationEfsRequest.struct_class = Types::CreateLocationEfsRequest
|
190
203
|
|
191
204
|
CreateLocationEfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -194,7 +207,7 @@ module Aws::DataSync
|
|
194
207
|
CreateLocationFsxWindowsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxWindowsSubdirectory, location_name: "Subdirectory"))
|
195
208
|
CreateLocationFsxWindowsRequest.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, required: true, location_name: "FsxFilesystemArn"))
|
196
209
|
CreateLocationFsxWindowsRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
|
197
|
-
CreateLocationFsxWindowsRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
210
|
+
CreateLocationFsxWindowsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
198
211
|
CreateLocationFsxWindowsRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, required: true, location_name: "User"))
|
199
212
|
CreateLocationFsxWindowsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
200
213
|
CreateLocationFsxWindowsRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, required: true, location_name: "Password"))
|
@@ -207,17 +220,31 @@ module Aws::DataSync
|
|
207
220
|
CreateLocationNfsRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
|
208
221
|
CreateLocationNfsRequest.add_member(:on_prem_config, Shapes::ShapeRef.new(shape: OnPremConfig, required: true, location_name: "OnPremConfig"))
|
209
222
|
CreateLocationNfsRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
|
210
|
-
CreateLocationNfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
223
|
+
CreateLocationNfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
211
224
|
CreateLocationNfsRequest.struct_class = Types::CreateLocationNfsRequest
|
212
225
|
|
213
226
|
CreateLocationNfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
214
227
|
CreateLocationNfsResponse.struct_class = Types::CreateLocationNfsResponse
|
215
228
|
|
229
|
+
CreateLocationObjectStorageRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
|
230
|
+
CreateLocationObjectStorageRequest.add_member(:server_port, Shapes::ShapeRef.new(shape: ObjectStorageServerPort, location_name: "ServerPort"))
|
231
|
+
CreateLocationObjectStorageRequest.add_member(:server_protocol, Shapes::ShapeRef.new(shape: ObjectStorageServerProtocol, location_name: "ServerProtocol"))
|
232
|
+
CreateLocationObjectStorageRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: S3Subdirectory, location_name: "Subdirectory"))
|
233
|
+
CreateLocationObjectStorageRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: ObjectStorageBucketName, required: true, location_name: "BucketName"))
|
234
|
+
CreateLocationObjectStorageRequest.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
|
235
|
+
CreateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
|
236
|
+
CreateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
|
237
|
+
CreateLocationObjectStorageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
238
|
+
CreateLocationObjectStorageRequest.struct_class = Types::CreateLocationObjectStorageRequest
|
239
|
+
|
240
|
+
CreateLocationObjectStorageResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
241
|
+
CreateLocationObjectStorageResponse.struct_class = Types::CreateLocationObjectStorageResponse
|
242
|
+
|
216
243
|
CreateLocationS3Request.add_member(:subdirectory, Shapes::ShapeRef.new(shape: S3Subdirectory, location_name: "Subdirectory"))
|
217
244
|
CreateLocationS3Request.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "S3BucketArn"))
|
218
245
|
CreateLocationS3Request.add_member(:s3_storage_class, Shapes::ShapeRef.new(shape: S3StorageClass, location_name: "S3StorageClass"))
|
219
246
|
CreateLocationS3Request.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, required: true, location_name: "S3Config"))
|
220
|
-
CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape:
|
247
|
+
CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
221
248
|
CreateLocationS3Request.struct_class = Types::CreateLocationS3Request
|
222
249
|
|
223
250
|
CreateLocationS3Response.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -230,7 +257,7 @@ module Aws::DataSync
|
|
230
257
|
CreateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, required: true, location_name: "Password"))
|
231
258
|
CreateLocationSmbRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
|
232
259
|
CreateLocationSmbRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
233
|
-
CreateLocationSmbRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
260
|
+
CreateLocationSmbRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
234
261
|
CreateLocationSmbRequest.struct_class = Types::CreateLocationSmbRequest
|
235
262
|
|
236
263
|
CreateLocationSmbResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -243,7 +270,7 @@ module Aws::DataSync
|
|
243
270
|
CreateTaskRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
244
271
|
CreateTaskRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
|
245
272
|
CreateTaskRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: TaskSchedule, location_name: "Schedule"))
|
246
|
-
CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
273
|
+
CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
247
274
|
CreateTaskRequest.struct_class = Types::CreateTaskRequest
|
248
275
|
|
249
276
|
CreateTaskResponse.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
|
@@ -306,6 +333,18 @@ module Aws::DataSync
|
|
306
333
|
DescribeLocationNfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
307
334
|
DescribeLocationNfsResponse.struct_class = Types::DescribeLocationNfsResponse
|
308
335
|
|
336
|
+
DescribeLocationObjectStorageRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
337
|
+
DescribeLocationObjectStorageRequest.struct_class = Types::DescribeLocationObjectStorageRequest
|
338
|
+
|
339
|
+
DescribeLocationObjectStorageResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
340
|
+
DescribeLocationObjectStorageResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
341
|
+
DescribeLocationObjectStorageResponse.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
|
342
|
+
DescribeLocationObjectStorageResponse.add_member(:server_port, Shapes::ShapeRef.new(shape: ObjectStorageServerPort, location_name: "ServerPort"))
|
343
|
+
DescribeLocationObjectStorageResponse.add_member(:server_protocol, Shapes::ShapeRef.new(shape: ObjectStorageServerProtocol, location_name: "ServerProtocol"))
|
344
|
+
DescribeLocationObjectStorageResponse.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
|
345
|
+
DescribeLocationObjectStorageResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
346
|
+
DescribeLocationObjectStorageResponse.struct_class = Types::DescribeLocationObjectStorageResponse
|
347
|
+
|
309
348
|
DescribeLocationS3Request.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
310
349
|
DescribeLocationS3Request.struct_class = Types::DescribeLocationS3Request
|
311
350
|
|
@@ -379,6 +418,8 @@ module Aws::DataSync
|
|
379
418
|
FilterRule.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, location_name: "Value"))
|
380
419
|
FilterRule.struct_class = Types::FilterRule
|
381
420
|
|
421
|
+
InputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
422
|
+
|
382
423
|
InternalException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
383
424
|
InternalException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "errorCode"))
|
384
425
|
InternalException.struct_class = Types::InternalException
|
@@ -408,7 +449,7 @@ module Aws::DataSync
|
|
408
449
|
ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
409
450
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
410
451
|
|
411
|
-
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape:
|
452
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagList, location_name: "Tags"))
|
412
453
|
ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
413
454
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
414
455
|
|
@@ -453,8 +494,11 @@ module Aws::DataSync
|
|
453
494
|
Options.add_member(:bytes_per_second, Shapes::ShapeRef.new(shape: BytesPerSecond, location_name: "BytesPerSecond"))
|
454
495
|
Options.add_member(:task_queueing, Shapes::ShapeRef.new(shape: TaskQueueing, location_name: "TaskQueueing"))
|
455
496
|
Options.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "LogLevel"))
|
497
|
+
Options.add_member(:transfer_mode, Shapes::ShapeRef.new(shape: TransferMode, location_name: "TransferMode"))
|
456
498
|
Options.struct_class = Types::Options
|
457
499
|
|
500
|
+
OutputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
501
|
+
|
458
502
|
PLSecurityGroupArnList.member = Shapes::ShapeRef.new(shape: Ec2SecurityGroupArn)
|
459
503
|
|
460
504
|
PLSubnetArnList.member = Shapes::ShapeRef.new(shape: Ec2SubnetArn)
|
@@ -483,14 +527,12 @@ module Aws::DataSync
|
|
483
527
|
|
484
528
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
485
529
|
|
486
|
-
TagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
487
|
-
|
488
530
|
TagListEntry.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
489
531
|
TagListEntry.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
490
532
|
TagListEntry.struct_class = Types::TagListEntry
|
491
533
|
|
492
534
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
|
493
|
-
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
535
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, required: true, location_name: "Tags"))
|
494
536
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
495
537
|
|
496
538
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
@@ -614,6 +656,16 @@ module Aws::DataSync
|
|
614
656
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
615
657
|
end)
|
616
658
|
|
659
|
+
api.add_operation(:create_location_object_storage, Seahorse::Model::Operation.new.tap do |o|
|
660
|
+
o.name = "CreateLocationObjectStorage"
|
661
|
+
o.http_method = "POST"
|
662
|
+
o.http_request_uri = "/"
|
663
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationObjectStorageRequest)
|
664
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationObjectStorageResponse)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
667
|
+
end)
|
668
|
+
|
617
669
|
api.add_operation(:create_location_s3, Seahorse::Model::Operation.new.tap do |o|
|
618
670
|
o.name = "CreateLocationS3"
|
619
671
|
o.http_method = "POST"
|
@@ -714,6 +766,16 @@ module Aws::DataSync
|
|
714
766
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
715
767
|
end)
|
716
768
|
|
769
|
+
api.add_operation(:describe_location_object_storage, Seahorse::Model::Operation.new.tap do |o|
|
770
|
+
o.name = "DescribeLocationObjectStorage"
|
771
|
+
o.http_method = "POST"
|
772
|
+
o.http_request_uri = "/"
|
773
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationObjectStorageRequest)
|
774
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationObjectStorageResponse)
|
775
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
776
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
777
|
+
end)
|
778
|
+
|
717
779
|
api.add_operation(:describe_location_s3, Seahorse::Model::Operation.new.tap do |o|
|
718
780
|
o.name = "DescribeLocationS3"
|
719
781
|
o.http_method = "POST"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::DataSync
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::DataSync::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::DataSync::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::DataSync::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -30,6 +32,7 @@ module Aws::DataSync
|
|
30
32
|
:agent_arn,
|
31
33
|
:name,
|
32
34
|
:status)
|
35
|
+
SENSITIVE = []
|
33
36
|
include Aws::Structure
|
34
37
|
end
|
35
38
|
|
@@ -50,6 +53,7 @@ module Aws::DataSync
|
|
50
53
|
#
|
51
54
|
class CancelTaskExecutionRequest < Struct.new(
|
52
55
|
:task_execution_arn)
|
56
|
+
SENSITIVE = []
|
53
57
|
include Aws::Structure
|
54
58
|
end
|
55
59
|
|
@@ -111,10 +115,10 @@ module Aws::DataSync
|
|
111
115
|
# @return [Array<Types::TagListEntry>]
|
112
116
|
#
|
113
117
|
# @!attribute [rw] vpc_endpoint_id
|
114
|
-
# The ID of the VPC (
|
118
|
+
# The ID of the VPC (virtual private cloud) endpoint that the agent
|
115
119
|
# has access to. This is the client-side VPC endpoint, also called a
|
116
120
|
# PrivateLink. If you don't have a PrivateLink VPC endpoint, see
|
117
|
-
# [Creating a VPC Endpoint Service Configuration][1] in the
|
121
|
+
# [Creating a VPC Endpoint Service Configuration][1] in the Amazon VPC
|
118
122
|
# User Guide.
|
119
123
|
#
|
120
124
|
# VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
|
@@ -149,6 +153,7 @@ module Aws::DataSync
|
|
149
153
|
:vpc_endpoint_id,
|
150
154
|
:subnet_arns,
|
151
155
|
:security_group_arns)
|
156
|
+
SENSITIVE = []
|
152
157
|
include Aws::Structure
|
153
158
|
end
|
154
159
|
|
@@ -164,6 +169,7 @@ module Aws::DataSync
|
|
164
169
|
#
|
165
170
|
class CreateAgentResponse < Struct.new(
|
166
171
|
:agent_arn)
|
172
|
+
SENSITIVE = []
|
167
173
|
include Aws::Structure
|
168
174
|
end
|
169
175
|
|
@@ -193,7 +199,7 @@ module Aws::DataSync
|
|
193
199
|
# write data to the EFS destination. By default, AWS DataSync uses the
|
194
200
|
# root directory.
|
195
201
|
#
|
196
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
202
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
197
203
|
# `/path/to/folder`.
|
198
204
|
#
|
199
205
|
# </note>
|
@@ -242,6 +248,7 @@ module Aws::DataSync
|
|
242
248
|
:efs_filesystem_arn,
|
243
249
|
:ec2_config,
|
244
250
|
:tags)
|
251
|
+
SENSITIVE = []
|
245
252
|
include Aws::Structure
|
246
253
|
end
|
247
254
|
|
@@ -256,6 +263,7 @@ module Aws::DataSync
|
|
256
263
|
#
|
257
264
|
class CreateLocationEfsResponse < Struct.new(
|
258
265
|
:location_arn)
|
266
|
+
SENSITIVE = []
|
259
267
|
include Aws::Structure
|
260
268
|
end
|
261
269
|
|
@@ -325,6 +333,7 @@ module Aws::DataSync
|
|
325
333
|
:user,
|
326
334
|
:domain,
|
327
335
|
:password)
|
336
|
+
SENSITIVE = [:password]
|
328
337
|
include Aws::Structure
|
329
338
|
end
|
330
339
|
|
@@ -337,6 +346,7 @@ module Aws::DataSync
|
|
337
346
|
#
|
338
347
|
class CreateLocationFsxWindowsResponse < Struct.new(
|
339
348
|
:location_arn)
|
349
|
+
SENSITIVE = []
|
340
350
|
include Aws::Structure
|
341
351
|
end
|
342
352
|
|
@@ -383,9 +393,16 @@ module Aws::DataSync
|
|
383
393
|
# files. For the agent to access directories, you must additionally
|
384
394
|
# enable all execute access.
|
385
395
|
#
|
396
|
+
# If you are copying data to or from your AWS Snowcone device, see
|
397
|
+
# [NFS Server on AWS Snowcone][1] for more information.
|
398
|
+
#
|
386
399
|
# For information about NFS export configuration, see 18.7. The
|
387
400
|
# /etc/exports Configuration File in the Red Hat Enterprise Linux
|
388
401
|
# documentation.
|
402
|
+
#
|
403
|
+
#
|
404
|
+
#
|
405
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
389
406
|
# @return [String]
|
390
407
|
#
|
391
408
|
# @!attribute [rw] server_hostname
|
@@ -394,15 +411,29 @@ module Aws::DataSync
|
|
394
411
|
# installed on-premises uses this host name to mount the NFS server in
|
395
412
|
# a network.
|
396
413
|
#
|
414
|
+
# If you are copying data to or from your AWS Snowcone device, see
|
415
|
+
# [NFS Server on AWS Snowcone][1] for more information.
|
416
|
+
#
|
397
417
|
# <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
|
398
418
|
# (IPv4) address.
|
399
419
|
#
|
400
420
|
# </note>
|
421
|
+
#
|
422
|
+
#
|
423
|
+
#
|
424
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
401
425
|
# @return [String]
|
402
426
|
#
|
403
427
|
# @!attribute [rw] on_prem_config
|
404
428
|
# Contains a list of Amazon Resource Names (ARNs) of agents that are
|
405
429
|
# used to connect to an NFS server.
|
430
|
+
#
|
431
|
+
# If you are copying data to or from your AWS Snowcone device, see
|
432
|
+
# [NFS Server on AWS Snowcone][1] for more information.
|
433
|
+
#
|
434
|
+
#
|
435
|
+
#
|
436
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
406
437
|
# @return [Types::OnPremConfig]
|
407
438
|
#
|
408
439
|
# @!attribute [rw] mount_options
|
@@ -423,6 +454,7 @@ module Aws::DataSync
|
|
423
454
|
:on_prem_config,
|
424
455
|
:mount_options,
|
425
456
|
:tags)
|
457
|
+
SENSITIVE = []
|
426
458
|
include Aws::Structure
|
427
459
|
end
|
428
460
|
|
@@ -437,6 +469,110 @@ module Aws::DataSync
|
|
437
469
|
#
|
438
470
|
class CreateLocationNfsResponse < Struct.new(
|
439
471
|
:location_arn)
|
472
|
+
SENSITIVE = []
|
473
|
+
include Aws::Structure
|
474
|
+
end
|
475
|
+
|
476
|
+
# CreateLocationObjectStorageRequest
|
477
|
+
#
|
478
|
+
# @note When making an API call, you may pass CreateLocationObjectStorageRequest
|
479
|
+
# data as a hash:
|
480
|
+
#
|
481
|
+
# {
|
482
|
+
# server_hostname: "ServerHostname", # required
|
483
|
+
# server_port: 1,
|
484
|
+
# server_protocol: "HTTPS", # accepts HTTPS, HTTP
|
485
|
+
# subdirectory: "S3Subdirectory",
|
486
|
+
# bucket_name: "ObjectStorageBucketName", # required
|
487
|
+
# access_key: "ObjectStorageAccessKey",
|
488
|
+
# secret_key: "ObjectStorageSecretKey",
|
489
|
+
# agent_arns: ["AgentArn"], # required
|
490
|
+
# tags: [
|
491
|
+
# {
|
492
|
+
# key: "TagKey", # required
|
493
|
+
# value: "TagValue",
|
494
|
+
# },
|
495
|
+
# ],
|
496
|
+
# }
|
497
|
+
#
|
498
|
+
# @!attribute [rw] server_hostname
|
499
|
+
# The name of the self-managed object storage server. This value is
|
500
|
+
# the IP address or Domain Name Service (DNS) name of the object
|
501
|
+
# storage server. An agent uses this host name to mount the object
|
502
|
+
# storage server in a network.
|
503
|
+
# @return [String]
|
504
|
+
#
|
505
|
+
# @!attribute [rw] server_port
|
506
|
+
# The port that your self-managed object storage server accepts
|
507
|
+
# inbound network traffic on. The server port is set by default to TCP
|
508
|
+
# 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your
|
509
|
+
# self-managed object storage server requires one.
|
510
|
+
# @return [Integer]
|
511
|
+
#
|
512
|
+
# @!attribute [rw] server_protocol
|
513
|
+
# The protocol that the object storage server uses to communicate.
|
514
|
+
# Valid values are HTTP or HTTPS.
|
515
|
+
# @return [String]
|
516
|
+
#
|
517
|
+
# @!attribute [rw] subdirectory
|
518
|
+
# The subdirectory in the self-managed object storage server that is
|
519
|
+
# used to read data from.
|
520
|
+
# @return [String]
|
521
|
+
#
|
522
|
+
# @!attribute [rw] bucket_name
|
523
|
+
# The bucket on the self-managed object storage server that is used to
|
524
|
+
# read data from.
|
525
|
+
# @return [String]
|
526
|
+
#
|
527
|
+
# @!attribute [rw] access_key
|
528
|
+
# Optional. The access key is used if credentials are required to
|
529
|
+
# access the self-managed object storage server.
|
530
|
+
# @return [String]
|
531
|
+
#
|
532
|
+
# @!attribute [rw] secret_key
|
533
|
+
# Optional. The secret key is used if credentials are required to
|
534
|
+
# access the self-managed object storage server.
|
535
|
+
# @return [String]
|
536
|
+
#
|
537
|
+
# @!attribute [rw] agent_arns
|
538
|
+
# The Amazon Resource Name (ARN) of the agents associated with the
|
539
|
+
# self-managed object storage server location.
|
540
|
+
# @return [Array<String>]
|
541
|
+
#
|
542
|
+
# @!attribute [rw] tags
|
543
|
+
# The key-value pair that represents the tag that you want to add to
|
544
|
+
# the location. The value can be an empty string. We recommend using
|
545
|
+
# tags to name your resources.
|
546
|
+
# @return [Array<Types::TagListEntry>]
|
547
|
+
#
|
548
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageRequest AWS API Documentation
|
549
|
+
#
|
550
|
+
class CreateLocationObjectStorageRequest < Struct.new(
|
551
|
+
:server_hostname,
|
552
|
+
:server_port,
|
553
|
+
:server_protocol,
|
554
|
+
:subdirectory,
|
555
|
+
:bucket_name,
|
556
|
+
:access_key,
|
557
|
+
:secret_key,
|
558
|
+
:agent_arns,
|
559
|
+
:tags)
|
560
|
+
SENSITIVE = [:secret_key]
|
561
|
+
include Aws::Structure
|
562
|
+
end
|
563
|
+
|
564
|
+
# CreateLocationObjectStorageResponse
|
565
|
+
#
|
566
|
+
# @!attribute [rw] location_arn
|
567
|
+
# The Amazon Resource Name (ARN) of the agents associated with the
|
568
|
+
# self-managed object storage server location.
|
569
|
+
# @return [String]
|
570
|
+
#
|
571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorageResponse AWS API Documentation
|
572
|
+
#
|
573
|
+
class CreateLocationObjectStorageResponse < Struct.new(
|
574
|
+
:location_arn)
|
575
|
+
SENSITIVE = []
|
440
576
|
include Aws::Structure
|
441
577
|
end
|
442
578
|
|
@@ -505,6 +641,7 @@ module Aws::DataSync
|
|
505
641
|
:s3_storage_class,
|
506
642
|
:s3_config,
|
507
643
|
:tags)
|
644
|
+
SENSITIVE = []
|
508
645
|
include Aws::Structure
|
509
646
|
end
|
510
647
|
|
@@ -519,6 +656,7 @@ module Aws::DataSync
|
|
519
656
|
#
|
520
657
|
class CreateLocationS3Response < Struct.new(
|
521
658
|
:location_arn)
|
659
|
+
SENSITIVE = []
|
522
660
|
include Aws::Structure
|
523
661
|
end
|
524
662
|
|
@@ -552,7 +690,7 @@ module Aws::DataSync
|
|
552
690
|
# a subdirectory of that path. The path should be such that it can be
|
553
691
|
# mounted by other SMB clients in your network.
|
554
692
|
#
|
555
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
693
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
556
694
|
# `/path/to/folder`.
|
557
695
|
#
|
558
696
|
# </note>
|
@@ -620,6 +758,7 @@ module Aws::DataSync
|
|
620
758
|
:agent_arns,
|
621
759
|
:mount_options,
|
622
760
|
:tags)
|
761
|
+
SENSITIVE = [:password]
|
623
762
|
include Aws::Structure
|
624
763
|
end
|
625
764
|
|
@@ -634,6 +773,7 @@ module Aws::DataSync
|
|
634
773
|
#
|
635
774
|
class CreateLocationSmbResponse < Struct.new(
|
636
775
|
:location_arn)
|
776
|
+
SENSITIVE = []
|
637
777
|
include Aws::Structure
|
638
778
|
end
|
639
779
|
|
@@ -660,6 +800,7 @@ module Aws::DataSync
|
|
660
800
|
# bytes_per_second: 1,
|
661
801
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
662
802
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
803
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
663
804
|
# },
|
664
805
|
# excludes: [
|
665
806
|
# {
|
@@ -690,12 +831,6 @@ module Aws::DataSync
|
|
690
831
|
# @!attribute [rw] cloud_watch_log_group_arn
|
691
832
|
# The Amazon Resource Name (ARN) of the Amazon CloudWatch log group
|
692
833
|
# that is used to monitor and log events in the task.
|
693
|
-
#
|
694
|
-
# For more information on these groups, see Working with Log Groups
|
695
|
-
# and Log Streams in the *Amazon CloudWatch User Guide.*
|
696
|
-
#
|
697
|
-
# For more information about how to use CloudWatch Logs with DataSync,
|
698
|
-
# see Monitoring Your Task in the *AWS DataSync User Guide.*
|
699
834
|
# @return [String]
|
700
835
|
#
|
701
836
|
# @!attribute [rw] name
|
@@ -711,7 +846,7 @@ module Aws::DataSync
|
|
711
846
|
# data integrity verification, and so on.
|
712
847
|
#
|
713
848
|
# For each individual task execution, you can override these options
|
714
|
-
# by specifying the `OverrideOptions` before starting
|
849
|
+
# by specifying the `OverrideOptions` before starting the task
|
715
850
|
# execution. For more information, see the operation.
|
716
851
|
# @return [Types::Options]
|
717
852
|
#
|
@@ -744,6 +879,7 @@ module Aws::DataSync
|
|
744
879
|
:excludes,
|
745
880
|
:schedule,
|
746
881
|
:tags)
|
882
|
+
SENSITIVE = []
|
747
883
|
include Aws::Structure
|
748
884
|
end
|
749
885
|
|
@@ -757,6 +893,7 @@ module Aws::DataSync
|
|
757
893
|
#
|
758
894
|
class CreateTaskResponse < Struct.new(
|
759
895
|
:task_arn)
|
896
|
+
SENSITIVE = []
|
760
897
|
include Aws::Structure
|
761
898
|
end
|
762
899
|
|
@@ -779,6 +916,7 @@ module Aws::DataSync
|
|
779
916
|
#
|
780
917
|
class DeleteAgentRequest < Struct.new(
|
781
918
|
:agent_arn)
|
919
|
+
SENSITIVE = []
|
782
920
|
include Aws::Structure
|
783
921
|
end
|
784
922
|
|
@@ -803,6 +941,7 @@ module Aws::DataSync
|
|
803
941
|
#
|
804
942
|
class DeleteLocationRequest < Struct.new(
|
805
943
|
:location_arn)
|
944
|
+
SENSITIVE = []
|
806
945
|
include Aws::Structure
|
807
946
|
end
|
808
947
|
|
@@ -827,6 +966,7 @@ module Aws::DataSync
|
|
827
966
|
#
|
828
967
|
class DeleteTaskRequest < Struct.new(
|
829
968
|
:task_arn)
|
969
|
+
SENSITIVE = []
|
830
970
|
include Aws::Structure
|
831
971
|
end
|
832
972
|
|
@@ -851,6 +991,7 @@ module Aws::DataSync
|
|
851
991
|
#
|
852
992
|
class DescribeAgentRequest < Struct.new(
|
853
993
|
:agent_arn)
|
994
|
+
SENSITIVE = []
|
854
995
|
include Aws::Structure
|
855
996
|
end
|
856
997
|
|
@@ -885,7 +1026,7 @@ module Aws::DataSync
|
|
885
1026
|
# @!attribute [rw] endpoint_type
|
886
1027
|
# The type of endpoint that your agent is connected to. If the
|
887
1028
|
# endpoint is a VPC endpoint, the agent is not accessible over the
|
888
|
-
# public
|
1029
|
+
# public internet.
|
889
1030
|
# @return [String]
|
890
1031
|
#
|
891
1032
|
# @!attribute [rw] private_link_config
|
@@ -903,6 +1044,7 @@ module Aws::DataSync
|
|
903
1044
|
:creation_time,
|
904
1045
|
:endpoint_type,
|
905
1046
|
:private_link_config)
|
1047
|
+
SENSITIVE = []
|
906
1048
|
include Aws::Structure
|
907
1049
|
end
|
908
1050
|
|
@@ -923,13 +1065,14 @@ module Aws::DataSync
|
|
923
1065
|
#
|
924
1066
|
class DescribeLocationEfsRequest < Struct.new(
|
925
1067
|
:location_arn)
|
1068
|
+
SENSITIVE = []
|
926
1069
|
include Aws::Structure
|
927
1070
|
end
|
928
1071
|
|
929
1072
|
# DescribeLocationEfsResponse
|
930
1073
|
#
|
931
1074
|
# @!attribute [rw] location_arn
|
932
|
-
# The Amazon
|
1075
|
+
# The Amazon Resource Name (ARN) of the EFS location that was
|
933
1076
|
# described.
|
934
1077
|
# @return [String]
|
935
1078
|
#
|
@@ -956,6 +1099,7 @@ module Aws::DataSync
|
|
956
1099
|
:location_uri,
|
957
1100
|
:ec2_config,
|
958
1101
|
:creation_time)
|
1102
|
+
SENSITIVE = []
|
959
1103
|
include Aws::Structure
|
960
1104
|
end
|
961
1105
|
|
@@ -975,11 +1119,12 @@ module Aws::DataSync
|
|
975
1119
|
#
|
976
1120
|
class DescribeLocationFsxWindowsRequest < Struct.new(
|
977
1121
|
:location_arn)
|
1122
|
+
SENSITIVE = []
|
978
1123
|
include Aws::Structure
|
979
1124
|
end
|
980
1125
|
|
981
1126
|
# @!attribute [rw] location_arn
|
982
|
-
# The Amazon
|
1127
|
+
# The Amazon Resource Name (ARN) of the FSx for Windows location that
|
983
1128
|
# was described.
|
984
1129
|
# @return [String]
|
985
1130
|
#
|
@@ -989,7 +1134,7 @@ module Aws::DataSync
|
|
989
1134
|
#
|
990
1135
|
# @!attribute [rw] security_group_arns
|
991
1136
|
# The Amazon Resource Names (ARNs) of the security groups that are
|
992
|
-
# configured for the
|
1137
|
+
# configured for the FSx for Windows file system.
|
993
1138
|
# @return [Array<String>]
|
994
1139
|
#
|
995
1140
|
# @!attribute [rw] creation_time
|
@@ -1015,6 +1160,7 @@ module Aws::DataSync
|
|
1015
1160
|
:creation_time,
|
1016
1161
|
:user,
|
1017
1162
|
:domain)
|
1163
|
+
SENSITIVE = []
|
1018
1164
|
include Aws::Structure
|
1019
1165
|
end
|
1020
1166
|
|
@@ -1028,20 +1174,21 @@ module Aws::DataSync
|
|
1028
1174
|
# }
|
1029
1175
|
#
|
1030
1176
|
# @!attribute [rw] location_arn
|
1031
|
-
# The Amazon
|
1177
|
+
# The Amazon Resource Name (ARN) of the NFS location to describe.
|
1032
1178
|
# @return [String]
|
1033
1179
|
#
|
1034
1180
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationNfsRequest AWS API Documentation
|
1035
1181
|
#
|
1036
1182
|
class DescribeLocationNfsRequest < Struct.new(
|
1037
1183
|
:location_arn)
|
1184
|
+
SENSITIVE = []
|
1038
1185
|
include Aws::Structure
|
1039
1186
|
end
|
1040
1187
|
|
1041
1188
|
# DescribeLocationNfsResponse
|
1042
1189
|
#
|
1043
1190
|
# @!attribute [rw] location_arn
|
1044
|
-
# The Amazon
|
1191
|
+
# The Amazon Resource Name (ARN) of the NFS location that was
|
1045
1192
|
# described.
|
1046
1193
|
# @return [String]
|
1047
1194
|
#
|
@@ -1070,6 +1217,81 @@ module Aws::DataSync
|
|
1070
1217
|
:on_prem_config,
|
1071
1218
|
:mount_options,
|
1072
1219
|
:creation_time)
|
1220
|
+
SENSITIVE = []
|
1221
|
+
include Aws::Structure
|
1222
|
+
end
|
1223
|
+
|
1224
|
+
# DescribeLocationObjectStorageRequest
|
1225
|
+
#
|
1226
|
+
# @note When making an API call, you may pass DescribeLocationObjectStorageRequest
|
1227
|
+
# data as a hash:
|
1228
|
+
#
|
1229
|
+
# {
|
1230
|
+
# location_arn: "LocationArn", # required
|
1231
|
+
# }
|
1232
|
+
#
|
1233
|
+
# @!attribute [rw] location_arn
|
1234
|
+
# The Amazon Resource Name (ARN) of the self-managed object storage
|
1235
|
+
# server location that was described.
|
1236
|
+
# @return [String]
|
1237
|
+
#
|
1238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorageRequest AWS API Documentation
|
1239
|
+
#
|
1240
|
+
class DescribeLocationObjectStorageRequest < Struct.new(
|
1241
|
+
:location_arn)
|
1242
|
+
SENSITIVE = []
|
1243
|
+
include Aws::Structure
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
# DescribeLocationObjectStorageResponse
|
1247
|
+
#
|
1248
|
+
# @!attribute [rw] location_arn
|
1249
|
+
# The Amazon Resource Name (ARN) of the self-managed object storage
|
1250
|
+
# server location to describe.
|
1251
|
+
# @return [String]
|
1252
|
+
#
|
1253
|
+
# @!attribute [rw] location_uri
|
1254
|
+
# The URL of the source self-managed object storage server location
|
1255
|
+
# that was described.
|
1256
|
+
# @return [String]
|
1257
|
+
#
|
1258
|
+
# @!attribute [rw] access_key
|
1259
|
+
# Optional. The access key is used if credentials are required to
|
1260
|
+
# access the self-managed object storage server.
|
1261
|
+
# @return [String]
|
1262
|
+
#
|
1263
|
+
# @!attribute [rw] server_port
|
1264
|
+
# The port that your self-managed object storage server accepts
|
1265
|
+
# inbound network traffic on. The server port is set by default to TCP
|
1266
|
+
# 80 (HTTP) or TCP 443 (HTTPS).
|
1267
|
+
# @return [Integer]
|
1268
|
+
#
|
1269
|
+
# @!attribute [rw] server_protocol
|
1270
|
+
# The protocol that the object storage server uses to communicate.
|
1271
|
+
# Valid values are HTTP or HTTPS.
|
1272
|
+
# @return [String]
|
1273
|
+
#
|
1274
|
+
# @!attribute [rw] agent_arns
|
1275
|
+
# The Amazon Resource Name (ARN) of the agents associated with the
|
1276
|
+
# self-managed object storage server location.
|
1277
|
+
# @return [Array<String>]
|
1278
|
+
#
|
1279
|
+
# @!attribute [rw] creation_time
|
1280
|
+
# The time that the self-managed object storage server agent was
|
1281
|
+
# created.
|
1282
|
+
# @return [Time]
|
1283
|
+
#
|
1284
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorageResponse AWS API Documentation
|
1285
|
+
#
|
1286
|
+
class DescribeLocationObjectStorageResponse < Struct.new(
|
1287
|
+
:location_arn,
|
1288
|
+
:location_uri,
|
1289
|
+
:access_key,
|
1290
|
+
:server_port,
|
1291
|
+
:server_protocol,
|
1292
|
+
:agent_arns,
|
1293
|
+
:creation_time)
|
1294
|
+
SENSITIVE = []
|
1073
1295
|
include Aws::Structure
|
1074
1296
|
end
|
1075
1297
|
|
@@ -1091,6 +1313,7 @@ module Aws::DataSync
|
|
1091
1313
|
#
|
1092
1314
|
class DescribeLocationS3Request < Struct.new(
|
1093
1315
|
:location_arn)
|
1316
|
+
SENSITIVE = []
|
1094
1317
|
include Aws::Structure
|
1095
1318
|
end
|
1096
1319
|
|
@@ -1137,6 +1360,7 @@ module Aws::DataSync
|
|
1137
1360
|
:s3_storage_class,
|
1138
1361
|
:s3_config,
|
1139
1362
|
:creation_time)
|
1363
|
+
SENSITIVE = []
|
1140
1364
|
include Aws::Structure
|
1141
1365
|
end
|
1142
1366
|
|
@@ -1150,20 +1374,21 @@ module Aws::DataSync
|
|
1150
1374
|
# }
|
1151
1375
|
#
|
1152
1376
|
# @!attribute [rw] location_arn
|
1153
|
-
# The Amazon
|
1377
|
+
# The Amazon Resource Name (ARN) of the SMB location to describe.
|
1154
1378
|
# @return [String]
|
1155
1379
|
#
|
1156
1380
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmbRequest AWS API Documentation
|
1157
1381
|
#
|
1158
1382
|
class DescribeLocationSmbRequest < Struct.new(
|
1159
1383
|
:location_arn)
|
1384
|
+
SENSITIVE = []
|
1160
1385
|
include Aws::Structure
|
1161
1386
|
end
|
1162
1387
|
|
1163
1388
|
# DescribeLocationSmbResponse
|
1164
1389
|
#
|
1165
1390
|
# @!attribute [rw] location_arn
|
1166
|
-
# The Amazon
|
1391
|
+
# The Amazon Resource Name (ARN) of the SMB location that was
|
1167
1392
|
# described.
|
1168
1393
|
# @return [String]
|
1169
1394
|
#
|
@@ -1204,6 +1429,7 @@ module Aws::DataSync
|
|
1204
1429
|
:domain,
|
1205
1430
|
:mount_options,
|
1206
1431
|
:creation_time)
|
1432
|
+
SENSITIVE = []
|
1207
1433
|
include Aws::Structure
|
1208
1434
|
end
|
1209
1435
|
|
@@ -1224,6 +1450,7 @@ module Aws::DataSync
|
|
1224
1450
|
#
|
1225
1451
|
class DescribeTaskExecutionRequest < Struct.new(
|
1226
1452
|
:task_execution_arn)
|
1453
|
+
SENSITIVE = []
|
1227
1454
|
include Aws::Structure
|
1228
1455
|
end
|
1229
1456
|
|
@@ -1334,6 +1561,7 @@ module Aws::DataSync
|
|
1334
1561
|
:bytes_written,
|
1335
1562
|
:bytes_transferred,
|
1336
1563
|
:result)
|
1564
|
+
SENSITIVE = []
|
1337
1565
|
include Aws::Structure
|
1338
1566
|
end
|
1339
1567
|
|
@@ -1354,6 +1582,7 @@ module Aws::DataSync
|
|
1354
1582
|
#
|
1355
1583
|
class DescribeTaskRequest < Struct.new(
|
1356
1584
|
:task_arn)
|
1585
|
+
SENSITIVE = []
|
1357
1586
|
include Aws::Structure
|
1358
1587
|
end
|
1359
1588
|
|
@@ -1463,6 +1692,7 @@ module Aws::DataSync
|
|
1463
1692
|
:error_code,
|
1464
1693
|
:error_detail,
|
1465
1694
|
:creation_time)
|
1695
|
+
SENSITIVE = []
|
1466
1696
|
include Aws::Structure
|
1467
1697
|
end
|
1468
1698
|
|
@@ -1495,6 +1725,7 @@ module Aws::DataSync
|
|
1495
1725
|
class Ec2Config < Struct.new(
|
1496
1726
|
:subnet_arn,
|
1497
1727
|
:security_group_arns)
|
1728
|
+
SENSITIVE = []
|
1498
1729
|
include Aws::Structure
|
1499
1730
|
end
|
1500
1731
|
|
@@ -1525,6 +1756,7 @@ module Aws::DataSync
|
|
1525
1756
|
class FilterRule < Struct.new(
|
1526
1757
|
:filter_type,
|
1527
1758
|
:value)
|
1759
|
+
SENSITIVE = []
|
1528
1760
|
include Aws::Structure
|
1529
1761
|
end
|
1530
1762
|
|
@@ -1542,6 +1774,7 @@ module Aws::DataSync
|
|
1542
1774
|
class InternalException < Struct.new(
|
1543
1775
|
:message,
|
1544
1776
|
:error_code)
|
1777
|
+
SENSITIVE = []
|
1545
1778
|
include Aws::Structure
|
1546
1779
|
end
|
1547
1780
|
|
@@ -1558,6 +1791,7 @@ module Aws::DataSync
|
|
1558
1791
|
class InvalidRequestException < Struct.new(
|
1559
1792
|
:message,
|
1560
1793
|
:error_code)
|
1794
|
+
SENSITIVE = []
|
1561
1795
|
include Aws::Structure
|
1562
1796
|
end
|
1563
1797
|
|
@@ -1585,6 +1819,7 @@ module Aws::DataSync
|
|
1585
1819
|
class ListAgentsRequest < Struct.new(
|
1586
1820
|
:max_results,
|
1587
1821
|
:next_token)
|
1822
|
+
SENSITIVE = []
|
1588
1823
|
include Aws::Structure
|
1589
1824
|
end
|
1590
1825
|
|
@@ -1604,6 +1839,7 @@ module Aws::DataSync
|
|
1604
1839
|
class ListAgentsResponse < Struct.new(
|
1605
1840
|
:agents,
|
1606
1841
|
:next_token)
|
1842
|
+
SENSITIVE = []
|
1607
1843
|
include Aws::Structure
|
1608
1844
|
end
|
1609
1845
|
|
@@ -1631,6 +1867,7 @@ module Aws::DataSync
|
|
1631
1867
|
class ListLocationsRequest < Struct.new(
|
1632
1868
|
:max_results,
|
1633
1869
|
:next_token)
|
1870
|
+
SENSITIVE = []
|
1634
1871
|
include Aws::Structure
|
1635
1872
|
end
|
1636
1873
|
|
@@ -1650,6 +1887,7 @@ module Aws::DataSync
|
|
1650
1887
|
class ListLocationsResponse < Struct.new(
|
1651
1888
|
:locations,
|
1652
1889
|
:next_token)
|
1890
|
+
SENSITIVE = []
|
1653
1891
|
include Aws::Structure
|
1654
1892
|
end
|
1655
1893
|
|
@@ -1683,6 +1921,7 @@ module Aws::DataSync
|
|
1683
1921
|
:resource_arn,
|
1684
1922
|
:max_results,
|
1685
1923
|
:next_token)
|
1924
|
+
SENSITIVE = []
|
1686
1925
|
include Aws::Structure
|
1687
1926
|
end
|
1688
1927
|
|
@@ -1702,6 +1941,7 @@ module Aws::DataSync
|
|
1702
1941
|
class ListTagsForResourceResponse < Struct.new(
|
1703
1942
|
:tags,
|
1704
1943
|
:next_token)
|
1944
|
+
SENSITIVE = []
|
1705
1945
|
include Aws::Structure
|
1706
1946
|
end
|
1707
1947
|
|
@@ -1736,6 +1976,7 @@ module Aws::DataSync
|
|
1736
1976
|
:task_arn,
|
1737
1977
|
:max_results,
|
1738
1978
|
:next_token)
|
1979
|
+
SENSITIVE = []
|
1739
1980
|
include Aws::Structure
|
1740
1981
|
end
|
1741
1982
|
|
@@ -1755,6 +1996,7 @@ module Aws::DataSync
|
|
1755
1996
|
class ListTaskExecutionsResponse < Struct.new(
|
1756
1997
|
:task_executions,
|
1757
1998
|
:next_token)
|
1999
|
+
SENSITIVE = []
|
1758
2000
|
include Aws::Structure
|
1759
2001
|
end
|
1760
2002
|
|
@@ -1782,6 +2024,7 @@ module Aws::DataSync
|
|
1782
2024
|
class ListTasksRequest < Struct.new(
|
1783
2025
|
:max_results,
|
1784
2026
|
:next_token)
|
2027
|
+
SENSITIVE = []
|
1785
2028
|
include Aws::Structure
|
1786
2029
|
end
|
1787
2030
|
|
@@ -1801,6 +2044,7 @@ module Aws::DataSync
|
|
1801
2044
|
class ListTasksResponse < Struct.new(
|
1802
2045
|
:tasks,
|
1803
2046
|
:next_token)
|
2047
|
+
SENSITIVE = []
|
1804
2048
|
include Aws::Structure
|
1805
2049
|
end
|
1806
2050
|
|
@@ -1842,6 +2086,7 @@ module Aws::DataSync
|
|
1842
2086
|
class LocationListEntry < Struct.new(
|
1843
2087
|
:location_arn,
|
1844
2088
|
:location_uri)
|
2089
|
+
SENSITIVE = []
|
1845
2090
|
include Aws::Structure
|
1846
2091
|
end
|
1847
2092
|
|
@@ -1882,6 +2127,7 @@ module Aws::DataSync
|
|
1882
2127
|
#
|
1883
2128
|
class NfsMountOptions < Struct.new(
|
1884
2129
|
:version)
|
2130
|
+
SENSITIVE = []
|
1885
2131
|
include Aws::Structure
|
1886
2132
|
end
|
1887
2133
|
|
@@ -1903,6 +2149,7 @@ module Aws::DataSync
|
|
1903
2149
|
#
|
1904
2150
|
class OnPremConfig < Struct.new(
|
1905
2151
|
:agent_arns)
|
2152
|
+
SENSITIVE = []
|
1906
2153
|
include Aws::Structure
|
1907
2154
|
end
|
1908
2155
|
|
@@ -1933,21 +2180,29 @@ module Aws::DataSync
|
|
1933
2180
|
# bytes_per_second: 1,
|
1934
2181
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1935
2182
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2183
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1936
2184
|
# }
|
1937
2185
|
#
|
1938
2186
|
# @!attribute [rw] verify_mode
|
1939
2187
|
# A value that determines whether a data integrity verification should
|
1940
2188
|
# be performed at the end of a task execution after all data and
|
1941
|
-
# metadata have been transferred.
|
2189
|
+
# metadata have been transferred. For more information, see
|
2190
|
+
# create-task
|
1942
2191
|
#
|
1943
2192
|
# Default value: POINT\_IN\_TIME\_CONSISTENT.
|
1944
2193
|
#
|
1945
|
-
#
|
2194
|
+
# ONLY\_FILES\_TRANSFERRED (recommended): Perform verification only on
|
2195
|
+
# files that were transferred.
|
1946
2196
|
#
|
1947
|
-
#
|
1948
|
-
#
|
2197
|
+
# POINT\_IN\_TIME\_CONSISTENT: Scan the entire source and entire
|
2198
|
+
# destination at the end of the transfer to verify that source and
|
2199
|
+
# destination are fully synchronized. This option isn't supported
|
2200
|
+
# when transferring to S3 Glacier or S3 Glacier Deep Archive storage
|
2201
|
+
# classes.
|
1949
2202
|
#
|
1950
|
-
# NONE:
|
2203
|
+
# NONE: No additional verification is done at the end of the transfer,
|
2204
|
+
# but all data transmissions are integrity-checked with checksum
|
2205
|
+
# verification during the transfer.
|
1951
2206
|
# @return [String]
|
1952
2207
|
#
|
1953
2208
|
# @!attribute [rw] overwrite_mode
|
@@ -2089,17 +2344,31 @@ module Aws::DataSync
|
|
2089
2344
|
# executing the tasks. If set to `ENABLED`, the tasks will be queued.
|
2090
2345
|
# The default is `ENABLED`.
|
2091
2346
|
#
|
2092
|
-
# If you use the same agent to run multiple tasks you can enable the
|
2093
|
-
# tasks to run in series. For more information see
|
2347
|
+
# If you use the same agent to run multiple tasks, you can enable the
|
2348
|
+
# tasks to run in series. For more information, see
|
2094
2349
|
# queue-task-execution.
|
2095
2350
|
# @return [String]
|
2096
2351
|
#
|
2097
2352
|
# @!attribute [rw] log_level
|
2098
|
-
# A value that determines the type of logs DataSync
|
2099
|
-
#
|
2100
|
-
#
|
2101
|
-
#
|
2102
|
-
#
|
2353
|
+
# A value that determines the type of logs that DataSync publishes to
|
2354
|
+
# a log stream in the Amazon CloudWatch log group that you provide.
|
2355
|
+
# For more information about providing a log group for DataSync, see
|
2356
|
+
# [CloudWatchLogGroupArn][1]. If set to `OFF`, no logs are published.
|
2357
|
+
# `BASIC` publishes logs on errors for individual files transferred,
|
2358
|
+
# and `TRANSFER` publishes logs for every file or object that is
|
2359
|
+
# transferred and integrity checked.
|
2360
|
+
#
|
2361
|
+
#
|
2362
|
+
#
|
2363
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateTask.html#DataSync-CreateTask-request-CloudWatchLogGroupArn
|
2364
|
+
# @return [String]
|
2365
|
+
#
|
2366
|
+
# @!attribute [rw] transfer_mode
|
2367
|
+
# TransferMode has two values: CHANGED and ALL. CHANGED performs an
|
2368
|
+
# "incremental" or "delta sync", it compares file modification
|
2369
|
+
# time between source and destination to determine which files need to
|
2370
|
+
# be transferred. ALL skips destination inventory and transfers all
|
2371
|
+
# files discovered on the source.
|
2103
2372
|
# @return [String]
|
2104
2373
|
#
|
2105
2374
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Options AWS API Documentation
|
@@ -2116,23 +2385,25 @@ module Aws::DataSync
|
|
2116
2385
|
:posix_permissions,
|
2117
2386
|
:bytes_per_second,
|
2118
2387
|
:task_queueing,
|
2119
|
-
:log_level
|
2388
|
+
:log_level,
|
2389
|
+
:transfer_mode)
|
2390
|
+
SENSITIVE = []
|
2120
2391
|
include Aws::Structure
|
2121
2392
|
end
|
2122
2393
|
|
2123
|
-
# The VPC endpoint, subnet and security group that an agent uses to
|
2394
|
+
# The VPC endpoint, subnet, and security group that an agent uses to
|
2124
2395
|
# access IP addresses in a VPC (Virtual Private Cloud).
|
2125
2396
|
#
|
2126
2397
|
# @!attribute [rw] vpc_endpoint_id
|
2127
2398
|
# The ID of the VPC endpoint that is configured for an agent. An agent
|
2128
2399
|
# that is configured with a VPC endpoint will not be accessible over
|
2129
|
-
# the public
|
2400
|
+
# the public internet.
|
2130
2401
|
# @return [String]
|
2131
2402
|
#
|
2132
2403
|
# @!attribute [rw] private_link_endpoint
|
2133
2404
|
# The private endpoint that is configured for an agent that has access
|
2134
2405
|
# to IP addresses in a [PrivateLink][1]. An agent that is configured
|
2135
|
-
# with this endpoint will not be accessible over the public
|
2406
|
+
# with this endpoint will not be accessible over the public internet.
|
2136
2407
|
#
|
2137
2408
|
#
|
2138
2409
|
#
|
@@ -2158,6 +2429,7 @@ module Aws::DataSync
|
|
2158
2429
|
:private_link_endpoint,
|
2159
2430
|
:subnet_arns,
|
2160
2431
|
:security_group_arns)
|
2432
|
+
SENSITIVE = []
|
2161
2433
|
include Aws::Structure
|
2162
2434
|
end
|
2163
2435
|
|
@@ -2183,6 +2455,7 @@ module Aws::DataSync
|
|
2183
2455
|
#
|
2184
2456
|
class S3Config < Struct.new(
|
2185
2457
|
:bucket_access_role_arn)
|
2458
|
+
SENSITIVE = []
|
2186
2459
|
include Aws::Structure
|
2187
2460
|
end
|
2188
2461
|
|
@@ -2207,6 +2480,7 @@ module Aws::DataSync
|
|
2207
2480
|
#
|
2208
2481
|
class SmbMountOptions < Struct.new(
|
2209
2482
|
:version)
|
2483
|
+
SENSITIVE = []
|
2210
2484
|
include Aws::Structure
|
2211
2485
|
end
|
2212
2486
|
|
@@ -2230,6 +2504,7 @@ module Aws::DataSync
|
|
2230
2504
|
# bytes_per_second: 1,
|
2231
2505
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2232
2506
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2507
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2233
2508
|
# },
|
2234
2509
|
# includes: [
|
2235
2510
|
# {
|
@@ -2269,6 +2544,7 @@ module Aws::DataSync
|
|
2269
2544
|
:task_arn,
|
2270
2545
|
:override_options,
|
2271
2546
|
:includes)
|
2547
|
+
SENSITIVE = []
|
2272
2548
|
include Aws::Structure
|
2273
2549
|
end
|
2274
2550
|
|
@@ -2283,6 +2559,7 @@ module Aws::DataSync
|
|
2283
2559
|
#
|
2284
2560
|
class StartTaskExecutionResponse < Struct.new(
|
2285
2561
|
:task_execution_arn)
|
2562
|
+
SENSITIVE = []
|
2286
2563
|
include Aws::Structure
|
2287
2564
|
end
|
2288
2565
|
|
@@ -2311,6 +2588,7 @@ module Aws::DataSync
|
|
2311
2588
|
class TagListEntry < Struct.new(
|
2312
2589
|
:key,
|
2313
2590
|
:value)
|
2591
|
+
SENSITIVE = []
|
2314
2592
|
include Aws::Structure
|
2315
2593
|
end
|
2316
2594
|
|
@@ -2342,6 +2620,7 @@ module Aws::DataSync
|
|
2342
2620
|
class TagResourceRequest < Struct.new(
|
2343
2621
|
:resource_arn,
|
2344
2622
|
:tags)
|
2623
|
+
SENSITIVE = []
|
2345
2624
|
include Aws::Structure
|
2346
2625
|
end
|
2347
2626
|
|
@@ -2367,6 +2646,7 @@ module Aws::DataSync
|
|
2367
2646
|
class TaskExecutionListEntry < Struct.new(
|
2368
2647
|
:task_execution_arn,
|
2369
2648
|
:status)
|
2649
|
+
SENSITIVE = []
|
2370
2650
|
include Aws::Structure
|
2371
2651
|
end
|
2372
2652
|
|
@@ -2429,6 +2709,7 @@ module Aws::DataSync
|
|
2429
2709
|
:verify_status,
|
2430
2710
|
:error_code,
|
2431
2711
|
:error_detail)
|
2712
|
+
SENSITIVE = []
|
2432
2713
|
include Aws::Structure
|
2433
2714
|
end
|
2434
2715
|
|
@@ -2455,6 +2736,7 @@ module Aws::DataSync
|
|
2455
2736
|
:task_arn,
|
2456
2737
|
:status,
|
2457
2738
|
:name)
|
2739
|
+
SENSITIVE = []
|
2458
2740
|
include Aws::Structure
|
2459
2741
|
end
|
2460
2742
|
|
@@ -2482,6 +2764,7 @@ module Aws::DataSync
|
|
2482
2764
|
#
|
2483
2765
|
class TaskSchedule < Struct.new(
|
2484
2766
|
:schedule_expression)
|
2767
|
+
SENSITIVE = []
|
2485
2768
|
include Aws::Structure
|
2486
2769
|
end
|
2487
2770
|
|
@@ -2509,6 +2792,7 @@ module Aws::DataSync
|
|
2509
2792
|
class UntagResourceRequest < Struct.new(
|
2510
2793
|
:resource_arn,
|
2511
2794
|
:keys)
|
2795
|
+
SENSITIVE = []
|
2512
2796
|
include Aws::Structure
|
2513
2797
|
end
|
2514
2798
|
|
@@ -2539,6 +2823,7 @@ module Aws::DataSync
|
|
2539
2823
|
class UpdateAgentRequest < Struct.new(
|
2540
2824
|
:agent_arn,
|
2541
2825
|
:name)
|
2826
|
+
SENSITIVE = []
|
2542
2827
|
include Aws::Structure
|
2543
2828
|
end
|
2544
2829
|
|
@@ -2566,6 +2851,7 @@ module Aws::DataSync
|
|
2566
2851
|
# bytes_per_second: 1,
|
2567
2852
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2568
2853
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2854
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2569
2855
|
# },
|
2570
2856
|
# excludes: [
|
2571
2857
|
# {
|
@@ -2632,6 +2918,7 @@ module Aws::DataSync
|
|
2632
2918
|
:schedule,
|
2633
2919
|
:name,
|
2634
2920
|
:cloud_watch_log_group_arn)
|
2921
|
+
SENSITIVE = []
|
2635
2922
|
include Aws::Structure
|
2636
2923
|
end
|
2637
2924
|
|