aws-sdk-datasync 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-datasync.rb +1 -1
- data/lib/aws-sdk-datasync/client.rb +118 -5
- data/lib/aws-sdk-datasync/client_api.rb +59 -6
- data/lib/aws-sdk-datasync/types.rb +158 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a315577d0838421e2c52e648ecf52fd2de08892c
|
4
|
+
data.tar.gz: 8dea2068172616bfae72d3db23c33b2afec1392f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dec5e92a3e0dbe62bf54135f0137160ffae25e997fcc2c33928a85f93b9ddccd6bd36d6e8de3453ad4bbaa94d2720b9de48281b77649e1d6764c104f6ce349e9
|
7
|
+
data.tar.gz: 5ca528c92a064191586da0c299c79f64184466519423a6b2aa0691194aac88e5d85c2fe83e88e8dc7e15157c8ad7d1cad14fe72d0a4a9486e3d1c814ae24bf8d
|
data/lib/aws-sdk-datasync.rb
CHANGED
@@ -457,7 +457,7 @@ module Aws::DataSync
|
|
457
457
|
# @example Request syntax with placeholder values
|
458
458
|
#
|
459
459
|
# resp = client.create_location_efs({
|
460
|
-
# subdirectory: "
|
460
|
+
# subdirectory: "EfsSubdirectory",
|
461
461
|
# efs_filesystem_arn: "EfsFilesystemArn", # required
|
462
462
|
# ec2_config: { # required
|
463
463
|
# subnet_arn: "Ec2SubnetArn", # required
|
@@ -484,6 +484,73 @@ module Aws::DataSync
|
|
484
484
|
req.send_request(options)
|
485
485
|
end
|
486
486
|
|
487
|
+
# Creates an endpoint for an Amazon FSx for Windows file system.
|
488
|
+
#
|
489
|
+
# @option params [String] :subdirectory
|
490
|
+
# A subdirectory in the location’s path. This subdirectory in the Amazon
|
491
|
+
# FSx for Windows file system is used to read data from the Amazon FSx
|
492
|
+
# for Windows source location or write data to the FSx for Windows
|
493
|
+
# destination.
|
494
|
+
#
|
495
|
+
# @option params [required, String] :fsx_filesystem_arn
|
496
|
+
# The Amazon Resource Name (ARN) for the FSx for Windows file system.
|
497
|
+
#
|
498
|
+
# @option params [required, Array<String>] :security_group_arns
|
499
|
+
# The Amazon Resource Names (ARNs) of the security groups that are to
|
500
|
+
# use to configure the FSx for Windows file system.
|
501
|
+
#
|
502
|
+
# @option params [Array<Types::TagListEntry>] :tags
|
503
|
+
# The key-value pair that represents a tag that you want to add to the
|
504
|
+
# resource. The value can be an empty string. This value helps you
|
505
|
+
# manage, filter, and search for your resources. We recommend that you
|
506
|
+
# create a name tag for your location.
|
507
|
+
#
|
508
|
+
# @option params [required, String] :user
|
509
|
+
# The user who has the permissions to access files and folders in the
|
510
|
+
# FSx for Windows file system.
|
511
|
+
#
|
512
|
+
# @option params [String] :domain
|
513
|
+
# The name of the Windows domain that the FSx for Windows server belongs
|
514
|
+
# to.
|
515
|
+
#
|
516
|
+
# @option params [required, String] :password
|
517
|
+
# The password of the user who has the permissions to access files and
|
518
|
+
# folders in the FSx for Windows file system.
|
519
|
+
#
|
520
|
+
# @return [Types::CreateLocationFsxWindowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
521
|
+
#
|
522
|
+
# * {Types::CreateLocationFsxWindowsResponse#location_arn #location_arn} => String
|
523
|
+
#
|
524
|
+
# @example Request syntax with placeholder values
|
525
|
+
#
|
526
|
+
# resp = client.create_location_fsx_windows({
|
527
|
+
# subdirectory: "FsxWindowsSubdirectory",
|
528
|
+
# fsx_filesystem_arn: "FsxFilesystemArn", # required
|
529
|
+
# security_group_arns: ["Ec2SecurityGroupArn"], # required
|
530
|
+
# tags: [
|
531
|
+
# {
|
532
|
+
# key: "TagKey", # required
|
533
|
+
# value: "TagValue",
|
534
|
+
# },
|
535
|
+
# ],
|
536
|
+
# user: "SmbUser", # required
|
537
|
+
# domain: "SmbDomain",
|
538
|
+
# password: "SmbPassword", # required
|
539
|
+
# })
|
540
|
+
#
|
541
|
+
# @example Response structure
|
542
|
+
#
|
543
|
+
# resp.location_arn #=> String
|
544
|
+
#
|
545
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindows AWS API Documentation
|
546
|
+
#
|
547
|
+
# @overload create_location_fsx_windows(params = {})
|
548
|
+
# @param [Hash] params ({})
|
549
|
+
def create_location_fsx_windows(params = {}, options = {})
|
550
|
+
req = build_request(:create_location_fsx_windows, params)
|
551
|
+
req.send_request(options)
|
552
|
+
end
|
553
|
+
|
487
554
|
# Defines a file system on a Network File System (NFS) server that can
|
488
555
|
# be read from or written to
|
489
556
|
#
|
@@ -541,7 +608,7 @@ module Aws::DataSync
|
|
541
608
|
# @example Request syntax with placeholder values
|
542
609
|
#
|
543
610
|
# resp = client.create_location_nfs({
|
544
|
-
# subdirectory: "
|
611
|
+
# subdirectory: "NfsSubdirectory", # required
|
545
612
|
# server_hostname: "ServerHostname", # required
|
546
613
|
# on_prem_config: { # required
|
547
614
|
# agent_arns: ["AgentArn"], # required
|
@@ -622,7 +689,7 @@ module Aws::DataSync
|
|
622
689
|
# @example Request syntax with placeholder values
|
623
690
|
#
|
624
691
|
# resp = client.create_location_s3({
|
625
|
-
# subdirectory: "
|
692
|
+
# subdirectory: "S3Subdirectory",
|
626
693
|
# s3_bucket_arn: "S3BucketArn", # required
|
627
694
|
# s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
628
695
|
# s3_config: { # required
|
@@ -714,7 +781,7 @@ module Aws::DataSync
|
|
714
781
|
# @example Request syntax with placeholder values
|
715
782
|
#
|
716
783
|
# resp = client.create_location_smb({
|
717
|
-
# subdirectory: "
|
784
|
+
# subdirectory: "SmbSubdirectory", # required
|
718
785
|
# server_hostname: "ServerHostname", # required
|
719
786
|
# user: "SmbUser", # required
|
720
787
|
# domain: "SmbDomain",
|
@@ -832,6 +899,7 @@ module Aws::DataSync
|
|
832
899
|
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
833
900
|
# bytes_per_second: 1,
|
834
901
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
902
|
+
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
835
903
|
# },
|
836
904
|
# excludes: [
|
837
905
|
# {
|
@@ -1020,6 +1088,47 @@ module Aws::DataSync
|
|
1020
1088
|
req.send_request(options)
|
1021
1089
|
end
|
1022
1090
|
|
1091
|
+
# Returns metadata, such as the path information about an Amazon FSx for
|
1092
|
+
# Windows location.
|
1093
|
+
#
|
1094
|
+
# @option params [required, String] :location_arn
|
1095
|
+
# The Amazon Resource Name (ARN) of the FSx for Windows location to
|
1096
|
+
# describe.
|
1097
|
+
#
|
1098
|
+
# @return [Types::DescribeLocationFsxWindowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1099
|
+
#
|
1100
|
+
# * {Types::DescribeLocationFsxWindowsResponse#location_arn #location_arn} => String
|
1101
|
+
# * {Types::DescribeLocationFsxWindowsResponse#location_uri #location_uri} => String
|
1102
|
+
# * {Types::DescribeLocationFsxWindowsResponse#security_group_arns #security_group_arns} => Array<String>
|
1103
|
+
# * {Types::DescribeLocationFsxWindowsResponse#creation_time #creation_time} => Time
|
1104
|
+
# * {Types::DescribeLocationFsxWindowsResponse#user #user} => String
|
1105
|
+
# * {Types::DescribeLocationFsxWindowsResponse#domain #domain} => String
|
1106
|
+
#
|
1107
|
+
# @example Request syntax with placeholder values
|
1108
|
+
#
|
1109
|
+
# resp = client.describe_location_fsx_windows({
|
1110
|
+
# location_arn: "LocationArn", # required
|
1111
|
+
# })
|
1112
|
+
#
|
1113
|
+
# @example Response structure
|
1114
|
+
#
|
1115
|
+
# resp.location_arn #=> String
|
1116
|
+
# resp.location_uri #=> String
|
1117
|
+
# resp.security_group_arns #=> Array
|
1118
|
+
# resp.security_group_arns[0] #=> String
|
1119
|
+
# resp.creation_time #=> Time
|
1120
|
+
# resp.user #=> String
|
1121
|
+
# resp.domain #=> String
|
1122
|
+
#
|
1123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxWindows AWS API Documentation
|
1124
|
+
#
|
1125
|
+
# @overload describe_location_fsx_windows(params = {})
|
1126
|
+
# @param [Hash] params ({})
|
1127
|
+
def describe_location_fsx_windows(params = {}, options = {})
|
1128
|
+
req = build_request(:describe_location_fsx_windows, params)
|
1129
|
+
req.send_request(options)
|
1130
|
+
end
|
1131
|
+
|
1023
1132
|
# Returns metadata, such as the path information, about a NFS location.
|
1024
1133
|
#
|
1025
1134
|
# @option params [required, String] :location_arn
|
@@ -1190,6 +1299,7 @@ module Aws::DataSync
|
|
1190
1299
|
# resp.options.posix_permissions #=> String, one of "NONE", "PRESERVE"
|
1191
1300
|
# resp.options.bytes_per_second #=> Integer
|
1192
1301
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1302
|
+
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1193
1303
|
# resp.excludes #=> Array
|
1194
1304
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1195
1305
|
# resp.excludes[0].value #=> String
|
@@ -1248,6 +1358,7 @@ module Aws::DataSync
|
|
1248
1358
|
# resp.options.posix_permissions #=> String, one of "NONE", "PRESERVE"
|
1249
1359
|
# resp.options.bytes_per_second #=> Integer
|
1250
1360
|
# resp.options.task_queueing #=> String, one of "ENABLED", "DISABLED"
|
1361
|
+
# resp.options.log_level #=> String, one of "OFF", "BASIC", "TRANSFER"
|
1251
1362
|
# resp.excludes #=> Array
|
1252
1363
|
# resp.excludes[0].filter_type #=> String, one of "SIMPLE_PATTERN"
|
1253
1364
|
# resp.excludes[0].value #=> String
|
@@ -1542,6 +1653,7 @@ module Aws::DataSync
|
|
1542
1653
|
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
1543
1654
|
# bytes_per_second: 1,
|
1544
1655
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1656
|
+
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1545
1657
|
# },
|
1546
1658
|
# includes: [
|
1547
1659
|
# {
|
@@ -1703,6 +1815,7 @@ module Aws::DataSync
|
|
1703
1815
|
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
1704
1816
|
# bytes_per_second: 1,
|
1705
1817
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1818
|
+
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1706
1819
|
# },
|
1707
1820
|
# excludes: [
|
1708
1821
|
# {
|
@@ -1739,7 +1852,7 @@ module Aws::DataSync
|
|
1739
1852
|
params: params,
|
1740
1853
|
config: config)
|
1741
1854
|
context[:gem_name] = 'aws-sdk-datasync'
|
1742
|
-
context[:gem_version] = '1.
|
1855
|
+
context[:gem_version] = '1.17.0'
|
1743
1856
|
Seahorse::Client::Request.new(handlers, context)
|
1744
1857
|
end
|
1745
1858
|
|
@@ -25,6 +25,8 @@ module Aws::DataSync
|
|
25
25
|
CreateAgentResponse = Shapes::StructureShape.new(name: 'CreateAgentResponse')
|
26
26
|
CreateLocationEfsRequest = Shapes::StructureShape.new(name: 'CreateLocationEfsRequest')
|
27
27
|
CreateLocationEfsResponse = Shapes::StructureShape.new(name: 'CreateLocationEfsResponse')
|
28
|
+
CreateLocationFsxWindowsRequest = Shapes::StructureShape.new(name: 'CreateLocationFsxWindowsRequest')
|
29
|
+
CreateLocationFsxWindowsResponse = Shapes::StructureShape.new(name: 'CreateLocationFsxWindowsResponse')
|
28
30
|
CreateLocationNfsRequest = Shapes::StructureShape.new(name: 'CreateLocationNfsRequest')
|
29
31
|
CreateLocationNfsResponse = Shapes::StructureShape.new(name: 'CreateLocationNfsResponse')
|
30
32
|
CreateLocationS3Request = Shapes::StructureShape.new(name: 'CreateLocationS3Request')
|
@@ -43,6 +45,8 @@ module Aws::DataSync
|
|
43
45
|
DescribeAgentResponse = Shapes::StructureShape.new(name: 'DescribeAgentResponse')
|
44
46
|
DescribeLocationEfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationEfsRequest')
|
45
47
|
DescribeLocationEfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationEfsResponse')
|
48
|
+
DescribeLocationFsxWindowsRequest = Shapes::StructureShape.new(name: 'DescribeLocationFsxWindowsRequest')
|
49
|
+
DescribeLocationFsxWindowsResponse = Shapes::StructureShape.new(name: 'DescribeLocationFsxWindowsResponse')
|
46
50
|
DescribeLocationNfsRequest = Shapes::StructureShape.new(name: 'DescribeLocationNfsRequest')
|
47
51
|
DescribeLocationNfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationNfsResponse')
|
48
52
|
DescribeLocationS3Request = Shapes::StructureShape.new(name: 'DescribeLocationS3Request')
|
@@ -60,12 +64,15 @@ module Aws::DataSync
|
|
60
64
|
Ec2SecurityGroupArnList = Shapes::ListShape.new(name: 'Ec2SecurityGroupArnList')
|
61
65
|
Ec2SubnetArn = Shapes::StringShape.new(name: 'Ec2SubnetArn')
|
62
66
|
EfsFilesystemArn = Shapes::StringShape.new(name: 'EfsFilesystemArn')
|
67
|
+
EfsSubdirectory = Shapes::StringShape.new(name: 'EfsSubdirectory')
|
63
68
|
Endpoint = Shapes::StringShape.new(name: 'Endpoint')
|
64
69
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
65
70
|
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
66
71
|
FilterRule = Shapes::StructureShape.new(name: 'FilterRule')
|
67
72
|
FilterType = Shapes::StringShape.new(name: 'FilterType')
|
68
73
|
FilterValue = Shapes::StringShape.new(name: 'FilterValue')
|
74
|
+
FsxFilesystemArn = Shapes::StringShape.new(name: 'FsxFilesystemArn')
|
75
|
+
FsxWindowsSubdirectory = Shapes::StringShape.new(name: 'FsxWindowsSubdirectory')
|
69
76
|
Gid = Shapes::StringShape.new(name: 'Gid')
|
70
77
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
71
78
|
InternalException = Shapes::StructureShape.new(name: 'InternalException')
|
@@ -85,13 +92,14 @@ module Aws::DataSync
|
|
85
92
|
LocationListEntry = Shapes::StructureShape.new(name: 'LocationListEntry')
|
86
93
|
LocationUri = Shapes::StringShape.new(name: 'LocationUri')
|
87
94
|
LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
|
95
|
+
LogLevel = Shapes::StringShape.new(name: 'LogLevel')
|
88
96
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
89
97
|
Mtime = Shapes::StringShape.new(name: 'Mtime')
|
90
98
|
NetworkInterfaceArn = Shapes::StringShape.new(name: 'NetworkInterfaceArn')
|
91
99
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
92
100
|
NfsMountOptions = Shapes::StructureShape.new(name: 'NfsMountOptions')
|
101
|
+
NfsSubdirectory = Shapes::StringShape.new(name: 'NfsSubdirectory')
|
93
102
|
NfsVersion = Shapes::StringShape.new(name: 'NfsVersion')
|
94
|
-
NonEmptySubdirectory = Shapes::StringShape.new(name: 'NonEmptySubdirectory')
|
95
103
|
OnPremConfig = Shapes::StructureShape.new(name: 'OnPremConfig')
|
96
104
|
Options = Shapes::StructureShape.new(name: 'Options')
|
97
105
|
OverwriteMode = Shapes::StringShape.new(name: 'OverwriteMode')
|
@@ -105,17 +113,18 @@ module Aws::DataSync
|
|
105
113
|
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
106
114
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
107
115
|
S3StorageClass = Shapes::StringShape.new(name: 'S3StorageClass')
|
116
|
+
S3Subdirectory = Shapes::StringShape.new(name: 'S3Subdirectory')
|
108
117
|
ScheduleExpressionCron = Shapes::StringShape.new(name: 'ScheduleExpressionCron')
|
109
118
|
ServerHostname = Shapes::StringShape.new(name: 'ServerHostname')
|
110
119
|
SmbDomain = Shapes::StringShape.new(name: 'SmbDomain')
|
111
120
|
SmbMountOptions = Shapes::StructureShape.new(name: 'SmbMountOptions')
|
112
121
|
SmbPassword = Shapes::StringShape.new(name: 'SmbPassword')
|
122
|
+
SmbSubdirectory = Shapes::StringShape.new(name: 'SmbSubdirectory')
|
113
123
|
SmbUser = Shapes::StringShape.new(name: 'SmbUser')
|
114
124
|
SmbVersion = Shapes::StringShape.new(name: 'SmbVersion')
|
115
125
|
SourceNetworkInterfaceArns = Shapes::ListShape.new(name: 'SourceNetworkInterfaceArns')
|
116
126
|
StartTaskExecutionRequest = Shapes::StructureShape.new(name: 'StartTaskExecutionRequest')
|
117
127
|
StartTaskExecutionResponse = Shapes::StructureShape.new(name: 'StartTaskExecutionResponse')
|
118
|
-
Subdirectory = Shapes::StringShape.new(name: 'Subdirectory')
|
119
128
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
120
129
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
121
130
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
@@ -173,7 +182,7 @@ module Aws::DataSync
|
|
173
182
|
CreateAgentResponse.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, location_name: "AgentArn"))
|
174
183
|
CreateAgentResponse.struct_class = Types::CreateAgentResponse
|
175
184
|
|
176
|
-
CreateLocationEfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape:
|
185
|
+
CreateLocationEfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: EfsSubdirectory, location_name: "Subdirectory"))
|
177
186
|
CreateLocationEfsRequest.add_member(:efs_filesystem_arn, Shapes::ShapeRef.new(shape: EfsFilesystemArn, required: true, location_name: "EfsFilesystemArn"))
|
178
187
|
CreateLocationEfsRequest.add_member(:ec2_config, Shapes::ShapeRef.new(shape: Ec2Config, required: true, location_name: "Ec2Config"))
|
179
188
|
CreateLocationEfsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
@@ -182,7 +191,19 @@ module Aws::DataSync
|
|
182
191
|
CreateLocationEfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
183
192
|
CreateLocationEfsResponse.struct_class = Types::CreateLocationEfsResponse
|
184
193
|
|
185
|
-
|
194
|
+
CreateLocationFsxWindowsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: FsxWindowsSubdirectory, location_name: "Subdirectory"))
|
195
|
+
CreateLocationFsxWindowsRequest.add_member(:fsx_filesystem_arn, Shapes::ShapeRef.new(shape: FsxFilesystemArn, required: true, location_name: "FsxFilesystemArn"))
|
196
|
+
CreateLocationFsxWindowsRequest.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, required: true, location_name: "SecurityGroupArns"))
|
197
|
+
CreateLocationFsxWindowsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
198
|
+
CreateLocationFsxWindowsRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, required: true, location_name: "User"))
|
199
|
+
CreateLocationFsxWindowsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
200
|
+
CreateLocationFsxWindowsRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, required: true, location_name: "Password"))
|
201
|
+
CreateLocationFsxWindowsRequest.struct_class = Types::CreateLocationFsxWindowsRequest
|
202
|
+
|
203
|
+
CreateLocationFsxWindowsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
204
|
+
CreateLocationFsxWindowsResponse.struct_class = Types::CreateLocationFsxWindowsResponse
|
205
|
+
|
206
|
+
CreateLocationNfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: NfsSubdirectory, required: true, location_name: "Subdirectory"))
|
186
207
|
CreateLocationNfsRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
|
187
208
|
CreateLocationNfsRequest.add_member(:on_prem_config, Shapes::ShapeRef.new(shape: OnPremConfig, required: true, location_name: "OnPremConfig"))
|
188
209
|
CreateLocationNfsRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
|
@@ -192,7 +213,7 @@ module Aws::DataSync
|
|
192
213
|
CreateLocationNfsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
193
214
|
CreateLocationNfsResponse.struct_class = Types::CreateLocationNfsResponse
|
194
215
|
|
195
|
-
CreateLocationS3Request.add_member(:subdirectory, Shapes::ShapeRef.new(shape:
|
216
|
+
CreateLocationS3Request.add_member(:subdirectory, Shapes::ShapeRef.new(shape: S3Subdirectory, location_name: "Subdirectory"))
|
196
217
|
CreateLocationS3Request.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "S3BucketArn"))
|
197
218
|
CreateLocationS3Request.add_member(:s3_storage_class, Shapes::ShapeRef.new(shape: S3StorageClass, location_name: "S3StorageClass"))
|
198
219
|
CreateLocationS3Request.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, required: true, location_name: "S3Config"))
|
@@ -202,7 +223,7 @@ module Aws::DataSync
|
|
202
223
|
CreateLocationS3Response.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
203
224
|
CreateLocationS3Response.struct_class = Types::CreateLocationS3Response
|
204
225
|
|
205
|
-
CreateLocationSmbRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape:
|
226
|
+
CreateLocationSmbRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: SmbSubdirectory, required: true, location_name: "Subdirectory"))
|
206
227
|
CreateLocationSmbRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
|
207
228
|
CreateLocationSmbRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, required: true, location_name: "User"))
|
208
229
|
CreateLocationSmbRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
@@ -264,6 +285,17 @@ module Aws::DataSync
|
|
264
285
|
DescribeLocationEfsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
265
286
|
DescribeLocationEfsResponse.struct_class = Types::DescribeLocationEfsResponse
|
266
287
|
|
288
|
+
DescribeLocationFsxWindowsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
289
|
+
DescribeLocationFsxWindowsRequest.struct_class = Types::DescribeLocationFsxWindowsRequest
|
290
|
+
|
291
|
+
DescribeLocationFsxWindowsResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
292
|
+
DescribeLocationFsxWindowsResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
293
|
+
DescribeLocationFsxWindowsResponse.add_member(:security_group_arns, Shapes::ShapeRef.new(shape: Ec2SecurityGroupArnList, location_name: "SecurityGroupArns"))
|
294
|
+
DescribeLocationFsxWindowsResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
295
|
+
DescribeLocationFsxWindowsResponse.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, location_name: "User"))
|
296
|
+
DescribeLocationFsxWindowsResponse.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
297
|
+
DescribeLocationFsxWindowsResponse.struct_class = Types::DescribeLocationFsxWindowsResponse
|
298
|
+
|
267
299
|
DescribeLocationNfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
268
300
|
DescribeLocationNfsRequest.struct_class = Types::DescribeLocationNfsRequest
|
269
301
|
|
@@ -420,6 +452,7 @@ module Aws::DataSync
|
|
420
452
|
Options.add_member(:posix_permissions, Shapes::ShapeRef.new(shape: PosixPermissions, location_name: "PosixPermissions"))
|
421
453
|
Options.add_member(:bytes_per_second, Shapes::ShapeRef.new(shape: BytesPerSecond, location_name: "BytesPerSecond"))
|
422
454
|
Options.add_member(:task_queueing, Shapes::ShapeRef.new(shape: TaskQueueing, location_name: "TaskQueueing"))
|
455
|
+
Options.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "LogLevel"))
|
423
456
|
Options.struct_class = Types::Options
|
424
457
|
|
425
458
|
PLSecurityGroupArnList.member = Shapes::ShapeRef.new(shape: Ec2SecurityGroupArn)
|
@@ -561,6 +594,16 @@ module Aws::DataSync
|
|
561
594
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
562
595
|
end)
|
563
596
|
|
597
|
+
api.add_operation(:create_location_fsx_windows, Seahorse::Model::Operation.new.tap do |o|
|
598
|
+
o.name = "CreateLocationFsxWindows"
|
599
|
+
o.http_method = "POST"
|
600
|
+
o.http_request_uri = "/"
|
601
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationFsxWindowsRequest)
|
602
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationFsxWindowsResponse)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
605
|
+
end)
|
606
|
+
|
564
607
|
api.add_operation(:create_location_nfs, Seahorse::Model::Operation.new.tap do |o|
|
565
608
|
o.name = "CreateLocationNfs"
|
566
609
|
o.http_method = "POST"
|
@@ -651,6 +694,16 @@ module Aws::DataSync
|
|
651
694
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
652
695
|
end)
|
653
696
|
|
697
|
+
api.add_operation(:describe_location_fsx_windows, Seahorse::Model::Operation.new.tap do |o|
|
698
|
+
o.name = "DescribeLocationFsxWindows"
|
699
|
+
o.http_method = "POST"
|
700
|
+
o.http_request_uri = "/"
|
701
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationFsxWindowsRequest)
|
702
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationFsxWindowsResponse)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
705
|
+
end)
|
706
|
+
|
654
707
|
api.add_operation(:describe_location_nfs, Seahorse::Model::Operation.new.tap do |o|
|
655
708
|
o.name = "DescribeLocationNfs"
|
656
709
|
o.http_method = "POST"
|
@@ -173,7 +173,7 @@ module Aws::DataSync
|
|
173
173
|
# data as a hash:
|
174
174
|
#
|
175
175
|
# {
|
176
|
-
# subdirectory: "
|
176
|
+
# subdirectory: "EfsSubdirectory",
|
177
177
|
# efs_filesystem_arn: "EfsFilesystemArn", # required
|
178
178
|
# ec2_config: { # required
|
179
179
|
# subnet_arn: "Ec2SubnetArn", # required
|
@@ -259,13 +259,94 @@ module Aws::DataSync
|
|
259
259
|
include Aws::Structure
|
260
260
|
end
|
261
261
|
|
262
|
+
# @note When making an API call, you may pass CreateLocationFsxWindowsRequest
|
263
|
+
# data as a hash:
|
264
|
+
#
|
265
|
+
# {
|
266
|
+
# subdirectory: "FsxWindowsSubdirectory",
|
267
|
+
# fsx_filesystem_arn: "FsxFilesystemArn", # required
|
268
|
+
# security_group_arns: ["Ec2SecurityGroupArn"], # required
|
269
|
+
# tags: [
|
270
|
+
# {
|
271
|
+
# key: "TagKey", # required
|
272
|
+
# value: "TagValue",
|
273
|
+
# },
|
274
|
+
# ],
|
275
|
+
# user: "SmbUser", # required
|
276
|
+
# domain: "SmbDomain",
|
277
|
+
# password: "SmbPassword", # required
|
278
|
+
# }
|
279
|
+
#
|
280
|
+
# @!attribute [rw] subdirectory
|
281
|
+
# A subdirectory in the location’s path. This subdirectory in the
|
282
|
+
# Amazon FSx for Windows file system is used to read data from the
|
283
|
+
# Amazon FSx for Windows source location or write data to the FSx for
|
284
|
+
# Windows destination.
|
285
|
+
# @return [String]
|
286
|
+
#
|
287
|
+
# @!attribute [rw] fsx_filesystem_arn
|
288
|
+
# The Amazon Resource Name (ARN) for the FSx for Windows file system.
|
289
|
+
# @return [String]
|
290
|
+
#
|
291
|
+
# @!attribute [rw] security_group_arns
|
292
|
+
# The Amazon Resource Names (ARNs) of the security groups that are to
|
293
|
+
# use to configure the FSx for Windows file system.
|
294
|
+
# @return [Array<String>]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] tags
|
297
|
+
# The key-value pair that represents a tag that you want to add to the
|
298
|
+
# resource. The value can be an empty string. This value helps you
|
299
|
+
# manage, filter, and search for your resources. We recommend that you
|
300
|
+
# create a name tag for your location.
|
301
|
+
# @return [Array<Types::TagListEntry>]
|
302
|
+
#
|
303
|
+
# @!attribute [rw] user
|
304
|
+
# The user who has the permissions to access files and folders in the
|
305
|
+
# FSx for Windows file system.
|
306
|
+
# @return [String]
|
307
|
+
#
|
308
|
+
# @!attribute [rw] domain
|
309
|
+
# The name of the Windows domain that the FSx for Windows server
|
310
|
+
# belongs to.
|
311
|
+
# @return [String]
|
312
|
+
#
|
313
|
+
# @!attribute [rw] password
|
314
|
+
# The password of the user who has the permissions to access files and
|
315
|
+
# folders in the FSx for Windows file system.
|
316
|
+
# @return [String]
|
317
|
+
#
|
318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindowsRequest AWS API Documentation
|
319
|
+
#
|
320
|
+
class CreateLocationFsxWindowsRequest < Struct.new(
|
321
|
+
:subdirectory,
|
322
|
+
:fsx_filesystem_arn,
|
323
|
+
:security_group_arns,
|
324
|
+
:tags,
|
325
|
+
:user,
|
326
|
+
:domain,
|
327
|
+
:password)
|
328
|
+
include Aws::Structure
|
329
|
+
end
|
330
|
+
|
331
|
+
# @!attribute [rw] location_arn
|
332
|
+
# The Amazon Resource Name (ARN) of the FSx for Windows file system
|
333
|
+
# location that is created.
|
334
|
+
# @return [String]
|
335
|
+
#
|
336
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindowsResponse AWS API Documentation
|
337
|
+
#
|
338
|
+
class CreateLocationFsxWindowsResponse < Struct.new(
|
339
|
+
:location_arn)
|
340
|
+
include Aws::Structure
|
341
|
+
end
|
342
|
+
|
262
343
|
# CreateLocationNfsRequest
|
263
344
|
#
|
264
345
|
# @note When making an API call, you may pass CreateLocationNfsRequest
|
265
346
|
# data as a hash:
|
266
347
|
#
|
267
348
|
# {
|
268
|
-
# subdirectory: "
|
349
|
+
# subdirectory: "NfsSubdirectory", # required
|
269
350
|
# server_hostname: "ServerHostname", # required
|
270
351
|
# on_prem_config: { # required
|
271
352
|
# agent_arns: ["AgentArn"], # required
|
@@ -365,7 +446,7 @@ module Aws::DataSync
|
|
365
446
|
# data as a hash:
|
366
447
|
#
|
367
448
|
# {
|
368
|
-
# subdirectory: "
|
449
|
+
# subdirectory: "S3Subdirectory",
|
369
450
|
# s3_bucket_arn: "S3BucketArn", # required
|
370
451
|
# s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE
|
371
452
|
# s3_config: { # required
|
@@ -447,7 +528,7 @@ module Aws::DataSync
|
|
447
528
|
# data as a hash:
|
448
529
|
#
|
449
530
|
# {
|
450
|
-
# subdirectory: "
|
531
|
+
# subdirectory: "SmbSubdirectory", # required
|
451
532
|
# server_hostname: "ServerHostname", # required
|
452
533
|
# user: "SmbUser", # required
|
453
534
|
# domain: "SmbDomain",
|
@@ -578,6 +659,7 @@ module Aws::DataSync
|
|
578
659
|
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
579
660
|
# bytes_per_second: 1,
|
580
661
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
662
|
+
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
581
663
|
# },
|
582
664
|
# excludes: [
|
583
665
|
# {
|
@@ -877,6 +959,65 @@ module Aws::DataSync
|
|
877
959
|
include Aws::Structure
|
878
960
|
end
|
879
961
|
|
962
|
+
# @note When making an API call, you may pass DescribeLocationFsxWindowsRequest
|
963
|
+
# data as a hash:
|
964
|
+
#
|
965
|
+
# {
|
966
|
+
# location_arn: "LocationArn", # required
|
967
|
+
# }
|
968
|
+
#
|
969
|
+
# @!attribute [rw] location_arn
|
970
|
+
# The Amazon Resource Name (ARN) of the FSx for Windows location to
|
971
|
+
# describe.
|
972
|
+
# @return [String]
|
973
|
+
#
|
974
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxWindowsRequest AWS API Documentation
|
975
|
+
#
|
976
|
+
class DescribeLocationFsxWindowsRequest < Struct.new(
|
977
|
+
:location_arn)
|
978
|
+
include Aws::Structure
|
979
|
+
end
|
980
|
+
|
981
|
+
# @!attribute [rw] location_arn
|
982
|
+
# The Amazon resource Name (ARN) of the FSx for Windows location that
|
983
|
+
# was described.
|
984
|
+
# @return [String]
|
985
|
+
#
|
986
|
+
# @!attribute [rw] location_uri
|
987
|
+
# The URL of the FSx for Windows location that was described.
|
988
|
+
# @return [String]
|
989
|
+
#
|
990
|
+
# @!attribute [rw] security_group_arns
|
991
|
+
# The Amazon Resource Names (ARNs) of the security groups that are
|
992
|
+
# configured for the for the FSx for Windows file system.
|
993
|
+
# @return [Array<String>]
|
994
|
+
#
|
995
|
+
# @!attribute [rw] creation_time
|
996
|
+
# The time that the FSx for Windows location was created.
|
997
|
+
# @return [Time]
|
998
|
+
#
|
999
|
+
# @!attribute [rw] user
|
1000
|
+
# The user who has the permissions to access files and folders in the
|
1001
|
+
# FSx for Windows file system.
|
1002
|
+
# @return [String]
|
1003
|
+
#
|
1004
|
+
# @!attribute [rw] domain
|
1005
|
+
# The name of the Windows domain that the FSx for Windows server
|
1006
|
+
# belongs to.
|
1007
|
+
# @return [String]
|
1008
|
+
#
|
1009
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxWindowsResponse AWS API Documentation
|
1010
|
+
#
|
1011
|
+
class DescribeLocationFsxWindowsResponse < Struct.new(
|
1012
|
+
:location_arn,
|
1013
|
+
:location_uri,
|
1014
|
+
:security_group_arns,
|
1015
|
+
:creation_time,
|
1016
|
+
:user,
|
1017
|
+
:domain)
|
1018
|
+
include Aws::Structure
|
1019
|
+
end
|
1020
|
+
|
880
1021
|
# DescribeLocationNfsRequest
|
881
1022
|
#
|
882
1023
|
# @note When making an API call, you may pass DescribeLocationNfsRequest
|
@@ -1791,6 +1932,7 @@ module Aws::DataSync
|
|
1791
1932
|
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
1792
1933
|
# bytes_per_second: 1,
|
1793
1934
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
1935
|
+
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
1794
1936
|
# }
|
1795
1937
|
#
|
1796
1938
|
# @!attribute [rw] verify_mode
|
@@ -1952,6 +2094,14 @@ module Aws::DataSync
|
|
1952
2094
|
# queue-task-execution.
|
1953
2095
|
# @return [String]
|
1954
2096
|
#
|
2097
|
+
# @!attribute [rw] log_level
|
2098
|
+
# A value that determines the type of logs DataSync will deliver to
|
2099
|
+
# your AWS CloudWatch Logs file. If set to `OFF`, no logs will be
|
2100
|
+
# delivered. `BASIC` will deliver a few logs per transfer operation
|
2101
|
+
# and `TRANSFER` will deliver a verbose log that contains logs for
|
2102
|
+
# every file that is transferred.
|
2103
|
+
# @return [String]
|
2104
|
+
#
|
1955
2105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Options AWS API Documentation
|
1956
2106
|
#
|
1957
2107
|
class Options < Struct.new(
|
@@ -1965,7 +2115,8 @@ module Aws::DataSync
|
|
1965
2115
|
:preserve_devices,
|
1966
2116
|
:posix_permissions,
|
1967
2117
|
:bytes_per_second,
|
1968
|
-
:task_queueing
|
2118
|
+
:task_queueing,
|
2119
|
+
:log_level)
|
1969
2120
|
include Aws::Structure
|
1970
2121
|
end
|
1971
2122
|
|
@@ -2078,6 +2229,7 @@ module Aws::DataSync
|
|
2078
2229
|
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
2079
2230
|
# bytes_per_second: 1,
|
2080
2231
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2232
|
+
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2081
2233
|
# },
|
2082
2234
|
# includes: [
|
2083
2235
|
# {
|
@@ -2413,6 +2565,7 @@ module Aws::DataSync
|
|
2413
2565
|
# posix_permissions: "NONE", # accepts NONE, PRESERVE
|
2414
2566
|
# bytes_per_second: 1,
|
2415
2567
|
# task_queueing: "ENABLED", # accepts ENABLED, DISABLED
|
2568
|
+
# log_level: "OFF", # accepts OFF, BASIC, TRANSFER
|
2416
2569
|
# },
|
2417
2570
|
# excludes: [
|
2418
2571
|
# {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-datasync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|