aws-sdk-datasync 1.20.0 → 1.25.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 +4 -2
- data/lib/aws-sdk-datasync/client.rb +209 -31
- 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: eb532accb2945091d2cfef7c21759761c2252d73b02d25daa096aa0e0a075414
|
4
|
+
data.tar.gz: ed34b4f02f56e9f21c73a39aa51302b683e8b6f487371c1954a16a9d5da6e1c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91c4e3289f8f982e27c4755e38adef085727cab4499b955620095d16285499735146e51bd7059f2a5328ac6a4ce4f6e994112de304137cb0d98499bb41fdb190
|
7
|
+
data.tar.gz: 957eed8f735aa29caea2ba3b4926a12f5047778b0636b628cc0c20d12fe0ef0df59bb27d40b9bc5f31d696d367f7861f3e442284cdfe20d9070c11abc7d50b5c
|
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:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-datasync/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::DataSync
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.25.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
|
|
@@ -81,13 +85,28 @@ module Aws::DataSync
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::DataSync
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::DataSync
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -320,7 +339,7 @@ module Aws::DataSync
|
|
320
339
|
|
321
340
|
# Cancels execution of a task.
|
322
341
|
#
|
323
|
-
# When you cancel a task execution, the transfer of some files
|
342
|
+
# When you cancel a task execution, the transfer of some files is
|
324
343
|
# abruptly interrupted. The contents of files that are transferred to
|
325
344
|
# the destination might be incomplete or inconsistent with the source
|
326
345
|
# files. However, if you start a new task execution on the same task and
|
@@ -357,7 +376,7 @@ module Aws::DataSync
|
|
357
376
|
# AWS Region where your target locations (in Amazon S3 or Amazon EFS)
|
358
377
|
# reside. Your tasks are created in this AWS Region.
|
359
378
|
#
|
360
|
-
# You can activate the agent in a VPC (
|
379
|
+
# You can activate the agent in a VPC (virtual private cloud) or provide
|
361
380
|
# the agent access to a VPC endpoint so you can run tasks without going
|
362
381
|
# over the public Internet.
|
363
382
|
#
|
@@ -400,11 +419,11 @@ module Aws::DataSync
|
|
400
419
|
# </note>
|
401
420
|
#
|
402
421
|
# @option params [String] :vpc_endpoint_id
|
403
|
-
# The ID of the VPC (
|
422
|
+
# The ID of the VPC (virtual private cloud) endpoint that the agent has
|
404
423
|
# access to. This is the client-side VPC endpoint, also called a
|
405
424
|
# PrivateLink. If you don't have a PrivateLink VPC endpoint, see
|
406
|
-
# [Creating a VPC Endpoint Service Configuration][1] in the
|
407
|
-
# Guide.
|
425
|
+
# [Creating a VPC Endpoint Service Configuration][1] in the Amazon VPC
|
426
|
+
# User Guide.
|
408
427
|
#
|
409
428
|
# VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
|
410
429
|
#
|
@@ -467,7 +486,7 @@ module Aws::DataSync
|
|
467
486
|
# data to the EFS destination. By default, AWS DataSync uses the root
|
468
487
|
# directory.
|
469
488
|
#
|
470
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
489
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
471
490
|
# `/path/to/folder`.
|
472
491
|
#
|
473
492
|
# </note>
|
@@ -606,7 +625,7 @@ module Aws::DataSync
|
|
606
625
|
end
|
607
626
|
|
608
627
|
# Defines a file system on a Network File System (NFS) server that can
|
609
|
-
# be read from or written to
|
628
|
+
# be read from or written to.
|
610
629
|
#
|
611
630
|
# @option params [required, String] :subdirectory
|
612
631
|
# The subdirectory in the NFS file system that is used to read data from
|
@@ -629,24 +648,45 @@ module Aws::DataSync
|
|
629
648
|
# files. For the agent to access directories, you must additionally
|
630
649
|
# enable all execute access.
|
631
650
|
#
|
651
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
652
|
+
# Server on AWS Snowcone][1] for more information.
|
653
|
+
#
|
632
654
|
# For information about NFS export configuration, see 18.7. The
|
633
655
|
# /etc/exports Configuration File in the Red Hat Enterprise Linux
|
634
656
|
# documentation.
|
635
657
|
#
|
658
|
+
#
|
659
|
+
#
|
660
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
661
|
+
#
|
636
662
|
# @option params [required, String] :server_hostname
|
637
663
|
# The name of the NFS server. This value is the IP address or Domain
|
638
664
|
# Name Service (DNS) name of the NFS server. An agent that is installed
|
639
665
|
# on-premises uses this host name to mount the NFS server in a network.
|
640
666
|
#
|
667
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
668
|
+
# Server on AWS Snowcone][1] for more information.
|
669
|
+
#
|
641
670
|
# <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
|
642
671
|
# (IPv4) address.
|
643
672
|
#
|
644
673
|
# </note>
|
645
674
|
#
|
675
|
+
#
|
676
|
+
#
|
677
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
678
|
+
#
|
646
679
|
# @option params [required, Types::OnPremConfig] :on_prem_config
|
647
680
|
# Contains a list of Amazon Resource Names (ARNs) of agents that are
|
648
681
|
# used to connect to an NFS server.
|
649
682
|
#
|
683
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
684
|
+
# Server on AWS Snowcone][1] for more information.
|
685
|
+
#
|
686
|
+
#
|
687
|
+
#
|
688
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
689
|
+
#
|
650
690
|
# @option params [Types::NfsMountOptions] :mount_options
|
651
691
|
# The NFS mount options that DataSync can use to mount your NFS share.
|
652
692
|
#
|
@@ -691,6 +731,85 @@ module Aws::DataSync
|
|
691
731
|
req.send_request(options)
|
692
732
|
end
|
693
733
|
|
734
|
+
# Creates an endpoint for a self-managed object storage bucket.
|
735
|
+
#
|
736
|
+
# @option params [required, String] :server_hostname
|
737
|
+
# The name of the self-managed object storage server. This value is the
|
738
|
+
# IP address or Domain Name Service (DNS) name of the object storage
|
739
|
+
# server. An agent uses this host name to mount the object storage
|
740
|
+
# server in a network.
|
741
|
+
#
|
742
|
+
# @option params [Integer] :server_port
|
743
|
+
# The port that your self-managed object storage server accepts inbound
|
744
|
+
# network traffic on. The server port is set by default to TCP 80 (HTTP)
|
745
|
+
# or TCP 443 (HTTPS). You can specify a custom port if your self-managed
|
746
|
+
# object storage server requires one.
|
747
|
+
#
|
748
|
+
# @option params [String] :server_protocol
|
749
|
+
# The protocol that the object storage server uses to communicate. Valid
|
750
|
+
# values are HTTP or HTTPS.
|
751
|
+
#
|
752
|
+
# @option params [String] :subdirectory
|
753
|
+
# The subdirectory in the self-managed object storage server that is
|
754
|
+
# used to read data from.
|
755
|
+
#
|
756
|
+
# @option params [required, String] :bucket_name
|
757
|
+
# The bucket on the self-managed object storage server that is used to
|
758
|
+
# read data from.
|
759
|
+
#
|
760
|
+
# @option params [String] :access_key
|
761
|
+
# Optional. The access key is used if credentials are required to access
|
762
|
+
# the self-managed object storage server.
|
763
|
+
#
|
764
|
+
# @option params [String] :secret_key
|
765
|
+
# Optional. The secret key is used if credentials are required to access
|
766
|
+
# the self-managed object storage server.
|
767
|
+
#
|
768
|
+
# @option params [required, Array<String>] :agent_arns
|
769
|
+
# The Amazon Resource Name (ARN) of the agents associated with the
|
770
|
+
# self-managed object storage server location.
|
771
|
+
#
|
772
|
+
# @option params [Array<Types::TagListEntry>] :tags
|
773
|
+
# The key-value pair that represents the tag that you want to add to the
|
774
|
+
# location. The value can be an empty string. We recommend using tags to
|
775
|
+
# name your resources.
|
776
|
+
#
|
777
|
+
# @return [Types::CreateLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
778
|
+
#
|
779
|
+
# * {Types::CreateLocationObjectStorageResponse#location_arn #location_arn} => String
|
780
|
+
#
|
781
|
+
# @example Request syntax with placeholder values
|
782
|
+
#
|
783
|
+
# resp = client.create_location_object_storage({
|
784
|
+
# server_hostname: "ServerHostname", # required
|
785
|
+
# server_port: 1,
|
786
|
+
# server_protocol: "HTTPS", # accepts HTTPS, HTTP
|
787
|
+
# subdirectory: "S3Subdirectory",
|
788
|
+
# bucket_name: "ObjectStorageBucketName", # required
|
789
|
+
# access_key: "ObjectStorageAccessKey",
|
790
|
+
# secret_key: "ObjectStorageSecretKey",
|
791
|
+
# agent_arns: ["AgentArn"], # required
|
792
|
+
# tags: [
|
793
|
+
# {
|
794
|
+
# key: "TagKey", # required
|
795
|
+
# value: "TagValue",
|
796
|
+
# },
|
797
|
+
# ],
|
798
|
+
# })
|
799
|
+
#
|
800
|
+
# @example Response structure
|
801
|
+
#
|
802
|
+
# resp.location_arn #=> String
|
803
|
+
#
|
804
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorage AWS API Documentation
|
805
|
+
#
|
806
|
+
# @overload create_location_object_storage(params = {})
|
807
|
+
# @param [Hash] params ({})
|
808
|
+
def create_location_object_storage(params = {}, options = {})
|
809
|
+
req = build_request(:create_location_object_storage, params)
|
810
|
+
req.send_request(options)
|
811
|
+
end
|
812
|
+
|
694
813
|
# Creates an endpoint for an Amazon S3 bucket.
|
695
814
|
#
|
696
815
|
# For AWS DataSync to access a destination S3 bucket, it needs an AWS
|
@@ -770,7 +889,7 @@ module Aws::DataSync
|
|
770
889
|
req.send_request(options)
|
771
890
|
end
|
772
891
|
|
773
|
-
# Defines a file system on
|
892
|
+
# Defines a file system on a Server Message Block (SMB) server that can
|
774
893
|
# be read from or written to.
|
775
894
|
#
|
776
895
|
# @option params [required, String] :subdirectory
|
@@ -780,7 +899,7 @@ module Aws::DataSync
|
|
780
899
|
# subdirectory of that path. The path should be such that it can be
|
781
900
|
# mounted by other SMB clients in your network.
|
782
901
|
#
|
783
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
902
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
784
903
|
# `/path/to/folder`.
|
785
904
|
#
|
786
905
|
# </note>
|
@@ -894,12 +1013,6 @@ module Aws::DataSync
|
|
894
1013
|
# The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
|
895
1014
|
# is used to monitor and log events in the task.
|
896
1015
|
#
|
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
1016
|
# @option params [String] :name
|
904
1017
|
# The name of a task. This value is a text reference that is used to
|
905
1018
|
# identify the task in the console.
|
@@ -912,7 +1025,7 @@ module Aws::DataSync
|
|
912
1025
|
# verification, and so on.
|
913
1026
|
#
|
914
1027
|
# For each individual task execution, you can override these options by
|
915
|
-
# specifying the `OverrideOptions` before starting
|
1028
|
+
# specifying the `OverrideOptions` before starting the task execution.
|
916
1029
|
# For more information, see the operation.
|
917
1030
|
#
|
918
1031
|
# @option params [Array<Types::FilterRule>] :excludes
|
@@ -954,6 +1067,7 @@ module Aws::DataSync
|
|
954
1067
|
# bytes_per_second: 1,
|
955
1068
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
956
1069
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1070
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
957
1071
|
# },
|
958
1072
|
# excludes: [
|
959
1073
|
# {
|
@@ -1183,10 +1297,10 @@ module Aws::DataSync
|
|
1183
1297
|
req.send_request(options)
|
1184
1298
|
end
|
1185
1299
|
|
1186
|
-
# Returns metadata, such as the path information, about
|
1300
|
+
# Returns metadata, such as the path information, about an NFS location.
|
1187
1301
|
#
|
1188
1302
|
# @option params [required, String] :location_arn
|
1189
|
-
# The Amazon
|
1303
|
+
# The Amazon Resource Name (ARN) of the NFS location to describe.
|
1190
1304
|
#
|
1191
1305
|
# @return [Types::DescribeLocationNfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1192
1306
|
#
|
@@ -1220,6 +1334,48 @@ module Aws::DataSync
|
|
1220
1334
|
req.send_request(options)
|
1221
1335
|
end
|
1222
1336
|
|
1337
|
+
# Returns metadata about a self-managed object storage server location.
|
1338
|
+
#
|
1339
|
+
# @option params [required, String] :location_arn
|
1340
|
+
# The Amazon Resource Name (ARN) of the self-managed object storage
|
1341
|
+
# server location that was described.
|
1342
|
+
#
|
1343
|
+
# @return [Types::DescribeLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1344
|
+
#
|
1345
|
+
# * {Types::DescribeLocationObjectStorageResponse#location_arn #location_arn} => String
|
1346
|
+
# * {Types::DescribeLocationObjectStorageResponse#location_uri #location_uri} => String
|
1347
|
+
# * {Types::DescribeLocationObjectStorageResponse#access_key #access_key} => String
|
1348
|
+
# * {Types::DescribeLocationObjectStorageResponse#server_port #server_port} => Integer
|
1349
|
+
# * {Types::DescribeLocationObjectStorageResponse#server_protocol #server_protocol} => String
|
1350
|
+
# * {Types::DescribeLocationObjectStorageResponse#agent_arns #agent_arns} => Array<String>
|
1351
|
+
# * {Types::DescribeLocationObjectStorageResponse#creation_time #creation_time} => Time
|
1352
|
+
#
|
1353
|
+
# @example Request syntax with placeholder values
|
1354
|
+
#
|
1355
|
+
# resp = client.describe_location_object_storage({
|
1356
|
+
# location_arn: "LocationArn", # required
|
1357
|
+
# })
|
1358
|
+
#
|
1359
|
+
# @example Response structure
|
1360
|
+
#
|
1361
|
+
# resp.location_arn #=> String
|
1362
|
+
# resp.location_uri #=> String
|
1363
|
+
# resp.access_key #=> String
|
1364
|
+
# resp.server_port #=> Integer
|
1365
|
+
# resp.server_protocol #=> String, one of "HTTPS", "HTTP"
|
1366
|
+
# resp.agent_arns #=> Array
|
1367
|
+
# resp.agent_arns[0] #=> String
|
1368
|
+
# resp.creation_time #=> Time
|
1369
|
+
#
|
1370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage AWS API Documentation
|
1371
|
+
#
|
1372
|
+
# @overload describe_location_object_storage(params = {})
|
1373
|
+
# @param [Hash] params ({})
|
1374
|
+
def describe_location_object_storage(params = {}, options = {})
|
1375
|
+
req = build_request(:describe_location_object_storage, params)
|
1376
|
+
req.send_request(options)
|
1377
|
+
end
|
1378
|
+
|
1223
1379
|
# Returns metadata, such as bucket name, about an Amazon S3 bucket
|
1224
1380
|
# location.
|
1225
1381
|
#
|
@@ -1258,11 +1414,11 @@ module Aws::DataSync
|
|
1258
1414
|
req.send_request(options)
|
1259
1415
|
end
|
1260
1416
|
|
1261
|
-
# Returns metadata, such as the path and user information about
|
1417
|
+
# Returns metadata, such as the path and user information about an SMB
|
1262
1418
|
# location.
|
1263
1419
|
#
|
1264
1420
|
# @option params [required, String] :location_arn
|
1265
|
-
# The Amazon
|
1421
|
+
# The Amazon Resource Name (ARN) of the SMB location to describe.
|
1266
1422
|
#
|
1267
1423
|
# @return [Types::DescribeLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1268
1424
|
#
|
@@ -1354,6 +1510,7 @@ module Aws::DataSync
|
|
1354
1510
|
# resp.options.bytes_per_second #=> Integer
|
1355
1511
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1356
1512
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1513
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1357
1514
|
# resp.excludes #=> Array
|
1358
1515
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1359
1516
|
# resp.excludes[0].value #=> String
|
@@ -1413,6 +1570,7 @@ module Aws::DataSync
|
|
1413
1570
|
# resp.options.bytes_per_second #=> Integer
|
1414
1571
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1415
1572
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1573
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1416
1574
|
# resp.excludes #=> Array
|
1417
1575
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1418
1576
|
# resp.excludes[0].value #=> String
|
@@ -1495,7 +1653,7 @@ module Aws::DataSync
|
|
1495
1653
|
req.send_request(options)
|
1496
1654
|
end
|
1497
1655
|
|
1498
|
-
# Returns a
|
1656
|
+
# Returns a list of source and destination locations.
|
1499
1657
|
#
|
1500
1658
|
# If you have more locations than are returned in a response (that is,
|
1501
1659
|
# the response returns only a truncated list of your agents), the
|
@@ -1509,6 +1667,8 @@ module Aws::DataSync
|
|
1509
1667
|
# An opaque string that indicates the position at which to begin the
|
1510
1668
|
# next list of locations.
|
1511
1669
|
#
|
1670
|
+
# @option params [Array<Types::LocationFilter>] :filters
|
1671
|
+
#
|
1512
1672
|
# @return [Types::ListLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1513
1673
|
#
|
1514
1674
|
# * {Types::ListLocationsResponse#locations #locations} => Array<Types::LocationListEntry>
|
@@ -1521,6 +1681,13 @@ module Aws::DataSync
|
|
1521
1681
|
# resp = client.list_locations({
|
1522
1682
|
# max_results: 1,
|
1523
1683
|
# next_token: "NextToken",
|
1684
|
+
# filters: [
|
1685
|
+
# {
|
1686
|
+
# name: "LocationUri", # required, accepts LocationUri, LocationType, CreationTime
|
1687
|
+
# values: ["FilterAttributeValue"], # required
|
1688
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1689
|
+
# },
|
1690
|
+
# ],
|
1524
1691
|
# })
|
1525
1692
|
#
|
1526
1693
|
# @example Response structure
|
@@ -1539,7 +1706,7 @@ module Aws::DataSync
|
|
1539
1706
|
req.send_request(options)
|
1540
1707
|
end
|
1541
1708
|
|
1542
|
-
# Returns all the tags associated with a specified
|
1709
|
+
# Returns all the tags associated with a specified resource.
|
1543
1710
|
#
|
1544
1711
|
# @option params [required, String] :resource_arn
|
1545
1712
|
# The Amazon Resource Name (ARN) of the resource whose tags to list.
|
@@ -1635,6 +1802,8 @@ module Aws::DataSync
|
|
1635
1802
|
# An opaque string that indicates the position at which to begin the
|
1636
1803
|
# next list of tasks.
|
1637
1804
|
#
|
1805
|
+
# @option params [Array<Types::TaskFilter>] :filters
|
1806
|
+
#
|
1638
1807
|
# @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1639
1808
|
#
|
1640
1809
|
# * {Types::ListTasksResponse#tasks #tasks} => Array<Types::TaskListEntry>
|
@@ -1647,6 +1816,13 @@ module Aws::DataSync
|
|
1647
1816
|
# resp = client.list_tasks({
|
1648
1817
|
# max_results: 1,
|
1649
1818
|
# next_token: "NextToken",
|
1819
|
+
# filters: [
|
1820
|
+
# {
|
1821
|
+
# name: "LocationId", # required, accepts LocationId, CreationTime
|
1822
|
+
# values: ["FilterAttributeValue"], # required
|
1823
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1824
|
+
# },
|
1825
|
+
# ],
|
1650
1826
|
# })
|
1651
1827
|
#
|
1652
1828
|
# @example Response structure
|
@@ -1718,6 +1894,7 @@ module Aws::DataSync
|
|
1718
1894
|
# bytes_per_second: 1,
|
1719
1895
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1720
1896
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1897
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1721
1898
|
# },
|
1722
1899
|
# includes: [
|
1723
1900
|
# {
|
@@ -1880,6 +2057,7 @@ module Aws::DataSync
|
|
1880
2057
|
# bytes_per_second: 1,
|
1881
2058
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1882
2059
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2060
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1883
2061
|
# },
|
1884
2062
|
# excludes: [
|
1885
2063
|
# {
|
@@ -1916,7 +2094,7 @@ module Aws::DataSync
|
|
1916
2094
|
params: params,
|
1917
2095
|
config: config)
|
1918
2096
|
context[:gem_name] = 'aws-sdk-datasync'
|
1919
|
-
context[:gem_version] = '1.
|
2097
|
+
context[:gem_version] = '1.25.0'
|
1920
2098
|
Seahorse::Client::Request.new(handlers, context)
|
1921
2099
|
end
|
1922
2100
|
|