aws-sdk-datasync 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-datasync.rb +1 -1
- data/lib/aws-sdk-datasync/client.rb +132 -1
- data/lib/aws-sdk-datasync/client_api.rb +57 -0
- data/lib/aws-sdk-datasync/types.rb +203 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a67e3fe4baa4298503075e3c7e8864f1e8c83ac5
|
4
|
+
data.tar.gz: c10f88752e4437923698edeb759d4f415e37b48d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2728bc3947cae64c54690c4c8f0ed45151d5c63c3aa1d693c3d26777112b14aae77659dd27bddc1d5e3ab63f5d0a95cd2066df48eac13732c28432f2a4ff558
|
7
|
+
data.tar.gz: dfdd06cf31a901bbf1066152555051f23fe005336dc7a68a85d2132dc9ba9ec71b0c02a3637d75dd8b9c974ffe141f530bea4be97cae1accbbe14d91a5b9f5a4
|
data/lib/aws-sdk-datasync.rb
CHANGED
@@ -629,6 +629,95 @@ module Aws::DataSync
|
|
629
629
|
req.send_request(options)
|
630
630
|
end
|
631
631
|
|
632
|
+
# Creates an endpoint for a Server Message Block (SMB) file system.
|
633
|
+
#
|
634
|
+
# @option params [required, String] :subdirectory
|
635
|
+
# The subdirectory in the SMB file system that is used to read data from
|
636
|
+
# the SMB source location or write data to the SMB destination. The SMB
|
637
|
+
# path should be a path that's exported by the SMB server, or a
|
638
|
+
# subdirectory of that path. The path should be such that it can be
|
639
|
+
# mounted by other SMB clients in your network.
|
640
|
+
#
|
641
|
+
# To transfer all the data in the folder you specified, DataSync needs
|
642
|
+
# to have permissions to mount the SMB share, as well as to access all
|
643
|
+
# the data in that share. To ensure this, either ensure that the
|
644
|
+
# user/password specified belongs to the user who can mount the share,
|
645
|
+
# and who has the appropriate permissions for all of the files and
|
646
|
+
# directories that you want DataSync to access, or use credentials of a
|
647
|
+
# member of the Backup Operators group to mount the share. Doing either
|
648
|
+
# enables the agent to access the data. For the agent to access
|
649
|
+
# directories, you must additionally enable all execute access.
|
650
|
+
#
|
651
|
+
# @option params [required, String] :server_hostname
|
652
|
+
# The name of the SMB server. This value is the IP address or Domain
|
653
|
+
# Name Service (DNS) name of the SMB server. An agent that is installed
|
654
|
+
# on-premises uses this host name to mount the SMB server in a network.
|
655
|
+
#
|
656
|
+
# <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
|
657
|
+
# (IPv4) address.
|
658
|
+
#
|
659
|
+
# </note>
|
660
|
+
#
|
661
|
+
# @option params [required, String] :user
|
662
|
+
# The user who can mount the share, has the permissions to access files
|
663
|
+
# and directories in the SMB share.
|
664
|
+
#
|
665
|
+
# @option params [String] :domain
|
666
|
+
# The name of the domain that the SMB server belongs to.
|
667
|
+
#
|
668
|
+
# @option params [required, String] :password
|
669
|
+
# The password of the user who has permission to access the SMB server.
|
670
|
+
#
|
671
|
+
# @option params [required, Array<String>] :agent_arns
|
672
|
+
# The Amazon Resource Names (ARNs) of agents to use for a Simple Message
|
673
|
+
# Block (SMB) location.
|
674
|
+
#
|
675
|
+
# @option params [Types::SmbMountOptions] :mount_options
|
676
|
+
# The mount options that are available for DataSync to use to access an
|
677
|
+
# SMB location.
|
678
|
+
#
|
679
|
+
# @option params [Array<Types::TagListEntry>] :tags
|
680
|
+
# The key-value pair that represents the tag that you want to add to the
|
681
|
+
# location. The value can be an empty string. We recommend using tags to
|
682
|
+
# name your resources.
|
683
|
+
#
|
684
|
+
# @return [Types::CreateLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
685
|
+
#
|
686
|
+
# * {Types::CreateLocationSmbResponse#location_arn #location_arn} => String
|
687
|
+
#
|
688
|
+
# @example Request syntax with placeholder values
|
689
|
+
#
|
690
|
+
# resp = client.create_location_smb({
|
691
|
+
# subdirectory: "NonEmptySubdirectory", # required
|
692
|
+
# server_hostname: "ServerHostname", # required
|
693
|
+
# user: "SmbUser", # required
|
694
|
+
# domain: "SmbDomain",
|
695
|
+
# password: "SmbPassword", # required
|
696
|
+
# agent_arns: ["AgentArn"], # required
|
697
|
+
# mount_options: {
|
698
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
699
|
+
# },
|
700
|
+
# tags: [
|
701
|
+
# {
|
702
|
+
# key: "TagKey", # required
|
703
|
+
# value: "TagValue",
|
704
|
+
# },
|
705
|
+
# ],
|
706
|
+
# })
|
707
|
+
#
|
708
|
+
# @example Response structure
|
709
|
+
#
|
710
|
+
# resp.location_arn #=> String
|
711
|
+
#
|
712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmb AWS API Documentation
|
713
|
+
#
|
714
|
+
# @overload create_location_smb(params = {})
|
715
|
+
# @param [Hash] params ({})
|
716
|
+
def create_location_smb(params = {}, options = {})
|
717
|
+
req = build_request(:create_location_smb, params)
|
718
|
+
req.send_request(options)
|
719
|
+
end
|
720
|
+
|
632
721
|
# Creates a task. A task is a set of two locations (source and
|
633
722
|
# destination) and a set of Options that you use to control the behavior
|
634
723
|
# of a task. If you don't specify Options when you create a task, AWS
|
@@ -968,6 +1057,48 @@ module Aws::DataSync
|
|
968
1057
|
req.send_request(options)
|
969
1058
|
end
|
970
1059
|
|
1060
|
+
# Returns metadata, such as the path and user information about a SMB
|
1061
|
+
# location.
|
1062
|
+
#
|
1063
|
+
# @option params [required, String] :location_arn
|
1064
|
+
# The Amazon resource Name (ARN) of the SMB location to describe.
|
1065
|
+
#
|
1066
|
+
# @return [Types::DescribeLocationSmbResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1067
|
+
#
|
1068
|
+
# * {Types::DescribeLocationSmbResponse#location_arn #location_arn} => String
|
1069
|
+
# * {Types::DescribeLocationSmbResponse#location_uri #location_uri} => String
|
1070
|
+
# * {Types::DescribeLocationSmbResponse#agent_arns #agent_arns} => Array<String>
|
1071
|
+
# * {Types::DescribeLocationSmbResponse#user #user} => String
|
1072
|
+
# * {Types::DescribeLocationSmbResponse#domain #domain} => String
|
1073
|
+
# * {Types::DescribeLocationSmbResponse#mount_options #mount_options} => Types::SmbMountOptions
|
1074
|
+
# * {Types::DescribeLocationSmbResponse#creation_time #creation_time} => Time
|
1075
|
+
#
|
1076
|
+
# @example Request syntax with placeholder values
|
1077
|
+
#
|
1078
|
+
# resp = client.describe_location_smb({
|
1079
|
+
# location_arn: "LocationArn", # required
|
1080
|
+
# })
|
1081
|
+
#
|
1082
|
+
# @example Response structure
|
1083
|
+
#
|
1084
|
+
# resp.location_arn #=> String
|
1085
|
+
# resp.location_uri #=> String
|
1086
|
+
# resp.agent_arns #=> Array
|
1087
|
+
# resp.agent_arns[0] #=> String
|
1088
|
+
# resp.user #=> String
|
1089
|
+
# resp.domain #=> String
|
1090
|
+
# resp.mount_options.version #=> String, one of "AUTOMATIC", "SMB2", "SMB3"
|
1091
|
+
# resp.creation_time #=> Time
|
1092
|
+
#
|
1093
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb AWS API Documentation
|
1094
|
+
#
|
1095
|
+
# @overload describe_location_smb(params = {})
|
1096
|
+
# @param [Hash] params ({})
|
1097
|
+
def describe_location_smb(params = {}, options = {})
|
1098
|
+
req = build_request(:describe_location_smb, params)
|
1099
|
+
req.send_request(options)
|
1100
|
+
end
|
1101
|
+
|
971
1102
|
# Returns metadata about a task.
|
972
1103
|
#
|
973
1104
|
# @option params [required, String] :task_arn
|
@@ -1549,7 +1680,7 @@ module Aws::DataSync
|
|
1549
1680
|
params: params,
|
1550
1681
|
config: config)
|
1551
1682
|
context[:gem_name] = 'aws-sdk-datasync'
|
1552
|
-
context[:gem_version] = '1.
|
1683
|
+
context[:gem_version] = '1.12.0'
|
1553
1684
|
Seahorse::Client::Request.new(handlers, context)
|
1554
1685
|
end
|
1555
1686
|
|
@@ -29,6 +29,8 @@ module Aws::DataSync
|
|
29
29
|
CreateLocationNfsResponse = Shapes::StructureShape.new(name: 'CreateLocationNfsResponse')
|
30
30
|
CreateLocationS3Request = Shapes::StructureShape.new(name: 'CreateLocationS3Request')
|
31
31
|
CreateLocationS3Response = Shapes::StructureShape.new(name: 'CreateLocationS3Response')
|
32
|
+
CreateLocationSmbRequest = Shapes::StructureShape.new(name: 'CreateLocationSmbRequest')
|
33
|
+
CreateLocationSmbResponse = Shapes::StructureShape.new(name: 'CreateLocationSmbResponse')
|
32
34
|
CreateTaskRequest = Shapes::StructureShape.new(name: 'CreateTaskRequest')
|
33
35
|
CreateTaskResponse = Shapes::StructureShape.new(name: 'CreateTaskResponse')
|
34
36
|
DeleteAgentRequest = Shapes::StructureShape.new(name: 'DeleteAgentRequest')
|
@@ -45,6 +47,8 @@ module Aws::DataSync
|
|
45
47
|
DescribeLocationNfsResponse = Shapes::StructureShape.new(name: 'DescribeLocationNfsResponse')
|
46
48
|
DescribeLocationS3Request = Shapes::StructureShape.new(name: 'DescribeLocationS3Request')
|
47
49
|
DescribeLocationS3Response = Shapes::StructureShape.new(name: 'DescribeLocationS3Response')
|
50
|
+
DescribeLocationSmbRequest = Shapes::StructureShape.new(name: 'DescribeLocationSmbRequest')
|
51
|
+
DescribeLocationSmbResponse = Shapes::StructureShape.new(name: 'DescribeLocationSmbResponse')
|
48
52
|
DescribeTaskExecutionRequest = Shapes::StructureShape.new(name: 'DescribeTaskExecutionRequest')
|
49
53
|
DescribeTaskExecutionResponse = Shapes::StructureShape.new(name: 'DescribeTaskExecutionResponse')
|
50
54
|
DescribeTaskRequest = Shapes::StructureShape.new(name: 'DescribeTaskRequest')
|
@@ -100,6 +104,11 @@ module Aws::DataSync
|
|
100
104
|
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
101
105
|
S3Config = Shapes::StructureShape.new(name: 'S3Config')
|
102
106
|
ServerHostname = Shapes::StringShape.new(name: 'ServerHostname')
|
107
|
+
SmbDomain = Shapes::StringShape.new(name: 'SmbDomain')
|
108
|
+
SmbMountOptions = Shapes::StructureShape.new(name: 'SmbMountOptions')
|
109
|
+
SmbPassword = Shapes::StringShape.new(name: 'SmbPassword')
|
110
|
+
SmbUser = Shapes::StringShape.new(name: 'SmbUser')
|
111
|
+
SmbVersion = Shapes::StringShape.new(name: 'SmbVersion')
|
103
112
|
SourceNetworkInterfaceArns = Shapes::ListShape.new(name: 'SourceNetworkInterfaceArns')
|
104
113
|
StartTaskExecutionRequest = Shapes::StructureShape.new(name: 'StartTaskExecutionRequest')
|
105
114
|
StartTaskExecutionResponse = Shapes::StructureShape.new(name: 'StartTaskExecutionResponse')
|
@@ -187,6 +196,19 @@ module Aws::DataSync
|
|
187
196
|
CreateLocationS3Response.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
188
197
|
CreateLocationS3Response.struct_class = Types::CreateLocationS3Response
|
189
198
|
|
199
|
+
CreateLocationSmbRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: NonEmptySubdirectory, required: true, location_name: "Subdirectory"))
|
200
|
+
CreateLocationSmbRequest.add_member(:server_hostname, Shapes::ShapeRef.new(shape: ServerHostname, required: true, location_name: "ServerHostname"))
|
201
|
+
CreateLocationSmbRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, required: true, location_name: "User"))
|
202
|
+
CreateLocationSmbRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
203
|
+
CreateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, required: true, location_name: "Password"))
|
204
|
+
CreateLocationSmbRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, required: true, location_name: "AgentArns"))
|
205
|
+
CreateLocationSmbRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
206
|
+
CreateLocationSmbRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
207
|
+
CreateLocationSmbRequest.struct_class = Types::CreateLocationSmbRequest
|
208
|
+
|
209
|
+
CreateLocationSmbResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
210
|
+
CreateLocationSmbResponse.struct_class = Types::CreateLocationSmbResponse
|
211
|
+
|
190
212
|
CreateTaskRequest.add_member(:source_location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "SourceLocationArn"))
|
191
213
|
CreateTaskRequest.add_member(:destination_location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "DestinationLocationArn"))
|
192
214
|
CreateTaskRequest.add_member(:cloud_watch_log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "CloudWatchLogGroupArn"))
|
@@ -254,6 +276,18 @@ module Aws::DataSync
|
|
254
276
|
DescribeLocationS3Response.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
255
277
|
DescribeLocationS3Response.struct_class = Types::DescribeLocationS3Response
|
256
278
|
|
279
|
+
DescribeLocationSmbRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
|
280
|
+
DescribeLocationSmbRequest.struct_class = Types::DescribeLocationSmbRequest
|
281
|
+
|
282
|
+
DescribeLocationSmbResponse.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, location_name: "LocationArn"))
|
283
|
+
DescribeLocationSmbResponse.add_member(:location_uri, Shapes::ShapeRef.new(shape: LocationUri, location_name: "LocationUri"))
|
284
|
+
DescribeLocationSmbResponse.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
|
285
|
+
DescribeLocationSmbResponse.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, location_name: "User"))
|
286
|
+
DescribeLocationSmbResponse.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
|
287
|
+
DescribeLocationSmbResponse.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
|
288
|
+
DescribeLocationSmbResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
289
|
+
DescribeLocationSmbResponse.struct_class = Types::DescribeLocationSmbResponse
|
290
|
+
|
257
291
|
DescribeTaskExecutionRequest.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, required: true, location_name: "TaskExecutionArn"))
|
258
292
|
DescribeTaskExecutionRequest.struct_class = Types::DescribeTaskExecutionRequest
|
259
293
|
|
@@ -390,6 +424,9 @@ module Aws::DataSync
|
|
390
424
|
S3Config.add_member(:bucket_access_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "BucketAccessRoleArn"))
|
391
425
|
S3Config.struct_class = Types::S3Config
|
392
426
|
|
427
|
+
SmbMountOptions.add_member(:version, Shapes::ShapeRef.new(shape: SmbVersion, location_name: "Version"))
|
428
|
+
SmbMountOptions.struct_class = Types::SmbMountOptions
|
429
|
+
|
393
430
|
SourceNetworkInterfaceArns.member = Shapes::ShapeRef.new(shape: NetworkInterfaceArn)
|
394
431
|
|
395
432
|
StartTaskExecutionRequest.add_member(:task_arn, Shapes::ShapeRef.new(shape: TaskArn, required: true, location_name: "TaskArn"))
|
@@ -528,6 +565,16 @@ module Aws::DataSync
|
|
528
565
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
529
566
|
end)
|
530
567
|
|
568
|
+
api.add_operation(:create_location_smb, Seahorse::Model::Operation.new.tap do |o|
|
569
|
+
o.name = "CreateLocationSmb"
|
570
|
+
o.http_method = "POST"
|
571
|
+
o.http_request_uri = "/"
|
572
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLocationSmbRequest)
|
573
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLocationSmbResponse)
|
574
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
576
|
+
end)
|
577
|
+
|
531
578
|
api.add_operation(:create_task, Seahorse::Model::Operation.new.tap do |o|
|
532
579
|
o.name = "CreateTask"
|
533
580
|
o.http_method = "POST"
|
@@ -608,6 +655,16 @@ module Aws::DataSync
|
|
608
655
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
609
656
|
end)
|
610
657
|
|
658
|
+
api.add_operation(:describe_location_smb, Seahorse::Model::Operation.new.tap do |o|
|
659
|
+
o.name = "DescribeLocationSmb"
|
660
|
+
o.http_method = "POST"
|
661
|
+
o.http_request_uri = "/"
|
662
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLocationSmbRequest)
|
663
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLocationSmbResponse)
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
666
|
+
end)
|
667
|
+
|
611
668
|
api.add_operation(:describe_task, Seahorse::Model::Operation.new.tap do |o|
|
612
669
|
o.name = "DescribeTask"
|
613
670
|
o.http_method = "POST"
|
@@ -421,6 +421,117 @@ module Aws::DataSync
|
|
421
421
|
include Aws::Structure
|
422
422
|
end
|
423
423
|
|
424
|
+
# CreateLocationSmbRequest
|
425
|
+
#
|
426
|
+
# @note When making an API call, you may pass CreateLocationSmbRequest
|
427
|
+
# data as a hash:
|
428
|
+
#
|
429
|
+
# {
|
430
|
+
# subdirectory: "NonEmptySubdirectory", # required
|
431
|
+
# server_hostname: "ServerHostname", # required
|
432
|
+
# user: "SmbUser", # required
|
433
|
+
# domain: "SmbDomain",
|
434
|
+
# password: "SmbPassword", # required
|
435
|
+
# agent_arns: ["AgentArn"], # required
|
436
|
+
# mount_options: {
|
437
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
438
|
+
# },
|
439
|
+
# tags: [
|
440
|
+
# {
|
441
|
+
# key: "TagKey", # required
|
442
|
+
# value: "TagValue",
|
443
|
+
# },
|
444
|
+
# ],
|
445
|
+
# }
|
446
|
+
#
|
447
|
+
# @!attribute [rw] subdirectory
|
448
|
+
# The subdirectory in the SMB file system that is used to read data
|
449
|
+
# from the SMB source location or write data to the SMB destination.
|
450
|
+
# The SMB path should be a path that's exported by the SMB server, or
|
451
|
+
# a subdirectory of that path. The path should be such that it can be
|
452
|
+
# mounted by other SMB clients in your network.
|
453
|
+
#
|
454
|
+
# To transfer all the data in the folder you specified, DataSync needs
|
455
|
+
# to have permissions to mount the SMB share, as well as to access all
|
456
|
+
# the data in that share. To ensure this, either ensure that the
|
457
|
+
# user/password specified belongs to the user who can mount the share,
|
458
|
+
# and who has the appropriate permissions for all of the files and
|
459
|
+
# directories that you want DataSync to access, or use credentials of
|
460
|
+
# a member of the Backup Operators group to mount the share. Doing
|
461
|
+
# either enables the agent to access the data. For the agent to access
|
462
|
+
# directories, you must additionally enable all execute access.
|
463
|
+
# @return [String]
|
464
|
+
#
|
465
|
+
# @!attribute [rw] server_hostname
|
466
|
+
# The name of the SMB server. This value is the IP address or Domain
|
467
|
+
# Name Service (DNS) name of the SMB server. An agent that is
|
468
|
+
# installed on-premises uses this host name to mount the SMB server in
|
469
|
+
# a network.
|
470
|
+
#
|
471
|
+
# <note markdown="1"> This name must either be DNS-compliant or must be an IP version 4
|
472
|
+
# (IPv4) address.
|
473
|
+
#
|
474
|
+
# </note>
|
475
|
+
# @return [String]
|
476
|
+
#
|
477
|
+
# @!attribute [rw] user
|
478
|
+
# The user who can mount the share, has the permissions to access
|
479
|
+
# files and directories in the SMB share.
|
480
|
+
# @return [String]
|
481
|
+
#
|
482
|
+
# @!attribute [rw] domain
|
483
|
+
# The name of the domain that the SMB server belongs to.
|
484
|
+
# @return [String]
|
485
|
+
#
|
486
|
+
# @!attribute [rw] password
|
487
|
+
# The password of the user who has permission to access the SMB
|
488
|
+
# server.
|
489
|
+
# @return [String]
|
490
|
+
#
|
491
|
+
# @!attribute [rw] agent_arns
|
492
|
+
# The Amazon Resource Names (ARNs) of agents to use for a Simple
|
493
|
+
# Message Block (SMB) location.
|
494
|
+
# @return [Array<String>]
|
495
|
+
#
|
496
|
+
# @!attribute [rw] mount_options
|
497
|
+
# The mount options that are available for DataSync to use to access
|
498
|
+
# an SMB location.
|
499
|
+
# @return [Types::SmbMountOptions]
|
500
|
+
#
|
501
|
+
# @!attribute [rw] tags
|
502
|
+
# The key-value pair that represents the tag that you want to add to
|
503
|
+
# the location. The value can be an empty string. We recommend using
|
504
|
+
# tags to name your resources.
|
505
|
+
# @return [Array<Types::TagListEntry>]
|
506
|
+
#
|
507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmbRequest AWS API Documentation
|
508
|
+
#
|
509
|
+
class CreateLocationSmbRequest < Struct.new(
|
510
|
+
:subdirectory,
|
511
|
+
:server_hostname,
|
512
|
+
:user,
|
513
|
+
:domain,
|
514
|
+
:password,
|
515
|
+
:agent_arns,
|
516
|
+
:mount_options,
|
517
|
+
:tags)
|
518
|
+
include Aws::Structure
|
519
|
+
end
|
520
|
+
|
521
|
+
# CreateLocationSmbResponse
|
522
|
+
#
|
523
|
+
# @!attribute [rw] location_arn
|
524
|
+
# The Amazon Resource Name (ARN) of the source SMB file system
|
525
|
+
# location that is created.
|
526
|
+
# @return [String]
|
527
|
+
#
|
528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmbResponse AWS API Documentation
|
529
|
+
#
|
530
|
+
class CreateLocationSmbResponse < Struct.new(
|
531
|
+
:location_arn)
|
532
|
+
include Aws::Structure
|
533
|
+
end
|
534
|
+
|
424
535
|
# CreateTaskRequest
|
425
536
|
#
|
426
537
|
# @note When making an API call, you may pass CreateTaskRequest
|
@@ -660,8 +771,8 @@ module Aws::DataSync
|
|
660
771
|
# @return [String]
|
661
772
|
#
|
662
773
|
# @!attribute [rw] private_link_config
|
663
|
-
# The subnet and
|
664
|
-
#
|
774
|
+
# The VPC endpoint, subnet and security group that an agent uses to
|
775
|
+
# access IP addresses in a VPC (Virtual Private Cloud).
|
665
776
|
# @return [Types::PrivateLinkConfig]
|
666
777
|
#
|
667
778
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgentResponse AWS API Documentation
|
@@ -838,6 +949,72 @@ module Aws::DataSync
|
|
838
949
|
include Aws::Structure
|
839
950
|
end
|
840
951
|
|
952
|
+
# DescribeLocationSmbRequest
|
953
|
+
#
|
954
|
+
# @note When making an API call, you may pass DescribeLocationSmbRequest
|
955
|
+
# data as a hash:
|
956
|
+
#
|
957
|
+
# {
|
958
|
+
# location_arn: "LocationArn", # required
|
959
|
+
# }
|
960
|
+
#
|
961
|
+
# @!attribute [rw] location_arn
|
962
|
+
# The Amazon resource Name (ARN) of the SMB location to describe.
|
963
|
+
# @return [String]
|
964
|
+
#
|
965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmbRequest AWS API Documentation
|
966
|
+
#
|
967
|
+
class DescribeLocationSmbRequest < Struct.new(
|
968
|
+
:location_arn)
|
969
|
+
include Aws::Structure
|
970
|
+
end
|
971
|
+
|
972
|
+
# DescribeLocationSmbResponse
|
973
|
+
#
|
974
|
+
# @!attribute [rw] location_arn
|
975
|
+
# The Amazon resource Name (ARN) of the SMB location that was
|
976
|
+
# described.
|
977
|
+
# @return [String]
|
978
|
+
#
|
979
|
+
# @!attribute [rw] location_uri
|
980
|
+
# The URL of the source SBM location that was described.
|
981
|
+
# @return [String]
|
982
|
+
#
|
983
|
+
# @!attribute [rw] agent_arns
|
984
|
+
# The Amazon Resource Name (ARN) of the source SMB file system
|
985
|
+
# location that is created.
|
986
|
+
# @return [Array<String>]
|
987
|
+
#
|
988
|
+
# @!attribute [rw] user
|
989
|
+
# The user who is logged on the SMB server.
|
990
|
+
# @return [String]
|
991
|
+
#
|
992
|
+
# @!attribute [rw] domain
|
993
|
+
# The name of the domain that the SMB server belongs to.
|
994
|
+
# @return [String]
|
995
|
+
#
|
996
|
+
# @!attribute [rw] mount_options
|
997
|
+
# The mount options that are available for DataSync to use to access
|
998
|
+
# an SMB location.
|
999
|
+
# @return [Types::SmbMountOptions]
|
1000
|
+
#
|
1001
|
+
# @!attribute [rw] creation_time
|
1002
|
+
# The time that the SMB location was created.
|
1003
|
+
# @return [Time]
|
1004
|
+
#
|
1005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmbResponse AWS API Documentation
|
1006
|
+
#
|
1007
|
+
class DescribeLocationSmbResponse < Struct.new(
|
1008
|
+
:location_arn,
|
1009
|
+
:location_uri,
|
1010
|
+
:agent_arns,
|
1011
|
+
:user,
|
1012
|
+
:domain,
|
1013
|
+
:mount_options,
|
1014
|
+
:creation_time)
|
1015
|
+
include Aws::Structure
|
1016
|
+
end
|
1017
|
+
|
841
1018
|
# DescribeTaskExecutionRequest
|
842
1019
|
#
|
843
1020
|
# @note When making an API call, you may pass DescribeTaskExecutionRequest
|
@@ -1751,6 +1928,30 @@ module Aws::DataSync
|
|
1751
1928
|
include Aws::Structure
|
1752
1929
|
end
|
1753
1930
|
|
1931
|
+
# Represents the mount options that are available for DataSync to access
|
1932
|
+
# an SMB location.
|
1933
|
+
#
|
1934
|
+
# @note When making an API call, you may pass SmbMountOptions
|
1935
|
+
# data as a hash:
|
1936
|
+
#
|
1937
|
+
# {
|
1938
|
+
# version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
|
1939
|
+
# }
|
1940
|
+
#
|
1941
|
+
# @!attribute [rw] version
|
1942
|
+
# The specific SMB version that you want DataSync to use to mount your
|
1943
|
+
# SMB share. If you don't specify a version, DataSync defaults to
|
1944
|
+
# `AUTOMATIC`. That is, DataSync automatically selects a version based
|
1945
|
+
# on negotiation with the SMB Server server.
|
1946
|
+
# @return [String]
|
1947
|
+
#
|
1948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/SmbMountOptions AWS API Documentation
|
1949
|
+
#
|
1950
|
+
class SmbMountOptions < Struct.new(
|
1951
|
+
:version)
|
1952
|
+
include Aws::Structure
|
1953
|
+
end
|
1954
|
+
|
1754
1955
|
# StartTaskExecutionRequest
|
1755
1956
|
#
|
1756
1957
|
# @note When making an API call, you may pass StartTaskExecutionRequest
|
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.12.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: 2019-08-
|
11
|
+
date: 2019-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.5.2
|
84
|
+
rubygems_version: 2.5.2.3
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - DataSync
|