aws-sdk-datasync 1.19.0 → 1.24.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 +3 -1
- data/lib/aws-sdk-datasync/client.rb +188 -25
- 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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd4e4eb52922e40de3ae28c044d2bc79d49441c7b7417850bab6f2bc178b6acc
|
4
|
+
data.tar.gz: 1adadb23cdfa68167b747d141f75e4e89e3bb3dbb6c3c7918adfc85d0a6ade33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 980ea1cd0713826eba119a0ac462e5fda8e747ba82f700b401cd5a6f1f33d656c97d358e519722d3e2e500af6723b5a2a153bcc26fba14c16e5ed587207e37f0
|
7
|
+
data.tar.gz: 5e0a259bef0c5d0910d366f84eb8519f9588aa31b42e58fcbe1778e97d3a4a666b85fdb2348ca80d77272d68b9268c7a0bff2863354b9c35bddaa770ed678cc4
|
data/lib/aws-sdk-datasync.rb
CHANGED
@@ -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:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-datasync/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::DataSync
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.24.0'
|
49
51
|
|
50
52
|
end
|
@@ -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:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::DataSync
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::DataSync
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::DataSync
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -320,7 +324,7 @@ module Aws::DataSync
|
|
320
324
|
|
321
325
|
# Cancels execution of a task.
|
322
326
|
#
|
323
|
-
# When you cancel a task execution, the transfer of some files
|
327
|
+
# When you cancel a task execution, the transfer of some files is
|
324
328
|
# abruptly interrupted. The contents of files that are transferred to
|
325
329
|
# the destination might be incomplete or inconsistent with the source
|
326
330
|
# files. However, if you start a new task execution on the same task and
|
@@ -357,7 +361,7 @@ module Aws::DataSync
|
|
357
361
|
# AWS Region where your target locations (in Amazon S3 or Amazon EFS)
|
358
362
|
# reside. Your tasks are created in this AWS Region.
|
359
363
|
#
|
360
|
-
# You can activate the agent in a VPC (
|
364
|
+
# You can activate the agent in a VPC (virtual private cloud) or provide
|
361
365
|
# the agent access to a VPC endpoint so you can run tasks without going
|
362
366
|
# over the public Internet.
|
363
367
|
#
|
@@ -400,11 +404,11 @@ module Aws::DataSync
|
|
400
404
|
# </note>
|
401
405
|
#
|
402
406
|
# @option params [String] :vpc_endpoint_id
|
403
|
-
# The ID of the VPC (
|
407
|
+
# The ID of the VPC (virtual private cloud) endpoint that the agent has
|
404
408
|
# access to. This is the client-side VPC endpoint, also called a
|
405
409
|
# PrivateLink. If you don't have a PrivateLink VPC endpoint, see
|
406
|
-
# [Creating a VPC Endpoint Service Configuration][1] in the
|
407
|
-
# Guide.
|
410
|
+
# [Creating a VPC Endpoint Service Configuration][1] in the Amazon VPC
|
411
|
+
# User Guide.
|
408
412
|
#
|
409
413
|
# VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
|
410
414
|
#
|
@@ -467,7 +471,7 @@ module Aws::DataSync
|
|
467
471
|
# data to the EFS destination. By default, AWS DataSync uses the root
|
468
472
|
# directory.
|
469
473
|
#
|
470
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
474
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
471
475
|
# `/path/to/folder`.
|
472
476
|
#
|
473
477
|
# </note>
|
@@ -606,7 +610,7 @@ module Aws::DataSync
|
|
606
610
|
end
|
607
611
|
|
608
612
|
# Defines a file system on a Network File System (NFS) server that can
|
609
|
-
# be read from or written to
|
613
|
+
# be read from or written to.
|
610
614
|
#
|
611
615
|
# @option params [required, String] :subdirectory
|
612
616
|
# The subdirectory in the NFS file system that is used to read data from
|
@@ -629,24 +633,45 @@ module Aws::DataSync
|
|
629
633
|
# files. For the agent to access directories, you must additionally
|
630
634
|
# enable all execute access.
|
631
635
|
#
|
636
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
637
|
+
# Server on AWS Snowcone][1] for more information.
|
638
|
+
#
|
632
639
|
# For information about NFS export configuration, see 18.7. The
|
633
640
|
# /etc/exports Configuration File in the Red Hat Enterprise Linux
|
634
641
|
# documentation.
|
635
642
|
#
|
643
|
+
#
|
644
|
+
#
|
645
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
646
|
+
#
|
636
647
|
# @option params [required, String] :server_hostname
|
637
648
|
# The name of the NFS server. This value is the IP address or Domain
|
638
649
|
# Name Service (DNS) name of the NFS server. An agent that is installed
|
639
650
|
# on-premises uses this host name to mount the NFS server in a network.
|
640
651
|
#
|
652
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
653
|
+
# Server on AWS Snowcone][1] for more information.
|
654
|
+
#
|
641
655
|
# <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
|
642
656
|
# (IPv4) address.
|
643
657
|
#
|
644
658
|
# </note>
|
645
659
|
#
|
660
|
+
#
|
661
|
+
#
|
662
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
663
|
+
#
|
646
664
|
# @option params [required, Types::OnPremConfig] :on_prem_config
|
647
665
|
# Contains a list of Amazon Resource Names (ARNs) of agents that are
|
648
666
|
# used to connect to an NFS server.
|
649
667
|
#
|
668
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
669
|
+
# Server on AWS Snowcone][1] for more information.
|
670
|
+
#
|
671
|
+
#
|
672
|
+
#
|
673
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
674
|
+
#
|
650
675
|
# @option params [Types::NfsMountOptions] :mount_options
|
651
676
|
# The NFS mount options that DataSync can use to mount your NFS share.
|
652
677
|
#
|
@@ -691,6 +716,85 @@ module Aws::DataSync
|
|
691
716
|
req.send_request(options)
|
692
717
|
end
|
693
718
|
|
719
|
+
# Creates an endpoint for a self-managed object storage bucket.
|
720
|
+
#
|
721
|
+
# @option params [required, String] :server_hostname
|
722
|
+
# The name of the self-managed object storage server. This value is the
|
723
|
+
# IP address or Domain Name Service (DNS) name of the object storage
|
724
|
+
# server. An agent uses this host name to mount the object storage
|
725
|
+
# server in a network.
|
726
|
+
#
|
727
|
+
# @option params [Integer] :server_port
|
728
|
+
# The port that your self-managed object storage server accepts inbound
|
729
|
+
# network traffic on. The server port is set by default to TCP 80 (HTTP)
|
730
|
+
# or TCP 443 (HTTPS). You can specify a custom port if your self-managed
|
731
|
+
# object storage server requires one.
|
732
|
+
#
|
733
|
+
# @option params [String] :server_protocol
|
734
|
+
# The protocol that the object storage server uses to communicate. Valid
|
735
|
+
# values are HTTP or HTTPS.
|
736
|
+
#
|
737
|
+
# @option params [String] :subdirectory
|
738
|
+
# The subdirectory in the self-managed object storage server that is
|
739
|
+
# used to read data from.
|
740
|
+
#
|
741
|
+
# @option params [required, String] :bucket_name
|
742
|
+
# The bucket on the self-managed object storage server that is used to
|
743
|
+
# read data from.
|
744
|
+
#
|
745
|
+
# @option params [String] :access_key
|
746
|
+
# Optional. The access key is used if credentials are required to access
|
747
|
+
# the self-managed object storage server.
|
748
|
+
#
|
749
|
+
# @option params [String] :secret_key
|
750
|
+
# Optional. The secret key is used if credentials are required to access
|
751
|
+
# the self-managed object storage server.
|
752
|
+
#
|
753
|
+
# @option params [required, Array<String>] :agent_arns
|
754
|
+
# The Amazon Resource Name (ARN) of the agents associated with the
|
755
|
+
# self-managed object storage server location.
|
756
|
+
#
|
757
|
+
# @option params [Array<Types::TagListEntry>] :tags
|
758
|
+
# The key-value pair that represents the tag that you want to add to the
|
759
|
+
# location. The value can be an empty string. We recommend using tags to
|
760
|
+
# name your resources.
|
761
|
+
#
|
762
|
+
# @return [Types::CreateLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
763
|
+
#
|
764
|
+
# * {Types::CreateLocationObjectStorageResponse#location_arn #location_arn} => String
|
765
|
+
#
|
766
|
+
# @example Request syntax with placeholder values
|
767
|
+
#
|
768
|
+
# resp = client.create_location_object_storage({
|
769
|
+
# server_hostname: "ServerHostname", # required
|
770
|
+
# server_port: 1,
|
771
|
+
# server_protocol: "HTTPS", # accepts HTTPS, HTTP
|
772
|
+
# subdirectory: "S3Subdirectory",
|
773
|
+
# bucket_name: "ObjectStorageBucketName", # required
|
774
|
+
# access_key: "ObjectStorageAccessKey",
|
775
|
+
# secret_key: "ObjectStorageSecretKey",
|
776
|
+
# agent_arns: ["AgentArn"], # required
|
777
|
+
# tags: [
|
778
|
+
# {
|
779
|
+
# key: "TagKey", # required
|
780
|
+
# value: "TagValue",
|
781
|
+
# },
|
782
|
+
# ],
|
783
|
+
# })
|
784
|
+
#
|
785
|
+
# @example Response structure
|
786
|
+
#
|
787
|
+
# resp.location_arn #=> String
|
788
|
+
#
|
789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorage AWS API Documentation
|
790
|
+
#
|
791
|
+
# @overload create_location_object_storage(params = {})
|
792
|
+
# @param [Hash] params ({})
|
793
|
+
def create_location_object_storage(params = {}, options = {})
|
794
|
+
req = build_request(:create_location_object_storage, params)
|
795
|
+
req.send_request(options)
|
796
|
+
end
|
797
|
+
|
694
798
|
# Creates an endpoint for an Amazon S3 bucket.
|
695
799
|
#
|
696
800
|
# For AWS DataSync to access a destination S3 bucket, it needs an AWS
|
@@ -770,7 +874,7 @@ module Aws::DataSync
|
|
770
874
|
req.send_request(options)
|
771
875
|
end
|
772
876
|
|
773
|
-
# Defines a file system on
|
877
|
+
# Defines a file system on a Server Message Block (SMB) server that can
|
774
878
|
# be read from or written to.
|
775
879
|
#
|
776
880
|
# @option params [required, String] :subdirectory
|
@@ -780,7 +884,7 @@ module Aws::DataSync
|
|
780
884
|
# subdirectory of that path. The path should be such that it can be
|
781
885
|
# mounted by other SMB clients in your network.
|
782
886
|
#
|
783
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
887
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
784
888
|
# `/path/to/folder`.
|
785
889
|
#
|
786
890
|
# </note>
|
@@ -894,12 +998,6 @@ module Aws::DataSync
|
|
894
998
|
# The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
|
895
999
|
# is used to monitor and log events in the task.
|
896
1000
|
#
|
897
|
-
# For more information on these groups, see Working with Log Groups and
|
898
|
-
# Log Streams in the *Amazon CloudWatch User Guide.*
|
899
|
-
#
|
900
|
-
# For more information about how to use CloudWatch Logs with DataSync,
|
901
|
-
# see Monitoring Your Task in the *AWS DataSync User Guide.*
|
902
|
-
#
|
903
1001
|
# @option params [String] :name
|
904
1002
|
# The name of a task. This value is a text reference that is used to
|
905
1003
|
# identify the task in the console.
|
@@ -912,7 +1010,7 @@ module Aws::DataSync
|
|
912
1010
|
# verification, and so on.
|
913
1011
|
#
|
914
1012
|
# For each individual task execution, you can override these options by
|
915
|
-
# specifying the `OverrideOptions` before starting
|
1013
|
+
# specifying the `OverrideOptions` before starting the task execution.
|
916
1014
|
# For more information, see the operation.
|
917
1015
|
#
|
918
1016
|
# @option params [Array<Types::FilterRule>] :excludes
|
@@ -954,6 +1052,7 @@ module Aws::DataSync
|
|
954
1052
|
# bytes_per_second: 1,
|
955
1053
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
956
1054
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1055
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
957
1056
|
# },
|
958
1057
|
# excludes: [
|
959
1058
|
# {
|
@@ -1183,10 +1282,10 @@ module Aws::DataSync
|
|
1183
1282
|
req.send_request(options)
|
1184
1283
|
end
|
1185
1284
|
|
1186
|
-
# Returns metadata, such as the path information, about
|
1285
|
+
# Returns metadata, such as the path information, about an NFS location.
|
1187
1286
|
#
|
1188
1287
|
# @option params [required, String] :location_arn
|
1189
|
-
# The Amazon
|
1288
|
+
# The Amazon Resource Name (ARN) of the NFS location to describe.
|
1190
1289
|
#
|
1191
1290
|
# @return [Types::DescribeLocationNfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1192
1291
|
#
|
@@ -1220,6 +1319,48 @@ module Aws::DataSync
|
|
1220
1319
|
req.send_request(options)
|
1221
1320
|
end
|
1222
1321
|
|
1322
|
+
# Returns metadata about a self-managed object storage server location.
|
1323
|
+
#
|
1324
|
+
# @option params [required, String] :location_arn
|
1325
|
+
# The Amazon Resource Name (ARN) of the self-managed object storage
|
1326
|
+
# server location that was described.
|
1327
|
+
#
|
1328
|
+
# @return [Types::DescribeLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1329
|
+
#
|
1330
|
+
# * {Types::DescribeLocationObjectStorageResponse#location_arn #location_arn} => String
|
1331
|
+
# * {Types::DescribeLocationObjectStorageResponse#location_uri #location_uri} => String
|
1332
|
+
# * {Types::DescribeLocationObjectStorageResponse#access_key #access_key} => String
|
1333
|
+
# * {Types::DescribeLocationObjectStorageResponse#server_port #server_port} => Integer
|
1334
|
+
# * {Types::DescribeLocationObjectStorageResponse#server_protocol #server_protocol} => String
|
1335
|
+
# * {Types::DescribeLocationObjectStorageResponse#agent_arns #agent_arns} => Array<String>
|
1336
|
+
# * {Types::DescribeLocationObjectStorageResponse#creation_time #creation_time} => Time
|
1337
|
+
#
|
1338
|
+
# @example Request syntax with placeholder values
|
1339
|
+
#
|
1340
|
+
# resp = client.describe_location_object_storage({
|
1341
|
+
# location_arn: "LocationArn", # required
|
1342
|
+
# })
|
1343
|
+
#
|
1344
|
+
# @example Response structure
|
1345
|
+
#
|
1346
|
+
# resp.location_arn #=> String
|
1347
|
+
# resp.location_uri #=> String
|
1348
|
+
# resp.access_key #=> String
|
1349
|
+
# resp.server_port #=> Integer
|
1350
|
+
# resp.server_protocol #=> String, one of "HTTPS", "HTTP"
|
1351
|
+
# resp.agent_arns #=> Array
|
1352
|
+
# resp.agent_arns[0] #=> String
|
1353
|
+
# resp.creation_time #=> Time
|
1354
|
+
#
|
1355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage AWS API Documentation
|
1356
|
+
#
|
1357
|
+
# @overload describe_location_object_storage(params = {})
|
1358
|
+
# @param [Hash] params ({})
|
1359
|
+
def describe_location_object_storage(params = {}, options = {})
|
1360
|
+
req = build_request(:describe_location_object_storage, params)
|
1361
|
+
req.send_request(options)
|
1362
|
+
end
|
1363
|
+
|
1223
1364
|
# Returns metadata, such as bucket name, about an Amazon S3 bucket
|
1224
1365
|
# location.
|
1225
1366
|
#
|
@@ -1258,11 +1399,11 @@ module Aws::DataSync
|
|
1258
1399
|
req.send_request(options)
|
1259
1400
|
end
|
1260
1401
|
|
1261
|
-
# Returns metadata, such as the path and user information about
|
1402
|
+
# Returns metadata, such as the path and user information about an SMB
|
1262
1403
|
# location.
|
1263
1404
|
#
|
1264
1405
|
# @option params [required, String] :location_arn
|
1265
|
-
# The Amazon
|
1406
|
+
# The Amazon Resource Name (ARN) of the SMB location to describe.
|
1266
1407
|
#
|
1267
1408
|
# @return [Types::DescribeLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1268
1409
|
#
|
@@ -1354,6 +1495,7 @@ module Aws::DataSync
|
|
1354
1495
|
# resp.options.bytes_per_second #=> Integer
|
1355
1496
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1356
1497
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1498
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1357
1499
|
# resp.excludes #=> Array
|
1358
1500
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1359
1501
|
# resp.excludes[0].value #=> String
|
@@ -1413,6 +1555,7 @@ module Aws::DataSync
|
|
1413
1555
|
# resp.options.bytes_per_second #=> Integer
|
1414
1556
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1415
1557
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1558
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1416
1559
|
# resp.excludes #=> Array
|
1417
1560
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1418
1561
|
# resp.excludes[0].value #=> String
|
@@ -1495,7 +1638,7 @@ module Aws::DataSync
|
|
1495
1638
|
req.send_request(options)
|
1496
1639
|
end
|
1497
1640
|
|
1498
|
-
# Returns a
|
1641
|
+
# Returns a list of source and destination locations.
|
1499
1642
|
#
|
1500
1643
|
# If you have more locations than are returned in a response (that is,
|
1501
1644
|
# the response returns only a truncated list of your agents), the
|
@@ -1509,6 +1652,8 @@ module Aws::DataSync
|
|
1509
1652
|
# An opaque string that indicates the position at which to begin the
|
1510
1653
|
# next list of locations.
|
1511
1654
|
#
|
1655
|
+
# @option params [Array<Types::LocationFilter>] :filters
|
1656
|
+
#
|
1512
1657
|
# @return [Types::ListLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1513
1658
|
#
|
1514
1659
|
# * {Types::ListLocationsResponse#locations #locations} => Array<Types::LocationListEntry>
|
@@ -1521,6 +1666,13 @@ module Aws::DataSync
|
|
1521
1666
|
# resp = client.list_locations({
|
1522
1667
|
# max_results: 1,
|
1523
1668
|
# next_token: "NextToken",
|
1669
|
+
# filters: [
|
1670
|
+
# {
|
1671
|
+
# name: "LocationUri", # required, accepts LocationUri, LocationType, CreationTime
|
1672
|
+
# values: ["FilterAttributeValue"], # required
|
1673
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1674
|
+
# },
|
1675
|
+
# ],
|
1524
1676
|
# })
|
1525
1677
|
#
|
1526
1678
|
# @example Response structure
|
@@ -1539,7 +1691,7 @@ module Aws::DataSync
|
|
1539
1691
|
req.send_request(options)
|
1540
1692
|
end
|
1541
1693
|
|
1542
|
-
# Returns all the tags associated with a specified
|
1694
|
+
# Returns all the tags associated with a specified resource.
|
1543
1695
|
#
|
1544
1696
|
# @option params [required, String] :resource_arn
|
1545
1697
|
# The Amazon Resource Name (ARN) of the resource whose tags to list.
|
@@ -1635,6 +1787,8 @@ module Aws::DataSync
|
|
1635
1787
|
# An opaque string that indicates the position at which to begin the
|
1636
1788
|
# next list of tasks.
|
1637
1789
|
#
|
1790
|
+
# @option params [Array<Types::TaskFilter>] :filters
|
1791
|
+
#
|
1638
1792
|
# @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1639
1793
|
#
|
1640
1794
|
# * {Types::ListTasksResponse#tasks #tasks} => Array<Types::TaskListEntry>
|
@@ -1647,6 +1801,13 @@ module Aws::DataSync
|
|
1647
1801
|
# resp = client.list_tasks({
|
1648
1802
|
# max_results: 1,
|
1649
1803
|
# next_token: "NextToken",
|
1804
|
+
# filters: [
|
1805
|
+
# {
|
1806
|
+
# name: "LocationId", # required, accepts LocationId, CreationTime
|
1807
|
+
# values: ["FilterAttributeValue"], # required
|
1808
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1809
|
+
# },
|
1810
|
+
# ],
|
1650
1811
|
# })
|
1651
1812
|
#
|
1652
1813
|
# @example Response structure
|
@@ -1718,6 +1879,7 @@ module Aws::DataSync
|
|
1718
1879
|
# bytes_per_second: 1,
|
1719
1880
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1720
1881
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1882
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1721
1883
|
# },
|
1722
1884
|
# includes: [
|
1723
1885
|
# {
|
@@ -1880,6 +2042,7 @@ module Aws::DataSync
|
|
1880
2042
|
# bytes_per_second: 1,
|
1881
2043
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1882
2044
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2045
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1883
2046
|
# },
|
1884
2047
|
# excludes: [
|
1885
2048
|
# {
|
@@ -1916,7 +2079,7 @@ module Aws::DataSync
|
|
1916
2079
|
params: params,
|
1917
2080
|
config: config)
|
1918
2081
|
context[:gem_name] = 'aws-sdk-datasync'
|
1919
|
-
context[:gem_version] = '1.
|
2082
|
+
context[:gem_version] = '1.24.0'
|
1920
2083
|
Seahorse::Client::Request.new(handlers, context)
|
1921
2084
|
end
|
1922
2085
|
|