aws-sdk-datasync 1.21.1 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6df012c3054935f1a7383c858e7d705aedb11e98af086f47ff45db56d9b60507
|
4
|
+
data.tar.gz: 88ff308a72fe61f2913010bfa581685a8cc0a216bf94c39b8d397744dfaea6fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78eb1ad4c9ef06757818c7786ac19961b8902cceec6c61fb6a1a4a2eb04a8d64204246c6b670400aae9d981d0a1e0f766fd9f29dc55c8134073149683710539c
|
7
|
+
data.tar.gz: ad82c81f96476395ecd635be17f1a626d9c98bf977509cd8a79e6d74384f7ae55eea5a7dfe3960df8b84646959fa9aa048bb8836aacacdfec2195c06df815201
|
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:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-datasync/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::DataSync
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.26.0'
|
49
52
|
|
50
53
|
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:
|
@@ -83,13 +85,28 @@ module Aws::DataSync
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
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
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::DataSync
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# 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.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -322,7 +339,7 @@ module Aws::DataSync
|
|
322
339
|
|
323
340
|
# Cancels execution of a task.
|
324
341
|
#
|
325
|
-
# When you cancel a task execution, the transfer of some files
|
342
|
+
# When you cancel a task execution, the transfer of some files is
|
326
343
|
# abruptly interrupted. The contents of files that are transferred to
|
327
344
|
# the destination might be incomplete or inconsistent with the source
|
328
345
|
# files. However, if you start a new task execution on the same task and
|
@@ -359,7 +376,7 @@ module Aws::DataSync
|
|
359
376
|
# AWS Region where your target locations (in Amazon S3 or Amazon EFS)
|
360
377
|
# reside. Your tasks are created in this AWS Region.
|
361
378
|
#
|
362
|
-
# You can activate the agent in a VPC (
|
379
|
+
# You can activate the agent in a VPC (virtual private cloud) or provide
|
363
380
|
# the agent access to a VPC endpoint so you can run tasks without going
|
364
381
|
# over the public Internet.
|
365
382
|
#
|
@@ -402,11 +419,11 @@ module Aws::DataSync
|
|
402
419
|
# </note>
|
403
420
|
#
|
404
421
|
# @option params [String] :vpc_endpoint_id
|
405
|
-
# The ID of the VPC (
|
422
|
+
# The ID of the VPC (virtual private cloud) endpoint that the agent has
|
406
423
|
# access to. This is the client-side VPC endpoint, also called a
|
407
424
|
# PrivateLink. If you don't have a PrivateLink VPC endpoint, see
|
408
|
-
# [Creating a VPC Endpoint Service Configuration][1] in the
|
409
|
-
# Guide.
|
425
|
+
# [Creating a VPC Endpoint Service Configuration][1] in the Amazon VPC
|
426
|
+
# User Guide.
|
410
427
|
#
|
411
428
|
# VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
|
412
429
|
#
|
@@ -469,7 +486,7 @@ module Aws::DataSync
|
|
469
486
|
# data to the EFS destination. By default, AWS DataSync uses the root
|
470
487
|
# directory.
|
471
488
|
#
|
472
|
-
# <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,
|
473
490
|
# `/path/to/folder`.
|
474
491
|
#
|
475
492
|
# </note>
|
@@ -608,7 +625,7 @@ module Aws::DataSync
|
|
608
625
|
end
|
609
626
|
|
610
627
|
# Defines a file system on a Network File System (NFS) server that can
|
611
|
-
# be read from or written to
|
628
|
+
# be read from or written to.
|
612
629
|
#
|
613
630
|
# @option params [required, String] :subdirectory
|
614
631
|
# The subdirectory in the NFS file system that is used to read data from
|
@@ -631,24 +648,45 @@ module Aws::DataSync
|
|
631
648
|
# files. For the agent to access directories, you must additionally
|
632
649
|
# enable all execute access.
|
633
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
|
+
#
|
634
654
|
# For information about NFS export configuration, see 18.7. The
|
635
655
|
# /etc/exports Configuration File in the Red Hat Enterprise Linux
|
636
656
|
# documentation.
|
637
657
|
#
|
658
|
+
#
|
659
|
+
#
|
660
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
661
|
+
#
|
638
662
|
# @option params [required, String] :server_hostname
|
639
663
|
# The name of the NFS server. This value is the IP address or Domain
|
640
664
|
# Name Service (DNS) name of the NFS server. An agent that is installed
|
641
665
|
# on-premises uses this host name to mount the NFS server in a network.
|
642
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
|
+
#
|
643
670
|
# <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
|
644
671
|
# (IPv4) address.
|
645
672
|
#
|
646
673
|
# </note>
|
647
674
|
#
|
675
|
+
#
|
676
|
+
#
|
677
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
678
|
+
#
|
648
679
|
# @option params [required, Types::OnPremConfig] :on_prem_config
|
649
680
|
# Contains a list of Amazon Resource Names (ARNs) of agents that are
|
650
681
|
# used to connect to an NFS server.
|
651
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
|
+
#
|
652
690
|
# @option params [Types::NfsMountOptions] :mount_options
|
653
691
|
# The NFS mount options that DataSync can use to mount your NFS share.
|
654
692
|
#
|
@@ -693,6 +731,85 @@ module Aws::DataSync
|
|
693
731
|
req.send_request(options)
|
694
732
|
end
|
695
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
|
+
|
696
813
|
# Creates an endpoint for an Amazon S3 bucket.
|
697
814
|
#
|
698
815
|
# For AWS DataSync to access a destination S3 bucket, it needs an AWS
|
@@ -772,7 +889,7 @@ module Aws::DataSync
|
|
772
889
|
req.send_request(options)
|
773
890
|
end
|
774
891
|
|
775
|
-
# Defines a file system on
|
892
|
+
# Defines a file system on a Server Message Block (SMB) server that can
|
776
893
|
# be read from or written to.
|
777
894
|
#
|
778
895
|
# @option params [required, String] :subdirectory
|
@@ -782,7 +899,7 @@ module Aws::DataSync
|
|
782
899
|
# subdirectory of that path. The path should be such that it can be
|
783
900
|
# mounted by other SMB clients in your network.
|
784
901
|
#
|
785
|
-
# <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,
|
786
903
|
# `/path/to/folder`.
|
787
904
|
#
|
788
905
|
# </note>
|
@@ -896,12 +1013,6 @@ module Aws::DataSync
|
|
896
1013
|
# The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
|
897
1014
|
# is used to monitor and log events in the task.
|
898
1015
|
#
|
899
|
-
# For more information on these groups, see Working with Log Groups and
|
900
|
-
# Log Streams in the *Amazon CloudWatch User Guide.*
|
901
|
-
#
|
902
|
-
# For more information about how to use CloudWatch Logs with DataSync,
|
903
|
-
# see Monitoring Your Task in the *AWS DataSync User Guide.*
|
904
|
-
#
|
905
1016
|
# @option params [String] :name
|
906
1017
|
# The name of a task. This value is a text reference that is used to
|
907
1018
|
# identify the task in the console.
|
@@ -914,7 +1025,7 @@ module Aws::DataSync
|
|
914
1025
|
# verification, and so on.
|
915
1026
|
#
|
916
1027
|
# For each individual task execution, you can override these options by
|
917
|
-
# specifying the `OverrideOptions` before starting
|
1028
|
+
# specifying the `OverrideOptions` before starting the task execution.
|
918
1029
|
# For more information, see the operation.
|
919
1030
|
#
|
920
1031
|
# @option params [Array<Types::FilterRule>] :excludes
|
@@ -956,6 +1067,7 @@ module Aws::DataSync
|
|
956
1067
|
# bytes_per_second: 1,
|
957
1068
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
958
1069
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1070
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
959
1071
|
# },
|
960
1072
|
# excludes: [
|
961
1073
|
# {
|
@@ -1185,10 +1297,10 @@ module Aws::DataSync
|
|
1185
1297
|
req.send_request(options)
|
1186
1298
|
end
|
1187
1299
|
|
1188
|
-
# Returns metadata, such as the path information, about
|
1300
|
+
# Returns metadata, such as the path information, about an NFS location.
|
1189
1301
|
#
|
1190
1302
|
# @option params [required, String] :location_arn
|
1191
|
-
# The Amazon
|
1303
|
+
# The Amazon Resource Name (ARN) of the NFS location to describe.
|
1192
1304
|
#
|
1193
1305
|
# @return [Types::DescribeLocationNfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1194
1306
|
#
|
@@ -1222,6 +1334,48 @@ module Aws::DataSync
|
|
1222
1334
|
req.send_request(options)
|
1223
1335
|
end
|
1224
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
|
+
|
1225
1379
|
# Returns metadata, such as bucket name, about an Amazon S3 bucket
|
1226
1380
|
# location.
|
1227
1381
|
#
|
@@ -1260,11 +1414,11 @@ module Aws::DataSync
|
|
1260
1414
|
req.send_request(options)
|
1261
1415
|
end
|
1262
1416
|
|
1263
|
-
# Returns metadata, such as the path and user information about
|
1417
|
+
# Returns metadata, such as the path and user information about an SMB
|
1264
1418
|
# location.
|
1265
1419
|
#
|
1266
1420
|
# @option params [required, String] :location_arn
|
1267
|
-
# The Amazon
|
1421
|
+
# The Amazon Resource Name (ARN) of the SMB location to describe.
|
1268
1422
|
#
|
1269
1423
|
# @return [Types::DescribeLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1270
1424
|
#
|
@@ -1356,6 +1510,7 @@ module Aws::DataSync
|
|
1356
1510
|
# resp.options.bytes_per_second #=> Integer
|
1357
1511
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1358
1512
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1513
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1359
1514
|
# resp.excludes #=> Array
|
1360
1515
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1361
1516
|
# resp.excludes[0].value #=> String
|
@@ -1415,6 +1570,7 @@ module Aws::DataSync
|
|
1415
1570
|
# resp.options.bytes_per_second #=> Integer
|
1416
1571
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1417
1572
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1573
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1418
1574
|
# resp.excludes #=> Array
|
1419
1575
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1420
1576
|
# resp.excludes[0].value #=> String
|
@@ -1497,7 +1653,7 @@ module Aws::DataSync
|
|
1497
1653
|
req.send_request(options)
|
1498
1654
|
end
|
1499
1655
|
|
1500
|
-
# Returns a
|
1656
|
+
# Returns a list of source and destination locations.
|
1501
1657
|
#
|
1502
1658
|
# If you have more locations than are returned in a response (that is,
|
1503
1659
|
# the response returns only a truncated list of your agents), the
|
@@ -1511,6 +1667,8 @@ module Aws::DataSync
|
|
1511
1667
|
# An opaque string that indicates the position at which to begin the
|
1512
1668
|
# next list of locations.
|
1513
1669
|
#
|
1670
|
+
# @option params [Array<Types::LocationFilter>] :filters
|
1671
|
+
#
|
1514
1672
|
# @return [Types::ListLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1515
1673
|
#
|
1516
1674
|
# * {Types::ListLocationsResponse#locations #locations} => Array<Types::LocationListEntry>
|
@@ -1523,6 +1681,13 @@ module Aws::DataSync
|
|
1523
1681
|
# resp = client.list_locations({
|
1524
1682
|
# max_results: 1,
|
1525
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
|
+
# ],
|
1526
1691
|
# })
|
1527
1692
|
#
|
1528
1693
|
# @example Response structure
|
@@ -1541,7 +1706,7 @@ module Aws::DataSync
|
|
1541
1706
|
req.send_request(options)
|
1542
1707
|
end
|
1543
1708
|
|
1544
|
-
# Returns all the tags associated with a specified
|
1709
|
+
# Returns all the tags associated with a specified resource.
|
1545
1710
|
#
|
1546
1711
|
# @option params [required, String] :resource_arn
|
1547
1712
|
# The Amazon Resource Name (ARN) of the resource whose tags to list.
|
@@ -1637,6 +1802,8 @@ module Aws::DataSync
|
|
1637
1802
|
# An opaque string that indicates the position at which to begin the
|
1638
1803
|
# next list of tasks.
|
1639
1804
|
#
|
1805
|
+
# @option params [Array<Types::TaskFilter>] :filters
|
1806
|
+
#
|
1640
1807
|
# @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1641
1808
|
#
|
1642
1809
|
# * {Types::ListTasksResponse#tasks #tasks} => Array<Types::TaskListEntry>
|
@@ -1649,6 +1816,13 @@ module Aws::DataSync
|
|
1649
1816
|
# resp = client.list_tasks({
|
1650
1817
|
# max_results: 1,
|
1651
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
|
+
# ],
|
1652
1826
|
# })
|
1653
1827
|
#
|
1654
1828
|
# @example Response structure
|
@@ -1720,6 +1894,7 @@ module Aws::DataSync
|
|
1720
1894
|
# bytes_per_second: 1,
|
1721
1895
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1722
1896
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1897
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1723
1898
|
# },
|
1724
1899
|
# includes: [
|
1725
1900
|
# {
|
@@ -1882,6 +2057,7 @@ module Aws::DataSync
|
|
1882
2057
|
# bytes_per_second: 1,
|
1883
2058
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1884
2059
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2060
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1885
2061
|
# },
|
1886
2062
|
# excludes: [
|
1887
2063
|
# {
|
@@ -1918,7 +2094,7 @@ module Aws::DataSync
|
|
1918
2094
|
params: params,
|
1919
2095
|
config: config)
|
1920
2096
|
context[:gem_name] = 'aws-sdk-datasync'
|
1921
|
-
context[:gem_version] = '1.
|
2097
|
+
context[:gem_version] = '1.26.0'
|
1922
2098
|
Seahorse::Client::Request.new(handlers, context)
|
1923
2099
|
end
|
1924
2100
|
|