aws-sdk-datasync 1.26.0 → 1.27.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 +1 -1
- data/lib/aws-sdk-datasync/client.rb +46 -23
- data/lib/aws-sdk-datasync/client_api.rb +2 -0
- data/lib/aws-sdk-datasync/types.rb +88 -17
- 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: d83ad5e535baadd8965d0eaf704dde8dbf8d490a3975931d88511e911c54607d
|
4
|
+
data.tar.gz: cfb2aade0386045aa2853da19936b0cb2ea1fcff3266f28606c2012231ac685c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 909505ea91fa56eadc9be3ff804b0594885bc6977947390db5f914715f86763d6d4e7fdb9d7fa8fc555ad9f0dd7fdc87a2bc8c78f17e3eff9846f8abf382b0b9
|
7
|
+
data.tar.gz: 1d925b2989e6cd09833adf79d4cc2d39ef725e93ae563c2d482fe9d57cbd313ba6959e0adbe92d0ec2ecf43173a6048ad6aefe550a7d6a9c1db39fa507d7ec1b
|
data/lib/aws-sdk-datasync.rb
CHANGED
@@ -378,7 +378,7 @@ module Aws::DataSync
|
|
378
378
|
#
|
379
379
|
# You can activate the agent in a VPC (virtual private cloud) or provide
|
380
380
|
# the agent access to a VPC endpoint so you can run tasks without going
|
381
|
-
# over the public
|
381
|
+
# over the public internet.
|
382
382
|
#
|
383
383
|
# You can use an agent for more than one location. If a task uses
|
384
384
|
# multiple agents, all of them need to have status AVAILABLE for the
|
@@ -731,7 +731,9 @@ module Aws::DataSync
|
|
731
731
|
req.send_request(options)
|
732
732
|
end
|
733
733
|
|
734
|
-
# Creates an endpoint for a self-managed object storage bucket.
|
734
|
+
# Creates an endpoint for a self-managed object storage bucket. For more
|
735
|
+
# information about self-managed object storage locations, see
|
736
|
+
# create-object-location.
|
735
737
|
#
|
736
738
|
# @option params [required, String] :server_hostname
|
737
739
|
# The name of the self-managed object storage server. This value is the
|
@@ -759,11 +761,15 @@ module Aws::DataSync
|
|
759
761
|
#
|
760
762
|
# @option params [String] :access_key
|
761
763
|
# Optional. The access key is used if credentials are required to access
|
762
|
-
# the self-managed object storage server.
|
764
|
+
# the self-managed object storage server. If your object storage
|
765
|
+
# requires a user name and password to authenticate, use `AccessKey` and
|
766
|
+
# `SecretKey` to provide the user name and password, respectively.
|
763
767
|
#
|
764
768
|
# @option params [String] :secret_key
|
765
769
|
# Optional. The secret key is used if credentials are required to access
|
766
|
-
# the self-managed object storage server.
|
770
|
+
# the self-managed object storage server. If your object storage
|
771
|
+
# requires a user name and password to authenticate, use `AccessKey` and
|
772
|
+
# `SecretKey` to provide the user name and password, respectively.
|
767
773
|
#
|
768
774
|
# @option params [required, Array<String>] :agent_arns
|
769
775
|
# The Amazon Resource Name (ARN) of the agents associated with the
|
@@ -812,16 +818,9 @@ module Aws::DataSync
|
|
812
818
|
|
813
819
|
# Creates an endpoint for an Amazon S3 bucket.
|
814
820
|
#
|
815
|
-
# For AWS DataSync to access a destination S3 bucket, it needs an AWS
|
816
|
-
# Identity and Access Management (IAM) role that has the required
|
817
|
-
# permissions. You can set up the required permissions by creating an
|
818
|
-
# IAM policy that grants the required permissions and attaching the
|
819
|
-
# policy to the role. An example of such a policy is shown in the
|
820
|
-
# examples section.
|
821
|
-
#
|
822
821
|
# For more information, see
|
823
|
-
# https://docs.aws.amazon.com/datasync/latest/userguide/
|
824
|
-
# in the *AWS DataSync User Guide
|
822
|
+
# https://docs.aws.amazon.com/datasync/latest/userguide/create-locations-cli.html#create-location-s3-cli
|
823
|
+
# in the *AWS DataSync User Guide*.
|
825
824
|
#
|
826
825
|
# @option params [String] :subdirectory
|
827
826
|
# A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3
|
@@ -829,15 +828,19 @@ module Aws::DataSync
|
|
829
828
|
# S3 destination.
|
830
829
|
#
|
831
830
|
# @option params [required, String] :s3_bucket_arn
|
832
|
-
# The Amazon Resource Name (ARN) of the Amazon S3 bucket.
|
831
|
+
# The Amazon Resource Name (ARN) of the Amazon S3 bucket. If the bucket
|
832
|
+
# is on an AWS Outpost, this must be an access point ARN.
|
833
833
|
#
|
834
834
|
# @option params [String] :s3_storage_class
|
835
835
|
# The Amazon S3 storage class that you want to store your files in when
|
836
|
-
# this location is used as a task destination. For
|
837
|
-
#
|
838
|
-
#
|
839
|
-
#
|
840
|
-
# information, see
|
836
|
+
# this location is used as a task destination. For buckets in AWS
|
837
|
+
# Regions, the storage class defaults to Standard. For buckets on AWS
|
838
|
+
# Outposts, the storage class defaults to AWS S3 Outposts.
|
839
|
+
#
|
840
|
+
# For more information about S3 storage classes, see [Amazon S3 Storage
|
841
|
+
# Classes][1] in the *Amazon Simple Storage Service Developer Guide*.
|
842
|
+
# Some storage classes have behaviors that can affect your S3 storage
|
843
|
+
# cost. For detailed information, see using-storage-classes.
|
841
844
|
#
|
842
845
|
#
|
843
846
|
#
|
@@ -850,6 +853,12 @@ module Aws::DataSync
|
|
850
853
|
# For detailed information about using such a role, see Creating a
|
851
854
|
# Location for Amazon S3 in the *AWS DataSync User Guide*.
|
852
855
|
#
|
856
|
+
# @option params [Array<String>] :agent_arns
|
857
|
+
# If you are using DataSync on an AWS Outpost, specify the Amazon
|
858
|
+
# Resource Names (ARNs) of the DataSync agents deployed on your AWS
|
859
|
+
# Outpost. For more information about launching a DataSync agent on an
|
860
|
+
# Amazon Outpost, see outposts-agent.
|
861
|
+
#
|
853
862
|
# @option params [Array<Types::TagListEntry>] :tags
|
854
863
|
# The key-value pair that represents the tag that you want to add to the
|
855
864
|
# location. The value can be an empty string. We recommend using tags to
|
@@ -864,10 +873,11 @@ module Aws::DataSync
|
|
864
873
|
# resp = client.create_location_s3({
|
865
874
|
# subdirectory: "S3Subdirectory",
|
866
875
|
# s3_bucket_arn: "S3BucketArn", # required
|
867
|
-
# s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
876
|
+
# s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
868
877
|
# s3_config: { # required
|
869
878
|
# bucket_access_role_arn: "IamRoleArn", # required
|
870
879
|
# },
|
880
|
+
# agent_arns: ["AgentArn"],
|
871
881
|
# tags: [
|
872
882
|
# {
|
873
883
|
# key: "TagKey", # required
|
@@ -1001,7 +1011,7 @@ module Aws::DataSync
|
|
1001
1011
|
# minutes, it means that your agent might be having trouble mounting the
|
1002
1012
|
# source NFS file system. Check the task's ErrorCode and ErrorDetail.
|
1003
1013
|
# Mount issues are often caused by either a misconfigured firewall or a
|
1004
|
-
# mistyped NFS server
|
1014
|
+
# mistyped NFS server hostname.
|
1005
1015
|
#
|
1006
1016
|
# @option params [required, String] :source_location_arn
|
1007
1017
|
# The Amazon Resource Name (ARN) of the source location for the task.
|
@@ -1335,6 +1345,8 @@ module Aws::DataSync
|
|
1335
1345
|
end
|
1336
1346
|
|
1337
1347
|
# Returns metadata about a self-managed object storage server location.
|
1348
|
+
# For more information about self-managed object storage locations, see
|
1349
|
+
# create-object-location.
|
1338
1350
|
#
|
1339
1351
|
# @option params [required, String] :location_arn
|
1340
1352
|
# The Amazon Resource Name (ARN) of the self-managed object storage
|
@@ -1389,6 +1401,7 @@ module Aws::DataSync
|
|
1389
1401
|
# * {Types::DescribeLocationS3Response#location_uri #location_uri} => String
|
1390
1402
|
# * {Types::DescribeLocationS3Response#s3_storage_class #s3_storage_class} => String
|
1391
1403
|
# * {Types::DescribeLocationS3Response#s3_config #s3_config} => Types::S3Config
|
1404
|
+
# * {Types::DescribeLocationS3Response#agent_arns #agent_arns} => Array<String>
|
1392
1405
|
# * {Types::DescribeLocationS3Response#creation_time #creation_time} => Time
|
1393
1406
|
#
|
1394
1407
|
# @example Request syntax with placeholder values
|
@@ -1401,8 +1414,10 @@ module Aws::DataSync
|
|
1401
1414
|
#
|
1402
1415
|
# resp.location_arn #=> String
|
1403
1416
|
# resp.location_uri #=> String
|
1404
|
-
# resp.s3_storage_class #=> String, one of "STANDARD", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE"
|
1417
|
+
# resp.s3_storage_class #=> String, one of "STANDARD", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS"
|
1405
1418
|
# resp.s3_config.bucket_access_role_arn #=> String
|
1419
|
+
# resp.agent_arns #=> Array
|
1420
|
+
# resp.agent_arns[0] #=> String
|
1406
1421
|
# resp.creation_time #=> Time
|
1407
1422
|
#
|
1408
1423
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationS3 AWS API Documentation
|
@@ -1668,6 +1683,10 @@ module Aws::DataSync
|
|
1668
1683
|
# next list of locations.
|
1669
1684
|
#
|
1670
1685
|
# @option params [Array<Types::LocationFilter>] :filters
|
1686
|
+
# You can use API filters to narrow down the list of resources returned
|
1687
|
+
# by `ListLocations`. For example, to retrieve all tasks on a specific
|
1688
|
+
# source location, you can use `ListLocations` with filter name
|
1689
|
+
# `LocationType S3` and `Operator Equals`.
|
1671
1690
|
#
|
1672
1691
|
# @return [Types::ListLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1673
1692
|
#
|
@@ -1803,6 +1822,10 @@ module Aws::DataSync
|
|
1803
1822
|
# next list of tasks.
|
1804
1823
|
#
|
1805
1824
|
# @option params [Array<Types::TaskFilter>] :filters
|
1825
|
+
# You can use API filters to narrow down the list of resources returned
|
1826
|
+
# by `ListTasks`. For example, to retrieve all tasks on a specific
|
1827
|
+
# source location, you can use `ListTasks` with filter name `LocationId`
|
1828
|
+
# and `Operator Equals` with the ARN for the location.
|
1806
1829
|
#
|
1807
1830
|
# @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1808
1831
|
#
|
@@ -2094,7 +2117,7 @@ module Aws::DataSync
|
|
2094
2117
|
params: params,
|
2095
2118
|
config: config)
|
2096
2119
|
context[:gem_name] = 'aws-sdk-datasync'
|
2097
|
-
context[:gem_version] = '1.
|
2120
|
+
context[:gem_version] = '1.27.0'
|
2098
2121
|
Seahorse::Client::Request.new(handlers, context)
|
2099
2122
|
end
|
2100
2123
|
|
@@ -253,6 +253,7 @@ module Aws::DataSync
|
|
253
253
|
CreateLocationS3Request.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "S3BucketArn"))
|
254
254
|
CreateLocationS3Request.add_member(:s3_storage_class, Shapes::ShapeRef.new(shape: S3StorageClass, location_name: "S3StorageClass"))
|
255
255
|
CreateLocationS3Request.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, required: true, location_name: "S3Config"))
|
256
|
+
CreateLocationS3Request.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
|
256
257
|
CreateLocationS3Request.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
|
257
258
|
CreateLocationS3Request.struct_class = Types::CreateLocationS3Request
|
258
259
|
|
@@ -361,6 +362,7 @@ module Aws::DataSync
|
|
361
362
|
DescribeLocationS3Response.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
362
363
|
DescribeLocationS3Response.add_member(:s3_storage_class, Shapes::ShapeRef.new(shape: S3StorageClass, location_name: "S3StorageClass"))
|
363
364
|
DescribeLocationS3Response.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "S3Config"))
|
365
|
+
DescribeLocationS3Response.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
|
364
366
|
DescribeLocationS3Response.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
365
367
|
DescribeLocationS3Response.struct_class = Types::DescribeLocationS3Response
|
366
368
|
|
@@ -526,12 +526,18 @@ module Aws::DataSync
|
|
526
526
|
#
|
527
527
|
# @!attribute [rw] access_key
|
528
528
|
# Optional. The access key is used if credentials are required to
|
529
|
-
# access the self-managed object storage server.
|
529
|
+
# access the self-managed object storage server. If your object
|
530
|
+
# storage requires a user name and password to authenticate, use
|
531
|
+
# `AccessKey` and `SecretKey` to provide the user name and password,
|
532
|
+
# respectively.
|
530
533
|
# @return [String]
|
531
534
|
#
|
532
535
|
# @!attribute [rw] secret_key
|
533
536
|
# Optional. The secret key is used if credentials are required to
|
534
|
-
# access the self-managed object storage server.
|
537
|
+
# access the self-managed object storage server. If your object
|
538
|
+
# storage requires a user name and password to authenticate, use
|
539
|
+
# `AccessKey` and `SecretKey` to provide the user name and password,
|
540
|
+
# respectively.
|
535
541
|
# @return [String]
|
536
542
|
#
|
537
543
|
# @!attribute [rw] agent_arns
|
@@ -584,10 +590,11 @@ module Aws::DataSync
|
|
584
590
|
# {
|
585
591
|
# subdirectory: "S3Subdirectory",
|
586
592
|
# s3_bucket_arn: "S3BucketArn", # required
|
587
|
-
# s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
593
|
+
# s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
|
588
594
|
# s3_config: { # required
|
589
595
|
# bucket_access_role_arn: "IamRoleArn", # required
|
590
596
|
# },
|
597
|
+
# agent_arns: ["AgentArn"],
|
591
598
|
# tags: [
|
592
599
|
# {
|
593
600
|
# key: "TagKey", # required
|
@@ -603,16 +610,20 @@ module Aws::DataSync
|
|
603
610
|
# @return [String]
|
604
611
|
#
|
605
612
|
# @!attribute [rw] s3_bucket_arn
|
606
|
-
# The Amazon Resource Name (ARN) of the Amazon S3 bucket.
|
613
|
+
# The Amazon Resource Name (ARN) of the Amazon S3 bucket. If the
|
614
|
+
# bucket is on an AWS Outpost, this must be an access point ARN.
|
607
615
|
# @return [String]
|
608
616
|
#
|
609
617
|
# @!attribute [rw] s3_storage_class
|
610
618
|
# The Amazon S3 storage class that you want to store your files in
|
611
|
-
# when this location is used as a task destination. For
|
612
|
-
#
|
613
|
-
#
|
614
|
-
#
|
615
|
-
#
|
619
|
+
# when this location is used as a task destination. For buckets in AWS
|
620
|
+
# Regions, the storage class defaults to Standard. For buckets on AWS
|
621
|
+
# Outposts, the storage class defaults to AWS S3 Outposts.
|
622
|
+
#
|
623
|
+
# For more information about S3 storage classes, see [Amazon S3
|
624
|
+
# Storage Classes][1] in the *Amazon Simple Storage Service Developer
|
625
|
+
# Guide*. Some storage classes have behaviors that can affect your S3
|
626
|
+
# storage cost. For detailed information, see using-storage-classes.
|
616
627
|
#
|
617
628
|
#
|
618
629
|
#
|
@@ -627,6 +638,13 @@ module Aws::DataSync
|
|
627
638
|
# Location for Amazon S3 in the *AWS DataSync User Guide*.
|
628
639
|
# @return [Types::S3Config]
|
629
640
|
#
|
641
|
+
# @!attribute [rw] agent_arns
|
642
|
+
# If you are using DataSync on an AWS Outpost, specify the Amazon
|
643
|
+
# Resource Names (ARNs) of the DataSync agents deployed on your AWS
|
644
|
+
# Outpost. For more information about launching a DataSync agent on an
|
645
|
+
# Amazon Outpost, see outposts-agent.
|
646
|
+
# @return [Array<String>]
|
647
|
+
#
|
630
648
|
# @!attribute [rw] tags
|
631
649
|
# The key-value pair that represents the tag that you want to add to
|
632
650
|
# the location. The value can be an empty string. We recommend using
|
@@ -640,6 +658,7 @@ module Aws::DataSync
|
|
640
658
|
:s3_bucket_arn,
|
641
659
|
:s3_storage_class,
|
642
660
|
:s3_config,
|
661
|
+
:agent_arns,
|
643
662
|
:tags)
|
644
663
|
SENSITIVE = []
|
645
664
|
include Aws::Structure
|
@@ -1257,7 +1276,10 @@ module Aws::DataSync
|
|
1257
1276
|
#
|
1258
1277
|
# @!attribute [rw] access_key
|
1259
1278
|
# Optional. The access key is used if credentials are required to
|
1260
|
-
# access the self-managed object storage server.
|
1279
|
+
# access the self-managed object storage server. If your object
|
1280
|
+
# storage requires a user name and password to authenticate, use
|
1281
|
+
# `AccessKey` and `SecretKey` to provide the user name and password,
|
1282
|
+
# respectively.
|
1261
1283
|
# @return [String]
|
1262
1284
|
#
|
1263
1285
|
# @!attribute [rw] server_port
|
@@ -1320,7 +1342,8 @@ module Aws::DataSync
|
|
1320
1342
|
# DescribeLocationS3Response
|
1321
1343
|
#
|
1322
1344
|
# @!attribute [rw] location_arn
|
1323
|
-
# The Amazon Resource Name (ARN) of the Amazon S3 bucket
|
1345
|
+
# The Amazon Resource Name (ARN) of the Amazon S3 bucket or access
|
1346
|
+
# point.
|
1324
1347
|
# @return [String]
|
1325
1348
|
#
|
1326
1349
|
# @!attribute [rw] location_uri
|
@@ -1348,6 +1371,13 @@ module Aws::DataSync
|
|
1348
1371
|
# Location for Amazon S3 in the *AWS DataSync User Guide*.
|
1349
1372
|
# @return [Types::S3Config]
|
1350
1373
|
#
|
1374
|
+
# @!attribute [rw] agent_arns
|
1375
|
+
# If you are using DataSync on an Amazon Outpost, the Amazon Resource
|
1376
|
+
# Name (ARNs) of the EC2 agents deployed on your AWS Outpost. For more
|
1377
|
+
# information about launching a DataSync agent on an Amazon Outpost,
|
1378
|
+
# see outposts-agent.
|
1379
|
+
# @return [Array<String>]
|
1380
|
+
#
|
1351
1381
|
# @!attribute [rw] creation_time
|
1352
1382
|
# The time that the Amazon S3 bucket location was created.
|
1353
1383
|
# @return [Time]
|
@@ -1359,6 +1389,7 @@ module Aws::DataSync
|
|
1359
1389
|
:location_uri,
|
1360
1390
|
:s3_storage_class,
|
1361
1391
|
:s3_config,
|
1392
|
+
:agent_arns,
|
1362
1393
|
:creation_time)
|
1363
1394
|
SENSITIVE = []
|
1364
1395
|
include Aws::Structure
|
@@ -1870,6 +1901,10 @@ module Aws::DataSync
|
|
1870
1901
|
# @return [String]
|
1871
1902
|
#
|
1872
1903
|
# @!attribute [rw] filters
|
1904
|
+
# You can use API filters to narrow down the list of resources
|
1905
|
+
# returned by `ListLocations`. For example, to retrieve all tasks on a
|
1906
|
+
# specific source location, you can use `ListLocations` with filter
|
1907
|
+
# name `LocationType S3` and `Operator Equals`.
|
1873
1908
|
# @return [Array<Types::LocationFilter>]
|
1874
1909
|
#
|
1875
1910
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListLocationsRequest AWS API Documentation
|
@@ -2038,6 +2073,10 @@ module Aws::DataSync
|
|
2038
2073
|
# @return [String]
|
2039
2074
|
#
|
2040
2075
|
# @!attribute [rw] filters
|
2076
|
+
# You can use API filters to narrow down the list of resources
|
2077
|
+
# returned by `ListTasks`. For example, to retrieve all tasks on a
|
2078
|
+
# specific source location, you can use `ListTasks` with filter name
|
2079
|
+
# `LocationId` and `Operator Equals` with the ARN for the location.
|
2041
2080
|
# @return [Array<Types::TaskFilter>]
|
2042
2081
|
#
|
2043
2082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTasksRequest AWS API Documentation
|
@@ -2070,6 +2109,11 @@ module Aws::DataSync
|
|
2070
2109
|
include Aws::Structure
|
2071
2110
|
end
|
2072
2111
|
|
2112
|
+
# You can use API filters to narrow down the list of resources returned
|
2113
|
+
# by `ListLocations`. For example, to retrieve all your Amazon S3
|
2114
|
+
# locations, you can use `ListLocations` with filter name `LocationType
|
2115
|
+
# S3` and `Operator Equals`.
|
2116
|
+
#
|
2073
2117
|
# @note When making an API call, you may pass LocationFilter
|
2074
2118
|
# data as a hash:
|
2075
2119
|
#
|
@@ -2080,12 +2124,20 @@ module Aws::DataSync
|
|
2080
2124
|
# }
|
2081
2125
|
#
|
2082
2126
|
# @!attribute [rw] name
|
2127
|
+
# The name of the filter being used. Each API call supports a list of
|
2128
|
+
# filters that are available for it (for example, `LocationType` for
|
2129
|
+
# `ListLocations`).
|
2083
2130
|
# @return [String]
|
2084
2131
|
#
|
2085
2132
|
# @!attribute [rw] values
|
2133
|
+
# The values that you want to filter for. For example, you might want
|
2134
|
+
# to display only Amazon S3 locations.
|
2086
2135
|
# @return [Array<String>]
|
2087
2136
|
#
|
2088
2137
|
# @!attribute [rw] operator
|
2138
|
+
# The operator that is used to compare filter values (for example,
|
2139
|
+
# `Equals` or `Contains`). For more about API filtering operators, see
|
2140
|
+
# query-resources.
|
2089
2141
|
# @return [String]
|
2090
2142
|
#
|
2091
2143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/LocationFilter AWS API Documentation
|
@@ -2192,7 +2244,7 @@ module Aws::DataSync
|
|
2192
2244
|
# }
|
2193
2245
|
#
|
2194
2246
|
# @!attribute [rw] agent_arns
|
2195
|
-
# ARNs
|
2247
|
+
# ARNs of the agents to use for an NFS location.
|
2196
2248
|
# @return [Array<String>]
|
2197
2249
|
#
|
2198
2250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/OnPremConfig AWS API Documentation
|
@@ -2414,11 +2466,17 @@ module Aws::DataSync
|
|
2414
2466
|
# @return [String]
|
2415
2467
|
#
|
2416
2468
|
# @!attribute [rw] transfer_mode
|
2417
|
-
#
|
2418
|
-
#
|
2419
|
-
#
|
2420
|
-
#
|
2421
|
-
#
|
2469
|
+
# A value that determines whether DataSync transfers only the data and
|
2470
|
+
# metadata that differ between the source and the destination
|
2471
|
+
# location, or whether DataSync transfers all the content from the
|
2472
|
+
# source, without comparing to the destination location.
|
2473
|
+
#
|
2474
|
+
# CHANGED: DataSync copies only data or metadata that is new or
|
2475
|
+
# different content from the source location to the destination
|
2476
|
+
# location.
|
2477
|
+
#
|
2478
|
+
# ALL: DataSync copies all source location content to the destination,
|
2479
|
+
# without comparing to existing content on the destination.
|
2422
2480
|
# @return [String]
|
2423
2481
|
#
|
2424
2482
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Options AWS API Documentation
|
@@ -2763,6 +2821,11 @@ module Aws::DataSync
|
|
2763
2821
|
include Aws::Structure
|
2764
2822
|
end
|
2765
2823
|
|
2824
|
+
# You can use API filters to narrow down the list of resources returned
|
2825
|
+
# by `ListTasks`. For example, to retrieve all tasks on a source
|
2826
|
+
# location, you can use `ListTasks` with filter name `LocationId` and
|
2827
|
+
# `Operator Equals` with the ARN for the location.
|
2828
|
+
#
|
2766
2829
|
# @note When making an API call, you may pass TaskFilter
|
2767
2830
|
# data as a hash:
|
2768
2831
|
#
|
@@ -2773,12 +2836,20 @@ module Aws::DataSync
|
|
2773
2836
|
# }
|
2774
2837
|
#
|
2775
2838
|
# @!attribute [rw] name
|
2839
|
+
# The name of the filter being used. Each API call supports a list of
|
2840
|
+
# filters that are available for it. For example, `LocationId` for
|
2841
|
+
# `ListTasks`.
|
2776
2842
|
# @return [String]
|
2777
2843
|
#
|
2778
2844
|
# @!attribute [rw] values
|
2845
|
+
# The values that you want to filter for. For example, you might want
|
2846
|
+
# to display only tasks for a specific destination location.
|
2779
2847
|
# @return [Array<String>]
|
2780
2848
|
#
|
2781
2849
|
# @!attribute [rw] operator
|
2850
|
+
# The operator that is used to compare filter values (for example,
|
2851
|
+
# `Equals` or `Contains`). For more about API filtering operators, see
|
2852
|
+
# query-resources.
|
2782
2853
|
# @return [String]
|
2783
2854
|
#
|
2784
2855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TaskFilter AWS API Documentation
|
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.27.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: 2020-09-
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|