aws-sdk-datasync 1.22.0 → 1.27.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 -2
- data/lib/aws-sdk-datasync/client.rb +246 -49
- data/lib/aws-sdk-datasync/client_api.rb +101 -12
- data/lib/aws-sdk-datasync/types.rb +413 -46
- 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
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-datasync/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::DataSync
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.27.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::DataSync
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
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
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::DataSync
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# 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.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -324,7 +339,7 @@ module Aws::DataSync
|
|
324
339
|
|
325
340
|
# Cancels execution of a task.
|
326
341
|
#
|
327
|
-
# When you cancel a task execution, the transfer of some files
|
342
|
+
# When you cancel a task execution, the transfer of some files is
|
328
343
|
# abruptly interrupted. The contents of files that are transferred to
|
329
344
|
# the destination might be incomplete or inconsistent with the source
|
330
345
|
# files. However, if you start a new task execution on the same task and
|
@@ -361,9 +376,9 @@ module Aws::DataSync
|
|
361
376
|
# AWS Region where your target locations (in Amazon S3 or Amazon EFS)
|
362
377
|
# reside. Your tasks are created in this AWS Region.
|
363
378
|
#
|
364
|
-
# You can activate the agent in a VPC (
|
379
|
+
# You can activate the agent in a VPC (virtual private cloud) or provide
|
365
380
|
# the agent access to a VPC endpoint so you can run tasks without going
|
366
|
-
# over the public
|
381
|
+
# over the public internet.
|
367
382
|
#
|
368
383
|
# You can use an agent for more than one location. If a task uses
|
369
384
|
# multiple agents, all of them need to have status AVAILABLE for the
|
@@ -404,11 +419,11 @@ module Aws::DataSync
|
|
404
419
|
# </note>
|
405
420
|
#
|
406
421
|
# @option params [String] :vpc_endpoint_id
|
407
|
-
# The ID of the VPC (
|
422
|
+
# The ID of the VPC (virtual private cloud) endpoint that the agent has
|
408
423
|
# access to. This is the client-side VPC endpoint, also called a
|
409
424
|
# PrivateLink. If you don't have a PrivateLink VPC endpoint, see
|
410
|
-
# [Creating a VPC Endpoint Service Configuration][1] in the
|
411
|
-
# Guide.
|
425
|
+
# [Creating a VPC Endpoint Service Configuration][1] in the Amazon VPC
|
426
|
+
# User Guide.
|
412
427
|
#
|
413
428
|
# VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
|
414
429
|
#
|
@@ -471,7 +486,7 @@ module Aws::DataSync
|
|
471
486
|
# data to the EFS destination. By default, AWS DataSync uses the root
|
472
487
|
# directory.
|
473
488
|
#
|
474
|
-
# <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,
|
475
490
|
# `/path/to/folder`.
|
476
491
|
#
|
477
492
|
# </note>
|
@@ -610,7 +625,7 @@ module Aws::DataSync
|
|
610
625
|
end
|
611
626
|
|
612
627
|
# Defines a file system on a Network File System (NFS) server that can
|
613
|
-
# be read from or written to
|
628
|
+
# be read from or written to.
|
614
629
|
#
|
615
630
|
# @option params [required, String] :subdirectory
|
616
631
|
# The subdirectory in the NFS file system that is used to read data from
|
@@ -633,24 +648,45 @@ module Aws::DataSync
|
|
633
648
|
# files. For the agent to access directories, you must additionally
|
634
649
|
# enable all execute access.
|
635
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
|
+
#
|
636
654
|
# For information about NFS export configuration, see 18.7. The
|
637
655
|
# /etc/exports Configuration File in the Red Hat Enterprise Linux
|
638
656
|
# documentation.
|
639
657
|
#
|
658
|
+
#
|
659
|
+
#
|
660
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
661
|
+
#
|
640
662
|
# @option params [required, String] :server_hostname
|
641
663
|
# The name of the NFS server. This value is the IP address or Domain
|
642
664
|
# Name Service (DNS) name of the NFS server. An agent that is installed
|
643
665
|
# on-premises uses this host name to mount the NFS server in a network.
|
644
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
|
+
#
|
645
670
|
# <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
|
646
671
|
# (IPv4) address.
|
647
672
|
#
|
648
673
|
# </note>
|
649
674
|
#
|
675
|
+
#
|
676
|
+
#
|
677
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
678
|
+
#
|
650
679
|
# @option params [required, Types::OnPremConfig] :on_prem_config
|
651
680
|
# Contains a list of Amazon Resource Names (ARNs) of agents that are
|
652
681
|
# used to connect to an NFS server.
|
653
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
|
+
#
|
654
690
|
# @option params [Types::NfsMountOptions] :mount_options
|
655
691
|
# The NFS mount options that DataSync can use to mount your NFS share.
|
656
692
|
#
|
@@ -695,18 +731,96 @@ module Aws::DataSync
|
|
695
731
|
req.send_request(options)
|
696
732
|
end
|
697
733
|
|
698
|
-
# Creates an endpoint for
|
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.
|
737
|
+
#
|
738
|
+
# @option params [required, String] :server_hostname
|
739
|
+
# The name of the self-managed object storage server. This value is the
|
740
|
+
# IP address or Domain Name Service (DNS) name of the object storage
|
741
|
+
# server. An agent uses this host name to mount the object storage
|
742
|
+
# server in a network.
|
743
|
+
#
|
744
|
+
# @option params [Integer] :server_port
|
745
|
+
# The port that your self-managed object storage server accepts inbound
|
746
|
+
# network traffic on. The server port is set by default to TCP 80 (HTTP)
|
747
|
+
# or TCP 443 (HTTPS). You can specify a custom port if your self-managed
|
748
|
+
# object storage server requires one.
|
699
749
|
#
|
700
|
-
#
|
701
|
-
#
|
702
|
-
#
|
703
|
-
#
|
704
|
-
#
|
705
|
-
#
|
750
|
+
# @option params [String] :server_protocol
|
751
|
+
# The protocol that the object storage server uses to communicate. Valid
|
752
|
+
# values are HTTP or HTTPS.
|
753
|
+
#
|
754
|
+
# @option params [String] :subdirectory
|
755
|
+
# The subdirectory in the self-managed object storage server that is
|
756
|
+
# used to read data from.
|
757
|
+
#
|
758
|
+
# @option params [required, String] :bucket_name
|
759
|
+
# The bucket on the self-managed object storage server that is used to
|
760
|
+
# read data from.
|
761
|
+
#
|
762
|
+
# @option params [String] :access_key
|
763
|
+
# Optional. The access key is used if credentials are required to access
|
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.
|
767
|
+
#
|
768
|
+
# @option params [String] :secret_key
|
769
|
+
# Optional. The secret key is used if credentials are required to access
|
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.
|
773
|
+
#
|
774
|
+
# @option params [required, Array<String>] :agent_arns
|
775
|
+
# The Amazon Resource Name (ARN) of the agents associated with the
|
776
|
+
# self-managed object storage server location.
|
777
|
+
#
|
778
|
+
# @option params [Array<Types::TagListEntry>] :tags
|
779
|
+
# The key-value pair that represents the tag that you want to add to the
|
780
|
+
# location. The value can be an empty string. We recommend using tags to
|
781
|
+
# name your resources.
|
782
|
+
#
|
783
|
+
# @return [Types::CreateLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
784
|
+
#
|
785
|
+
# * {Types::CreateLocationObjectStorageResponse#location_arn #location_arn} => String
|
786
|
+
#
|
787
|
+
# @example Request syntax with placeholder values
|
788
|
+
#
|
789
|
+
# resp = client.create_location_object_storage({
|
790
|
+
# server_hostname: "ServerHostname", # required
|
791
|
+
# server_port: 1,
|
792
|
+
# server_protocol: "HTTPS", # accepts HTTPS, HTTP
|
793
|
+
# subdirectory: "S3Subdirectory",
|
794
|
+
# bucket_name: "ObjectStorageBucketName", # required
|
795
|
+
# access_key: "ObjectStorageAccessKey",
|
796
|
+
# secret_key: "ObjectStorageSecretKey",
|
797
|
+
# agent_arns: ["AgentArn"], # required
|
798
|
+
# tags: [
|
799
|
+
# {
|
800
|
+
# key: "TagKey", # required
|
801
|
+
# value: "TagValue",
|
802
|
+
# },
|
803
|
+
# ],
|
804
|
+
# })
|
805
|
+
#
|
806
|
+
# @example Response structure
|
807
|
+
#
|
808
|
+
# resp.location_arn #=> String
|
809
|
+
#
|
810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorage AWS API Documentation
|
811
|
+
#
|
812
|
+
# @overload create_location_object_storage(params = {})
|
813
|
+
# @param [Hash] params ({})
|
814
|
+
def create_location_object_storage(params = {}, options = {})
|
815
|
+
req = build_request(:create_location_object_storage, params)
|
816
|
+
req.send_request(options)
|
817
|
+
end
|
818
|
+
|
819
|
+
# Creates an endpoint for an Amazon S3 bucket.
|
706
820
|
#
|
707
821
|
# For more information, see
|
708
|
-
# https://docs.aws.amazon.com/datasync/latest/userguide/
|
709
|
-
# 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*.
|
710
824
|
#
|
711
825
|
# @option params [String] :subdirectory
|
712
826
|
# A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3
|
@@ -714,15 +828,19 @@ module Aws::DataSync
|
|
714
828
|
# S3 destination.
|
715
829
|
#
|
716
830
|
# @option params [required, String] :s3_bucket_arn
|
717
|
-
# 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.
|
718
833
|
#
|
719
834
|
# @option params [String] :s3_storage_class
|
720
835
|
# The Amazon S3 storage class that you want to store your files in when
|
721
|
-
# this location is used as a task destination. For
|
722
|
-
#
|
723
|
-
#
|
724
|
-
#
|
725
|
-
# 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.
|
726
844
|
#
|
727
845
|
#
|
728
846
|
#
|
@@ -735,6 +853,12 @@ module Aws::DataSync
|
|
735
853
|
# For detailed information about using such a role, see Creating a
|
736
854
|
# Location for Amazon S3 in the *AWS DataSync User Guide*.
|
737
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
|
+
#
|
738
862
|
# @option params [Array<Types::TagListEntry>] :tags
|
739
863
|
# The key-value pair that represents the tag that you want to add to the
|
740
864
|
# location. The value can be an empty string. We recommend using tags to
|
@@ -749,10 +873,11 @@ module Aws::DataSync
|
|
749
873
|
# resp = client.create_location_s3({
|
750
874
|
# subdirectory: "S3Subdirectory",
|
751
875
|
# s3_bucket_arn: "S3BucketArn", # required
|
752
|
-
# 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
|
753
877
|
# s3_config: { # required
|
754
878
|
# bucket_access_role_arn: "IamRoleArn", # required
|
755
879
|
# },
|
880
|
+
# agent_arns: ["AgentArn"],
|
756
881
|
# tags: [
|
757
882
|
# {
|
758
883
|
# key: "TagKey", # required
|
@@ -774,7 +899,7 @@ module Aws::DataSync
|
|
774
899
|
req.send_request(options)
|
775
900
|
end
|
776
901
|
|
777
|
-
# Defines a file system on
|
902
|
+
# Defines a file system on a Server Message Block (SMB) server that can
|
778
903
|
# be read from or written to.
|
779
904
|
#
|
780
905
|
# @option params [required, String] :subdirectory
|
@@ -784,7 +909,7 @@ module Aws::DataSync
|
|
784
909
|
# subdirectory of that path. The path should be such that it can be
|
785
910
|
# mounted by other SMB clients in your network.
|
786
911
|
#
|
787
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
912
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
788
913
|
# `/path/to/folder`.
|
789
914
|
#
|
790
915
|
# </note>
|
@@ -886,7 +1011,7 @@ module Aws::DataSync
|
|
886
1011
|
# minutes, it means that your agent might be having trouble mounting the
|
887
1012
|
# source NFS file system. Check the task's ErrorCode and ErrorDetail.
|
888
1013
|
# Mount issues are often caused by either a misconfigured firewall or a
|
889
|
-
# mistyped NFS server
|
1014
|
+
# mistyped NFS server hostname.
|
890
1015
|
#
|
891
1016
|
# @option params [required, String] :source_location_arn
|
892
1017
|
# The Amazon Resource Name (ARN) of the source location for the task.
|
@@ -898,12 +1023,6 @@ module Aws::DataSync
|
|
898
1023
|
# The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
|
899
1024
|
# is used to monitor and log events in the task.
|
900
1025
|
#
|
901
|
-
# For more information on these groups, see Working with Log Groups and
|
902
|
-
# Log Streams in the *Amazon CloudWatch User Guide.*
|
903
|
-
#
|
904
|
-
# For more information about how to use CloudWatch Logs with DataSync,
|
905
|
-
# see Monitoring Your Task in the *AWS DataSync User Guide.*
|
906
|
-
#
|
907
1026
|
# @option params [String] :name
|
908
1027
|
# The name of a task. This value is a text reference that is used to
|
909
1028
|
# identify the task in the console.
|
@@ -916,7 +1035,7 @@ module Aws::DataSync
|
|
916
1035
|
# verification, and so on.
|
917
1036
|
#
|
918
1037
|
# For each individual task execution, you can override these options by
|
919
|
-
# specifying the `OverrideOptions` before starting
|
1038
|
+
# specifying the `OverrideOptions` before starting the task execution.
|
920
1039
|
# For more information, see the operation.
|
921
1040
|
#
|
922
1041
|
# @option params [Array<Types::FilterRule>] :excludes
|
@@ -958,6 +1077,7 @@ module Aws::DataSync
|
|
958
1077
|
# bytes_per_second: 1,
|
959
1078
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
960
1079
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1080
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
961
1081
|
# },
|
962
1082
|
# excludes: [
|
963
1083
|
# {
|
@@ -1187,10 +1307,10 @@ module Aws::DataSync
|
|
1187
1307
|
req.send_request(options)
|
1188
1308
|
end
|
1189
1309
|
|
1190
|
-
# Returns metadata, such as the path information, about
|
1310
|
+
# Returns metadata, such as the path information, about an NFS location.
|
1191
1311
|
#
|
1192
1312
|
# @option params [required, String] :location_arn
|
1193
|
-
# The Amazon
|
1313
|
+
# The Amazon Resource Name (ARN) of the NFS location to describe.
|
1194
1314
|
#
|
1195
1315
|
# @return [Types::DescribeLocationNfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1196
1316
|
#
|
@@ -1224,6 +1344,50 @@ module Aws::DataSync
|
|
1224
1344
|
req.send_request(options)
|
1225
1345
|
end
|
1226
1346
|
|
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.
|
1350
|
+
#
|
1351
|
+
# @option params [required, String] :location_arn
|
1352
|
+
# The Amazon Resource Name (ARN) of the self-managed object storage
|
1353
|
+
# server location that was described.
|
1354
|
+
#
|
1355
|
+
# @return [Types::DescribeLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1356
|
+
#
|
1357
|
+
# * {Types::DescribeLocationObjectStorageResponse#location_arn #location_arn} => String
|
1358
|
+
# * {Types::DescribeLocationObjectStorageResponse#location_uri #location_uri} => String
|
1359
|
+
# * {Types::DescribeLocationObjectStorageResponse#access_key #access_key} => String
|
1360
|
+
# * {Types::DescribeLocationObjectStorageResponse#server_port #server_port} => Integer
|
1361
|
+
# * {Types::DescribeLocationObjectStorageResponse#server_protocol #server_protocol} => String
|
1362
|
+
# * {Types::DescribeLocationObjectStorageResponse#agent_arns #agent_arns} => Array<String>
|
1363
|
+
# * {Types::DescribeLocationObjectStorageResponse#creation_time #creation_time} => Time
|
1364
|
+
#
|
1365
|
+
# @example Request syntax with placeholder values
|
1366
|
+
#
|
1367
|
+
# resp = client.describe_location_object_storage({
|
1368
|
+
# location_arn: "LocationArn", # required
|
1369
|
+
# })
|
1370
|
+
#
|
1371
|
+
# @example Response structure
|
1372
|
+
#
|
1373
|
+
# resp.location_arn #=> String
|
1374
|
+
# resp.location_uri #=> String
|
1375
|
+
# resp.access_key #=> String
|
1376
|
+
# resp.server_port #=> Integer
|
1377
|
+
# resp.server_protocol #=> String, one of "HTTPS", "HTTP"
|
1378
|
+
# resp.agent_arns #=> Array
|
1379
|
+
# resp.agent_arns[0] #=> String
|
1380
|
+
# resp.creation_time #=> Time
|
1381
|
+
#
|
1382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage AWS API Documentation
|
1383
|
+
#
|
1384
|
+
# @overload describe_location_object_storage(params = {})
|
1385
|
+
# @param [Hash] params ({})
|
1386
|
+
def describe_location_object_storage(params = {}, options = {})
|
1387
|
+
req = build_request(:describe_location_object_storage, params)
|
1388
|
+
req.send_request(options)
|
1389
|
+
end
|
1390
|
+
|
1227
1391
|
# Returns metadata, such as bucket name, about an Amazon S3 bucket
|
1228
1392
|
# location.
|
1229
1393
|
#
|
@@ -1237,6 +1401,7 @@ module Aws::DataSync
|
|
1237
1401
|
# * {Types::DescribeLocationS3Response#location_uri #location_uri} => String
|
1238
1402
|
# * {Types::DescribeLocationS3Response#s3_storage_class #s3_storage_class} => String
|
1239
1403
|
# * {Types::DescribeLocationS3Response#s3_config #s3_config} => Types::S3Config
|
1404
|
+
# * {Types::DescribeLocationS3Response#agent_arns #agent_arns} => Array<String>
|
1240
1405
|
# * {Types::DescribeLocationS3Response#creation_time #creation_time} => Time
|
1241
1406
|
#
|
1242
1407
|
# @example Request syntax with placeholder values
|
@@ -1249,8 +1414,10 @@ module Aws::DataSync
|
|
1249
1414
|
#
|
1250
1415
|
# resp.location_arn #=> String
|
1251
1416
|
# resp.location_uri #=> String
|
1252
|
-
# 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"
|
1253
1418
|
# resp.s3_config.bucket_access_role_arn #=> String
|
1419
|
+
# resp.agent_arns #=> Array
|
1420
|
+
# resp.agent_arns[0] #=> String
|
1254
1421
|
# resp.creation_time #=> Time
|
1255
1422
|
#
|
1256
1423
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationS3 AWS API Documentation
|
@@ -1262,11 +1429,11 @@ module Aws::DataSync
|
|
1262
1429
|
req.send_request(options)
|
1263
1430
|
end
|
1264
1431
|
|
1265
|
-
# Returns metadata, such as the path and user information about
|
1432
|
+
# Returns metadata, such as the path and user information about an SMB
|
1266
1433
|
# location.
|
1267
1434
|
#
|
1268
1435
|
# @option params [required, String] :location_arn
|
1269
|
-
# The Amazon
|
1436
|
+
# The Amazon Resource Name (ARN) of the SMB location to describe.
|
1270
1437
|
#
|
1271
1438
|
# @return [Types::DescribeLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1272
1439
|
#
|
@@ -1358,6 +1525,7 @@ module Aws::DataSync
|
|
1358
1525
|
# resp.options.bytes_per_second #=> Integer
|
1359
1526
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1360
1527
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1528
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1361
1529
|
# resp.excludes #=> Array
|
1362
1530
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1363
1531
|
# resp.excludes[0].value #=> String
|
@@ -1417,6 +1585,7 @@ module Aws::DataSync
|
|
1417
1585
|
# resp.options.bytes_per_second #=> Integer
|
1418
1586
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1419
1587
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1588
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1420
1589
|
# resp.excludes #=> Array
|
1421
1590
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1422
1591
|
# resp.excludes[0].value #=> String
|
@@ -1499,7 +1668,7 @@ module Aws::DataSync
|
|
1499
1668
|
req.send_request(options)
|
1500
1669
|
end
|
1501
1670
|
|
1502
|
-
# Returns a
|
1671
|
+
# Returns a list of source and destination locations.
|
1503
1672
|
#
|
1504
1673
|
# If you have more locations than are returned in a response (that is,
|
1505
1674
|
# the response returns only a truncated list of your agents), the
|
@@ -1513,6 +1682,12 @@ module Aws::DataSync
|
|
1513
1682
|
# An opaque string that indicates the position at which to begin the
|
1514
1683
|
# next list of locations.
|
1515
1684
|
#
|
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`.
|
1690
|
+
#
|
1516
1691
|
# @return [Types::ListLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1517
1692
|
#
|
1518
1693
|
# * {Types::ListLocationsResponse#locations #locations} => Array<Types::LocationListEntry>
|
@@ -1525,6 +1700,13 @@ module Aws::DataSync
|
|
1525
1700
|
# resp = client.list_locations({
|
1526
1701
|
# max_results: 1,
|
1527
1702
|
# next_token: "NextToken",
|
1703
|
+
# filters: [
|
1704
|
+
# {
|
1705
|
+
# name: "LocationUri", # required, accepts LocationUri, LocationType, CreationTime
|
1706
|
+
# values: ["FilterAttributeValue"], # required
|
1707
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1708
|
+
# },
|
1709
|
+
# ],
|
1528
1710
|
# })
|
1529
1711
|
#
|
1530
1712
|
# @example Response structure
|
@@ -1543,7 +1725,7 @@ module Aws::DataSync
|
|
1543
1725
|
req.send_request(options)
|
1544
1726
|
end
|
1545
1727
|
|
1546
|
-
# Returns all the tags associated with a specified
|
1728
|
+
# Returns all the tags associated with a specified resource.
|
1547
1729
|
#
|
1548
1730
|
# @option params [required, String] :resource_arn
|
1549
1731
|
# The Amazon Resource Name (ARN) of the resource whose tags to list.
|
@@ -1639,6 +1821,12 @@ module Aws::DataSync
|
|
1639
1821
|
# An opaque string that indicates the position at which to begin the
|
1640
1822
|
# next list of tasks.
|
1641
1823
|
#
|
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.
|
1829
|
+
#
|
1642
1830
|
# @return [Types::ListTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1643
1831
|
#
|
1644
1832
|
# * {Types::ListTasksResponse#tasks #tasks} => Array<Types::TaskListEntry>
|
@@ -1651,6 +1839,13 @@ module Aws::DataSync
|
|
1651
1839
|
# resp = client.list_tasks({
|
1652
1840
|
# max_results: 1,
|
1653
1841
|
# next_token: "NextToken",
|
1842
|
+
# filters: [
|
1843
|
+
# {
|
1844
|
+
# name: "LocationId", # required, accepts LocationId, CreationTime
|
1845
|
+
# values: ["FilterAttributeValue"], # required
|
1846
|
+
# operator: "Equals", # required, accepts Equals, NotEquals, In, LessThanOrEqual, LessThan, GreaterThanOrEqual, GreaterThan, Contains, NotContains, BeginsWith
|
1847
|
+
# },
|
1848
|
+
# ],
|
1654
1849
|
# })
|
1655
1850
|
#
|
1656
1851
|
# @example Response structure
|
@@ -1722,6 +1917,7 @@ module Aws::DataSync
|
|
1722
1917
|
# bytes_per_second: 1,
|
1723
1918
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1724
1919
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1920
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1725
1921
|
# },
|
1726
1922
|
# includes: [
|
1727
1923
|
# {
|
@@ -1884,6 +2080,7 @@ module Aws::DataSync
|
|
1884
2080
|
# bytes_per_second: 1,
|
1885
2081
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1886
2082
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2083
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1887
2084
|
# },
|
1888
2085
|
# excludes: [
|
1889
2086
|
# {
|
@@ -1920,7 +2117,7 @@ module Aws::DataSync
|
|
1920
2117
|
params: params,
|
1921
2118
|
config: config)
|
1922
2119
|
context[:gem_name] = 'aws-sdk-datasync'
|
1923
|
-
context[:gem_version] = '1.
|
2120
|
+
context[:gem_version] = '1.27.0'
|
1924
2121
|
Seahorse::Client::Request.new(handlers, context)
|
1925
2122
|
end
|
1926
2123
|
|