aws-sdk-datasync 1.67.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-datasync/client.rb +99 -52
- data/lib/aws-sdk-datasync/client_api.rb +7 -0
- data/lib/aws-sdk-datasync/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-datasync/types.rb +180 -64
- data/lib/aws-sdk-datasync.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bd792b08fb9cbd2ffa9bb3e2e4bd9cc8a261e49b16ca2be234ac53703d9ed9e
|
4
|
+
data.tar.gz: 26363d326f65c06f9e0e00b2f9685f05910a1627505450a9ce1b5f5e4221f95b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 515f025be0134969e0982ff05726822bb6dd31f3916ca38cd7c0d2d725f8b75d1b24330b6dd589bd4ac2092fa779a0d3b86a8e25581c4d48e7fb32ba667d174f
|
7
|
+
data.tar.gz: 86cc8609c708ad3cdb1b409bc6436ea02452668217257242d6c99ff1e0cedd6a617f83a84a9b84bf65dfce17489fc57cb69c8d15bb57a628c6db4d8ae17d00e9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2023-11-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This change allows for 0 length access keys and secret keys for object storage locations. Users can now pass in empty string credentials.
|
8
|
+
|
9
|
+
1.68.0 (2023-10-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Platform version changes to support AL1 deprecation initiative.
|
13
|
+
|
4
14
|
1.67.0 (2023-09-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
@@ -857,12 +857,14 @@ module Aws::DataSync
|
|
857
857
|
end
|
858
858
|
|
859
859
|
# Creates an endpoint for an Amazon FSx for NetApp ONTAP file system
|
860
|
-
# that DataSync can
|
861
|
-
#
|
860
|
+
# that DataSync can use for a data transfer.
|
861
|
+
#
|
862
|
+
# Before you begin, make sure that you understand how DataSync [accesses
|
863
|
+
# an FSx for ONTAP file system][1].
|
862
864
|
#
|
863
865
|
#
|
864
866
|
#
|
865
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html
|
867
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html#create-ontap-location-access
|
866
868
|
#
|
867
869
|
# @option params [required, Types::FsxProtocol] :protocol
|
868
870
|
# Specifies the data transfer protocol that DataSync uses to access your
|
@@ -1037,7 +1039,14 @@ module Aws::DataSync
|
|
1037
1039
|
end
|
1038
1040
|
|
1039
1041
|
# Creates an endpoint for an Amazon FSx for Windows File Server file
|
1040
|
-
# system.
|
1042
|
+
# system that DataSync can use for a data transfer.
|
1043
|
+
#
|
1044
|
+
# Before you begin, make sure that you understand how DataSync [accesses
|
1045
|
+
# an FSx for Windows File Server][1].
|
1046
|
+
#
|
1047
|
+
#
|
1048
|
+
#
|
1049
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-location-access
|
1041
1050
|
#
|
1042
1051
|
# @option params [String] :subdirectory
|
1043
1052
|
# Specifies a mount path for your file system using forward slashes.
|
@@ -1072,8 +1081,9 @@ module Aws::DataSync
|
|
1072
1081
|
# Specifies the user who has the permissions to access files, folders,
|
1073
1082
|
# and metadata in your file system.
|
1074
1083
|
#
|
1075
|
-
# For information about choosing a user with
|
1076
|
-
# [
|
1084
|
+
# For information about choosing a user with the right level of access
|
1085
|
+
# for your transfer, see [required permissions][1] for FSx for Windows
|
1086
|
+
# File Server locations.
|
1077
1087
|
#
|
1078
1088
|
#
|
1079
1089
|
#
|
@@ -1083,10 +1093,27 @@ module Aws::DataSync
|
|
1083
1093
|
# Specifies the name of the Windows domain that the FSx for Windows File
|
1084
1094
|
# Server belongs to.
|
1085
1095
|
#
|
1096
|
+
# If you have multiple domains in your environment, configuring this
|
1097
|
+
# parameter makes sure that DataSync connects to the right file server.
|
1098
|
+
#
|
1099
|
+
# For more information, see [required permissions][1] for FSx for
|
1100
|
+
# Windows File Server locations.
|
1101
|
+
#
|
1102
|
+
#
|
1103
|
+
#
|
1104
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
1105
|
+
#
|
1086
1106
|
# @option params [required, String] :password
|
1087
1107
|
# Specifies the password of the user who has the permissions to access
|
1088
1108
|
# files and folders in the file system.
|
1089
1109
|
#
|
1110
|
+
# For more information, see [required permissions][1] for FSx for
|
1111
|
+
# Windows File Server locations.
|
1112
|
+
#
|
1113
|
+
#
|
1114
|
+
#
|
1115
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
1116
|
+
#
|
1090
1117
|
# @return [Types::CreateLocationFsxWindowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1091
1118
|
#
|
1092
1119
|
# * {Types::CreateLocationFsxWindowsResponse#location_arn #location_arn} => String
|
@@ -1597,6 +1624,9 @@ module Aws::DataSync
|
|
1597
1624
|
# Specifies the Windows domain name that your SMB file server belongs
|
1598
1625
|
# to.
|
1599
1626
|
#
|
1627
|
+
# If you have multiple domains in your environment, configuring this
|
1628
|
+
# parameter makes sure that DataSync connects to the right file server.
|
1629
|
+
#
|
1600
1630
|
# For more information, see [required permissions][1] for SMB locations.
|
1601
1631
|
#
|
1602
1632
|
#
|
@@ -1836,11 +1866,18 @@ module Aws::DataSync
|
|
1836
1866
|
req.send_request(options)
|
1837
1867
|
end
|
1838
1868
|
|
1839
|
-
#
|
1840
|
-
#
|
1841
|
-
#
|
1842
|
-
#
|
1843
|
-
#
|
1869
|
+
# Removes an DataSync agent resource from your Amazon Web Services
|
1870
|
+
# account.
|
1871
|
+
#
|
1872
|
+
# Keep in mind that this operation (which can't be undone) doesn't
|
1873
|
+
# remove the agent's virtual machine (VM) or Amazon EC2 instance from
|
1874
|
+
# your storage environment. For next steps, you can delete the VM or
|
1875
|
+
# instance from your storage environment or reuse it to [activate a new
|
1876
|
+
# agent][1].
|
1877
|
+
#
|
1878
|
+
#
|
1879
|
+
#
|
1880
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html
|
1844
1881
|
#
|
1845
1882
|
# @option params [required, String] :agent_arn
|
1846
1883
|
# The Amazon Resource Name (ARN) of the agent to delete. Use the
|
@@ -1909,12 +1946,12 @@ module Aws::DataSync
|
|
1909
1946
|
req.send_request(options)
|
1910
1947
|
end
|
1911
1948
|
|
1912
|
-
# Returns
|
1913
|
-
# type, and status.
|
1949
|
+
# Returns information about an DataSync agent, such as its name, service
|
1950
|
+
# endpoint type, and status.
|
1914
1951
|
#
|
1915
1952
|
# @option params [required, String] :agent_arn
|
1916
|
-
# Specifies the Amazon Resource Name (ARN) of the DataSync agent
|
1917
|
-
#
|
1953
|
+
# Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
1954
|
+
# you want information about.
|
1918
1955
|
#
|
1919
1956
|
# @return [Types::DescribeAgentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1920
1957
|
#
|
@@ -1925,6 +1962,7 @@ module Aws::DataSync
|
|
1925
1962
|
# * {Types::DescribeAgentResponse#creation_time #creation_time} => Time
|
1926
1963
|
# * {Types::DescribeAgentResponse#endpoint_type #endpoint_type} => String
|
1927
1964
|
# * {Types::DescribeAgentResponse#private_link_config #private_link_config} => Types::PrivateLinkConfig
|
1965
|
+
# * {Types::DescribeAgentResponse#platform #platform} => Types::Platform
|
1928
1966
|
#
|
1929
1967
|
# @example Request syntax with placeholder values
|
1930
1968
|
#
|
@@ -1946,6 +1984,7 @@ module Aws::DataSync
|
|
1946
1984
|
# resp.private_link_config.subnet_arns[0] #=> String
|
1947
1985
|
# resp.private_link_config.security_group_arns #=> Array
|
1948
1986
|
# resp.private_link_config.security_group_arns[0] #=> String
|
1987
|
+
# resp.platform.version #=> String
|
1949
1988
|
#
|
1950
1989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgent AWS API Documentation
|
1951
1990
|
#
|
@@ -3054,6 +3093,7 @@ module Aws::DataSync
|
|
3054
3093
|
# resp.agents[0].agent_arn #=> String
|
3055
3094
|
# resp.agents[0].name #=> String
|
3056
3095
|
# resp.agents[0].status #=> String, one of "ONLINE", "OFFLINE"
|
3096
|
+
# resp.agents[0].platform.version #=> String
|
3057
3097
|
# resp.next_token #=> String
|
3058
3098
|
#
|
3059
3099
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListAgents AWS API Documentation
|
@@ -3673,7 +3713,7 @@ module Aws::DataSync
|
|
3673
3713
|
req.send_request(options)
|
3674
3714
|
end
|
3675
3715
|
|
3676
|
-
# Updates the name of an agent.
|
3716
|
+
# Updates the name of an DataSync agent.
|
3677
3717
|
#
|
3678
3718
|
# @option params [required, String] :agent_arn
|
3679
3719
|
# The Amazon Resource Name (ARN) of the agent to update.
|
@@ -4031,58 +4071,65 @@ module Aws::DataSync
|
|
4031
4071
|
req.send_request(options)
|
4032
4072
|
end
|
4033
4073
|
|
4034
|
-
# Updates some of the parameters of a
|
4035
|
-
#
|
4036
|
-
# creating an SMB location, see [Creating a location for SMB][1].
|
4037
|
-
#
|
4038
|
-
#
|
4039
|
-
#
|
4040
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html
|
4074
|
+
# Updates some of the parameters of a Server Message Block (SMB) file
|
4075
|
+
# server location that you can use for DataSync transfers.
|
4041
4076
|
#
|
4042
4077
|
# @option params [required, String] :location_arn
|
4043
|
-
#
|
4078
|
+
# Specifies the ARN of the SMB location that you want to update.
|
4044
4079
|
#
|
4045
4080
|
# @option params [String] :subdirectory
|
4046
|
-
#
|
4047
|
-
#
|
4048
|
-
#
|
4049
|
-
#
|
4050
|
-
#
|
4081
|
+
# Specifies the name of the share exported by your SMB file server where
|
4082
|
+
# DataSync will read or write data. You can include a subdirectory in
|
4083
|
+
# the share path (for example, `/path/to/subdirectory`). Make sure that
|
4084
|
+
# other SMB clients in your network can also mount this path.
|
4085
|
+
#
|
4086
|
+
# To copy all data in the specified subdirectory, DataSync must be able
|
4087
|
+
# to mount the SMB share and access all of its data. For more
|
4088
|
+
# information, see [required permissions][1] for SMB locations.
|
4051
4089
|
#
|
4052
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
4053
|
-
# `/path/to/folder`.
|
4054
4090
|
#
|
4055
|
-
# </note>
|
4056
4091
|
#
|
4057
|
-
#
|
4058
|
-
#
|
4059
|
-
#
|
4092
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
4093
|
+
#
|
4094
|
+
# @option params [String] :user
|
4095
|
+
# Specifies the user name that can mount your SMB file server and has
|
4096
|
+
# permission to access the files and folders involved in your transfer.
|
4060
4097
|
#
|
4061
|
-
#
|
4062
|
-
#
|
4063
|
-
# the files and directories that you want DataSync to access.
|
4098
|
+
# For information about choosing a user with the right level of access
|
4099
|
+
# for your transfer, see [required permissions][1] for SMB locations.
|
4064
4100
|
#
|
4065
|
-
# * Use credentials of a member of the Backup Operators group to mount
|
4066
|
-
# the share.
|
4067
4101
|
#
|
4068
|
-
# Doing either of these options enables the agent to access the data.
|
4069
|
-
# For the agent to access directories, you must also enable all execute
|
4070
|
-
# access.
|
4071
4102
|
#
|
4072
|
-
#
|
4073
|
-
# The user who can mount the share has the permissions to access files
|
4074
|
-
# and folders in the SMB share.
|
4103
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
4075
4104
|
#
|
4076
4105
|
# @option params [String] :domain
|
4077
|
-
#
|
4106
|
+
# Specifies the Windows domain name that your SMB file server belongs
|
4107
|
+
# to.
|
4108
|
+
#
|
4109
|
+
# If you have multiple domains in your environment, configuring this
|
4110
|
+
# parameter makes sure that DataSync connects to the right file server.
|
4111
|
+
#
|
4112
|
+
# For more information, see [required permissions][1] for SMB locations.
|
4113
|
+
#
|
4114
|
+
#
|
4115
|
+
#
|
4116
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
4078
4117
|
#
|
4079
4118
|
# @option params [String] :password
|
4080
|
-
#
|
4081
|
-
# to access files and folders in
|
4119
|
+
# Specifies the password of the user who can mount your SMB file server
|
4120
|
+
# and has permission to access the files and folders involved in your
|
4121
|
+
# transfer.
|
4122
|
+
#
|
4123
|
+
# For more information, see [required permissions][1] for SMB locations.
|
4124
|
+
#
|
4125
|
+
#
|
4126
|
+
#
|
4127
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
4082
4128
|
#
|
4083
4129
|
# @option params [Array<String>] :agent_arns
|
4084
|
-
#
|
4085
|
-
#
|
4130
|
+
# Specifies the DataSync agent (or agents) which you want to connect to
|
4131
|
+
# your SMB file server. You specify an agent by using its Amazon
|
4132
|
+
# Resource Name (ARN).
|
4086
4133
|
#
|
4087
4134
|
# @option params [Types::SmbMountOptions] :mount_options
|
4088
4135
|
# Specifies the version of the Server Message Block (SMB) protocol that
|
@@ -4369,7 +4416,7 @@ module Aws::DataSync
|
|
4369
4416
|
params: params,
|
4370
4417
|
config: config)
|
4371
4418
|
context[:gem_name] = 'aws-sdk-datasync'
|
4372
|
-
context[:gem_version] = '1.
|
4419
|
+
context[:gem_version] = '1.69.0'
|
4373
4420
|
Seahorse::Client::Request.new(handlers, context)
|
4374
4421
|
end
|
4375
4422
|
|
@@ -21,6 +21,7 @@ module Aws::DataSync
|
|
21
21
|
AgentList = Shapes::ListShape.new(name: 'AgentList')
|
22
22
|
AgentListEntry = Shapes::StructureShape.new(name: 'AgentListEntry')
|
23
23
|
AgentStatus = Shapes::StringShape.new(name: 'AgentStatus')
|
24
|
+
AgentVersion = Shapes::StringShape.new(name: 'AgentVersion')
|
24
25
|
Atime = Shapes::StringShape.new(name: 'Atime')
|
25
26
|
AzureAccessTier = Shapes::StringShape.new(name: 'AzureAccessTier')
|
26
27
|
AzureBlobAuthenticationType = Shapes::StringShape.new(name: 'AzureBlobAuthenticationType')
|
@@ -228,6 +229,7 @@ module Aws::DataSync
|
|
228
229
|
PLSecurityGroupArnList = Shapes::ListShape.new(name: 'PLSecurityGroupArnList')
|
229
230
|
PLSubnetArnList = Shapes::ListShape.new(name: 'PLSubnetArnList')
|
230
231
|
PhaseStatus = Shapes::StringShape.new(name: 'PhaseStatus')
|
232
|
+
Platform = Shapes::StructureShape.new(name: 'Platform')
|
231
233
|
PosixPermissions = Shapes::StringShape.new(name: 'PosixPermissions')
|
232
234
|
PreserveDeletedFiles = Shapes::StringShape.new(name: 'PreserveDeletedFiles')
|
233
235
|
PreserveDevices = Shapes::StringShape.new(name: 'PreserveDevices')
|
@@ -356,6 +358,7 @@ module Aws::DataSync
|
|
356
358
|
AgentListEntry.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, location_name: "AgentArn"))
|
357
359
|
AgentListEntry.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
358
360
|
AgentListEntry.add_member(:status, Shapes::ShapeRef.new(shape: AgentStatus, location_name: "Status"))
|
361
|
+
AgentListEntry.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "Platform"))
|
359
362
|
AgentListEntry.struct_class = Types::AgentListEntry
|
360
363
|
|
361
364
|
AzureBlobSasConfiguration.add_member(:token, Shapes::ShapeRef.new(shape: AzureBlobSasToken, required: true, location_name: "Token"))
|
@@ -560,6 +563,7 @@ module Aws::DataSync
|
|
560
563
|
DescribeAgentResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Time, location_name: "CreationTime"))
|
561
564
|
DescribeAgentResponse.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location_name: "EndpointType"))
|
562
565
|
DescribeAgentResponse.add_member(:private_link_config, Shapes::ShapeRef.new(shape: PrivateLinkConfig, location_name: "PrivateLinkConfig"))
|
566
|
+
DescribeAgentResponse.add_member(:platform, Shapes::ShapeRef.new(shape: Platform, location_name: "Platform"))
|
563
567
|
DescribeAgentResponse.struct_class = Types::DescribeAgentResponse
|
564
568
|
|
565
569
|
DescribeDiscoveryJobRequest.add_member(:discovery_job_arn, Shapes::ShapeRef.new(shape: DiscoveryJobArn, required: true, location_name: "DiscoveryJobArn"))
|
@@ -1044,6 +1048,9 @@ module Aws::DataSync
|
|
1044
1048
|
|
1045
1049
|
PLSubnetArnList.member = Shapes::ShapeRef.new(shape: Ec2SubnetArn)
|
1046
1050
|
|
1051
|
+
Platform.add_member(:version, Shapes::ShapeRef.new(shape: AgentVersion, location_name: "Version"))
|
1052
|
+
Platform.struct_class = Types::Platform
|
1053
|
+
|
1047
1054
|
PrivateLinkConfig.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, location_name: "VpcEndpointId"))
|
1048
1055
|
PrivateLinkConfig.add_member(:private_link_endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "PrivateLinkEndpoint"))
|
1049
1056
|
PrivateLinkConfig.add_member(:subnet_arns, Shapes::ShapeRef.new(shape: PLSubnetArnList, location_name: "SubnetArns"))
|
@@ -32,7 +32,7 @@ module Aws::DataSync
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://datasync-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -104,20 +104,33 @@ module Aws::DataSync
|
|
104
104
|
# @return [String]
|
105
105
|
#
|
106
106
|
# @!attribute [rw] status
|
107
|
-
# The status of an agent.
|
108
|
-
# statuses][1].
|
107
|
+
# The status of an agent.
|
109
108
|
#
|
109
|
+
# * If the status is `ONLINE`, the agent is configured properly and
|
110
|
+
# ready to use.
|
110
111
|
#
|
112
|
+
# * If the status is `OFFLINE`, the agent has been out of contact with
|
113
|
+
# DataSync for five minutes or longer. This can happen for a few
|
114
|
+
# reasons. For more information, see [What do I do if my agent is
|
115
|
+
# offline?][1]
|
111
116
|
#
|
112
|
-
#
|
117
|
+
#
|
118
|
+
#
|
119
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-agents.html#troubleshoot-agent-offline
|
113
120
|
# @return [String]
|
114
121
|
#
|
122
|
+
# @!attribute [rw] platform
|
123
|
+
# The platform-related details about the agent, such as the version
|
124
|
+
# number.
|
125
|
+
# @return [Types::Platform]
|
126
|
+
#
|
115
127
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/AgentListEntry AWS API Documentation
|
116
128
|
#
|
117
129
|
class AgentListEntry < Struct.new(
|
118
130
|
:agent_arn,
|
119
131
|
:name,
|
120
|
-
:status
|
132
|
+
:status,
|
133
|
+
:platform)
|
121
134
|
SENSITIVE = []
|
122
135
|
include Aws::Structure
|
123
136
|
end
|
@@ -664,8 +677,9 @@ module Aws::DataSync
|
|
664
677
|
# Specifies the user who has the permissions to access files, folders,
|
665
678
|
# and metadata in your file system.
|
666
679
|
#
|
667
|
-
# For information about choosing a user with
|
668
|
-
# see [
|
680
|
+
# For information about choosing a user with the right level of access
|
681
|
+
# for your transfer, see [required permissions][1] for FSx for Windows
|
682
|
+
# File Server locations.
|
669
683
|
#
|
670
684
|
#
|
671
685
|
#
|
@@ -675,11 +689,29 @@ module Aws::DataSync
|
|
675
689
|
# @!attribute [rw] domain
|
676
690
|
# Specifies the name of the Windows domain that the FSx for Windows
|
677
691
|
# File Server belongs to.
|
692
|
+
#
|
693
|
+
# If you have multiple domains in your environment, configuring this
|
694
|
+
# parameter makes sure that DataSync connects to the right file
|
695
|
+
# server.
|
696
|
+
#
|
697
|
+
# For more information, see [required permissions][1] for FSx for
|
698
|
+
# Windows File Server locations.
|
699
|
+
#
|
700
|
+
#
|
701
|
+
#
|
702
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
678
703
|
# @return [String]
|
679
704
|
#
|
680
705
|
# @!attribute [rw] password
|
681
706
|
# Specifies the password of the user who has the permissions to access
|
682
707
|
# files and folders in the file system.
|
708
|
+
#
|
709
|
+
# For more information, see [required permissions][1] for FSx for
|
710
|
+
# Windows File Server locations.
|
711
|
+
#
|
712
|
+
#
|
713
|
+
#
|
714
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions
|
683
715
|
# @return [String]
|
684
716
|
#
|
685
717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindowsRequest AWS API Documentation
|
@@ -1143,6 +1175,10 @@ module Aws::DataSync
|
|
1143
1175
|
# Specifies the Windows domain name that your SMB file server belongs
|
1144
1176
|
# to.
|
1145
1177
|
#
|
1178
|
+
# If you have multiple domains in your environment, configuring this
|
1179
|
+
# parameter makes sure that DataSync connects to the right file
|
1180
|
+
# server.
|
1181
|
+
#
|
1146
1182
|
# For more information, see [required permissions][1] for SMB
|
1147
1183
|
# locations.
|
1148
1184
|
#
|
@@ -1409,8 +1445,8 @@ module Aws::DataSync
|
|
1409
1445
|
# DescribeAgent
|
1410
1446
|
#
|
1411
1447
|
# @!attribute [rw] agent_arn
|
1412
|
-
# Specifies the Amazon Resource Name (ARN) of the DataSync agent
|
1413
|
-
#
|
1448
|
+
# Specifies the Amazon Resource Name (ARN) of the DataSync agent that
|
1449
|
+
# you want information about.
|
1414
1450
|
# @return [String]
|
1415
1451
|
#
|
1416
1452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgentRequest AWS API Documentation
|
@@ -1432,34 +1468,56 @@ module Aws::DataSync
|
|
1432
1468
|
# @return [String]
|
1433
1469
|
#
|
1434
1470
|
# @!attribute [rw] status
|
1435
|
-
# The status of the agent.
|
1436
|
-
#
|
1437
|
-
#
|
1438
|
-
#
|
1439
|
-
#
|
1440
|
-
# agent
|
1471
|
+
# The status of the agent.
|
1472
|
+
#
|
1473
|
+
# * If the status is `ONLINE`, the agent is configured properly and
|
1474
|
+
# ready to use.
|
1475
|
+
#
|
1476
|
+
# * If the status is `OFFLINE`, the agent has been out of contact with
|
1477
|
+
# DataSync for five minutes or longer. This can happen for a few
|
1478
|
+
# reasons. For more information, see [What do I do if my agent is
|
1479
|
+
# offline?][1]
|
1480
|
+
#
|
1481
|
+
#
|
1482
|
+
#
|
1483
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-agents.html#troubleshoot-agent-offline
|
1441
1484
|
# @return [String]
|
1442
1485
|
#
|
1443
1486
|
# @!attribute [rw] last_connection_time
|
1444
|
-
# The time that the agent
|
1487
|
+
# The last time that the agent was communicating with the DataSync
|
1488
|
+
# service.
|
1445
1489
|
# @return [Time]
|
1446
1490
|
#
|
1447
1491
|
# @!attribute [rw] creation_time
|
1448
|
-
# The time that the agent was activated
|
1449
|
-
#
|
1492
|
+
# The time that the agent was [activated][1].
|
1493
|
+
#
|
1494
|
+
#
|
1495
|
+
#
|
1496
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html
|
1450
1497
|
# @return [Time]
|
1451
1498
|
#
|
1452
1499
|
# @!attribute [rw] endpoint_type
|
1453
|
-
# The type of endpoint that your agent is connected to.
|
1454
|
-
#
|
1455
|
-
#
|
1500
|
+
# The type of [service endpoint][1] that your agent is connected to.
|
1501
|
+
#
|
1502
|
+
#
|
1503
|
+
#
|
1504
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html
|
1456
1505
|
# @return [String]
|
1457
1506
|
#
|
1458
1507
|
# @!attribute [rw] private_link_config
|
1459
|
-
# The
|
1460
|
-
# endpoint.
|
1508
|
+
# The network configuration that the agent uses when connecting to a
|
1509
|
+
# [VPC service endpoint][1].
|
1510
|
+
#
|
1511
|
+
#
|
1512
|
+
#
|
1513
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#choose-service-endpoint-vpc
|
1461
1514
|
# @return [Types::PrivateLinkConfig]
|
1462
1515
|
#
|
1516
|
+
# @!attribute [rw] platform
|
1517
|
+
# The platform-related details about the agent, such as the version
|
1518
|
+
# number.
|
1519
|
+
# @return [Types::Platform]
|
1520
|
+
#
|
1463
1521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgentResponse AWS API Documentation
|
1464
1522
|
#
|
1465
1523
|
class DescribeAgentResponse < Struct.new(
|
@@ -1469,7 +1527,8 @@ module Aws::DataSync
|
|
1469
1527
|
:last_connection_time,
|
1470
1528
|
:creation_time,
|
1471
1529
|
:endpoint_type,
|
1472
|
-
:private_link_config
|
1530
|
+
:private_link_config,
|
1531
|
+
:platform)
|
1473
1532
|
SENSITIVE = []
|
1474
1533
|
include Aws::Structure
|
1475
1534
|
end
|
@@ -2587,6 +2646,16 @@ module Aws::DataSync
|
|
2587
2646
|
# @!attribute [rw] files_verified
|
2588
2647
|
# The number of files, objects, and directories that DataSync verified
|
2589
2648
|
# during your transfer.
|
2649
|
+
#
|
2650
|
+
# <note markdown="1"> When you configure your task to [verify only the data that's
|
2651
|
+
# transferred][1], DataSync doesn't verify directories in some
|
2652
|
+
# situations or files that fail to transfer.
|
2653
|
+
#
|
2654
|
+
# </note>
|
2655
|
+
#
|
2656
|
+
#
|
2657
|
+
#
|
2658
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/configure-data-verification-options.html
|
2590
2659
|
# @return [Integer]
|
2591
2660
|
#
|
2592
2661
|
# @!attribute [rw] report_result
|
@@ -2595,7 +2664,7 @@ module Aws::DataSync
|
|
2595
2664
|
#
|
2596
2665
|
#
|
2597
2666
|
#
|
2598
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
2667
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html
|
2599
2668
|
# @return [Types::ReportResult]
|
2600
2669
|
#
|
2601
2670
|
# @!attribute [rw] estimated_files_to_delete
|
@@ -2768,7 +2837,7 @@ module Aws::DataSync
|
|
2768
2837
|
#
|
2769
2838
|
#
|
2770
2839
|
#
|
2771
|
-
# [1]: https://docs.aws.amazon.com/
|
2840
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html
|
2772
2841
|
# @return [Types::TaskReportConfig]
|
2773
2842
|
#
|
2774
2843
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskResponse AWS API Documentation
|
@@ -4322,9 +4391,39 @@ module Aws::DataSync
|
|
4322
4391
|
include Aws::Structure
|
4323
4392
|
end
|
4324
4393
|
|
4394
|
+
# The platform-related details about the DataSync agent, such as the
|
4395
|
+
# version number.
|
4396
|
+
#
|
4397
|
+
# @!attribute [rw] version
|
4398
|
+
# The version of the DataSync agent.
|
4399
|
+
#
|
4400
|
+
# Beginning December 7, 2023, we will discontinue version 1 DataSync
|
4401
|
+
# agents. Check the DataSync console to see if you have affected
|
4402
|
+
# agents. If you do, [replace][1] those agents before then to avoid
|
4403
|
+
# data transfer or storage discovery disruptions. If you need more
|
4404
|
+
# help, contact [Amazon Web Services Support][2].
|
4405
|
+
#
|
4406
|
+
#
|
4407
|
+
#
|
4408
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/replacing-agent.html
|
4409
|
+
# [2]: https://aws.amazon.com/contact-us/
|
4410
|
+
# @return [String]
|
4411
|
+
#
|
4412
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/Platform AWS API Documentation
|
4413
|
+
#
|
4414
|
+
class Platform < Struct.new(
|
4415
|
+
:version)
|
4416
|
+
SENSITIVE = []
|
4417
|
+
include Aws::Structure
|
4418
|
+
end
|
4419
|
+
|
4325
4420
|
# Specifies how your DataSync agent connects to Amazon Web Services
|
4326
|
-
# using a virtual private cloud (VPC) service endpoint. An agent
|
4327
|
-
# uses a VPC endpoint isn't accessible over the public internet.
|
4421
|
+
# using a [virtual private cloud (VPC) service endpoint][1]. An agent
|
4422
|
+
# that uses a VPC endpoint isn't accessible over the public internet.
|
4423
|
+
#
|
4424
|
+
#
|
4425
|
+
#
|
4426
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#choose-service-endpoint-vpc
|
4328
4427
|
#
|
4329
4428
|
# @!attribute [rw] vpc_endpoint_id
|
4330
4429
|
# Specifies the ID of the VPC endpoint that your agent connects to.
|
@@ -4444,7 +4543,7 @@ module Aws::DataSync
|
|
4444
4543
|
#
|
4445
4544
|
#
|
4446
4545
|
#
|
4447
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
4546
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html
|
4448
4547
|
#
|
4449
4548
|
# @!attribute [rw] s3
|
4450
4549
|
# Specifies the Amazon S3 bucket where DataSync uploads your task
|
@@ -4464,7 +4563,7 @@ module Aws::DataSync
|
|
4464
4563
|
#
|
4465
4564
|
#
|
4466
4565
|
#
|
4467
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
4566
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html
|
4468
4567
|
#
|
4469
4568
|
# @!attribute [rw] subdirectory
|
4470
4569
|
# Specifies a bucket prefix for your report.
|
@@ -4483,7 +4582,7 @@ module Aws::DataSync
|
|
4483
4582
|
#
|
4484
4583
|
#
|
4485
4584
|
#
|
4486
|
-
# [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/datasync/latest/userguide/
|
4585
|
+
# [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/datasync/latest/userguide/task-reports.html
|
4487
4586
|
# @return [String]
|
4488
4587
|
#
|
4489
4588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ReportDestinationS3 AWS API Documentation
|
@@ -4501,7 +4600,7 @@ module Aws::DataSync
|
|
4501
4600
|
#
|
4502
4601
|
#
|
4503
4602
|
#
|
4504
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
4603
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html
|
4505
4604
|
#
|
4506
4605
|
# @!attribute [rw] report_level
|
4507
4606
|
# Specifies whether your task report includes errors only or successes
|
@@ -4532,7 +4631,7 @@ module Aws::DataSync
|
|
4532
4631
|
#
|
4533
4632
|
#
|
4534
4633
|
#
|
4535
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
4634
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html
|
4536
4635
|
#
|
4537
4636
|
# @!attribute [rw] transferred
|
4538
4637
|
# Specifies the level of reporting for the files, objects, and
|
@@ -4577,7 +4676,7 @@ module Aws::DataSync
|
|
4577
4676
|
#
|
4578
4677
|
#
|
4579
4678
|
#
|
4580
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
4679
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html
|
4581
4680
|
#
|
4582
4681
|
# @!attribute [rw] status
|
4583
4682
|
# Indicates whether DataSync is still working on your report, created
|
@@ -5111,7 +5210,7 @@ module Aws::DataSync
|
|
5111
5210
|
#
|
5112
5211
|
#
|
5113
5212
|
#
|
5114
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
5213
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html
|
5115
5214
|
#
|
5116
5215
|
# @!attribute [rw] destination
|
5117
5216
|
# Specifies the Amazon S3 bucket where DataSync uploads your task
|
@@ -5119,7 +5218,7 @@ module Aws::DataSync
|
|
5119
5218
|
#
|
5120
5219
|
#
|
5121
5220
|
#
|
5122
|
-
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/
|
5221
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html#task-report-access
|
5123
5222
|
# @return [Types::ReportDestination]
|
5124
5223
|
#
|
5125
5224
|
# @!attribute [rw] output_type
|
@@ -5578,54 +5677,71 @@ module Aws::DataSync
|
|
5578
5677
|
class UpdateLocationObjectStorageResponse < Aws::EmptyStructure; end
|
5579
5678
|
|
5580
5679
|
# @!attribute [rw] location_arn
|
5581
|
-
#
|
5680
|
+
# Specifies the ARN of the SMB location that you want to update.
|
5582
5681
|
# @return [String]
|
5583
5682
|
#
|
5584
5683
|
# @!attribute [rw] subdirectory
|
5585
|
-
#
|
5586
|
-
#
|
5587
|
-
#
|
5588
|
-
#
|
5589
|
-
#
|
5590
|
-
#
|
5591
|
-
# <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
|
5592
|
-
# `/path/to/folder`.
|
5593
|
-
#
|
5594
|
-
# </note>
|
5684
|
+
# Specifies the name of the share exported by your SMB file server
|
5685
|
+
# where DataSync will read or write data. You can include a
|
5686
|
+
# subdirectory in the share path (for example,
|
5687
|
+
# `/path/to/subdirectory`). Make sure that other SMB clients in your
|
5688
|
+
# network can also mount this path.
|
5595
5689
|
#
|
5596
|
-
# To
|
5597
|
-
#
|
5598
|
-
#
|
5690
|
+
# To copy all data in the specified subdirectory, DataSync must be
|
5691
|
+
# able to mount the SMB share and access all of its data. For more
|
5692
|
+
# information, see [required permissions][1] for SMB locations.
|
5599
5693
|
#
|
5600
|
-
# * Ensure that the user/password specified belongs to the user who
|
5601
|
-
# can mount the share and who has the appropriate permissions for
|
5602
|
-
# all of the files and directories that you want DataSync to access.
|
5603
5694
|
#
|
5604
|
-
# * Use credentials of a member of the Backup Operators group to mount
|
5605
|
-
# the share.
|
5606
5695
|
#
|
5607
|
-
#
|
5608
|
-
# For the agent to access directories, you must also enable all
|
5609
|
-
# execute access.
|
5696
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
5610
5697
|
# @return [String]
|
5611
5698
|
#
|
5612
5699
|
# @!attribute [rw] user
|
5613
|
-
#
|
5614
|
-
# and folders in
|
5700
|
+
# Specifies the user name that can mount your SMB file server and has
|
5701
|
+
# permission to access the files and folders involved in your
|
5702
|
+
# transfer.
|
5703
|
+
#
|
5704
|
+
# For information about choosing a user with the right level of access
|
5705
|
+
# for your transfer, see [required permissions][1] for SMB locations.
|
5706
|
+
#
|
5707
|
+
#
|
5708
|
+
#
|
5709
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
5615
5710
|
# @return [String]
|
5616
5711
|
#
|
5617
5712
|
# @!attribute [rw] domain
|
5618
|
-
#
|
5713
|
+
# Specifies the Windows domain name that your SMB file server belongs
|
5714
|
+
# to.
|
5715
|
+
#
|
5716
|
+
# If you have multiple domains in your environment, configuring this
|
5717
|
+
# parameter makes sure that DataSync connects to the right file
|
5718
|
+
# server.
|
5719
|
+
#
|
5720
|
+
# For more information, see [required permissions][1] for SMB
|
5721
|
+
# locations.
|
5722
|
+
#
|
5723
|
+
#
|
5724
|
+
#
|
5725
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
5619
5726
|
# @return [String]
|
5620
5727
|
#
|
5621
5728
|
# @!attribute [rw] password
|
5622
|
-
#
|
5623
|
-
# to access files and folders
|
5729
|
+
# Specifies the password of the user who can mount your SMB file
|
5730
|
+
# server and has permission to access the files and folders involved
|
5731
|
+
# in your transfer.
|
5732
|
+
#
|
5733
|
+
# For more information, see [required permissions][1] for SMB
|
5734
|
+
# locations.
|
5735
|
+
#
|
5736
|
+
#
|
5737
|
+
#
|
5738
|
+
# [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions
|
5624
5739
|
# @return [String]
|
5625
5740
|
#
|
5626
5741
|
# @!attribute [rw] agent_arns
|
5627
|
-
#
|
5628
|
-
#
|
5742
|
+
# Specifies the DataSync agent (or agents) which you want to connect
|
5743
|
+
# to your SMB file server. You specify an agent by using its Amazon
|
5744
|
+
# Resource Name (ARN).
|
5629
5745
|
# @return [Array<String>]
|
5630
5746
|
#
|
5631
5747
|
# @!attribute [rw] mount_options
|
data/lib/aws-sdk-datasync.rb
CHANGED
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.69.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: 2023-
|
11
|
+
date: 2023-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|