aws-sdk-datasync 1.29.0 → 1.33.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/CHANGELOG.md +178 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-datasync.rb +2 -2
- data/lib/aws-sdk-datasync/client.rb +352 -64
- data/lib/aws-sdk-datasync/client_api.rb +69 -1
- data/lib/aws-sdk-datasync/errors.rb +1 -1
- data/lib/aws-sdk-datasync/resource.rb +1 -1
- data/lib/aws-sdk-datasync/types.rb +527 -85
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 631efe005fbb05a361ccd455e7b9ad66b777d726eae0e9996e2adcddb42ea371
|
4
|
+
data.tar.gz: 030a47cedc8c93dd4f608a4b4b46f64137e5f79ec5c5431b01b295d15d45365c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bebb44d119fbce2b222c4b7dede1e74aaf2733d9106c089d4a2aa275788e57dbd5d13fa394f4f155b9fe2647ae0463d861127482d069aba5e0e3216fff1d3713
|
7
|
+
data.tar.gz: c4bf91cf7cfae5d157b1aef4f6236b4c86bc1ca0fbf6810468f7066b802464aead136ed6f2f86695988d00f293ee95799e9805a5cda337a5c541e1e5552fe232
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,178 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.33.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.32.0 (2021-05-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added SecurityDescriptorCopyFlags option that allows for control of which components of SMB security descriptors are copied from source to destination objects.
|
13
|
+
|
14
|
+
1.31.0 (2021-03-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.30.0 (2021-03-02)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Additional API Support to update NFS/SMB/ObjectStorage locations
|
23
|
+
|
24
|
+
1.29.0 (2021-02-02)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.28.0 (2020-11-09)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - DataSync now enables customers to adjust the network bandwidth used by a running AWS DataSync task.
|
33
|
+
|
34
|
+
1.27.0 (2020-09-30)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - This release enables customers to create s3 location for S3 bucket's located on an AWS Outpost.
|
38
|
+
|
39
|
+
1.26.0 (2020-09-15)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
43
|
+
|
44
|
+
1.25.0 (2020-08-25)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.24.0 (2020-08-18)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - DataSync support for filters as input arguments to the ListTasks and ListLocations API calls.
|
53
|
+
|
54
|
+
1.23.0 (2020-07-27)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Today AWS DataSync releases support for self-managed object storage Locations and the new TransferMode Option.
|
58
|
+
|
59
|
+
1.22.0 (2020-06-23)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
63
|
+
|
64
|
+
1.21.1 (2020-06-11)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
68
|
+
|
69
|
+
1.21.0 (2020-06-10)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Issue - This version has been yanked. (#2327).
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.20.0 (2020-05-28)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.19.0 (2020-05-07)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.18.0 (2020-03-09)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.17.0 (2020-01-24)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - AWS DataSync now supports FSx for Windows File Server Locations
|
94
|
+
|
95
|
+
1.16.0 (2019-11-20)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Update to configure task to run periodically on a schedule
|
99
|
+
|
100
|
+
1.15.0 (2019-10-23)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.14.0 (2019-10-08)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Add Sync options to enable/disable TaskQueueing
|
109
|
+
|
110
|
+
1.13.0 (2019-09-24)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Added S3StorageClass, OverwriteMode sync option, and ONLY_FILES_TRANSFERRED setting for the VerifyMode sync option.
|
114
|
+
|
115
|
+
1.12.0 (2019-08-22)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - This release adds support for SMB location type.
|
119
|
+
|
120
|
+
1.11.0 (2019-08-05)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Support VPC endpoints.
|
124
|
+
|
125
|
+
1.10.0 (2019-07-25)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
129
|
+
|
130
|
+
1.9.0 (2019-07-01)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
134
|
+
|
135
|
+
1.8.0 (2019-06-17)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
139
|
+
|
140
|
+
1.7.0 (2019-05-21)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.6.0 (2019-05-15)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.5.0 (2019-05-14)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.4.0 (2019-05-13)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.3.0 (2019-03-21)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.2.0 (2019-03-18)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - API update.
|
169
|
+
|
170
|
+
1.1.0 (2019-03-14)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.0.0 (2018-11-26)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Feature - Initial release of `aws-sdk-datasync`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.33.0
|
data/lib/aws-sdk-datasync.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-datasync/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::DataSync
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.33.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -443,7 +443,11 @@ module Aws::DataSync
|
|
443
443
|
#
|
444
444
|
# @option params [Array<String>] :security_group_arns
|
445
445
|
# The ARNs of the security groups used to protect your data transfer
|
446
|
-
# task subnets. See
|
446
|
+
# task subnets. See [SecurityGroupArns][1].
|
447
|
+
#
|
448
|
+
#
|
449
|
+
#
|
450
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_Ec2Config.html#DataSync-Type-Ec2Config-SecurityGroupArns
|
447
451
|
#
|
448
452
|
# @return [Types::CreateAgentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
449
453
|
#
|
@@ -557,20 +561,22 @@ module Aws::DataSync
|
|
557
561
|
req.send_request(options)
|
558
562
|
end
|
559
563
|
|
560
|
-
# Creates an endpoint for an Amazon FSx for Windows file
|
564
|
+
# Creates an endpoint for an Amazon FSx for Windows File Server file
|
565
|
+
# system.
|
561
566
|
#
|
562
567
|
# @option params [String] :subdirectory
|
563
568
|
# A subdirectory in the location’s path. This subdirectory in the Amazon
|
564
|
-
# FSx for Windows file system is used to read data from the
|
565
|
-
# for Windows source location or write data to
|
566
|
-
# destination.
|
569
|
+
# FSx for Windows File Server file system is used to read data from the
|
570
|
+
# Amazon FSx for Windows File Server source location or write data to
|
571
|
+
# the FSx for Windows File Server destination.
|
567
572
|
#
|
568
573
|
# @option params [required, String] :fsx_filesystem_arn
|
569
|
-
# The Amazon Resource Name (ARN) for the FSx for Windows
|
574
|
+
# The Amazon Resource Name (ARN) for the FSx for Windows File Server
|
575
|
+
# file system.
|
570
576
|
#
|
571
577
|
# @option params [required, Array<String>] :security_group_arns
|
572
578
|
# The Amazon Resource Names (ARNs) of the security groups that are to
|
573
|
-
# use to configure the FSx for Windows file system.
|
579
|
+
# use to configure the FSx for Windows File Server file system.
|
574
580
|
#
|
575
581
|
# @option params [Array<Types::TagListEntry>] :tags
|
576
582
|
# The key-value pair that represents a tag that you want to add to the
|
@@ -580,15 +586,19 @@ module Aws::DataSync
|
|
580
586
|
#
|
581
587
|
# @option params [required, String] :user
|
582
588
|
# The user who has the permissions to access files and folders in the
|
583
|
-
# FSx for Windows file system.
|
589
|
+
# FSx for Windows File Server file system.
|
590
|
+
#
|
591
|
+
# For information about choosing a user name that ensures sufficient
|
592
|
+
# permissions to files, folders, and metadata, see
|
593
|
+
# [user](create-fsx-location.html#FSxWuser).
|
584
594
|
#
|
585
595
|
# @option params [String] :domain
|
586
|
-
# The name of the Windows domain that the FSx for Windows
|
587
|
-
# to.
|
596
|
+
# The name of the Windows domain that the FSx for Windows File Server
|
597
|
+
# belongs to.
|
588
598
|
#
|
589
599
|
# @option params [required, String] :password
|
590
600
|
# The password of the user who has the permissions to access files and
|
591
|
-
# folders in the FSx for Windows file system.
|
601
|
+
# folders in the FSx for Windows File Server file system.
|
592
602
|
#
|
593
603
|
# @return [Types::CreateLocationFsxWindowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
594
604
|
#
|
@@ -732,8 +742,12 @@ module Aws::DataSync
|
|
732
742
|
end
|
733
743
|
|
734
744
|
# Creates an endpoint for a self-managed object storage bucket. For more
|
735
|
-
# information about self-managed object storage locations, see
|
736
|
-
#
|
745
|
+
# information about self-managed object storage locations, see [Creating
|
746
|
+
# a location for object storage][1].
|
747
|
+
#
|
748
|
+
#
|
749
|
+
#
|
750
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
|
737
751
|
#
|
738
752
|
# @option params [required, String] :server_hostname
|
739
753
|
# The name of the self-managed object storage server. This value is the
|
@@ -839,11 +853,13 @@ module Aws::DataSync
|
|
839
853
|
#
|
840
854
|
# For more information about S3 storage classes, see [Amazon S3 Storage
|
841
855
|
# Classes][1]. Some storage classes have behaviors that can affect your
|
842
|
-
# S3 storage cost. For detailed information, see
|
856
|
+
# S3 storage cost. For detailed information, see [Considerations when
|
857
|
+
# working with S3 storage classes in DataSync][2].
|
843
858
|
#
|
844
859
|
#
|
845
860
|
#
|
846
861
|
# [1]: http://aws.amazon.com/s3/storage-classes/
|
862
|
+
# [2]: https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes
|
847
863
|
#
|
848
864
|
# @option params [required, Types::S3Config] :s3_config
|
849
865
|
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
@@ -856,7 +872,11 @@ module Aws::DataSync
|
|
856
872
|
# If you are using DataSync on an AWS Outpost, specify the Amazon
|
857
873
|
# Resource Names (ARNs) of the DataSync agents deployed on your Outpost.
|
858
874
|
# For more information about launching a DataSync agent on an AWS
|
859
|
-
# Outpost, see
|
875
|
+
# Outpost, see [Deploy your DataSync agent on AWS Outposts][1].
|
876
|
+
#
|
877
|
+
#
|
878
|
+
#
|
879
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/deploy-agents.html#outposts-agent
|
860
880
|
#
|
861
881
|
# @option params [Array<Types::TagListEntry>] :tags
|
862
882
|
# The key-value pair that represents the tag that you want to add to the
|
@@ -937,6 +957,10 @@ module Aws::DataSync
|
|
937
957
|
# The user who can mount the share, has the permissions to access files
|
938
958
|
# and folders in the SMB share.
|
939
959
|
#
|
960
|
+
# For information about choosing a user name that ensures sufficient
|
961
|
+
# permissions to files, folders, and metadata, see
|
962
|
+
# [user](create-smb-location.html#SMBuser).
|
963
|
+
#
|
940
964
|
# @option params [String] :domain
|
941
965
|
# The name of the Windows domain that the SMB server belongs to.
|
942
966
|
#
|
@@ -993,24 +1017,30 @@ module Aws::DataSync
|
|
993
1017
|
req.send_request(options)
|
994
1018
|
end
|
995
1019
|
|
996
|
-
# Creates a task.
|
997
|
-
#
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
#
|
1001
|
-
#
|
1002
|
-
#
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
# AWS
|
1006
|
-
#
|
1007
|
-
#
|
1008
|
-
#
|
1009
|
-
#
|
1010
|
-
#
|
1011
|
-
#
|
1012
|
-
#
|
1013
|
-
#
|
1020
|
+
# Creates a task.
|
1021
|
+
#
|
1022
|
+
# A task includes a source location and a destination location, and a
|
1023
|
+
# configuration that specifies how data is transferred. A task always
|
1024
|
+
# transfers data from the source location to the destination location.
|
1025
|
+
# The configuration specifies options such as task scheduling, bandwidth
|
1026
|
+
# limits, etc. A task is the complete definition of a data transfer.
|
1027
|
+
#
|
1028
|
+
# When you create a task that transfers data between AWS services in
|
1029
|
+
# different AWS Regions, one of the two locations that you specify must
|
1030
|
+
# reside in the Region where DataSync is being used. The other location
|
1031
|
+
# must be specified in a different Region.
|
1032
|
+
#
|
1033
|
+
# You can transfer data between commercial AWS Regions except for China,
|
1034
|
+
# or between AWS GovCloud (US-East and US-West) Regions.
|
1035
|
+
#
|
1036
|
+
# When you use DataSync to copy files or objects between AWS Regions,
|
1037
|
+
# you pay for data transfer between Regions. This is billed as data
|
1038
|
+
# transfer OUT from your source Region to your destination Region. For
|
1039
|
+
# more information, see [Data Transfer pricing][1].
|
1040
|
+
#
|
1041
|
+
#
|
1042
|
+
#
|
1043
|
+
# [1]: http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer
|
1014
1044
|
#
|
1015
1045
|
# @option params [required, String] :source_location_arn
|
1016
1046
|
# The Amazon Resource Name (ARN) of the source location for the task.
|
@@ -1035,7 +1065,11 @@ module Aws::DataSync
|
|
1035
1065
|
#
|
1036
1066
|
# For each individual task execution, you can override these options by
|
1037
1067
|
# specifying the `OverrideOptions` before starting the task execution.
|
1038
|
-
# For more information, see the operation.
|
1068
|
+
# For more information, see the [StartTaskExecution][1] operation.
|
1069
|
+
#
|
1070
|
+
#
|
1071
|
+
#
|
1072
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html
|
1039
1073
|
#
|
1040
1074
|
# @option params [Array<Types::FilterRule>] :excludes
|
1041
1075
|
# A list of filter rules that determines which files to exclude from a
|
@@ -1046,7 +1080,11 @@ module Aws::DataSync
|
|
1046
1080
|
# @option params [Types::TaskSchedule] :schedule
|
1047
1081
|
# Specifies a schedule used to periodically transfer files from a source
|
1048
1082
|
# to a destination location. The schedule should be specified in UTC
|
1049
|
-
# time. For more information, see task
|
1083
|
+
# time. For more information, see [Scheduling your task][1].
|
1084
|
+
#
|
1085
|
+
#
|
1086
|
+
#
|
1087
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html
|
1050
1088
|
#
|
1051
1089
|
# @option params [Array<Types::TagListEntry>] :tags
|
1052
1090
|
# The key-value pair that represents the tag that you want to add to the
|
@@ -1077,6 +1115,7 @@ module Aws::DataSync
|
|
1077
1115
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1078
1116
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1079
1117
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1118
|
+
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
1080
1119
|
# },
|
1081
1120
|
# excludes: [
|
1082
1121
|
# {
|
@@ -1266,11 +1305,11 @@ module Aws::DataSync
|
|
1266
1305
|
end
|
1267
1306
|
|
1268
1307
|
# Returns metadata, such as the path information about an Amazon FSx for
|
1269
|
-
# Windows location.
|
1308
|
+
# Windows File Server location.
|
1270
1309
|
#
|
1271
1310
|
# @option params [required, String] :location_arn
|
1272
|
-
# The Amazon Resource Name (ARN) of the FSx for Windows
|
1273
|
-
# describe.
|
1311
|
+
# The Amazon Resource Name (ARN) of the FSx for Windows File Server
|
1312
|
+
# location to describe.
|
1274
1313
|
#
|
1275
1314
|
# @return [Types::DescribeLocationFsxWindowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1276
1315
|
#
|
@@ -1345,7 +1384,11 @@ module Aws::DataSync
|
|
1345
1384
|
|
1346
1385
|
# Returns metadata about a self-managed object storage server location.
|
1347
1386
|
# For more information about self-managed object storage locations, see
|
1348
|
-
#
|
1387
|
+
# [Creating a location for object storage][1].
|
1388
|
+
#
|
1389
|
+
#
|
1390
|
+
#
|
1391
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
|
1349
1392
|
#
|
1350
1393
|
# @option params [required, String] :location_arn
|
1351
1394
|
# The Amazon Resource Name (ARN) of the self-managed object storage
|
@@ -1525,6 +1568,7 @@ module Aws::DataSync
|
|
1525
1568
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1526
1569
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1527
1570
|
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1571
|
+
# resp.options.security_descriptor_copy_flags #=> String, one of "NONE", "OWNER_DACL", "OWNER_DACL_SACL"
|
1528
1572
|
# resp.excludes #=> Array
|
1529
1573
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1530
1574
|
# resp.excludes[0].value #=> String
|
@@ -1585,6 +1629,7 @@ module Aws::DataSync
|
|
1585
1629
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1586
1630
|
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1587
1631
|
# resp.options.transfer_mode #=> String, one of "CHANGED", "ALL"
|
1632
|
+
# resp.options.security_descriptor_copy_flags #=> String, one of "NONE", "OWNER_DACL", "OWNER_DACL_SACL"
|
1588
1633
|
# resp.excludes #=> Array
|
1589
1634
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1590
1635
|
# resp.excludes[0].value #=> String
|
@@ -1879,15 +1924,19 @@ module Aws::DataSync
|
|
1879
1924
|
#
|
1880
1925
|
# @option params [Types::Options] :override_options
|
1881
1926
|
# Represents the options that are available to control the behavior of a
|
1882
|
-
# StartTaskExecution operation. Behavior includes preserving
|
1883
|
-
# such as user ID (UID), group ID (GID), and file permissions,
|
1884
|
-
# overwriting files in the destination, data integrity
|
1885
|
-
# so on.
|
1927
|
+
# [StartTaskExecution][1] operation. Behavior includes preserving
|
1928
|
+
# metadata such as user ID (UID), group ID (GID), and file permissions,
|
1929
|
+
# and also overwriting files in the destination, data integrity
|
1930
|
+
# verification, and so on.
|
1886
1931
|
#
|
1887
1932
|
# A task has a set of default options associated with it. If you don't
|
1888
|
-
# specify an option in StartTaskExecution, the default value is
|
1889
|
-
# You can override the defaults options on each task execution by
|
1890
|
-
# specifying an overriding `Options` value to StartTaskExecution.
|
1933
|
+
# specify an option in [StartTaskExecution][1], the default value is
|
1934
|
+
# used. You can override the defaults options on each task execution by
|
1935
|
+
# specifying an overriding `Options` value to [StartTaskExecution][1].
|
1936
|
+
#
|
1937
|
+
#
|
1938
|
+
#
|
1939
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html
|
1891
1940
|
#
|
1892
1941
|
# @option params [Array<Types::FilterRule>] :includes
|
1893
1942
|
# A list of filter rules that determines which files to include when
|
@@ -1917,6 +1966,7 @@ module Aws::DataSync
|
|
1917
1966
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1918
1967
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1919
1968
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
1969
|
+
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
1920
1970
|
# },
|
1921
1971
|
# includes: [
|
1922
1972
|
# {
|
@@ -2022,6 +2072,229 @@ module Aws::DataSync
|
|
2022
2072
|
req.send_request(options)
|
2023
2073
|
end
|
2024
2074
|
|
2075
|
+
# Updates some of the parameters of a previously created location for
|
2076
|
+
# Network File System (NFS) access. For information about creating an
|
2077
|
+
# NFS location, see [Creating a location for NFS][1].
|
2078
|
+
#
|
2079
|
+
#
|
2080
|
+
#
|
2081
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html
|
2082
|
+
#
|
2083
|
+
# @option params [required, String] :location_arn
|
2084
|
+
# The Amazon Resource Name (ARN) of the NFS location to update.
|
2085
|
+
#
|
2086
|
+
# @option params [String] :subdirectory
|
2087
|
+
# The subdirectory in the NFS file system that is used to read data from
|
2088
|
+
# the NFS source location or write data to the NFS destination. The NFS
|
2089
|
+
# path should be a path that's exported by the NFS server, or a
|
2090
|
+
# subdirectory of that path. The path should be such that it can be
|
2091
|
+
# mounted by other NFS clients in your network.
|
2092
|
+
#
|
2093
|
+
# To see all the paths exported by your NFS server, run "`showmount -e
|
2094
|
+
# nfs-server-name`" from an NFS client that has access to your server.
|
2095
|
+
# You can specify any directory that appears in the results, and any
|
2096
|
+
# subdirectory of that directory. Ensure that the NFS export is
|
2097
|
+
# accessible without Kerberos authentication.
|
2098
|
+
#
|
2099
|
+
# To transfer all the data in the folder that you specified, DataSync
|
2100
|
+
# must have permissions to read all the data. To ensure this, either
|
2101
|
+
# configure the NFS export with `no_root_squash`, or ensure that the
|
2102
|
+
# files you want DataSync to access have permissions that allow read
|
2103
|
+
# access for all users. Doing either option enables the agent to read
|
2104
|
+
# the files. For the agent to access directories, you must additionally
|
2105
|
+
# enable all execute access.
|
2106
|
+
#
|
2107
|
+
# If you are copying data to or from your AWS Snowcone device, see [NFS
|
2108
|
+
# Server on AWS Snowcone][1] for more information.
|
2109
|
+
#
|
2110
|
+
# For information about NFS export configuration, see 18.7. The
|
2111
|
+
# /etc/exports Configuration File in the Red Hat Enterprise Linux
|
2112
|
+
# documentation.
|
2113
|
+
#
|
2114
|
+
#
|
2115
|
+
#
|
2116
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
|
2117
|
+
#
|
2118
|
+
# @option params [Types::OnPremConfig] :on_prem_config
|
2119
|
+
# A list of Amazon Resource Names (ARNs) of agents to use for a Network
|
2120
|
+
# File System (NFS) location.
|
2121
|
+
#
|
2122
|
+
# @option params [Types::NfsMountOptions] :mount_options
|
2123
|
+
# Represents the mount options that are available for DataSync to access
|
2124
|
+
# an NFS location.
|
2125
|
+
#
|
2126
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2127
|
+
#
|
2128
|
+
# @example Request syntax with placeholder values
|
2129
|
+
#
|
2130
|
+
# resp = client.update_location_nfs({
|
2131
|
+
# location_arn: "LocationArn", # required
|
2132
|
+
# subdirectory: "NfsSubdirectory",
|
2133
|
+
# on_prem_config: {
|
2134
|
+
# agent_arns: ["AgentArn"], # required
|
2135
|
+
# },
|
2136
|
+
# mount_options: {
|
2137
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
|
2138
|
+
# },
|
2139
|
+
# })
|
2140
|
+
#
|
2141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfs AWS API Documentation
|
2142
|
+
#
|
2143
|
+
# @overload update_location_nfs(params = {})
|
2144
|
+
# @param [Hash] params ({})
|
2145
|
+
def update_location_nfs(params = {}, options = {})
|
2146
|
+
req = build_request(:update_location_nfs, params)
|
2147
|
+
req.send_request(options)
|
2148
|
+
end
|
2149
|
+
|
2150
|
+
# Updates some of the parameters of a previously created location for
|
2151
|
+
# self-managed object storage server access. For information about
|
2152
|
+
# creating a self-managed object storage location, see [Creating a
|
2153
|
+
# location for object storage][1].
|
2154
|
+
#
|
2155
|
+
#
|
2156
|
+
#
|
2157
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html
|
2158
|
+
#
|
2159
|
+
# @option params [required, String] :location_arn
|
2160
|
+
# The Amazon Resource Name (ARN) of the self-managed object storage
|
2161
|
+
# server location to be updated.
|
2162
|
+
#
|
2163
|
+
# @option params [Integer] :server_port
|
2164
|
+
# The port that your self-managed object storage server accepts inbound
|
2165
|
+
# network traffic on. The server port is set by default to TCP 80 (HTTP)
|
2166
|
+
# or TCP 443 (HTTPS). You can specify a custom port if your self-managed
|
2167
|
+
# object storage server requires one.
|
2168
|
+
#
|
2169
|
+
# @option params [String] :server_protocol
|
2170
|
+
# The protocol that the object storage server uses to communicate. Valid
|
2171
|
+
# values are `HTTP` or `HTTPS`.
|
2172
|
+
#
|
2173
|
+
# @option params [String] :subdirectory
|
2174
|
+
# The subdirectory in the self-managed object storage server that is
|
2175
|
+
# used to read data from.
|
2176
|
+
#
|
2177
|
+
# @option params [String] :access_key
|
2178
|
+
# Optional. The access key is used if credentials are required to access
|
2179
|
+
# the self-managed object storage server. If your object storage
|
2180
|
+
# requires a user name and password to authenticate, use `AccessKey` and
|
2181
|
+
# `SecretKey` to provide the user name and password, respectively.
|
2182
|
+
#
|
2183
|
+
# @option params [String] :secret_key
|
2184
|
+
# Optional. The secret key is used if credentials are required to access
|
2185
|
+
# the self-managed object storage server. If your object storage
|
2186
|
+
# requires a user name and password to authenticate, use `AccessKey` and
|
2187
|
+
# `SecretKey` to provide the user name and password, respectively.
|
2188
|
+
#
|
2189
|
+
# @option params [Array<String>] :agent_arns
|
2190
|
+
# The Amazon Resource Name (ARN) of the agents associated with the
|
2191
|
+
# self-managed object storage server location.
|
2192
|
+
#
|
2193
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2194
|
+
#
|
2195
|
+
# @example Request syntax with placeholder values
|
2196
|
+
#
|
2197
|
+
# resp = client.update_location_object_storage({
|
2198
|
+
# location_arn: "LocationArn", # required
|
2199
|
+
# server_port: 1,
|
2200
|
+
# server_protocol: "HTTPS", # accepts HTTPS, HTTP
|
2201
|
+
# subdirectory: "S3Subdirectory",
|
2202
|
+
# access_key: "ObjectStorageAccessKey",
|
2203
|
+
# secret_key: "ObjectStorageSecretKey",
|
2204
|
+
# agent_arns: ["AgentArn"],
|
2205
|
+
# })
|
2206
|
+
#
|
2207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorage AWS API Documentation
|
2208
|
+
#
|
2209
|
+
# @overload update_location_object_storage(params = {})
|
2210
|
+
# @param [Hash] params ({})
|
2211
|
+
def update_location_object_storage(params = {}, options = {})
|
2212
|
+
req = build_request(:update_location_object_storage, params)
|
2213
|
+
req.send_request(options)
|
2214
|
+
end
|
2215
|
+
|
2216
|
+
# Updates some of the parameters of a previously created location for
|
2217
|
+
# Server Message Block (SMB) file system access. For information about
|
2218
|
+
# creating an SMB location, see [Creating a location for SMB][1].
|
2219
|
+
#
|
2220
|
+
#
|
2221
|
+
#
|
2222
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html
|
2223
|
+
#
|
2224
|
+
# @option params [required, String] :location_arn
|
2225
|
+
# The Amazon Resource Name (ARN) of the SMB location to update.
|
2226
|
+
#
|
2227
|
+
# @option params [String] :subdirectory
|
2228
|
+
# The subdirectory in the SMB file system that is used to read data from
|
2229
|
+
# the SMB source location or write data to the SMB destination. The SMB
|
2230
|
+
# path should be a path that's exported by the SMB server, or a
|
2231
|
+
# subdirectory of that path. The path should be such that it can be
|
2232
|
+
# mounted by other SMB clients in your network.
|
2233
|
+
#
|
2234
|
+
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
2235
|
+
# `/path/to/folder`.
|
2236
|
+
#
|
2237
|
+
# </note>
|
2238
|
+
#
|
2239
|
+
# To transfer all the data in the folder that you specified, DataSync
|
2240
|
+
# must have permissions to mount the SMB share and to access all the
|
2241
|
+
# data in that share. To ensure this, do either of the following:
|
2242
|
+
#
|
2243
|
+
# * Ensure that the user/password specified belongs to the user who can
|
2244
|
+
# mount the share and who has the appropriate permissions for all of
|
2245
|
+
# the files and directories that you want DataSync to access.
|
2246
|
+
#
|
2247
|
+
# * Use credentials of a member of the Backup Operators group to mount
|
2248
|
+
# the share.
|
2249
|
+
#
|
2250
|
+
# Doing either of these options enables the agent to access the data.
|
2251
|
+
# For the agent to access directories, you must also enable all execute
|
2252
|
+
# access.
|
2253
|
+
#
|
2254
|
+
# @option params [String] :user
|
2255
|
+
# The user who can mount the share has the permissions to access files
|
2256
|
+
# and folders in the SMB share.
|
2257
|
+
#
|
2258
|
+
# @option params [String] :domain
|
2259
|
+
# The name of the Windows domain that the SMB server belongs to.
|
2260
|
+
#
|
2261
|
+
# @option params [String] :password
|
2262
|
+
# The password of the user who can mount the share has the permissions
|
2263
|
+
# to access files and folders in the SMB share.
|
2264
|
+
#
|
2265
|
+
# @option params [Array<String>] :agent_arns
|
2266
|
+
# The Amazon Resource Names (ARNs) of agents to use for a Simple Message
|
2267
|
+
# Block (SMB) location.
|
2268
|
+
#
|
2269
|
+
# @option params [Types::SmbMountOptions] :mount_options
|
2270
|
+
# Represents the mount options that are available for DataSync to access
|
2271
|
+
# an SMB location.
|
2272
|
+
#
|
2273
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2274
|
+
#
|
2275
|
+
# @example Request syntax with placeholder values
|
2276
|
+
#
|
2277
|
+
# resp = client.update_location_smb({
|
2278
|
+
# location_arn: "LocationArn", # required
|
2279
|
+
# subdirectory: "SmbSubdirectory",
|
2280
|
+
# user: "SmbUser",
|
2281
|
+
# domain: "SmbDomain",
|
2282
|
+
# password: "SmbPassword",
|
2283
|
+
# agent_arns: ["AgentArn"],
|
2284
|
+
# mount_options: {
|
2285
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
2286
|
+
# },
|
2287
|
+
# })
|
2288
|
+
#
|
2289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb AWS API Documentation
|
2290
|
+
#
|
2291
|
+
# @overload update_location_smb(params = {})
|
2292
|
+
# @param [Hash] params ({})
|
2293
|
+
def update_location_smb(params = {}, options = {})
|
2294
|
+
req = build_request(:update_location_smb, params)
|
2295
|
+
req.send_request(options)
|
2296
|
+
end
|
2297
|
+
|
2025
2298
|
# Updates the metadata associated with a task.
|
2026
2299
|
#
|
2027
2300
|
# @option params [required, String] :task_arn
|
@@ -2030,15 +2303,19 @@ module Aws::DataSync
|
|
2030
2303
|
#
|
2031
2304
|
# @option params [Types::Options] :options
|
2032
2305
|
# Represents the options that are available to control the behavior of a
|
2033
|
-
# StartTaskExecution operation. Behavior includes preserving
|
2034
|
-
# such as user ID (UID), group ID (GID), and file permissions,
|
2035
|
-
# overwriting files in the destination, data integrity
|
2036
|
-
# so on.
|
2306
|
+
# [StartTaskExecution][1] operation. Behavior includes preserving
|
2307
|
+
# metadata such as user ID (UID), group ID (GID), and file permissions,
|
2308
|
+
# and also overwriting files in the destination, data integrity
|
2309
|
+
# verification, and so on.
|
2037
2310
|
#
|
2038
2311
|
# A task has a set of default options associated with it. If you don't
|
2039
|
-
# specify an option in StartTaskExecution, the default value is
|
2040
|
-
# You can override the defaults options on each task execution by
|
2041
|
-
# specifying an overriding `Options` value to StartTaskExecution.
|
2312
|
+
# specify an option in [StartTaskExecution][1], the default value is
|
2313
|
+
# used. You can override the defaults options on each task execution by
|
2314
|
+
# specifying an overriding `Options` value to [StartTaskExecution][1].
|
2315
|
+
#
|
2316
|
+
#
|
2317
|
+
#
|
2318
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html
|
2042
2319
|
#
|
2043
2320
|
# @option params [Array<Types::FilterRule>] :excludes
|
2044
2321
|
# A list of filter rules that determines which files to exclude from a
|
@@ -2051,7 +2328,12 @@ module Aws::DataSync
|
|
2051
2328
|
# to a destination location. You can configure your task to execute
|
2052
2329
|
# hourly, daily, weekly or on specific days of the week. You control
|
2053
2330
|
# when in the day or hour you want the task to execute. The time you
|
2054
|
-
# specify is UTC time. For more information, see
|
2331
|
+
# specify is UTC time. For more information, see [Scheduling your
|
2332
|
+
# task][1].
|
2333
|
+
#
|
2334
|
+
#
|
2335
|
+
#
|
2336
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html
|
2055
2337
|
#
|
2056
2338
|
# @option params [String] :name
|
2057
2339
|
# The name of the task to update.
|
@@ -2080,6 +2362,7 @@ module Aws::DataSync
|
|
2080
2362
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2081
2363
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2082
2364
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2365
|
+
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
2083
2366
|
# },
|
2084
2367
|
# excludes: [
|
2085
2368
|
# {
|
@@ -2116,7 +2399,7 @@ module Aws::DataSync
|
|
2116
2399
|
#
|
2117
2400
|
#
|
2118
2401
|
#
|
2119
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/working-with-task-executions.html#adjust-bandwidth-throttling
|
2402
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#adjust-bandwidth-throttling
|
2120
2403
|
#
|
2121
2404
|
# @option params [required, String] :task_execution_arn
|
2122
2405
|
# The Amazon Resource Name (ARN) of the specific task execution that is
|
@@ -2124,15 +2407,19 @@ module Aws::DataSync
|
|
2124
2407
|
#
|
2125
2408
|
# @option params [required, Types::Options] :options
|
2126
2409
|
# Represents the options that are available to control the behavior of a
|
2127
|
-
# StartTaskExecution operation. Behavior includes preserving
|
2128
|
-
# such as user ID (UID), group ID (GID), and file permissions,
|
2129
|
-
# overwriting files in the destination, data integrity
|
2130
|
-
# so on.
|
2410
|
+
# [StartTaskExecution][1] operation. Behavior includes preserving
|
2411
|
+
# metadata such as user ID (UID), group ID (GID), and file permissions,
|
2412
|
+
# and also overwriting files in the destination, data integrity
|
2413
|
+
# verification, and so on.
|
2131
2414
|
#
|
2132
2415
|
# A task has a set of default options associated with it. If you don't
|
2133
|
-
# specify an option in StartTaskExecution, the default value is
|
2134
|
-
# You can override the defaults options on each task execution by
|
2135
|
-
# specifying an overriding `Options` value to StartTaskExecution.
|
2416
|
+
# specify an option in [StartTaskExecution][1], the default value is
|
2417
|
+
# used. You can override the defaults options on each task execution by
|
2418
|
+
# specifying an overriding `Options` value to [StartTaskExecution][1].
|
2419
|
+
#
|
2420
|
+
#
|
2421
|
+
#
|
2422
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html
|
2136
2423
|
#
|
2137
2424
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2138
2425
|
#
|
@@ -2154,6 +2441,7 @@ module Aws::DataSync
|
|
2154
2441
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2155
2442
|
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2156
2443
|
# transfer_mode: "CHANGED", # accepts CHANGED, ALL
|
2444
|
+
# security_descriptor_copy_flags: "NONE", # accepts NONE, OWNER_DACL, OWNER_DACL_SACL
|
2157
2445
|
# },
|
2158
2446
|
# })
|
2159
2447
|
#
|
@@ -2179,7 +2467,7 @@ module Aws::DataSync
|
|
2179
2467
|
params: params,
|
2180
2468
|
config: config)
|
2181
2469
|
context[:gem_name] = 'aws-sdk-datasync'
|
2182
|
-
context[:gem_version] = '1.
|
2470
|
+
context[:gem_version] = '1.33.0'
|
2183
2471
|
Seahorse::Client::Request.new(handlers, context)
|
2184
2472
|
end
|
2185
2473
|
|