aws-sdk-datasync 1.18.0 → 1.23.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 +5 -5
- data/lib/aws-sdk-datasync.rb +3 -1
- data/lib/aws-sdk-datasync/client.rb +201 -43
- data/lib/aws-sdk-datasync/client_api.rb +74 -12
- data/lib/aws-sdk-datasync/errors.rb +2 -0
- data/lib/aws-sdk-datasync/resource.rb +3 -7
- data/lib/aws-sdk-datasync/types.rb +322 -35
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5dfe3480fcc84e9fb360b73d86d3f197140c54d60851af268d06661e00d6d350
|
4
|
+
data.tar.gz: d7806728d52a7dcac0bd483724d8c2526c504f5097c9bf0b8254d4adf90c57ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7fbb33bddda6ee646f99f0935346e94b758db38704a16ac1955157553224a63f4001c4e178d107953ea9f33f1e50a32ee90e9a2be82a43f4275d2a48d175188
|
7
|
+
data.tar.gz: e9eaba232fcb2e36e8ca1dc883eb9b1705da61bd83ebcc7050ab6f56a7d7492a69ab556d757ae530d4ee1c098907a837ad8b5d501cee71d6967897253448e62a
|
data/lib/aws-sdk-datasync.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-datasync/customizations'
|
|
45
47
|
# @service
|
46
48
|
module Aws::DataSync
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.23.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
|
|
@@ -32,11 +35,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:datasync)
|
|
32
35
|
module Aws::DataSync
|
33
36
|
# An API client for DataSync. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
37
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
38
|
+
# client = Aws::DataSync::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
40
43
|
#
|
41
44
|
# For details on configuring region and credentials see
|
42
45
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -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
|
|
@@ -105,7 +109,7 @@ module Aws::DataSync
|
|
105
109
|
# @option options [required, String] :region
|
106
110
|
# The AWS region to connect to. The configured `:region` is
|
107
111
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
109
113
|
#
|
110
114
|
# * `Aws.config[:region]`
|
111
115
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +165,7 @@ module Aws::DataSync
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::DataSync
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -229,15 +233,19 @@ module Aws::DataSync
|
|
229
233
|
#
|
230
234
|
# @option options [String] :retry_mode ("legacy")
|
231
235
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
241
249
|
#
|
242
250
|
# @option options [String] :secret_access_key
|
243
251
|
#
|
@@ -275,8 +283,7 @@ module Aws::DataSync
|
|
275
283
|
#
|
276
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
285
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
280
287
|
#
|
281
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
289
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +295,7 @@ module Aws::DataSync
|
|
288
295
|
# request body. This option has no effect unless the request has
|
289
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
297
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
298
|
+
# request on the session.
|
292
299
|
#
|
293
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -317,7 +324,7 @@ module Aws::DataSync
|
|
317
324
|
|
318
325
|
# Cancels execution of a task.
|
319
326
|
#
|
320
|
-
# When you cancel a task execution, the transfer of some files
|
327
|
+
# When you cancel a task execution, the transfer of some files is
|
321
328
|
# abruptly interrupted. The contents of files that are transferred to
|
322
329
|
# the destination might be incomplete or inconsistent with the source
|
323
330
|
# files. However, if you start a new task execution on the same task and
|
@@ -354,7 +361,7 @@ module Aws::DataSync
|
|
354
361
|
# AWS Region where your target locations (in Amazon S3 or Amazon EFS)
|
355
362
|
# reside. Your tasks are created in this AWS Region.
|
356
363
|
#
|
357
|
-
# You can activate the agent in a VPC (
|
364
|
+
# You can activate the agent in a VPC (virtual private cloud) or provide
|
358
365
|
# the agent access to a VPC endpoint so you can run tasks without going
|
359
366
|
# over the public Internet.
|
360
367
|
#
|
@@ -397,11 +404,11 @@ module Aws::DataSync
|
|
397
404
|
# </note>
|
398
405
|
#
|
399
406
|
# @option params [String] :vpc_endpoint_id
|
400
|
-
# The ID of the VPC (
|
407
|
+
# The ID of the VPC (virtual private cloud) endpoint that the agent has
|
401
408
|
# access to. This is the client-side VPC endpoint, also called a
|
402
409
|
# PrivateLink. If you don't have a PrivateLink VPC endpoint, see
|
403
|
-
# [Creating a VPC Endpoint Service Configuration][1] in the
|
404
|
-
# Guide.
|
410
|
+
# [Creating a VPC Endpoint Service Configuration][1] in the Amazon VPC
|
411
|
+
# User Guide.
|
405
412
|
#
|
406
413
|
# VPC endpoint ID looks like this: `vpce-01234d5aff67890e1`.
|
407
414
|
#
|
@@ -464,7 +471,7 @@ module Aws::DataSync
|
|
464
471
|
# data to the EFS destination. By default, AWS DataSync uses the root
|
465
472
|
# directory.
|
466
473
|
#
|
467
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
474
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
468
475
|
# `/path/to/folder`.
|
469
476
|
#
|
470
477
|
# </note>
|
@@ -603,7 +610,7 @@ module Aws::DataSync
|
|
603
610
|
end
|
604
611
|
|
605
612
|
# Defines a file system on a Network File System (NFS) server that can
|
606
|
-
# be read from or written to
|
613
|
+
# be read from or written to.
|
607
614
|
#
|
608
615
|
# @option params [required, String] :subdirectory
|
609
616
|
# The subdirectory in the NFS file system that is used to read data from
|
@@ -626,24 +633,45 @@ module Aws::DataSync
|
|
626
633
|
# files. For the agent to access directories, you must additionally
|
627
634
|
# enable all execute access.
|
628
635
|
#
|
636
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
637
|
+
# Server on AWS Snowcone][1] for more information.
|
638
|
+
#
|
629
639
|
# For information about NFS export configuration, see 18.7. The
|
630
640
|
# /etc/exports Configuration File in the Red Hat Enterprise Linux
|
631
641
|
# documentation.
|
632
642
|
#
|
643
|
+
#
|
644
|
+
#
|
645
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
646
|
+
#
|
633
647
|
# @option params [required, String] :server_hostname
|
634
648
|
# The name of the NFS server. This value is the IP address or Domain
|
635
649
|
# Name Service (DNS) name of the NFS server. An agent that is installed
|
636
650
|
# on-premises uses this host name to mount the NFS server in a network.
|
637
651
|
#
|
652
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
653
|
+
# Server on AWS Snowcone][1] for more information.
|
654
|
+
#
|
638
655
|
# <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
|
639
656
|
# (IPv4) address.
|
640
657
|
#
|
641
658
|
# </note>
|
642
659
|
#
|
660
|
+
#
|
661
|
+
#
|
662
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
663
|
+
#
|
643
664
|
# @option params [required, Types::OnPremConfig] :on_prem_config
|
644
665
|
# Contains a list of Amazon Resource Names (ARNs) of agents that are
|
645
666
|
# used to connect to an NFS server.
|
646
667
|
#
|
668
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
669
|
+
# Server on AWS Snowcone][1] for more information.
|
670
|
+
#
|
671
|
+
#
|
672
|
+
#
|
673
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
674
|
+
#
|
647
675
|
# @option params [Types::NfsMountOptions] :mount_options
|
648
676
|
# The NFS mount options that DataSync can use to mount your NFS share.
|
649
677
|
#
|
@@ -688,6 +716,85 @@ module Aws::DataSync
|
|
688
716
|
req.send_request(options)
|
689
717
|
end
|
690
718
|
|
719
|
+
# Creates an endpoint for a self-managed object storage bucket.
|
720
|
+
#
|
721
|
+
# @option params [required, String] :server_hostname
|
722
|
+
# The name of the self-managed object storage server. This value is the
|
723
|
+
# IP address or Domain Name Service (DNS) name of the object storage
|
724
|
+
# server. An agent uses this host name to mount the object storage
|
725
|
+
# server in a network.
|
726
|
+
#
|
727
|
+
# @option params [Integer] :server_port
|
728
|
+
# The port that your self-managed object storage server accepts inbound
|
729
|
+
# network traffic on. The server port is set by default to TCP 80 (HTTP)
|
730
|
+
# or TCP 443 (HTTPS). You can specify a custom port if your self-managed
|
731
|
+
# object storage server requires one.
|
732
|
+
#
|
733
|
+
# @option params [String] :server_protocol
|
734
|
+
# The protocol that the object storage server uses to communicate. Valid
|
735
|
+
# values are HTTP or HTTPS.
|
736
|
+
#
|
737
|
+
# @option params [String] :subdirectory
|
738
|
+
# The subdirectory in the self-managed object storage server that is
|
739
|
+
# used to read data from.
|
740
|
+
#
|
741
|
+
# @option params [required, String] :bucket_name
|
742
|
+
# The bucket on the self-managed object storage server that is used to
|
743
|
+
# read data from.
|
744
|
+
#
|
745
|
+
# @option params [String] :access_key
|
746
|
+
# Optional. The access key is used if credentials are required to access
|
747
|
+
# the self-managed object storage server.
|
748
|
+
#
|
749
|
+
# @option params [String] :secret_key
|
750
|
+
# Optional. The secret key is used if credentials are required to access
|
751
|
+
# the self-managed object storage server.
|
752
|
+
#
|
753
|
+
# @option params [required, Array<String>] :agent_arns
|
754
|
+
# The Amazon Resource Name (ARN) of the agents associated with the
|
755
|
+
# self-managed object storage server location.
|
756
|
+
#
|
757
|
+
# @option params [Array<Types::TagListEntry>] :tags
|
758
|
+
# The key-value pair that represents the tag that you want to add to the
|
759
|
+
# location. The value can be an empty string. We recommend using tags to
|
760
|
+
# name your resources.
|
761
|
+
#
|
762
|
+
# @return [Types::CreateLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
763
|
+
#
|
764
|
+
# * {Types::CreateLocationObjectStorageResponse#location_arn #location_arn} => String
|
765
|
+
#
|
766
|
+
# @example Request syntax with placeholder values
|
767
|
+
#
|
768
|
+
# resp = client.create_location_object_storage({
|
769
|
+
# server_hostname: "ServerHostname", # required
|
770
|
+
# server_port: 1,
|
771
|
+
# server_protocol: "HTTPS", # accepts HTTPS, HTTP
|
772
|
+
# subdirectory: "S3Subdirectory",
|
773
|
+
# bucket_name: "ObjectStorageBucketName", # required
|
774
|
+
# access_key: "ObjectStorageAccessKey",
|
775
|
+
# secret_key: "ObjectStorageSecretKey",
|
776
|
+
# agent_arns: ["AgentArn"], # required
|
777
|
+
# tags: [
|
778
|
+
# {
|
779
|
+
# key: "TagKey", # required
|
780
|
+
# value: "TagValue",
|
781
|
+
# },
|
782
|
+
# ],
|
783
|
+
# })
|
784
|
+
#
|
785
|
+
# @example Response structure
|
786
|
+
#
|
787
|
+
# resp.location_arn #=> String
|
788
|
+
#
|
789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorage AWS API Documentation
|
790
|
+
#
|
791
|
+
# @overload create_location_object_storage(params = {})
|
792
|
+
# @param [Hash] params ({})
|
793
|
+
def create_location_object_storage(params = {}, options = {})
|
794
|
+
req = build_request(:create_location_object_storage, params)
|
795
|
+
req.send_request(options)
|
796
|
+
end
|
797
|
+
|
691
798
|
# Creates an endpoint for an Amazon S3 bucket.
|
692
799
|
#
|
693
800
|
# For AWS DataSync to access a destination S3 bucket, it needs an AWS
|
@@ -767,7 +874,7 @@ module Aws::DataSync
|
|
767
874
|
req.send_request(options)
|
768
875
|
end
|
769
876
|
|
770
|
-
# Defines a file system on
|
877
|
+
# Defines a file system on a Server Message Block (SMB) server that can
|
771
878
|
# be read from or written to.
|
772
879
|
#
|
773
880
|
# @option params [required, String] :subdirectory
|
@@ -777,7 +884,7 @@ module Aws::DataSync
|
|
777
884
|
# subdirectory of that path. The path should be such that it can be
|
778
885
|
# mounted by other SMB clients in your network.
|
779
886
|
#
|
780
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example
|
887
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
781
888
|
# `/path/to/folder`.
|
782
889
|
#
|
783
890
|
# </note>
|
@@ -891,12 +998,6 @@ module Aws::DataSync
|
|
891
998
|
# The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
|
892
999
|
# is used to monitor and log events in the task.
|
893
1000
|
#
|
894
|
-
# For more information on these groups, see Working with Log Groups and
|
895
|
-
# Log Streams in the *Amazon CloudWatch User Guide.*
|
896
|
-
#
|
897
|
-
# For more information about how to use CloudWatch Logs with DataSync,
|
898
|
-
# see Monitoring Your Task in the *AWS DataSync User Guide.*
|
899
|
-
#
|
900
1001
|
# @option params [String] :name
|
901
1002
|
# The name of a task. This value is a text reference that is used to
|
902
1003
|
# identify the task in the console.
|
@@ -909,7 +1010,7 @@ module Aws::DataSync
|
|
909
1010
|
# verification, and so on.
|
910
1011
|
#
|
911
1012
|
# For each individual task execution, you can override these options by
|
912
|
-
# specifying the `OverrideOptions` before starting
|
1013
|
+
# specifying the `OverrideOptions` before starting the task execution.
|
913
1014
|
# For more information, see the operation.
|
914
1015
|
#
|
915
1016
|
# @option params [Array<Types::FilterRule>] :excludes
|
@@ -951,6 +1052,7 @@ module Aws::DataSync
|
|
951
1052
|
# bytes_per_second: 1,
|
952
1053
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
953
1054
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1055
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
954
1056
|
# },
|
955
1057
|
# excludes: [
|
956
1058
|
# {
|
@@ -1180,10 +1282,10 @@ module Aws::DataSync
|
|
1180
1282
|
req.send_request(options)
|
1181
1283
|
end
|
1182
1284
|
|
1183
|
-
# Returns metadata, such as the path information, about
|
1285
|
+
# Returns metadata, such as the path information, about an NFS location.
|
1184
1286
|
#
|
1185
1287
|
# @option params [required, String] :location_arn
|
1186
|
-
# The Amazon
|
1288
|
+
# The Amazon Resource Name (ARN) of the NFS location to describe.
|
1187
1289
|
#
|
1188
1290
|
# @return [Types::DescribeLocationNfsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1189
1291
|
#
|
@@ -1217,6 +1319,48 @@ module Aws::DataSync
|
|
1217
1319
|
req.send_request(options)
|
1218
1320
|
end
|
1219
1321
|
|
1322
|
+
# Returns metadata about a self-managed object storage server location.
|
1323
|
+
#
|
1324
|
+
# @option params [required, String] :location_arn
|
1325
|
+
# The Amazon Resource Name (ARN) of the self-managed object storage
|
1326
|
+
# server location that was described.
|
1327
|
+
#
|
1328
|
+
# @return [Types::DescribeLocationObjectStorageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1329
|
+
#
|
1330
|
+
# * {Types::DescribeLocationObjectStorageResponse#location_arn #location_arn} => String
|
1331
|
+
# * {Types::DescribeLocationObjectStorageResponse#location_uri #location_uri} => String
|
1332
|
+
# * {Types::DescribeLocationObjectStorageResponse#access_key #access_key} => String
|
1333
|
+
# * {Types::DescribeLocationObjectStorageResponse#server_port #server_port} => Integer
|
1334
|
+
# * {Types::DescribeLocationObjectStorageResponse#server_protocol #server_protocol} => String
|
1335
|
+
# * {Types::DescribeLocationObjectStorageResponse#agent_arns #agent_arns} => Array<String>
|
1336
|
+
# * {Types::DescribeLocationObjectStorageResponse#creation_time #creation_time} => Time
|
1337
|
+
#
|
1338
|
+
# @example Request syntax with placeholder values
|
1339
|
+
#
|
1340
|
+
# resp = client.describe_location_object_storage({
|
1341
|
+
# location_arn: "LocationArn", # required
|
1342
|
+
# })
|
1343
|
+
#
|
1344
|
+
# @example Response structure
|
1345
|
+
#
|
1346
|
+
# resp.location_arn #=> String
|
1347
|
+
# resp.location_uri #=> String
|
1348
|
+
# resp.access_key #=> String
|
1349
|
+
# resp.server_port #=> Integer
|
1350
|
+
# resp.server_protocol #=> String, one of "HTTPS", "HTTP"
|
1351
|
+
# resp.agent_arns #=> Array
|
1352
|
+
# resp.agent_arns[0] #=> String
|
1353
|
+
# resp.creation_time #=> Time
|
1354
|
+
#
|
1355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage AWS API Documentation
|
1356
|
+
#
|
1357
|
+
# @overload describe_location_object_storage(params = {})
|
1358
|
+
# @param [Hash] params ({})
|
1359
|
+
def describe_location_object_storage(params = {}, options = {})
|
1360
|
+
req = build_request(:describe_location_object_storage, params)
|
1361
|
+
req.send_request(options)
|
1362
|
+
end
|
1363
|
+
|
1220
1364
|
# Returns metadata, such as bucket name, about an Amazon S3 bucket
|
1221
1365
|
# location.
|
1222
1366
|
#
|
@@ -1255,11 +1399,11 @@ module Aws::DataSync
|
|
1255
1399
|
req.send_request(options)
|
1256
1400
|
end
|
1257
1401
|
|
1258
|
-
# Returns metadata, such as the path and user information about
|
1402
|
+
# Returns metadata, such as the path and user information about an SMB
|
1259
1403
|
# location.
|
1260
1404
|
#
|
1261
1405
|
# @option params [required, String] :location_arn
|
1262
|
-
# The Amazon
|
1406
|
+
# The Amazon Resource Name (ARN) of the SMB location to describe.
|
1263
1407
|
#
|
1264
1408
|
# @return [Types::DescribeLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1265
1409
|
#
|
@@ -1351,6 +1495,7 @@ module Aws::DataSync
|
|
1351
1495
|
# resp.options.bytes_per_second #=> Integer
|
1352
1496
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1353
1497
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1498
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1354
1499
|
# resp.excludes #=> Array
|
1355
1500
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1356
1501
|
# resp.excludes[0].value #=> String
|
@@ -1410,6 +1555,7 @@ module Aws::DataSync
|
|
1410
1555
|
# resp.options.bytes_per_second #=> Integer
|
1411
1556
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1412
1557
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1558
|
+
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1413
1559
|
# resp.excludes #=> Array
|
1414
1560
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1415
1561
|
# resp.excludes[0].value #=> String
|
@@ -1466,6 +1612,8 @@ module Aws::DataSync
|
|
1466
1612
|
# * {Types::ListAgentsResponse#agents #agents} => Array<Types::AgentListEntry>
|
1467
1613
|
# * {Types::ListAgentsResponse#next_token #next_token} => String
|
1468
1614
|
#
|
1615
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1616
|
+
#
|
1469
1617
|
# @example Request syntax with placeholder values
|
1470
1618
|
#
|
1471
1619
|
# resp = client.list_agents({
|
@@ -1490,7 +1638,7 @@ module Aws::DataSync
|
|
1490
1638
|
req.send_request(options)
|
1491
1639
|
end
|
1492
1640
|
|
1493
|
-
# Returns a
|
1641
|
+
# Returns a list of source and destination locations.
|
1494
1642
|
#
|
1495
1643
|
# If you have more locations than are returned in a response (that is,
|
1496
1644
|
# the response returns only a truncated list of your agents), the
|
@@ -1509,6 +1657,8 @@ module Aws::DataSync
|
|
1509
1657
|
# * {Types::ListLocationsResponse#locations #locations} => Array<Types::LocationListEntry>
|
1510
1658
|
# * {Types::ListLocationsResponse#next_token #next_token} => String
|
1511
1659
|
#
|
1660
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1661
|
+
#
|
1512
1662
|
# @example Request syntax with placeholder values
|
1513
1663
|
#
|
1514
1664
|
# resp = client.list_locations({
|
@@ -1532,7 +1682,7 @@ module Aws::DataSync
|
|
1532
1682
|
req.send_request(options)
|
1533
1683
|
end
|
1534
1684
|
|
1535
|
-
# Returns all the tags associated with a specified
|
1685
|
+
# Returns all the tags associated with a specified resource.
|
1536
1686
|
#
|
1537
1687
|
# @option params [required, String] :resource_arn
|
1538
1688
|
# The Amazon Resource Name (ARN) of the resource whose tags to list.
|
@@ -1549,6 +1699,8 @@ module Aws::DataSync
|
|
1549
1699
|
# * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::TagListEntry>
|
1550
1700
|
# * {Types::ListTagsForResourceResponse#next_token #next_token} => String
|
1551
1701
|
#
|
1702
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1703
|
+
#
|
1552
1704
|
# @example Request syntax with placeholder values
|
1553
1705
|
#
|
1554
1706
|
# resp = client.list_tags_for_resource({
|
@@ -1591,6 +1743,8 @@ module Aws::DataSync
|
|
1591
1743
|
# * {Types::ListTaskExecutionsResponse#task_executions #task_executions} => Array<Types::TaskExecutionListEntry>
|
1592
1744
|
# * {Types::ListTaskExecutionsResponse#next_token #next_token} => String
|
1593
1745
|
#
|
1746
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1747
|
+
#
|
1594
1748
|
# @example Request syntax with placeholder values
|
1595
1749
|
#
|
1596
1750
|
# resp = client.list_task_executions({
|
@@ -1629,6 +1783,8 @@ module Aws::DataSync
|
|
1629
1783
|
# * {Types::ListTasksResponse#tasks #tasks} => Array<Types::TaskListEntry>
|
1630
1784
|
# * {Types::ListTasksResponse#next_token #next_token} => String
|
1631
1785
|
#
|
1786
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1787
|
+
#
|
1632
1788
|
# @example Request syntax with placeholder values
|
1633
1789
|
#
|
1634
1790
|
# resp = client.list_tasks({
|
@@ -1705,6 +1861,7 @@ module Aws::DataSync
|
|
1705
1861
|
# bytes_per_second: 1,
|
1706
1862
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1707
1863
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1864
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1708
1865
|
# },
|
1709
1866
|
# includes: [
|
1710
1867
|
# {
|
@@ -1867,6 +2024,7 @@ module Aws::DataSync
|
|
1867
2024
|
# bytes_per_second: 1,
|
1868
2025
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1869
2026
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2027
|
+
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1870
2028
|
# },
|
1871
2029
|
# excludes: [
|
1872
2030
|
# {
|
@@ -1903,7 +2061,7 @@ module Aws::DataSync
|
|
1903
2061
|
params: params,
|
1904
2062
|
config: config)
|
1905
2063
|
context[:gem_name] = 'aws-sdk-datasync'
|
1906
|
-
context[:gem_version] = '1.
|
2064
|
+
context[:gem_version] = '1.23.0'
|
1907
2065
|
Seahorse::Client::Request.new(handlers, context)
|
1908
2066
|
end
|
1909
2067
|
|