aws-sdk-datasync 1.21.1 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-datasync.rb +5 -2
- data/lib/aws-sdk-datasync/client.rb +206 -30
- data/lib/aws-sdk-datasync/client_api.rb +101 -12
- data/lib/aws-sdk-datasync/errors.rb +2 -0
- data/lib/aws-sdk-datasync/resource.rb +2 -0
- data/lib/aws-sdk-datasync/types.rb +402 -37
- metadata +2 -2
@@ -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')
|
@@ -67,14 +73,17 @@ module Aws::DataSync
|
|
67
73
|
EfsSubdirectory = Shapes::StringShape.new(name: 'EfsSubdirectory')
|
68
74
|
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
69
75
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
76
|
+
FilterAttributeValue = Shapes::StringShape.new(name: 'FilterAttributeValue')
|
70
77
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
71
78
|
FilterRule = Shapes::StructureShape.new(name: 'FilterRule')
|
72
79
|
FilterType = Shapes::StringShape.new(name: 'FilterType')
|
73
80
|
FilterValue = Shapes::StringShape.new(name: 'FilterValue')
|
81
|
+
FilterValues = Shapes::ListShape.new(name: 'FilterValues')
|
74
82
|
FsxFilesystemArn = Shapes::StringShape.new(name: 'FsxFilesystemArn')
|
75
83
|
FsxWindowsSubdirectory = Shapes::StringShape.new(name: 'FsxWindowsSubdirectory')
|
76
84
|
Gid = Shapes::StringShape.new(name: 'Gid')
|
77
85
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
86
|
+
InputTagList = Shapes::ListShape.new(name: 'InputTagList')
|
78
87
|
InternalException = Shapes::StructureShape.new(name: 'InternalException')
|
79
88
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
80
89
|
ListAgentsRequest = Shapes::StructureShape.new(name: 'ListAgentsRequest')
|
@@ -88,6 +97,9 @@ module Aws::DataSync
|
|
88
97
|
ListTasksRequest = Shapes::StructureShape.new(name: 'ListTasksRequest')
|
89
98
|
ListTasksResponse = Shapes::StructureShape.new(name: 'ListTasksResponse')
|
90
99
|
LocationArn = Shapes::StringShape.new(name: 'LocationArn')
|
100
|
+
LocationFilter = Shapes::StructureShape.new(name: 'LocationFilter')
|
101
|
+
LocationFilterName = Shapes::StringShape.new(name: 'LocationFilterName')
|
102
|
+
LocationFilters = Shapes::ListShape.new(name: 'LocationFilters')
|
91
103
|
LocationList = Shapes::ListShape.new(name: 'LocationList')
|
92
104
|
LocationListEntry = Shapes::StructureShape.new(name: 'LocationListEntry')
|
93
105
|
LocationUri = Shapes::StringShape.new(name: 'LocationUri')
|
@@ -100,8 +112,15 @@ module Aws::DataSync
|
|
100
112
|
NfsMountOptions = Shapes::StructureShape.new(name: 'NfsMountOptions')
|
101
113
|
NfsSubdirectory = Shapes::StringShape.new(name: 'NfsSubdirectory')
|
102
114
|
NfsVersion = Shapes::StringShape.new(name: 'NfsVersion')
|
115
|
+
ObjectStorageAccessKey = Shapes::StringShape.new(name: 'ObjectStorageAccessKey')
|
116
|
+
ObjectStorageBucketName = Shapes::StringShape.new(name: 'ObjectStorageBucketName')
|
117
|
+
ObjectStorageSecretKey = Shapes::StringShape.new(name: 'ObjectStorageSecretKey')
|
118
|
+
ObjectStorageServerPort = Shapes::IntegerShape.new(name: 'ObjectStorageServerPort')
|
119
|
+
ObjectStorageServerProtocol = Shapes::StringShape.new(name: 'ObjectStorageServerProtocol')
|
103
120
|
OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
|
121
|
+
Operator = Shapes::StringShape.new(name: 'Operator')
|
104
122
|
Options = Shapes::StructureShape.new(name: 'Options')
|
123
|
+
OutputTagList = Shapes::ListShape.new(name: 'OutputTagList')
|
105
124
|
OverwriteMode = Shapes::StringShape.new(name: 'OverwriteMode')
|
106
125
|
PLSecurityGroupArnList = Shapes::ListShape.new(name: 'PLSecurityGroupArnList')
|
107
126
|
PLSubnetArnList = Shapes::ListShape.new(name: 'PLSubnetArnList')
|
@@ -127,7 +146,6 @@ module Aws::DataSync
|
|
127
146
|
StartTaskExecutionResponse = Shapes::StructureShape.new(name: 'StartTaskExecutionResponse')
|
128
147
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
129
148
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
130
|
-
TagList = Shapes::ListShape.new(name: 'TagList')
|
131
149
|
TagListEntry = Shapes::StructureShape.new(name: 'TagListEntry')
|
132
150
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
133
151
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
@@ -139,12 +157,16 @@ module Aws::DataSync
|
|
139
157
|
TaskExecutionListEntry = Shapes::StructureShape.new(name: 'TaskExecutionListEntry')
|
140
158
|
TaskExecutionResultDetail = Shapes::StructureShape.new(name: 'TaskExecutionResultDetail')
|
141
159
|
TaskExecutionStatus = Shapes::StringShape.new(name: 'TaskExecutionStatus')
|
160
|
+
TaskFilter = Shapes::StructureShape.new(name: 'TaskFilter')
|
161
|
+
TaskFilterName = Shapes::StringShape.new(name: 'TaskFilterName')
|
162
|
+
TaskFilters = Shapes::ListShape.new(name: 'TaskFilters')
|
142
163
|
TaskList = Shapes::ListShape.new(name: 'TaskList')
|
143
164
|
TaskListEntry = Shapes::StructureShape.new(name: 'TaskListEntry')
|
144
165
|
TaskQueueing = Shapes::StringShape.new(name: 'TaskQueueing')
|
145
166
|
TaskSchedule = Shapes::StructureShape.new(name: 'TaskSchedule')
|
146
167
|
TaskStatus = Shapes::StringShape.new(name: 'TaskStatus')
|
147
168
|
Time = Shapes::TimestampShape.new(name: 'Time')
|
169
|
+
TransferMode = Shapes::StringShape.new(name: 'TransferMode')
|
148
170
|
Uid = Shapes::StringShape.new(name: 'Uid')
|
149
171
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
150
172
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
@@ -173,7 +195,7 @@ module Aws::DataSync
|
|
173
195
|
|
174
196
|
CreateAgentRequest.add_member(:activation_key, Shapes::ShapeRef.new(shape: ActivationKey, required: true, location_name: "ActivationKey"))
|
175
197
|
CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: TagValue, location_name: "AgentName"))
|
176
|
-
CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
198
|
+
CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
177
199
|
CreateAgentRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
|
178
200
|
CreateAgentRequest.add_member(:subnet_arns, Shapes::ShapeRef.new(shape: PLSubnetArnList, location_name: "SubnetArns"))
|
179
201
|
CreateAgentRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: PLSecurityGroupArnList, location_name: "SecurityGroupArns"))
|
@@ -185,7 +207,7 @@ module Aws::DataSync
|
|
185
207
|
CreateLocationEfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: EfsSubdirectory, location_name: "Subdirectory"))
|
186
208
|
CreateLocationEfsRequest.add_member(:efs_filesystem_arn, Shapes::ShapeRef.new(shape: EfsFilesystemArn, required: true, location_name: "EfsFilesystemArn"))
|
187
209
|
CreateLocationEfsRequest.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, required: true, location_name: "Ec2Config"))
|
188
|
-
CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
210
|
+
CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
189
211
|
CreateLocationEfsRequest.struct_class = Types::CreateLocationEfsRequest
|
190
212
|
|
191
213
|
CreateLocationEfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -194,7 +216,7 @@ module Aws::DataSync
|
|
194
216
|
CreateLocationFsxWindowsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxWindowsSubdirectory, location_name: "Subdirectory"))
|
195
217
|
CreateLocationFsxWindowsRequest.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, required: true, location_name: "FsxFilesystemArn"))
|
196
218
|
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:
|
219
|
+
CreateLocationFsxWindowsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
198
220
|
CreateLocationFsxWindowsRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, required: true, location_name: "User"))
|
199
221
|
CreateLocationFsxWindowsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
200
222
|
CreateLocationFsxWindowsRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, required: true, location_name: "Password"))
|
@@ -207,17 +229,31 @@ module Aws::DataSync
|
|
207
229
|
CreateLocationNfsRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
|
208
230
|
CreateLocationNfsRequest.add_member(:on_prem_config, Shapes::ShapeRef.new(shape: OnPremConfig, required: true, location_name: "OnPremConfig"))
|
209
231
|
CreateLocationNfsRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
|
210
|
-
CreateLocationNfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
232
|
+
CreateLocationNfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
211
233
|
CreateLocationNfsRequest.struct_class = Types::CreateLocationNfsRequest
|
212
234
|
|
213
235
|
CreateLocationNfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
214
236
|
CreateLocationNfsResponse.struct_class = Types::CreateLocationNfsResponse
|
215
237
|
|
238
|
+
CreateLocationObjectStorageRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
|
239
|
+
CreateLocationObjectStorageRequest.add_member(:server_port, Shapes::ShapeRef.new(shape: ObjectStorageServerPort, location_name: "ServerPort"))
|
240
|
+
CreateLocationObjectStorageRequest.add_member(:server_protocol, Shapes::ShapeRef.new(shape: ObjectStorageServerProtocol, location_name: "ServerProtocol"))
|
241
|
+
CreateLocationObjectStorageRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: S3Subdirectory, location_name: "Subdirectory"))
|
242
|
+
CreateLocationObjectStorageRequest.add_member(:bucket_name, Shapes::ShapeRef.new(shape: ObjectStorageBucketName, required: true, location_name: "BucketName"))
|
243
|
+
CreateLocationObjectStorageRequest.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
|
244
|
+
CreateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
|
245
|
+
CreateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
|
246
|
+
CreateLocationObjectStorageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
247
|
+
CreateLocationObjectStorageRequest.struct_class = Types::CreateLocationObjectStorageRequest
|
248
|
+
|
249
|
+
CreateLocationObjectStorageResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
250
|
+
CreateLocationObjectStorageResponse.struct_class = Types::CreateLocationObjectStorageResponse
|
251
|
+
|
216
252
|
CreateLocationS3Request.add_member(:subdirectory, Shapes::ShapeRef.new(shape: S3Subdirectory, location_name: "Subdirectory"))
|
217
253
|
CreateLocationS3Request.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "S3BucketArn"))
|
218
254
|
CreateLocationS3Request.add_member(:s3_storage_class, Shapes::ShapeRef.new(shape: S3StorageClass, location_name: "S3StorageClass"))
|
219
255
|
CreateLocationS3Request.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, required: true, location_name: "S3Config"))
|
220
|
-
CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape:
|
256
|
+
CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
221
257
|
CreateLocationS3Request.struct_class = Types::CreateLocationS3Request
|
222
258
|
|
223
259
|
CreateLocationS3Response.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -230,7 +266,7 @@ module Aws::DataSync
|
|
230
266
|
CreateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, required: true, location_name: "Password"))
|
231
267
|
CreateLocationSmbRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
|
232
268
|
CreateLocationSmbRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
233
|
-
CreateLocationSmbRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
269
|
+
CreateLocationSmbRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
234
270
|
CreateLocationSmbRequest.struct_class = Types::CreateLocationSmbRequest
|
235
271
|
|
236
272
|
CreateLocationSmbResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -243,7 +279,7 @@ module Aws::DataSync
|
|
243
279
|
CreateTaskRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
244
280
|
CreateTaskRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
|
245
281
|
CreateTaskRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: TaskSchedule, location_name: "Schedule"))
|
246
|
-
CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
282
|
+
CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
247
283
|
CreateTaskRequest.struct_class = Types::CreateTaskRequest
|
248
284
|
|
249
285
|
CreateTaskResponse.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
|
@@ -306,6 +342,18 @@ module Aws::DataSync
|
|
306
342
|
DescribeLocationNfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
307
343
|
DescribeLocationNfsResponse.struct_class = Types::DescribeLocationNfsResponse
|
308
344
|
|
345
|
+
DescribeLocationObjectStorageRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
346
|
+
DescribeLocationObjectStorageRequest.struct_class = Types::DescribeLocationObjectStorageRequest
|
347
|
+
|
348
|
+
DescribeLocationObjectStorageResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
349
|
+
DescribeLocationObjectStorageResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
350
|
+
DescribeLocationObjectStorageResponse.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
|
351
|
+
DescribeLocationObjectStorageResponse.add_member(:server_port, Shapes::ShapeRef.new(shape: ObjectStorageServerPort, location_name: "ServerPort"))
|
352
|
+
DescribeLocationObjectStorageResponse.add_member(:server_protocol, Shapes::ShapeRef.new(shape: ObjectStorageServerProtocol, location_name: "ServerProtocol"))
|
353
|
+
DescribeLocationObjectStorageResponse.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
|
354
|
+
DescribeLocationObjectStorageResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
355
|
+
DescribeLocationObjectStorageResponse.struct_class = Types::DescribeLocationObjectStorageResponse
|
356
|
+
|
309
357
|
DescribeLocationS3Request.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
310
358
|
DescribeLocationS3Request.struct_class = Types::DescribeLocationS3Request
|
311
359
|
|
@@ -379,6 +427,10 @@ module Aws::DataSync
|
|
379
427
|
FilterRule.add_member(:value, Shapes::ShapeRef.new(shape: FilterValue, location_name: "Value"))
|
380
428
|
FilterRule.struct_class = Types::FilterRule
|
381
429
|
|
430
|
+
FilterValues.member = Shapes::ShapeRef.new(shape: FilterAttributeValue)
|
431
|
+
|
432
|
+
InputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
433
|
+
|
382
434
|
InternalException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
383
435
|
InternalException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "errorCode"))
|
384
436
|
InternalException.struct_class = Types::InternalException
|
@@ -397,6 +449,7 @@ module Aws::DataSync
|
|
397
449
|
|
398
450
|
ListLocationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
399
451
|
ListLocationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
452
|
+
ListLocationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: LocationFilters, location_name: "Filters"))
|
400
453
|
ListLocationsRequest.struct_class = Types::ListLocationsRequest
|
401
454
|
|
402
455
|
ListLocationsResponse.add_member(:locations, Shapes::ShapeRef.new(shape: LocationList, location_name: "Locations"))
|
@@ -408,7 +461,7 @@ module Aws::DataSync
|
|
408
461
|
ListTagsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
409
462
|
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
410
463
|
|
411
|
-
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape:
|
464
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: OutputTagList, location_name: "Tags"))
|
412
465
|
ListTagsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
413
466
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
414
467
|
|
@@ -423,12 +476,20 @@ module Aws::DataSync
|
|
423
476
|
|
424
477
|
ListTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
425
478
|
ListTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
479
|
+
ListTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: TaskFilters, location_name: "Filters"))
|
426
480
|
ListTasksRequest.struct_class = Types::ListTasksRequest
|
427
481
|
|
428
482
|
ListTasksResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: TaskList, location_name: "Tasks"))
|
429
483
|
ListTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
430
484
|
ListTasksResponse.struct_class = Types::ListTasksResponse
|
431
485
|
|
486
|
+
LocationFilter.add_member(:name, Shapes::ShapeRef.new(shape: LocationFilterName, required: true, location_name: "Name"))
|
487
|
+
LocationFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "Values"))
|
488
|
+
LocationFilter.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, required: true, location_name: "Operator"))
|
489
|
+
LocationFilter.struct_class = Types::LocationFilter
|
490
|
+
|
491
|
+
LocationFilters.member = Shapes::ShapeRef.new(shape: LocationFilter)
|
492
|
+
|
432
493
|
LocationList.member = Shapes::ShapeRef.new(shape: LocationListEntry)
|
433
494
|
|
434
495
|
LocationListEntry.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
@@ -453,8 +514,11 @@ module Aws::DataSync
|
|
453
514
|
Options.add_member(:bytes_per_second, Shapes::ShapeRef.new(shape: BytesPerSecond, location_name: "BytesPerSecond"))
|
454
515
|
Options.add_member(:task_queueing, Shapes::ShapeRef.new(shape: TaskQueueing, location_name: "TaskQueueing"))
|
455
516
|
Options.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "LogLevel"))
|
517
|
+
Options.add_member(:transfer_mode, Shapes::ShapeRef.new(shape: TransferMode, location_name: "TransferMode"))
|
456
518
|
Options.struct_class = Types::Options
|
457
519
|
|
520
|
+
OutputTagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
521
|
+
|
458
522
|
PLSecurityGroupArnList.member = Shapes::ShapeRef.new(shape: Ec2SecurityGroupArn)
|
459
523
|
|
460
524
|
PLSubnetArnList.member = Shapes::ShapeRef.new(shape: Ec2SubnetArn)
|
@@ -483,14 +547,12 @@ module Aws::DataSync
|
|
483
547
|
|
484
548
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
485
549
|
|
486
|
-
TagList.member = Shapes::ShapeRef.new(shape: TagListEntry)
|
487
|
-
|
488
550
|
TagListEntry.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
489
551
|
TagListEntry.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "Value"))
|
490
552
|
TagListEntry.struct_class = Types::TagListEntry
|
491
553
|
|
492
554
|
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
|
493
|
-
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape:
|
555
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, required: true, location_name: "Tags"))
|
494
556
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
495
557
|
|
496
558
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
@@ -512,6 +574,13 @@ module Aws::DataSync
|
|
512
574
|
TaskExecutionResultDetail.add_member(:error_detail, Shapes::ShapeRef.new(shape: string, location_name: "ErrorDetail"))
|
513
575
|
TaskExecutionResultDetail.struct_class = Types::TaskExecutionResultDetail
|
514
576
|
|
577
|
+
TaskFilter.add_member(:name, Shapes::ShapeRef.new(shape: TaskFilterName, required: true, location_name: "Name"))
|
578
|
+
TaskFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "Values"))
|
579
|
+
TaskFilter.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, required: true, location_name: "Operator"))
|
580
|
+
TaskFilter.struct_class = Types::TaskFilter
|
581
|
+
|
582
|
+
TaskFilters.member = Shapes::ShapeRef.new(shape: TaskFilter)
|
583
|
+
|
515
584
|
TaskList.member = Shapes::ShapeRef.new(shape: TaskListEntry)
|
516
585
|
|
517
586
|
TaskListEntry.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, location_name: "TaskArn"))
|
@@ -614,6 +683,16 @@ module Aws::DataSync
|
|
614
683
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
615
684
|
end)
|
616
685
|
|
686
|
+
api.add_operation(:create_location_object_storage, Seahorse::Model::Operation.new.tap do |o|
|
687
|
+
o.name = "CreateLocationObjectStorage"
|
688
|
+
o.http_method = "POST"
|
689
|
+
o.http_request_uri = "/"
|
690
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationObjectStorageRequest)
|
691
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationObjectStorageResponse)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
694
|
+
end)
|
695
|
+
|
617
696
|
api.add_operation(:create_location_s3, Seahorse::Model::Operation.new.tap do |o|
|
618
697
|
o.name = "CreateLocationS3"
|
619
698
|
o.http_method = "POST"
|
@@ -714,6 +793,16 @@ module Aws::DataSync
|
|
714
793
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
715
794
|
end)
|
716
795
|
|
796
|
+
api.add_operation(:describe_location_object_storage, Seahorse::Model::Operation.new.tap do |o|
|
797
|
+
o.name = "DescribeLocationObjectStorage"
|
798
|
+
o.http_method = "POST"
|
799
|
+
o.http_request_uri = "/"
|
800
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationObjectStorageRequest)
|
801
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationObjectStorageResponse)
|
802
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
803
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
804
|
+
end)
|
805
|
+
|
717
806
|
api.add_operation(:describe_location_s3, Seahorse::Model::Operation.new.tap do |o|
|
718
807
|
o.name = "DescribeLocationS3"
|
719
808
|
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:
|
@@ -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
|
|
@@ -1615,6 +1851,13 @@ module Aws::DataSync
|
|
1615
1851
|
# {
|
1616
1852
|
# max_results: 1,
|
1617
1853
|
# next_token: "NextToken",
|
1854
|
+
# filters: [
|
1855
|
+
# {
|
1856
|
+
# name: "LocationUri", # required, accepts LocationUri, LocationType, CreationTime
|
1857
|
+
# values: ["FilterAttributeValue"], # required
|
1858
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1859
|
+
# },
|
1860
|
+
# ],
|
1618
1861
|
# }
|
1619
1862
|
#
|
1620
1863
|
# @!attribute [rw] max_results
|
@@ -1626,11 +1869,16 @@ module Aws::DataSync
|
|
1626
1869
|
# next list of locations.
|
1627
1870
|
# @return [String]
|
1628
1871
|
#
|
1872
|
+
# @!attribute [rw] filters
|
1873
|
+
# @return [Array<Types::LocationFilter>]
|
1874
|
+
#
|
1629
1875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListLocationsRequest AWS API Documentation
|
1630
1876
|
#
|
1631
1877
|
class ListLocationsRequest < Struct.new(
|
1632
1878
|
:max_results,
|
1633
|
-
:next_token
|
1879
|
+
:next_token,
|
1880
|
+
:filters)
|
1881
|
+
SENSITIVE = []
|
1634
1882
|
include Aws::Structure
|
1635
1883
|
end
|
1636
1884
|
|
@@ -1650,6 +1898,7 @@ module Aws::DataSync
|
|
1650
1898
|
class ListLocationsResponse < Struct.new(
|
1651
1899
|
:locations,
|
1652
1900
|
:next_token)
|
1901
|
+
SENSITIVE = []
|
1653
1902
|
include Aws::Structure
|
1654
1903
|
end
|
1655
1904
|
|
@@ -1683,6 +1932,7 @@ module Aws::DataSync
|
|
1683
1932
|
:resource_arn,
|
1684
1933
|
:max_results,
|
1685
1934
|
:next_token)
|
1935
|
+
SENSITIVE = []
|
1686
1936
|
include Aws::Structure
|
1687
1937
|
end
|
1688
1938
|
|
@@ -1702,6 +1952,7 @@ module Aws::DataSync
|
|
1702
1952
|
class ListTagsForResourceResponse < Struct.new(
|
1703
1953
|
:tags,
|
1704
1954
|
:next_token)
|
1955
|
+
SENSITIVE = []
|
1705
1956
|
include Aws::Structure
|
1706
1957
|
end
|
1707
1958
|
|
@@ -1736,6 +1987,7 @@ module Aws::DataSync
|
|
1736
1987
|
:task_arn,
|
1737
1988
|
:max_results,
|
1738
1989
|
:next_token)
|
1990
|
+
SENSITIVE = []
|
1739
1991
|
include Aws::Structure
|
1740
1992
|
end
|
1741
1993
|
|
@@ -1755,6 +2007,7 @@ module Aws::DataSync
|
|
1755
2007
|
class ListTaskExecutionsResponse < Struct.new(
|
1756
2008
|
:task_executions,
|
1757
2009
|
:next_token)
|
2010
|
+
SENSITIVE = []
|
1758
2011
|
include Aws::Structure
|
1759
2012
|
end
|
1760
2013
|
|
@@ -1766,6 +2019,13 @@ module Aws::DataSync
|
|
1766
2019
|
# {
|
1767
2020
|
# max_results: 1,
|
1768
2021
|
# next_token: "NextToken",
|
2022
|
+
# filters: [
|
2023
|
+
# {
|
2024
|
+
# name: "LocationId", # required, accepts LocationId, CreationTime
|
2025
|
+
# values: ["FilterAttributeValue"], # required
|
2026
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
2027
|
+
# },
|
2028
|
+
# ],
|
1769
2029
|
# }
|
1770
2030
|
#
|
1771
2031
|
# @!attribute [rw] max_results
|
@@ -1777,11 +2037,16 @@ module Aws::DataSync
|
|
1777
2037
|
# next list of tasks.
|
1778
2038
|
# @return [String]
|
1779
2039
|
#
|
2040
|
+
# @!attribute [rw] filters
|
2041
|
+
# @return [Array<Types::TaskFilter>]
|
2042
|
+
#
|
1780
2043
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTasksRequest AWS API Documentation
|
1781
2044
|
#
|
1782
2045
|
class ListTasksRequest < Struct.new(
|
1783
2046
|
:max_results,
|
1784
|
-
:next_token
|
2047
|
+
:next_token,
|
2048
|
+
:filters)
|
2049
|
+
SENSITIVE = []
|
1785
2050
|
include Aws::Structure
|
1786
2051
|
end
|
1787
2052
|
|
@@ -1801,6 +2066,35 @@ module Aws::DataSync
|
|
1801
2066
|
class ListTasksResponse < Struct.new(
|
1802
2067
|
:tasks,
|
1803
2068
|
:next_token)
|
2069
|
+
SENSITIVE = []
|
2070
|
+
include Aws::Structure
|
2071
|
+
end
|
2072
|
+
|
2073
|
+
# @note When making an API call, you may pass LocationFilter
|
2074
|
+
# data as a hash:
|
2075
|
+
#
|
2076
|
+
# {
|
2077
|
+
# name: "LocationUri", # required, accepts LocationUri, LocationType, CreationTime
|
2078
|
+
# values: ["FilterAttributeValue"], # required
|
2079
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
2080
|
+
# }
|
2081
|
+
#
|
2082
|
+
# @!attribute [rw] name
|
2083
|
+
# @return [String]
|
2084
|
+
#
|
2085
|
+
# @!attribute [rw] values
|
2086
|
+
# @return [Array<String>]
|
2087
|
+
#
|
2088
|
+
# @!attribute [rw] operator
|
2089
|
+
# @return [String]
|
2090
|
+
#
|
2091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/LocationFilter AWS API Documentation
|
2092
|
+
#
|
2093
|
+
class LocationFilter < Struct.new(
|
2094
|
+
:name,
|
2095
|
+
:values,
|
2096
|
+
:operator)
|
2097
|
+
SENSITIVE = []
|
1804
2098
|
include Aws::Structure
|
1805
2099
|
end
|
1806
2100
|
|
@@ -1842,6 +2136,7 @@ module Aws::DataSync
|
|
1842
2136
|
class LocationListEntry < Struct.new(
|
1843
2137
|
:location_arn,
|
1844
2138
|
:location_uri)
|
2139
|
+
SENSITIVE = []
|
1845
2140
|
include Aws::Structure
|
1846
2141
|
end
|
1847
2142
|
|
@@ -1882,6 +2177,7 @@ module Aws::DataSync
|
|
1882
2177
|
#
|
1883
2178
|
class NfsMountOptions < Struct.new(
|
1884
2179
|
:version)
|
2180
|
+
SENSITIVE = []
|
1885
2181
|
include Aws::Structure
|
1886
2182
|
end
|
1887
2183
|
|
@@ -1903,6 +2199,7 @@ module Aws::DataSync
|
|
1903
2199
|
#
|
1904
2200
|
class OnPremConfig < Struct.new(
|
1905
2201
|
:agent_arns)
|
2202
|
+
SENSITIVE = []
|
1906
2203
|
include Aws::Structure
|
1907
2204
|
end
|
1908
2205
|
|
@@ -1933,21 +2230,29 @@ module Aws::DataSync
|
|
1933
2230
|
# bytes_per_second: 1,
|
1934
2231
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1935
2232
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2233
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1936
2234
|
# }
|
1937
2235
|
#
|
1938
2236
|
# @!attribute [rw] verify_mode
|
1939
2237
|
# A value that determines whether a data integrity verification should
|
1940
2238
|
# be performed at the end of a task execution after all data and
|
1941
|
-
# metadata have been transferred.
|
2239
|
+
# metadata have been transferred. For more information, see
|
2240
|
+
# create-task
|
1942
2241
|
#
|
1943
2242
|
# Default value: POINT\_IN\_TIME\_CONSISTENT.
|
1944
2243
|
#
|
1945
|
-
#
|
2244
|
+
# ONLY\_FILES\_TRANSFERRED (recommended): Perform verification only on
|
2245
|
+
# files that were transferred.
|
1946
2246
|
#
|
1947
|
-
#
|
1948
|
-
#
|
2247
|
+
# POINT\_IN\_TIME\_CONSISTENT: Scan the entire source and entire
|
2248
|
+
# destination at the end of the transfer to verify that source and
|
2249
|
+
# destination are fully synchronized. This option isn't supported
|
2250
|
+
# when transferring to S3 Glacier or S3 Glacier Deep Archive storage
|
2251
|
+
# classes.
|
1949
2252
|
#
|
1950
|
-
# NONE:
|
2253
|
+
# NONE: No additional verification is done at the end of the transfer,
|
2254
|
+
# but all data transmissions are integrity-checked with checksum
|
2255
|
+
# verification during the transfer.
|
1951
2256
|
# @return [String]
|
1952
2257
|
#
|
1953
2258
|
# @!attribute [rw] overwrite_mode
|
@@ -2089,17 +2394,31 @@ module Aws::DataSync
|
|
2089
2394
|
# executing the tasks. If set to `ENABLED`, the tasks will be queued.
|
2090
2395
|
# The default is `ENABLED`.
|
2091
2396
|
#
|
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
|
2397
|
+
# If you use the same agent to run multiple tasks, you can enable the
|
2398
|
+
# tasks to run in series. For more information, see
|
2094
2399
|
# queue-task-execution.
|
2095
2400
|
# @return [String]
|
2096
2401
|
#
|
2097
2402
|
# @!attribute [rw] log_level
|
2098
|
-
# A value that determines the type of logs DataSync
|
2099
|
-
#
|
2100
|
-
#
|
2101
|
-
#
|
2102
|
-
#
|
2403
|
+
# A value that determines the type of logs that DataSync publishes to
|
2404
|
+
# a log stream in the Amazon CloudWatch log group that you provide.
|
2405
|
+
# For more information about providing a log group for DataSync, see
|
2406
|
+
# [CloudWatchLogGroupArn][1]. If set to `OFF`, no logs are published.
|
2407
|
+
# `BASIC` publishes logs on errors for individual files transferred,
|
2408
|
+
# and `TRANSFER` publishes logs for every file or object that is
|
2409
|
+
# transferred and integrity checked.
|
2410
|
+
#
|
2411
|
+
#
|
2412
|
+
#
|
2413
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateTask.html#DataSync-CreateTask-request-CloudWatchLogGroupArn
|
2414
|
+
# @return [String]
|
2415
|
+
#
|
2416
|
+
# @!attribute [rw] transfer_mode
|
2417
|
+
# TransferMode has two values: CHANGED and ALL. CHANGED performs an
|
2418
|
+
# "incremental" or "delta sync", it compares file modification
|
2419
|
+
# time between source and destination to determine which files need to
|
2420
|
+
# be transferred. ALL skips destination inventory and transfers all
|
2421
|
+
# files discovered on the source.
|
2103
2422
|
# @return [String]
|
2104
2423
|
#
|
2105
2424
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Options AWS API Documentation
|
@@ -2116,23 +2435,25 @@ module Aws::DataSync
|
|
2116
2435
|
:posix_permissions,
|
2117
2436
|
:bytes_per_second,
|
2118
2437
|
:task_queueing,
|
2119
|
-
:log_level
|
2438
|
+
:log_level,
|
2439
|
+
:transfer_mode)
|
2440
|
+
SENSITIVE = []
|
2120
2441
|
include Aws::Structure
|
2121
2442
|
end
|
2122
2443
|
|
2123
|
-
# The VPC endpoint, subnet and security group that an agent uses to
|
2444
|
+
# The VPC endpoint, subnet, and security group that an agent uses to
|
2124
2445
|
# access IP addresses in a VPC (Virtual Private Cloud).
|
2125
2446
|
#
|
2126
2447
|
# @!attribute [rw] vpc_endpoint_id
|
2127
2448
|
# The ID of the VPC endpoint that is configured for an agent. An agent
|
2128
2449
|
# that is configured with a VPC endpoint will not be accessible over
|
2129
|
-
# the public
|
2450
|
+
# the public internet.
|
2130
2451
|
# @return [String]
|
2131
2452
|
#
|
2132
2453
|
# @!attribute [rw] private_link_endpoint
|
2133
2454
|
# The private endpoint that is configured for an agent that has access
|
2134
2455
|
# to IP addresses in a [PrivateLink][1]. An agent that is configured
|
2135
|
-
# with this endpoint will not be accessible over the public
|
2456
|
+
# with this endpoint will not be accessible over the public internet.
|
2136
2457
|
#
|
2137
2458
|
#
|
2138
2459
|
#
|
@@ -2158,6 +2479,7 @@ module Aws::DataSync
|
|
2158
2479
|
:private_link_endpoint,
|
2159
2480
|
:subnet_arns,
|
2160
2481
|
:security_group_arns)
|
2482
|
+
SENSITIVE = []
|
2161
2483
|
include Aws::Structure
|
2162
2484
|
end
|
2163
2485
|
|
@@ -2183,6 +2505,7 @@ module Aws::DataSync
|
|
2183
2505
|
#
|
2184
2506
|
class S3Config < Struct.new(
|
2185
2507
|
:bucket_access_role_arn)
|
2508
|
+
SENSITIVE = []
|
2186
2509
|
include Aws::Structure
|
2187
2510
|
end
|
2188
2511
|
|
@@ -2207,6 +2530,7 @@ module Aws::DataSync
|
|
2207
2530
|
#
|
2208
2531
|
class SmbMountOptions < Struct.new(
|
2209
2532
|
:version)
|
2533
|
+
SENSITIVE = []
|
2210
2534
|
include Aws::Structure
|
2211
2535
|
end
|
2212
2536
|
|
@@ -2230,6 +2554,7 @@ module Aws::DataSync
|
|
2230
2554
|
# bytes_per_second: 1,
|
2231
2555
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2232
2556
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2557
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2233
2558
|
# },
|
2234
2559
|
# includes: [
|
2235
2560
|
# {
|
@@ -2269,6 +2594,7 @@ module Aws::DataSync
|
|
2269
2594
|
:task_arn,
|
2270
2595
|
:override_options,
|
2271
2596
|
:includes)
|
2597
|
+
SENSITIVE = []
|
2272
2598
|
include Aws::Structure
|
2273
2599
|
end
|
2274
2600
|
|
@@ -2283,6 +2609,7 @@ module Aws::DataSync
|
|
2283
2609
|
#
|
2284
2610
|
class StartTaskExecutionResponse < Struct.new(
|
2285
2611
|
:task_execution_arn)
|
2612
|
+
SENSITIVE = []
|
2286
2613
|
include Aws::Structure
|
2287
2614
|
end
|
2288
2615
|
|
@@ -2311,6 +2638,7 @@ module Aws::DataSync
|
|
2311
2638
|
class TagListEntry < Struct.new(
|
2312
2639
|
:key,
|
2313
2640
|
:value)
|
2641
|
+
SENSITIVE = []
|
2314
2642
|
include Aws::Structure
|
2315
2643
|
end
|
2316
2644
|
|
@@ -2342,6 +2670,7 @@ module Aws::DataSync
|
|
2342
2670
|
class TagResourceRequest < Struct.new(
|
2343
2671
|
:resource_arn,
|
2344
2672
|
:tags)
|
2673
|
+
SENSITIVE = []
|
2345
2674
|
include Aws::Structure
|
2346
2675
|
end
|
2347
2676
|
|
@@ -2367,6 +2696,7 @@ module Aws::DataSync
|
|
2367
2696
|
class TaskExecutionListEntry < Struct.new(
|
2368
2697
|
:task_execution_arn,
|
2369
2698
|
:status)
|
2699
|
+
SENSITIVE = []
|
2370
2700
|
include Aws::Structure
|
2371
2701
|
end
|
2372
2702
|
|
@@ -2429,6 +2759,35 @@ module Aws::DataSync
|
|
2429
2759
|
:verify_status,
|
2430
2760
|
:error_code,
|
2431
2761
|
:error_detail)
|
2762
|
+
SENSITIVE = []
|
2763
|
+
include Aws::Structure
|
2764
|
+
end
|
2765
|
+
|
2766
|
+
# @note When making an API call, you may pass TaskFilter
|
2767
|
+
# data as a hash:
|
2768
|
+
#
|
2769
|
+
# {
|
2770
|
+
# name: "LocationId", # required, accepts LocationId, CreationTime
|
2771
|
+
# values: ["FilterAttributeValue"], # required
|
2772
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
2773
|
+
# }
|
2774
|
+
#
|
2775
|
+
# @!attribute [rw] name
|
2776
|
+
# @return [String]
|
2777
|
+
#
|
2778
|
+
# @!attribute [rw] values
|
2779
|
+
# @return [Array<String>]
|
2780
|
+
#
|
2781
|
+
# @!attribute [rw] operator
|
2782
|
+
# @return [String]
|
2783
|
+
#
|
2784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskFilter AWS API Documentation
|
2785
|
+
#
|
2786
|
+
class TaskFilter < Struct.new(
|
2787
|
+
:name,
|
2788
|
+
:values,
|
2789
|
+
:operator)
|
2790
|
+
SENSITIVE = []
|
2432
2791
|
include Aws::Structure
|
2433
2792
|
end
|
2434
2793
|
|
@@ -2455,6 +2814,7 @@ module Aws::DataSync
|
|
2455
2814
|
:task_arn,
|
2456
2815
|
:status,
|
2457
2816
|
:name)
|
2817
|
+
SENSITIVE = []
|
2458
2818
|
include Aws::Structure
|
2459
2819
|
end
|
2460
2820
|
|
@@ -2482,6 +2842,7 @@ module Aws::DataSync
|
|
2482
2842
|
#
|
2483
2843
|
class TaskSchedule < Struct.new(
|
2484
2844
|
:schedule_expression)
|
2845
|
+
SENSITIVE = []
|
2485
2846
|
include Aws::Structure
|
2486
2847
|
end
|
2487
2848
|
|
@@ -2509,6 +2870,7 @@ module Aws::DataSync
|
|
2509
2870
|
class UntagResourceRequest < Struct.new(
|
2510
2871
|
:resource_arn,
|
2511
2872
|
:keys)
|
2873
|
+
SENSITIVE = []
|
2512
2874
|
include Aws::Structure
|
2513
2875
|
end
|
2514
2876
|
|
@@ -2539,6 +2901,7 @@ module Aws::DataSync
|
|
2539
2901
|
class UpdateAgentRequest < Struct.new(
|
2540
2902
|
:agent_arn,
|
2541
2903
|
:name)
|
2904
|
+
SENSITIVE = []
|
2542
2905
|
include Aws::Structure
|
2543
2906
|
end
|
2544
2907
|
|
@@ -2566,6 +2929,7 @@ module Aws::DataSync
|
|
2566
2929
|
# bytes_per_second: 1,
|
2567
2930
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2568
2931
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2932
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2569
2933
|
# },
|
2570
2934
|
# excludes: [
|
2571
2935
|
# {
|
@@ -2632,6 +2996,7 @@ module Aws::DataSync
|
|
2632
2996
|
:schedule,
|
2633
2997
|
:name,
|
2634
2998
|
:cloud_watch_log_group_arn)
|
2999
|
+
SENSITIVE = []
|
2635
3000
|
include Aws::Structure
|
2636
3001
|
end
|
2637
3002
|
|