aws-sdk-datasync 1.15.0 → 1.16.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 +1 -1
- data/lib/aws-sdk-datasync/client.rb +39 -8
- data/lib/aws-sdk-datasync/client_api.rb +9 -0
- data/lib/aws-sdk-datasync/types.rb +80 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68d45c0aade975e38bb6e66c8d9f2daf9d9152a3
|
4
|
+
data.tar.gz: 99dd729e21d66fd00537a808f95c3e88fcf4d871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81a5c71e5d91d1a0d217ca0d66a8123da1215ce6c785a3887f06aa610ca76f84eefdd60a9c777fd572664c660c47551b6d654b7bac00f6968fb9cd80539f53e3
|
7
|
+
data.tar.gz: edc145bb8c8f6f6541f999f8b9f57b59a394099f6169389430543c38fbba001cded226e27c16bc2375a385c2bc6f8e943474c0fed0b7d735ebb5867e94296fab
|
data/lib/aws-sdk-datasync.rb
CHANGED
@@ -413,6 +413,11 @@ module Aws::DataSync
|
|
413
413
|
# data to the EFS destination. By default, AWS DataSync uses the root
|
414
414
|
# directory.
|
415
415
|
#
|
416
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
417
|
+
# `/path/to/folder`.
|
418
|
+
#
|
419
|
+
# </note>
|
420
|
+
#
|
416
421
|
# @option params [required, String] :efs_filesystem_arn
|
417
422
|
# The Amazon Resource Name (ARN) for the Amazon EFS file system.
|
418
423
|
#
|
@@ -645,7 +650,7 @@ module Aws::DataSync
|
|
645
650
|
end
|
646
651
|
|
647
652
|
# Defines a file system on an Server Message Block (SMB) server that can
|
648
|
-
# be read from or written to
|
653
|
+
# be read from or written to.
|
649
654
|
#
|
650
655
|
# @option params [required, String] :subdirectory
|
651
656
|
# The subdirectory in the SMB file system that is used to read data from
|
@@ -654,6 +659,11 @@ module Aws::DataSync
|
|
654
659
|
# subdirectory of that path. The path should be such that it can be
|
655
660
|
# mounted by other SMB clients in your network.
|
656
661
|
#
|
662
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
663
|
+
# `/path/to/folder`.
|
664
|
+
#
|
665
|
+
# </note>
|
666
|
+
#
|
657
667
|
# To transfer all the data in the folder you specified, DataSync needs
|
658
668
|
# to have permissions to mount the SMB share, as well as to access all
|
659
669
|
# the data in that share. To ensure this, either ensure that the
|
@@ -790,6 +800,11 @@ module Aws::DataSync
|
|
790
800
|
# the patterns to exclude. The patterns are delimited by "\|" (that
|
791
801
|
# is, a pipe), for example, `"/folder1|/folder2"`
|
792
802
|
#
|
803
|
+
# @option params [Types::TaskSchedule] :schedule
|
804
|
+
# Specifies a schedule used to periodically transfer files from a source
|
805
|
+
# to a destination location. The schedule should be specified in UTC
|
806
|
+
# time. For more information, see task-scheduling.
|
807
|
+
#
|
793
808
|
# @option params [Array<Types::TagListEntry>] :tags
|
794
809
|
# The key-value pair that represents the tag that you want to add to the
|
795
810
|
# resource. The value can be an empty string.
|
@@ -814,7 +829,7 @@ module Aws::DataSync
|
|
814
829
|
# gid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
|
815
830
|
# preserve_deleted_files: "PRESERVE", # accepts PRESERVE, REMOVE
|
816
831
|
# preserve_devices: "NONE", # accepts NONE, PRESERVE
|
817
|
-
# posix_permissions: "NONE", # accepts NONE,
|
832
|
+
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
818
833
|
# bytes_per_second: 1,
|
819
834
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
820
835
|
# },
|
@@ -824,6 +839,9 @@ module Aws::DataSync
|
|
824
839
|
# value: "FilterValue",
|
825
840
|
# },
|
826
841
|
# ],
|
842
|
+
# schedule: {
|
843
|
+
# schedule_expression: "ScheduleExpressionCron", # required
|
844
|
+
# },
|
827
845
|
# tags: [
|
828
846
|
# {
|
829
847
|
# key: "TagKey", # required
|
@@ -948,7 +966,7 @@ module Aws::DataSync
|
|
948
966
|
# resp.status #=> String, one of "ONLINE", "OFFLINE"
|
949
967
|
# resp.last_connection_time #=> Time
|
950
968
|
# resp.creation_time #=> Time
|
951
|
-
# resp.endpoint_type #=> String, one of "PUBLIC", "PRIVATE_LINK"
|
969
|
+
# resp.endpoint_type #=> String, one of "PUBLIC", "PRIVATE_LINK", "FIPS"
|
952
970
|
# resp.private_link_config.vpc_endpoint_id #=> String
|
953
971
|
# resp.private_link_config.private_link_endpoint #=> String
|
954
972
|
# resp.private_link_config.subnet_arns #=> Array
|
@@ -1137,6 +1155,7 @@ module Aws::DataSync
|
|
1137
1155
|
# * {Types::DescribeTaskResponse#destination_network_interface_arns #destination_network_interface_arns} => Array<String>
|
1138
1156
|
# * {Types::DescribeTaskResponse#options #options} => Types::Options
|
1139
1157
|
# * {Types::DescribeTaskResponse#excludes #excludes} => Array<Types::FilterRule>
|
1158
|
+
# * {Types::DescribeTaskResponse#schedule #schedule} => Types::TaskSchedule
|
1140
1159
|
# * {Types::DescribeTaskResponse#error_code #error_code} => String
|
1141
1160
|
# * {Types::DescribeTaskResponse#error_detail #error_detail} => String
|
1142
1161
|
# * {Types::DescribeTaskResponse#creation_time #creation_time} => Time
|
@@ -1168,12 +1187,13 @@ module Aws::DataSync
|
|
1168
1187
|
# resp.options.gid #=> String, one of "NONE", "INT_VALUE", "NAME", "BOTH"
|
1169
1188
|
# resp.options.preserve_deleted_files #=> String, one of "PRESERVE", "REMOVE"
|
1170
1189
|
# resp.options.preserve_devices #=> String, one of "NONE", "PRESERVE"
|
1171
|
-
# resp.options.posix_permissions #=> String, one of "NONE", "
|
1190
|
+
# resp.options.posix_permissions #=> String, one of "NONE", "PRESERVE"
|
1172
1191
|
# resp.options.bytes_per_second #=> Integer
|
1173
1192
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1174
1193
|
# resp.excludes #=> Array
|
1175
1194
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1176
1195
|
# resp.excludes[0].value #=> String
|
1196
|
+
# resp.schedule.schedule_expression #=> String
|
1177
1197
|
# resp.error_code #=> String
|
1178
1198
|
# resp.error_detail #=> String
|
1179
1199
|
# resp.creation_time #=> Time
|
@@ -1225,7 +1245,7 @@ module Aws::DataSync
|
|
1225
1245
|
# resp.options.gid #=> String, one of "NONE", "INT_VALUE", "NAME", "BOTH"
|
1226
1246
|
# resp.options.preserve_deleted_files #=> String, one of "PRESERVE", "REMOVE"
|
1227
1247
|
# resp.options.preserve_devices #=> String, one of "NONE", "PRESERVE"
|
1228
|
-
# resp.options.posix_permissions #=> String, one of "NONE", "
|
1248
|
+
# resp.options.posix_permissions #=> String, one of "NONE", "PRESERVE"
|
1229
1249
|
# resp.options.bytes_per_second #=> Integer
|
1230
1250
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1231
1251
|
# resp.excludes #=> Array
|
@@ -1242,6 +1262,7 @@ module Aws::DataSync
|
|
1242
1262
|
# resp.bytes_transferred #=> Integer
|
1243
1263
|
# resp.result.prepare_duration #=> Integer
|
1244
1264
|
# resp.result.prepare_status #=> String, one of "PENDING", "SUCCESS", "ERROR"
|
1265
|
+
# resp.result.total_duration #=> Integer
|
1245
1266
|
# resp.result.transfer_duration #=> Integer
|
1246
1267
|
# resp.result.transfer_status #=> String, one of "PENDING", "SUCCESS", "ERROR"
|
1247
1268
|
# resp.result.verify_duration #=> Integer
|
@@ -1518,7 +1539,7 @@ module Aws::DataSync
|
|
1518
1539
|
# gid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
|
1519
1540
|
# preserve_deleted_files: "PRESERVE", # accepts PRESERVE, REMOVE
|
1520
1541
|
# preserve_devices: "NONE", # accepts NONE, PRESERVE
|
1521
|
-
# posix_permissions: "NONE", # accepts NONE,
|
1542
|
+
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
1522
1543
|
# bytes_per_second: 1,
|
1523
1544
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1524
1545
|
# },
|
@@ -1650,6 +1671,13 @@ module Aws::DataSync
|
|
1650
1671
|
# the patterns to exclude. The patterns are delimited by "\|" (that
|
1651
1672
|
# is, a pipe), for example: `"/folder1|/folder2"`
|
1652
1673
|
#
|
1674
|
+
# @option params [Types::TaskSchedule] :schedule
|
1675
|
+
# Specifies a schedule used to periodically transfer files from a source
|
1676
|
+
# to a destination location. You can configure your task to execute
|
1677
|
+
# hourly, daily, weekly or on specific days of the week. You control
|
1678
|
+
# when in the day or hour you want the task to execute. The time you
|
1679
|
+
# specify is UTC time. For more information, see task-scheduling.
|
1680
|
+
#
|
1653
1681
|
# @option params [String] :name
|
1654
1682
|
# The name of the task to update.
|
1655
1683
|
#
|
@@ -1672,7 +1700,7 @@ module Aws::DataSync
|
|
1672
1700
|
# gid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
|
1673
1701
|
# preserve_deleted_files: "PRESERVE", # accepts PRESERVE, REMOVE
|
1674
1702
|
# preserve_devices: "NONE", # accepts NONE, PRESERVE
|
1675
|
-
# posix_permissions: "NONE", # accepts NONE,
|
1703
|
+
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
1676
1704
|
# bytes_per_second: 1,
|
1677
1705
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1678
1706
|
# },
|
@@ -1682,6 +1710,9 @@ module Aws::DataSync
|
|
1682
1710
|
# value: "FilterValue",
|
1683
1711
|
# },
|
1684
1712
|
# ],
|
1713
|
+
# schedule: {
|
1714
|
+
# schedule_expression: "ScheduleExpressionCron", # required
|
1715
|
+
# },
|
1685
1716
|
# name: "TagValue",
|
1686
1717
|
# cloud_watch_log_group_arn: "LogGroupArn",
|
1687
1718
|
# })
|
@@ -1708,7 +1739,7 @@ module Aws::DataSync
|
|
1708
1739
|
params: params,
|
1709
1740
|
config: config)
|
1710
1741
|
context[:gem_name] = 'aws-sdk-datasync'
|
1711
|
-
context[:gem_version] = '1.
|
1742
|
+
context[:gem_version] = '1.16.0'
|
1712
1743
|
Seahorse::Client::Request.new(handlers, context)
|
1713
1744
|
end
|
1714
1745
|
|
@@ -105,6 +105,7 @@ module Aws::DataSync
|
|
105
105
|
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
106
106
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
107
107
|
S3StorageClass = Shapes::StringShape.new(name: 'S3StorageClass')
|
108
|
+
ScheduleExpressionCron = Shapes::StringShape.new(name: 'ScheduleExpressionCron')
|
108
109
|
ServerHostname = Shapes::StringShape.new(name: 'ServerHostname')
|
109
110
|
SmbDomain = Shapes::StringShape.new(name: 'SmbDomain')
|
110
111
|
SmbMountOptions = Shapes::StructureShape.new(name: 'SmbMountOptions')
|
@@ -132,6 +133,7 @@ module Aws::DataSync
|
|
132
133
|
TaskList = Shapes::ListShape.new(name: 'TaskList')
|
133
134
|
TaskListEntry = Shapes::StructureShape.new(name: 'TaskListEntry')
|
134
135
|
TaskQueueing = Shapes::StringShape.new(name: 'TaskQueueing')
|
136
|
+
TaskSchedule = Shapes::StructureShape.new(name: 'TaskSchedule')
|
135
137
|
TaskStatus = Shapes::StringShape.new(name: 'TaskStatus')
|
136
138
|
Time = Shapes::TimestampShape.new(name: 'Time')
|
137
139
|
Uid = Shapes::StringShape.new(name: 'Uid')
|
@@ -219,6 +221,7 @@ module Aws::DataSync
|
|
219
221
|
CreateTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
220
222
|
CreateTaskRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
221
223
|
CreateTaskRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
|
224
|
+
CreateTaskRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: TaskSchedule, location_name: "Schedule"))
|
222
225
|
CreateTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
223
226
|
CreateTaskRequest.struct_class = Types::CreateTaskRequest
|
224
227
|
|
@@ -324,6 +327,7 @@ module Aws::DataSync
|
|
324
327
|
DescribeTaskResponse.add_member(:destination_network_interface_arns, Shapes::ShapeRef.new(shape: DestinationNetworkInterfaceArns, location_name: "DestinationNetworkInterfaceArns"))
|
325
328
|
DescribeTaskResponse.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
326
329
|
DescribeTaskResponse.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
|
330
|
+
DescribeTaskResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: TaskSchedule, location_name: "Schedule"))
|
327
331
|
DescribeTaskResponse.add_member(:error_code, Shapes::ShapeRef.new(shape: string, location_name: "ErrorCode"))
|
328
332
|
DescribeTaskResponse.add_member(:error_detail, Shapes::ShapeRef.new(shape: string, location_name: "ErrorDetail"))
|
329
333
|
DescribeTaskResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
@@ -466,6 +470,7 @@ module Aws::DataSync
|
|
466
470
|
|
467
471
|
TaskExecutionResultDetail.add_member(:prepare_duration, Shapes::ShapeRef.new(shape: Duration, location_name: "PrepareDuration"))
|
468
472
|
TaskExecutionResultDetail.add_member(:prepare_status, Shapes::ShapeRef.new(shape: PhaseStatus, location_name: "PrepareStatus"))
|
473
|
+
TaskExecutionResultDetail.add_member(:total_duration, Shapes::ShapeRef.new(shape: Duration, location_name: "TotalDuration"))
|
469
474
|
TaskExecutionResultDetail.add_member(:transfer_duration, Shapes::ShapeRef.new(shape: Duration, location_name: "TransferDuration"))
|
470
475
|
TaskExecutionResultDetail.add_member(:transfer_status, Shapes::ShapeRef.new(shape: PhaseStatus, location_name: "TransferStatus"))
|
471
476
|
TaskExecutionResultDetail.add_member(:verify_duration, Shapes::ShapeRef.new(shape: Duration, location_name: "VerifyDuration"))
|
@@ -481,6 +486,9 @@ module Aws::DataSync
|
|
481
486
|
TaskListEntry.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
482
487
|
TaskListEntry.struct_class = Types::TaskListEntry
|
483
488
|
|
489
|
+
TaskSchedule.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpressionCron, required: true, location_name: "ScheduleExpression"))
|
490
|
+
TaskSchedule.struct_class = Types::TaskSchedule
|
491
|
+
|
484
492
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourceArn, required: true, location_name: "ResourceArn"))
|
485
493
|
UntagResourceRequest.add_member(:keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "Keys"))
|
486
494
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -496,6 +504,7 @@ module Aws::DataSync
|
|
496
504
|
UpdateTaskRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
|
497
505
|
UpdateTaskRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "Options"))
|
498
506
|
UpdateTaskRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
|
507
|
+
UpdateTaskRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: TaskSchedule, location_name: "Schedule"))
|
499
508
|
UpdateTaskRequest.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
500
509
|
UpdateTaskRequest.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "CloudWatchLogGroupArn"))
|
501
510
|
UpdateTaskRequest.struct_class = Types::UpdateTaskRequest
|
@@ -192,6 +192,11 @@ module Aws::DataSync
|
|
192
192
|
# file system is used to read data from the EFS source location or
|
193
193
|
# write data to the EFS destination. By default, AWS DataSync uses the
|
194
194
|
# root directory.
|
195
|
+
#
|
196
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
197
|
+
# `/path/to/folder`.
|
198
|
+
#
|
199
|
+
# </note>
|
195
200
|
# @return [String]
|
196
201
|
#
|
197
202
|
# @!attribute [rw] efs_filesystem_arn
|
@@ -466,6 +471,11 @@ module Aws::DataSync
|
|
466
471
|
# a subdirectory of that path. The path should be such that it can be
|
467
472
|
# mounted by other SMB clients in your network.
|
468
473
|
#
|
474
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
475
|
+
# `/path/to/folder`.
|
476
|
+
#
|
477
|
+
# </note>
|
478
|
+
#
|
469
479
|
# To transfer all the data in the folder you specified, DataSync needs
|
470
480
|
# to have permissions to mount the SMB share, as well as to access all
|
471
481
|
# the data in that share. To ensure this, either ensure that the
|
@@ -565,7 +575,7 @@ module Aws::DataSync
|
|
565
575
|
# gid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
|
566
576
|
# preserve_deleted_files: "PRESERVE", # accepts PRESERVE, REMOVE
|
567
577
|
# preserve_devices: "NONE", # accepts NONE, PRESERVE
|
568
|
-
# posix_permissions: "NONE", # accepts NONE,
|
578
|
+
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
569
579
|
# bytes_per_second: 1,
|
570
580
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
571
581
|
# },
|
@@ -575,6 +585,9 @@ module Aws::DataSync
|
|
575
585
|
# value: "FilterValue",
|
576
586
|
# },
|
577
587
|
# ],
|
588
|
+
# schedule: {
|
589
|
+
# schedule_expression: "ScheduleExpressionCron", # required
|
590
|
+
# },
|
578
591
|
# tags: [
|
579
592
|
# {
|
580
593
|
# key: "TagKey", # required
|
@@ -627,6 +640,12 @@ module Aws::DataSync
|
|
627
640
|
# (that is, a pipe), for example, `"/folder1|/folder2"`
|
628
641
|
# @return [Array<Types::FilterRule>]
|
629
642
|
#
|
643
|
+
# @!attribute [rw] schedule
|
644
|
+
# Specifies a schedule used to periodically transfer files from a
|
645
|
+
# source to a destination location. The schedule should be specified
|
646
|
+
# in UTC time. For more information, see task-scheduling.
|
647
|
+
# @return [Types::TaskSchedule]
|
648
|
+
#
|
630
649
|
# @!attribute [rw] tags
|
631
650
|
# The key-value pair that represents the tag that you want to add to
|
632
651
|
# the resource. The value can be an empty string.
|
@@ -641,6 +660,7 @@ module Aws::DataSync
|
|
641
660
|
:name,
|
642
661
|
:options,
|
643
662
|
:excludes,
|
663
|
+
:schedule,
|
644
664
|
:tags)
|
645
665
|
include Aws::Structure
|
646
666
|
end
|
@@ -1264,6 +1284,11 @@ module Aws::DataSync
|
|
1264
1284
|
# (that is, a pipe), for example: `"/folder1|/folder2"`
|
1265
1285
|
# @return [Array<Types::FilterRule>]
|
1266
1286
|
#
|
1287
|
+
# @!attribute [rw] schedule
|
1288
|
+
# The schedule used to periodically transfer files from a source to a
|
1289
|
+
# destination location.
|
1290
|
+
# @return [Types::TaskSchedule]
|
1291
|
+
#
|
1267
1292
|
# @!attribute [rw] error_code
|
1268
1293
|
# Errors that AWS DataSync encountered during execution of the task.
|
1269
1294
|
# You can use this error code to help troubleshoot issues.
|
@@ -1293,6 +1318,7 @@ module Aws::DataSync
|
|
1293
1318
|
:destination_network_interface_arns,
|
1294
1319
|
:options,
|
1295
1320
|
:excludes,
|
1321
|
+
:schedule,
|
1296
1322
|
:error_code,
|
1297
1323
|
:error_detail,
|
1298
1324
|
:creation_time)
|
@@ -1762,7 +1788,7 @@ module Aws::DataSync
|
|
1762
1788
|
# gid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
|
1763
1789
|
# preserve_deleted_files: "PRESERVE", # accepts PRESERVE, REMOVE
|
1764
1790
|
# preserve_devices: "NONE", # accepts NONE, PRESERVE
|
1765
|
-
# posix_permissions: "NONE", # accepts NONE,
|
1791
|
+
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
1766
1792
|
# bytes_per_second: 1,
|
1767
1793
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1768
1794
|
# }
|
@@ -1918,11 +1944,12 @@ module Aws::DataSync
|
|
1918
1944
|
#
|
1919
1945
|
# @!attribute [rw] task_queueing
|
1920
1946
|
# A value that determines whether tasks should be queued before
|
1921
|
-
# executing the tasks. If set to `
|
1922
|
-
# default is `
|
1947
|
+
# executing the tasks. If set to `ENABLED`, the tasks will be queued.
|
1948
|
+
# The default is `ENABLED`.
|
1923
1949
|
#
|
1924
1950
|
# If you use the same agent to run multiple tasks you can enable the
|
1925
|
-
# tasks to run in series. For more information see
|
1951
|
+
# tasks to run in series. For more information see
|
1952
|
+
# queue-task-execution.
|
1926
1953
|
# @return [String]
|
1927
1954
|
#
|
1928
1955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Options AWS API Documentation
|
@@ -2048,7 +2075,7 @@ module Aws::DataSync
|
|
2048
2075
|
# gid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
|
2049
2076
|
# preserve_deleted_files: "PRESERVE", # accepts PRESERVE, REMOVE
|
2050
2077
|
# preserve_devices: "NONE", # accepts NONE, PRESERVE
|
2051
|
-
# posix_permissions: "NONE", # accepts NONE,
|
2078
|
+
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
2052
2079
|
# bytes_per_second: 1,
|
2053
2080
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2054
2081
|
# },
|
@@ -2204,6 +2231,11 @@ module Aws::DataSync
|
|
2204
2231
|
# The status of the PREPARING phase.
|
2205
2232
|
# @return [String]
|
2206
2233
|
#
|
2234
|
+
# @!attribute [rw] total_duration
|
2235
|
+
# The total time in milliseconds that AWS DataSync took to transfer
|
2236
|
+
# the file from the source to the destination location.
|
2237
|
+
# @return [Integer]
|
2238
|
+
#
|
2207
2239
|
# @!attribute [rw] transfer_duration
|
2208
2240
|
# The total time in milliseconds that AWS DataSync spent in the
|
2209
2241
|
# TRANSFERRING phase.
|
@@ -2238,6 +2270,7 @@ module Aws::DataSync
|
|
2238
2270
|
class TaskExecutionResultDetail < Struct.new(
|
2239
2271
|
:prepare_duration,
|
2240
2272
|
:prepare_status,
|
2273
|
+
:total_duration,
|
2241
2274
|
:transfer_duration,
|
2242
2275
|
:transfer_status,
|
2243
2276
|
:verify_duration,
|
@@ -2273,6 +2306,33 @@ module Aws::DataSync
|
|
2273
2306
|
include Aws::Structure
|
2274
2307
|
end
|
2275
2308
|
|
2309
|
+
# Specifies the schedule you want your task to use for repeated
|
2310
|
+
# executions. For more information, see [Schedule Expressions for
|
2311
|
+
# Rules][1].
|
2312
|
+
#
|
2313
|
+
#
|
2314
|
+
#
|
2315
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html
|
2316
|
+
#
|
2317
|
+
# @note When making an API call, you may pass TaskSchedule
|
2318
|
+
# data as a hash:
|
2319
|
+
#
|
2320
|
+
# {
|
2321
|
+
# schedule_expression: "ScheduleExpressionCron", # required
|
2322
|
+
# }
|
2323
|
+
#
|
2324
|
+
# @!attribute [rw] schedule_expression
|
2325
|
+
# A cron expression that specifies when AWS DataSync initiates a
|
2326
|
+
# scheduled transfer from a source to a destination location.
|
2327
|
+
# @return [String]
|
2328
|
+
#
|
2329
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskSchedule AWS API Documentation
|
2330
|
+
#
|
2331
|
+
class TaskSchedule < Struct.new(
|
2332
|
+
:schedule_expression)
|
2333
|
+
include Aws::Structure
|
2334
|
+
end
|
2335
|
+
|
2276
2336
|
# UntagResourceRequest
|
2277
2337
|
#
|
2278
2338
|
# @note When making an API call, you may pass UntagResourceRequest
|
@@ -2350,7 +2410,7 @@ module Aws::DataSync
|
|
2350
2410
|
# gid: "NONE", # accepts NONE, INT_VALUE, NAME, BOTH
|
2351
2411
|
# preserve_deleted_files: "PRESERVE", # accepts PRESERVE, REMOVE
|
2352
2412
|
# preserve_devices: "NONE", # accepts NONE, PRESERVE
|
2353
|
-
# posix_permissions: "NONE", # accepts NONE,
|
2413
|
+
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
2354
2414
|
# bytes_per_second: 1,
|
2355
2415
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2356
2416
|
# },
|
@@ -2360,6 +2420,9 @@ module Aws::DataSync
|
|
2360
2420
|
# value: "FilterValue",
|
2361
2421
|
# },
|
2362
2422
|
# ],
|
2423
|
+
# schedule: {
|
2424
|
+
# schedule_expression: "ScheduleExpressionCron", # required
|
2425
|
+
# },
|
2363
2426
|
# name: "TagValue",
|
2364
2427
|
# cloud_watch_log_group_arn: "LogGroupArn",
|
2365
2428
|
# }
|
@@ -2389,6 +2452,15 @@ module Aws::DataSync
|
|
2389
2452
|
# (that is, a pipe), for example: `"/folder1|/folder2"`
|
2390
2453
|
# @return [Array<Types::FilterRule>]
|
2391
2454
|
#
|
2455
|
+
# @!attribute [rw] schedule
|
2456
|
+
# Specifies a schedule used to periodically transfer files from a
|
2457
|
+
# source to a destination location. You can configure your task to
|
2458
|
+
# execute hourly, daily, weekly or on specific days of the week. You
|
2459
|
+
# control when in the day or hour you want the task to execute. The
|
2460
|
+
# time you specify is UTC time. For more information, see
|
2461
|
+
# task-scheduling.
|
2462
|
+
# @return [Types::TaskSchedule]
|
2463
|
+
#
|
2392
2464
|
# @!attribute [rw] name
|
2393
2465
|
# The name of the task to update.
|
2394
2466
|
# @return [String]
|
@@ -2404,6 +2476,7 @@ module Aws::DataSync
|
|
2404
2476
|
:task_arn,
|
2405
2477
|
:options,
|
2406
2478
|
:excludes,
|
2479
|
+
:schedule,
|
2407
2480
|
:name,
|
2408
2481
|
:cloud_watch_log_group_arn)
|
2409
2482
|
include Aws::Structure
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-datasync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|