aws-sdk-datasync 1.29.0 → 1.30.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 477d29f30c67e3ba76889dfcfd78a185b84b950df12a2c25fbd73b9d3d974f41
4
- data.tar.gz: 241b2e0d28a1bdccf8b8f17bb9eef4dc737c9413589d12237ecd64cab61d72a1
3
+ metadata.gz: fe62a6ddc4c2f0184551e1a8dfd702abaaa95da6c72471f74922aff30e7c0087
4
+ data.tar.gz: '09a0423e9303c08179949dff174dd7a95e54c82fa08d17ef32276d380eddff14'
5
5
  SHA512:
6
- metadata.gz: 9d516e19ee6693bfebea42cb8c84051e9717570a0eec4a0127f89b8ea4f6d9ec58fb0ed78920f41c86d816025f2f54a79a8c408f2b16b2618d3b9e6511762768
7
- data.tar.gz: 3eee6c35dc8dadbc3231ea1729ef46059ab4f81aa6d48da798a3b849b7a22ba11eadcaeb05933676e90827483c36024d3420ee558810dc5e8a4b26f7234058e9
6
+ metadata.gz: 58ede22647162f3d23bdc5ab5dc0cee8e4b5aa609459da180dea40f3d5e6e8bda1f1456274e051237a716bf411fb362ce7ba9aecfab09aaa4d1de2b60d6572ac
7
+ data.tar.gz: 88963b21e8436689c06eeb135b98579708302db543982b05cf97ba0d706bede88218f0a3aaa9239dac0b69f85b3f995f4388117ec5a0266045866883c2785fe0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-datasync/customizations'
48
48
  # @!group service
49
49
  module Aws::DataSync
50
50
 
51
- GEM_VERSION = '1.29.0'
51
+ GEM_VERSION = '1.30.0'
52
52
 
53
53
  end
@@ -557,20 +557,22 @@ module Aws::DataSync
557
557
  req.send_request(options)
558
558
  end
559
559
 
560
- # Creates an endpoint for an Amazon FSx for Windows file system.
560
+ # Creates an endpoint for an Amazon FSx for Windows File Server file
561
+ # system.
561
562
  #
562
563
  # @option params [String] :subdirectory
563
564
  # A subdirectory in the location’s path. This subdirectory in the Amazon
564
- # FSx for Windows file system is used to read data from the Amazon FSx
565
- # for Windows source location or write data to the FSx for Windows
566
- # destination.
565
+ # FSx for Windows File Server file system is used to read data from the
566
+ # Amazon FSx for Windows File Server source location or write data to
567
+ # the FSx for Windows File Server destination.
567
568
  #
568
569
  # @option params [required, String] :fsx_filesystem_arn
569
- # The Amazon Resource Name (ARN) for the FSx for Windows file system.
570
+ # The Amazon Resource Name (ARN) for the FSx for Windows File Server
571
+ # file system.
570
572
  #
571
573
  # @option params [required, Array<String>] :security_group_arns
572
574
  # The Amazon Resource Names (ARNs) of the security groups that are to
573
- # use to configure the FSx for Windows file system.
575
+ # use to configure the FSx for Windows File Server file system.
574
576
  #
575
577
  # @option params [Array<Types::TagListEntry>] :tags
576
578
  # The key-value pair that represents a tag that you want to add to the
@@ -580,15 +582,15 @@ module Aws::DataSync
580
582
  #
581
583
  # @option params [required, String] :user
582
584
  # The user who has the permissions to access files and folders in the
583
- # FSx for Windows file system.
585
+ # FSx for Windows File Server file system.
584
586
  #
585
587
  # @option params [String] :domain
586
- # The name of the Windows domain that the FSx for Windows server belongs
587
- # to.
588
+ # The name of the Windows domain that the FSx for Windows File Server
589
+ # belongs to.
588
590
  #
589
591
  # @option params [required, String] :password
590
592
  # The password of the user who has the permissions to access files and
591
- # folders in the FSx for Windows file system.
593
+ # folders in the FSx for Windows File Server file system.
592
594
  #
593
595
  # @return [Types::CreateLocationFsxWindowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
594
596
  #
@@ -993,24 +995,30 @@ module Aws::DataSync
993
995
  req.send_request(options)
994
996
  end
995
997
 
996
- # Creates a task. A task is a set of two locations (source and
997
- # destination) and a set of Options that you use to control the behavior
998
- # of a task. If you don't specify Options when you create a task, AWS
999
- # DataSync populates them with service defaults.
1000
- #
1001
- # When you create a task, it first enters the CREATING state. During
1002
- # CREATING AWS DataSync attempts to mount the on-premises Network File
1003
- # System (NFS) location. The task transitions to the AVAILABLE state
1004
- # without waiting for the AWS location to become mounted. If required,
1005
- # AWS DataSync mounts the AWS location before each task execution.
1006
- #
1007
- # If an agent that is associated with a source (NFS) location goes
1008
- # offline, the task transitions to the UNAVAILABLE status. If the status
1009
- # of the task remains in the CREATING status for more than a few
1010
- # minutes, it means that your agent might be having trouble mounting the
1011
- # source NFS file system. Check the task's ErrorCode and ErrorDetail.
1012
- # Mount issues are often caused by either a misconfigured firewall or a
1013
- # mistyped NFS server hostname.
998
+ # Creates a task.
999
+ #
1000
+ # A task includes a source location and a destination location, and a
1001
+ # configuration that specifies how data is transferred. A task always
1002
+ # transfers data from the source location to the destination location.
1003
+ # The configuration specifies options such as task scheduling, bandwidth
1004
+ # limits, etc. A task is the complete definition of a data transfer.
1005
+ #
1006
+ # When you create a task that transfers data between AWS services in
1007
+ # different AWS Regions, one of the two locations that you specify must
1008
+ # reside in the Region where DataSync is being used. The other location
1009
+ # must be specified in a different Region.
1010
+ #
1011
+ # You can transfer data between commercial AWS Regions except for China,
1012
+ # or between AWS GovCloud (US-East and US-West) Regions.
1013
+ #
1014
+ # When you use DataSync to copy files or objects between AWS Regions,
1015
+ # you pay for data transfer between Regions. This is billed as data
1016
+ # transfer OUT from your source Region to your destination Region. For
1017
+ # more information, see [Data Transfer pricing][1].
1018
+ #
1019
+ #
1020
+ #
1021
+ # [1]: http://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer
1014
1022
  #
1015
1023
  # @option params [required, String] :source_location_arn
1016
1024
  # The Amazon Resource Name (ARN) of the source location for the task.
@@ -1266,11 +1274,11 @@ module Aws::DataSync
1266
1274
  end
1267
1275
 
1268
1276
  # Returns metadata, such as the path information about an Amazon FSx for
1269
- # Windows location.
1277
+ # Windows File Server location.
1270
1278
  #
1271
1279
  # @option params [required, String] :location_arn
1272
- # The Amazon Resource Name (ARN) of the FSx for Windows location to
1273
- # describe.
1280
+ # The Amazon Resource Name (ARN) of the FSx for Windows File Server
1281
+ # location to describe.
1274
1282
  #
1275
1283
  # @return [Types::DescribeLocationFsxWindowsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1276
1284
  #
@@ -2022,6 +2030,217 @@ module Aws::DataSync
2022
2030
  req.send_request(options)
2023
2031
  end
2024
2032
 
2033
+ # Updates some of the parameters of a previously created location for
2034
+ # Network File System (NFS) access. For information about creating an
2035
+ # NFS location, see create-nfs-location.
2036
+ #
2037
+ # @option params [required, String] :location_arn
2038
+ # The Amazon Resource Name (ARN) of the NFS location to update.
2039
+ #
2040
+ # @option params [String] :subdirectory
2041
+ # The subdirectory in the NFS file system that is used to read data from
2042
+ # the NFS source location or write data to the NFS destination. The NFS
2043
+ # path should be a path that's exported by the NFS server, or a
2044
+ # subdirectory of that path. The path should be such that it can be
2045
+ # mounted by other NFS clients in your network.
2046
+ #
2047
+ # To see all the paths exported by your NFS server, run "`showmount -e
2048
+ # nfs-server-name`" from an NFS client that has access to your server.
2049
+ # You can specify any directory that appears in the results, and any
2050
+ # subdirectory of that directory. Ensure that the NFS export is
2051
+ # accessible without Kerberos authentication.
2052
+ #
2053
+ # To transfer all the data in the folder that you specified, DataSync
2054
+ # must have permissions to read all the data. To ensure this, either
2055
+ # configure the NFS export with `no_root_squash`, or ensure that the
2056
+ # files you want DataSync to access have permissions that allow read
2057
+ # access for all users. Doing either option enables the agent to read
2058
+ # the files. For the agent to access directories, you must additionally
2059
+ # enable all execute access.
2060
+ #
2061
+ # If you are copying data to or from your AWS Snowcone device, see [NFS
2062
+ # Server on AWS Snowcone][1] for more information.
2063
+ #
2064
+ # For information about NFS export configuration, see 18.7. The
2065
+ # /etc/exports Configuration File in the Red Hat Enterprise Linux
2066
+ # documentation.
2067
+ #
2068
+ #
2069
+ #
2070
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
2071
+ #
2072
+ # @option params [Types::OnPremConfig] :on_prem_config
2073
+ # A list of Amazon Resource Names (ARNs) of agents to use for a Network
2074
+ # File System (NFS) location.
2075
+ #
2076
+ # @option params [Types::NfsMountOptions] :mount_options
2077
+ # Represents the mount options that are available for DataSync to access
2078
+ # an NFS location.
2079
+ #
2080
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2081
+ #
2082
+ # @example Request syntax with placeholder values
2083
+ #
2084
+ # resp = client.update_location_nfs({
2085
+ # location_arn: "LocationArn", # required
2086
+ # subdirectory: "NfsSubdirectory",
2087
+ # on_prem_config: {
2088
+ # agent_arns: ["AgentArn"], # required
2089
+ # },
2090
+ # mount_options: {
2091
+ # version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
2092
+ # },
2093
+ # })
2094
+ #
2095
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfs AWS API Documentation
2096
+ #
2097
+ # @overload update_location_nfs(params = {})
2098
+ # @param [Hash] params ({})
2099
+ def update_location_nfs(params = {}, options = {})
2100
+ req = build_request(:update_location_nfs, params)
2101
+ req.send_request(options)
2102
+ end
2103
+
2104
+ # Updates some of the parameters of a previously created location for
2105
+ # self-managed object storage server access. For information about
2106
+ # creating a self-managed object storage location, see
2107
+ # create-object-location.
2108
+ #
2109
+ # @option params [required, String] :location_arn
2110
+ # The Amazon Resource Name (ARN) of the self-managed object storage
2111
+ # server location to be updated.
2112
+ #
2113
+ # @option params [Integer] :server_port
2114
+ # The port that your self-managed object storage server accepts inbound
2115
+ # network traffic on. The server port is set by default to TCP 80 (HTTP)
2116
+ # or TCP 443 (HTTPS). You can specify a custom port if your self-managed
2117
+ # object storage server requires one.
2118
+ #
2119
+ # @option params [String] :server_protocol
2120
+ # The protocol that the object storage server uses to communicate. Valid
2121
+ # values are `HTTP` or `HTTPS`.
2122
+ #
2123
+ # @option params [String] :subdirectory
2124
+ # The subdirectory in the self-managed object storage server that is
2125
+ # used to read data from.
2126
+ #
2127
+ # @option params [String] :access_key
2128
+ # Optional. The access key is used if credentials are required to access
2129
+ # the self-managed object storage server. If your object storage
2130
+ # requires a user name and password to authenticate, use `AccessKey` and
2131
+ # `SecretKey` to provide the user name and password, respectively.
2132
+ #
2133
+ # @option params [String] :secret_key
2134
+ # Optional. The secret key is used if credentials are required to access
2135
+ # the self-managed object storage server. If your object storage
2136
+ # requires a user name and password to authenticate, use `AccessKey` and
2137
+ # `SecretKey` to provide the user name and password, respectively.
2138
+ #
2139
+ # @option params [Array<String>] :agent_arns
2140
+ # The Amazon Resource Name (ARN) of the agents associated with the
2141
+ # self-managed object storage server location.
2142
+ #
2143
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2144
+ #
2145
+ # @example Request syntax with placeholder values
2146
+ #
2147
+ # resp = client.update_location_object_storage({
2148
+ # location_arn: "LocationArn", # required
2149
+ # server_port: 1,
2150
+ # server_protocol: "HTTPS", # accepts HTTPS, HTTP
2151
+ # subdirectory: "S3Subdirectory",
2152
+ # access_key: "ObjectStorageAccessKey",
2153
+ # secret_key: "ObjectStorageSecretKey",
2154
+ # agent_arns: ["AgentArn"],
2155
+ # })
2156
+ #
2157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorage AWS API Documentation
2158
+ #
2159
+ # @overload update_location_object_storage(params = {})
2160
+ # @param [Hash] params ({})
2161
+ def update_location_object_storage(params = {}, options = {})
2162
+ req = build_request(:update_location_object_storage, params)
2163
+ req.send_request(options)
2164
+ end
2165
+
2166
+ # Updates some of the parameters of a previously created location for
2167
+ # Server Message Block (SMB) file system access. For information about
2168
+ # creating an SMB location, see create-smb-location.
2169
+ #
2170
+ # @option params [required, String] :location_arn
2171
+ # The Amazon Resource Name (ARN) of the SMB location to update.
2172
+ #
2173
+ # @option params [String] :subdirectory
2174
+ # The subdirectory in the SMB file system that is used to read data from
2175
+ # the SMB source location or write data to the SMB destination. The SMB
2176
+ # path should be a path that's exported by the SMB server, or a
2177
+ # subdirectory of that path. The path should be such that it can be
2178
+ # mounted by other SMB clients in your network.
2179
+ #
2180
+ # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
2181
+ # `/path/to/folder`.
2182
+ #
2183
+ # </note>
2184
+ #
2185
+ # To transfer all the data in the folder that you specified, DataSync
2186
+ # must have permissions to mount the SMB share and to access all the
2187
+ # data in that share. To ensure this, do either of the following:
2188
+ #
2189
+ # * Ensure that the user/password specified belongs to the user who can
2190
+ # mount the share and who has the appropriate permissions for all of
2191
+ # the files and directories that you want DataSync to access.
2192
+ #
2193
+ # * Use credentials of a member of the Backup Operators group to mount
2194
+ # the share.
2195
+ #
2196
+ # Doing either of these options enables the agent to access the data.
2197
+ # For the agent to access directories, you must also enable all execute
2198
+ # access.
2199
+ #
2200
+ # @option params [String] :user
2201
+ # The user who can mount the share has the permissions to access files
2202
+ # and folders in the SMB share.
2203
+ #
2204
+ # @option params [String] :domain
2205
+ # The name of the Windows domain that the SMB server belongs to.
2206
+ #
2207
+ # @option params [String] :password
2208
+ # The password of the user who can mount the share has the permissions
2209
+ # to access files and folders in the SMB share.
2210
+ #
2211
+ # @option params [Array<String>] :agent_arns
2212
+ # The Amazon Resource Names (ARNs) of agents to use for a Simple Message
2213
+ # Block (SMB) location.
2214
+ #
2215
+ # @option params [Types::SmbMountOptions] :mount_options
2216
+ # Represents the mount options that are available for DataSync to access
2217
+ # an SMB location.
2218
+ #
2219
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2220
+ #
2221
+ # @example Request syntax with placeholder values
2222
+ #
2223
+ # resp = client.update_location_smb({
2224
+ # location_arn: "LocationArn", # required
2225
+ # subdirectory: "SmbSubdirectory",
2226
+ # user: "SmbUser",
2227
+ # domain: "SmbDomain",
2228
+ # password: "SmbPassword",
2229
+ # agent_arns: ["AgentArn"],
2230
+ # mount_options: {
2231
+ # version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
2232
+ # },
2233
+ # })
2234
+ #
2235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb AWS API Documentation
2236
+ #
2237
+ # @overload update_location_smb(params = {})
2238
+ # @param [Hash] params ({})
2239
+ def update_location_smb(params = {}, options = {})
2240
+ req = build_request(:update_location_smb, params)
2241
+ req.send_request(options)
2242
+ end
2243
+
2025
2244
  # Updates the metadata associated with a task.
2026
2245
  #
2027
2246
  # @option params [required, String] :task_arn
@@ -2116,7 +2335,7 @@ module Aws::DataSync
2116
2335
  #
2117
2336
  #
2118
2337
  #
2119
- # [1]: https://docs.aws.amazon.com/datasync/latest/working-with-task-executions.html#adjust-bandwidth-throttling
2338
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#adjust-bandwidth-throttling
2120
2339
  #
2121
2340
  # @option params [required, String] :task_execution_arn
2122
2341
  # The Amazon Resource Name (ARN) of the specific task execution that is
@@ -2179,7 +2398,7 @@ module Aws::DataSync
2179
2398
  params: params,
2180
2399
  config: config)
2181
2400
  context[:gem_name] = 'aws-sdk-datasync'
2182
- context[:gem_version] = '1.29.0'
2401
+ context[:gem_version] = '1.30.0'
2183
2402
  Seahorse::Client::Request.new(handlers, context)
2184
2403
  end
2185
2404
 
@@ -172,6 +172,12 @@ module Aws::DataSync
172
172
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
173
173
  UpdateAgentRequest = Shapes::StructureShape.new(name: 'UpdateAgentRequest')
174
174
  UpdateAgentResponse = Shapes::StructureShape.new(name: 'UpdateAgentResponse')
175
+ UpdateLocationNfsRequest = Shapes::StructureShape.new(name: 'UpdateLocationNfsRequest')
176
+ UpdateLocationNfsResponse = Shapes::StructureShape.new(name: 'UpdateLocationNfsResponse')
177
+ UpdateLocationObjectStorageRequest = Shapes::StructureShape.new(name: 'UpdateLocationObjectStorageRequest')
178
+ UpdateLocationObjectStorageResponse = Shapes::StructureShape.new(name: 'UpdateLocationObjectStorageResponse')
179
+ UpdateLocationSmbRequest = Shapes::StructureShape.new(name: 'UpdateLocationSmbRequest')
180
+ UpdateLocationSmbResponse = Shapes::StructureShape.new(name: 'UpdateLocationSmbResponse')
175
181
  UpdateTaskExecutionRequest = Shapes::StructureShape.new(name: 'UpdateTaskExecutionRequest')
176
182
  UpdateTaskExecutionResponse = Shapes::StructureShape.new(name: 'UpdateTaskExecutionResponse')
177
183
  UpdateTaskRequest = Shapes::StructureShape.new(name: 'UpdateTaskRequest')
@@ -607,6 +613,36 @@ module Aws::DataSync
607
613
 
608
614
  UpdateAgentResponse.struct_class = Types::UpdateAgentResponse
609
615
 
616
+ UpdateLocationNfsRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
617
+ UpdateLocationNfsRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: NfsSubdirectory, location_name: "Subdirectory"))
618
+ UpdateLocationNfsRequest.add_member(:on_prem_config, Shapes::ShapeRef.new(shape: OnPremConfig, location_name: "OnPremConfig"))
619
+ UpdateLocationNfsRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: NfsMountOptions, location_name: "MountOptions"))
620
+ UpdateLocationNfsRequest.struct_class = Types::UpdateLocationNfsRequest
621
+
622
+ UpdateLocationNfsResponse.struct_class = Types::UpdateLocationNfsResponse
623
+
624
+ UpdateLocationObjectStorageRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
625
+ UpdateLocationObjectStorageRequest.add_member(:server_port, Shapes::ShapeRef.new(shape: ObjectStorageServerPort, location_name: "ServerPort"))
626
+ UpdateLocationObjectStorageRequest.add_member(:server_protocol, Shapes::ShapeRef.new(shape: ObjectStorageServerProtocol, location_name: "ServerProtocol"))
627
+ UpdateLocationObjectStorageRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: S3Subdirectory, location_name: "Subdirectory"))
628
+ UpdateLocationObjectStorageRequest.add_member(:access_key, Shapes::ShapeRef.new(shape: ObjectStorageAccessKey, location_name: "AccessKey"))
629
+ UpdateLocationObjectStorageRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: ObjectStorageSecretKey, location_name: "SecretKey"))
630
+ UpdateLocationObjectStorageRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
631
+ UpdateLocationObjectStorageRequest.struct_class = Types::UpdateLocationObjectStorageRequest
632
+
633
+ UpdateLocationObjectStorageResponse.struct_class = Types::UpdateLocationObjectStorageResponse
634
+
635
+ UpdateLocationSmbRequest.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationArn, required: true, location_name: "LocationArn"))
636
+ UpdateLocationSmbRequest.add_member(:subdirectory, Shapes::ShapeRef.new(shape: SmbSubdirectory, location_name: "Subdirectory"))
637
+ UpdateLocationSmbRequest.add_member(:user, Shapes::ShapeRef.new(shape: SmbUser, location_name: "User"))
638
+ UpdateLocationSmbRequest.add_member(:domain, Shapes::ShapeRef.new(shape: SmbDomain, location_name: "Domain"))
639
+ UpdateLocationSmbRequest.add_member(:password, Shapes::ShapeRef.new(shape: SmbPassword, location_name: "Password"))
640
+ UpdateLocationSmbRequest.add_member(:agent_arns, Shapes::ShapeRef.new(shape: AgentArnList, location_name: "AgentArns"))
641
+ UpdateLocationSmbRequest.add_member(:mount_options, Shapes::ShapeRef.new(shape: SmbMountOptions, location_name: "MountOptions"))
642
+ UpdateLocationSmbRequest.struct_class = Types::UpdateLocationSmbRequest
643
+
644
+ UpdateLocationSmbResponse.struct_class = Types::UpdateLocationSmbResponse
645
+
610
646
  UpdateTaskExecutionRequest.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, required: true, location_name: "TaskExecutionArn"))
611
647
  UpdateTaskExecutionRequest.add_member(:options, Shapes::ShapeRef.new(shape: Options, required: true, location_name: "Options"))
612
648
  UpdateTaskExecutionRequest.struct_class = Types::UpdateTaskExecutionRequest
@@ -973,6 +1009,36 @@ module Aws::DataSync
973
1009
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
974
1010
  end)
975
1011
 
1012
+ api.add_operation(:update_location_nfs, Seahorse::Model::Operation.new.tap do |o|
1013
+ o.name = "UpdateLocationNfs"
1014
+ o.http_method = "POST"
1015
+ o.http_request_uri = "/"
1016
+ o.input = Shapes::ShapeRef.new(shape: UpdateLocationNfsRequest)
1017
+ o.output = Shapes::ShapeRef.new(shape: UpdateLocationNfsResponse)
1018
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1019
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1020
+ end)
1021
+
1022
+ api.add_operation(:update_location_object_storage, Seahorse::Model::Operation.new.tap do |o|
1023
+ o.name = "UpdateLocationObjectStorage"
1024
+ o.http_method = "POST"
1025
+ o.http_request_uri = "/"
1026
+ o.input = Shapes::ShapeRef.new(shape: UpdateLocationObjectStorageRequest)
1027
+ o.output = Shapes::ShapeRef.new(shape: UpdateLocationObjectStorageResponse)
1028
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1030
+ end)
1031
+
1032
+ api.add_operation(:update_location_smb, Seahorse::Model::Operation.new.tap do |o|
1033
+ o.name = "UpdateLocationSmb"
1034
+ o.http_method = "POST"
1035
+ o.http_request_uri = "/"
1036
+ o.input = Shapes::ShapeRef.new(shape: UpdateLocationSmbRequest)
1037
+ o.output = Shapes::ShapeRef.new(shape: UpdateLocationSmbResponse)
1038
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1040
+ end)
1041
+
976
1042
  api.add_operation(:update_task, Seahorse::Model::Operation.new.tap do |o|
977
1043
  o.name = "UpdateTask"
978
1044
  o.http_method = "POST"
@@ -287,18 +287,19 @@ module Aws::DataSync
287
287
  #
288
288
  # @!attribute [rw] subdirectory
289
289
  # A subdirectory in the location’s path. This subdirectory in the
290
- # Amazon FSx for Windows file system is used to read data from the
291
- # Amazon FSx for Windows source location or write data to the FSx for
292
- # Windows destination.
290
+ # Amazon FSx for Windows File Server file system is used to read data
291
+ # from the Amazon FSx for Windows File Server source location or write
292
+ # data to the FSx for Windows File Server destination.
293
293
  # @return [String]
294
294
  #
295
295
  # @!attribute [rw] fsx_filesystem_arn
296
- # The Amazon Resource Name (ARN) for the FSx for Windows file system.
296
+ # The Amazon Resource Name (ARN) for the FSx for Windows File Server
297
+ # file system.
297
298
  # @return [String]
298
299
  #
299
300
  # @!attribute [rw] security_group_arns
300
301
  # The Amazon Resource Names (ARNs) of the security groups that are to
301
- # use to configure the FSx for Windows file system.
302
+ # use to configure the FSx for Windows File Server file system.
302
303
  # @return [Array<String>]
303
304
  #
304
305
  # @!attribute [rw] tags
@@ -310,17 +311,17 @@ module Aws::DataSync
310
311
  #
311
312
  # @!attribute [rw] user
312
313
  # The user who has the permissions to access files and folders in the
313
- # FSx for Windows file system.
314
+ # FSx for Windows File Server file system.
314
315
  # @return [String]
315
316
  #
316
317
  # @!attribute [rw] domain
317
- # The name of the Windows domain that the FSx for Windows server
318
+ # The name of the Windows domain that the FSx for Windows File Server
318
319
  # belongs to.
319
320
  # @return [String]
320
321
  #
321
322
  # @!attribute [rw] password
322
323
  # The password of the user who has the permissions to access files and
323
- # folders in the FSx for Windows file system.
324
+ # folders in the FSx for Windows File Server file system.
324
325
  # @return [String]
325
326
  #
326
327
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindowsRequest AWS API Documentation
@@ -338,8 +339,8 @@ module Aws::DataSync
338
339
  end
339
340
 
340
341
  # @!attribute [rw] location_arn
341
- # The Amazon Resource Name (ARN) of the FSx for Windows file system
342
- # location that is created.
342
+ # The Amazon Resource Name (ARN) of the FSx for Windows File Server
343
+ # file system location that is created.
343
344
  # @return [String]
344
345
  #
345
346
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindowsResponse AWS API Documentation
@@ -1130,8 +1131,8 @@ module Aws::DataSync
1130
1131
  # }
1131
1132
  #
1132
1133
  # @!attribute [rw] location_arn
1133
- # The Amazon Resource Name (ARN) of the FSx for Windows location to
1134
- # describe.
1134
+ # The Amazon Resource Name (ARN) of the FSx for Windows File Server
1135
+ # location to describe.
1135
1136
  # @return [String]
1136
1137
  #
1137
1138
  # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxWindowsRequest AWS API Documentation
@@ -1143,30 +1144,31 @@ module Aws::DataSync
1143
1144
  end
1144
1145
 
1145
1146
  # @!attribute [rw] location_arn
1146
- # The Amazon Resource Name (ARN) of the FSx for Windows location that
1147
- # was described.
1147
+ # The Amazon Resource Name (ARN) of the FSx for Windows File Server
1148
+ # location that was described.
1148
1149
  # @return [String]
1149
1150
  #
1150
1151
  # @!attribute [rw] location_uri
1151
- # The URL of the FSx for Windows location that was described.
1152
+ # The URL of the FSx for Windows File Server location that was
1153
+ # described.
1152
1154
  # @return [String]
1153
1155
  #
1154
1156
  # @!attribute [rw] security_group_arns
1155
1157
  # The Amazon Resource Names (ARNs) of the security groups that are
1156
- # configured for the FSx for Windows file system.
1158
+ # configured for the FSx for Windows File Server file system.
1157
1159
  # @return [Array<String>]
1158
1160
  #
1159
1161
  # @!attribute [rw] creation_time
1160
- # The time that the FSx for Windows location was created.
1162
+ # The time that the FSx for Windows File Server location was created.
1161
1163
  # @return [Time]
1162
1164
  #
1163
1165
  # @!attribute [rw] user
1164
1166
  # The user who has the permissions to access files and folders in the
1165
- # FSx for Windows file system.
1167
+ # FSx for Windows File Server file system.
1166
1168
  # @return [String]
1167
1169
  #
1168
1170
  # @!attribute [rw] domain
1169
- # The name of the Windows domain that the FSx for Windows server
1171
+ # The name of the Windows domain that the FSx for Windows File Server
1170
1172
  # belongs to.
1171
1173
  # @return [String]
1172
1174
  #
@@ -2980,6 +2982,245 @@ module Aws::DataSync
2980
2982
  #
2981
2983
  class UpdateAgentResponse < Aws::EmptyStructure; end
2982
2984
 
2985
+ # @note When making an API call, you may pass UpdateLocationNfsRequest
2986
+ # data as a hash:
2987
+ #
2988
+ # {
2989
+ # location_arn: "LocationArn", # required
2990
+ # subdirectory: "NfsSubdirectory",
2991
+ # on_prem_config: {
2992
+ # agent_arns: ["AgentArn"], # required
2993
+ # },
2994
+ # mount_options: {
2995
+ # version: "AUTOMATIC", # accepts AUTOMATIC, NFS3, NFS4_0, NFS4_1
2996
+ # },
2997
+ # }
2998
+ #
2999
+ # @!attribute [rw] location_arn
3000
+ # The Amazon Resource Name (ARN) of the NFS location to update.
3001
+ # @return [String]
3002
+ #
3003
+ # @!attribute [rw] subdirectory
3004
+ # The subdirectory in the NFS file system that is used to read data
3005
+ # from the NFS source location or write data to the NFS destination.
3006
+ # The NFS path should be a path that's exported by the NFS server, or
3007
+ # a subdirectory of that path. The path should be such that it can be
3008
+ # mounted by other NFS clients in your network.
3009
+ #
3010
+ # To see all the paths exported by your NFS server, run "`showmount
3011
+ # -e nfs-server-name`" from an NFS client that has access to your
3012
+ # server. You can specify any directory that appears in the results,
3013
+ # and any subdirectory of that directory. Ensure that the NFS export
3014
+ # is accessible without Kerberos authentication.
3015
+ #
3016
+ # To transfer all the data in the folder that you specified, DataSync
3017
+ # must have permissions to read all the data. To ensure this, either
3018
+ # configure the NFS export with `no_root_squash`, or ensure that the
3019
+ # files you want DataSync to access have permissions that allow read
3020
+ # access for all users. Doing either option enables the agent to read
3021
+ # the files. For the agent to access directories, you must
3022
+ # additionally enable all execute access.
3023
+ #
3024
+ # If you are copying data to or from your AWS Snowcone device, see
3025
+ # [NFS Server on AWS Snowcone][1] for more information.
3026
+ #
3027
+ # For information about NFS export configuration, see 18.7. The
3028
+ # /etc/exports Configuration File in the Red Hat Enterprise Linux
3029
+ # documentation.
3030
+ #
3031
+ #
3032
+ #
3033
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#nfs-on-snowcone
3034
+ # @return [String]
3035
+ #
3036
+ # @!attribute [rw] on_prem_config
3037
+ # A list of Amazon Resource Names (ARNs) of agents to use for a
3038
+ # Network File System (NFS) location.
3039
+ # @return [Types::OnPremConfig]
3040
+ #
3041
+ # @!attribute [rw] mount_options
3042
+ # Represents the mount options that are available for DataSync to
3043
+ # access an NFS location.
3044
+ # @return [Types::NfsMountOptions]
3045
+ #
3046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfsRequest AWS API Documentation
3047
+ #
3048
+ class UpdateLocationNfsRequest < Struct.new(
3049
+ :location_arn,
3050
+ :subdirectory,
3051
+ :on_prem_config,
3052
+ :mount_options)
3053
+ SENSITIVE = []
3054
+ include Aws::Structure
3055
+ end
3056
+
3057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfsResponse AWS API Documentation
3058
+ #
3059
+ class UpdateLocationNfsResponse < Aws::EmptyStructure; end
3060
+
3061
+ # @note When making an API call, you may pass UpdateLocationObjectStorageRequest
3062
+ # data as a hash:
3063
+ #
3064
+ # {
3065
+ # location_arn: "LocationArn", # required
3066
+ # server_port: 1,
3067
+ # server_protocol: "HTTPS", # accepts HTTPS, HTTP
3068
+ # subdirectory: "S3Subdirectory",
3069
+ # access_key: "ObjectStorageAccessKey",
3070
+ # secret_key: "ObjectStorageSecretKey",
3071
+ # agent_arns: ["AgentArn"],
3072
+ # }
3073
+ #
3074
+ # @!attribute [rw] location_arn
3075
+ # The Amazon Resource Name (ARN) of the self-managed object storage
3076
+ # server location to be updated.
3077
+ # @return [String]
3078
+ #
3079
+ # @!attribute [rw] server_port
3080
+ # The port that your self-managed object storage server accepts
3081
+ # inbound network traffic on. The server port is set by default to TCP
3082
+ # 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your
3083
+ # self-managed object storage server requires one.
3084
+ # @return [Integer]
3085
+ #
3086
+ # @!attribute [rw] server_protocol
3087
+ # The protocol that the object storage server uses to communicate.
3088
+ # Valid values are `HTTP` or `HTTPS`.
3089
+ # @return [String]
3090
+ #
3091
+ # @!attribute [rw] subdirectory
3092
+ # The subdirectory in the self-managed object storage server that is
3093
+ # used to read data from.
3094
+ # @return [String]
3095
+ #
3096
+ # @!attribute [rw] access_key
3097
+ # Optional. The access key is used if credentials are required to
3098
+ # access the self-managed object storage server. If your object
3099
+ # storage requires a user name and password to authenticate, use
3100
+ # `AccessKey` and `SecretKey` to provide the user name and password,
3101
+ # respectively.
3102
+ # @return [String]
3103
+ #
3104
+ # @!attribute [rw] secret_key
3105
+ # Optional. The secret key is used if credentials are required to
3106
+ # access the self-managed object storage server. If your object
3107
+ # storage requires a user name and password to authenticate, use
3108
+ # `AccessKey` and `SecretKey` to provide the user name and password,
3109
+ # respectively.
3110
+ # @return [String]
3111
+ #
3112
+ # @!attribute [rw] agent_arns
3113
+ # The Amazon Resource Name (ARN) of the agents associated with the
3114
+ # self-managed object storage server location.
3115
+ # @return [Array<String>]
3116
+ #
3117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorageRequest AWS API Documentation
3118
+ #
3119
+ class UpdateLocationObjectStorageRequest < Struct.new(
3120
+ :location_arn,
3121
+ :server_port,
3122
+ :server_protocol,
3123
+ :subdirectory,
3124
+ :access_key,
3125
+ :secret_key,
3126
+ :agent_arns)
3127
+ SENSITIVE = [:secret_key]
3128
+ include Aws::Structure
3129
+ end
3130
+
3131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorageResponse AWS API Documentation
3132
+ #
3133
+ class UpdateLocationObjectStorageResponse < Aws::EmptyStructure; end
3134
+
3135
+ # @note When making an API call, you may pass UpdateLocationSmbRequest
3136
+ # data as a hash:
3137
+ #
3138
+ # {
3139
+ # location_arn: "LocationArn", # required
3140
+ # subdirectory: "SmbSubdirectory",
3141
+ # user: "SmbUser",
3142
+ # domain: "SmbDomain",
3143
+ # password: "SmbPassword",
3144
+ # agent_arns: ["AgentArn"],
3145
+ # mount_options: {
3146
+ # version: "AUTOMATIC", # accepts AUTOMATIC, SMB2, SMB3
3147
+ # },
3148
+ # }
3149
+ #
3150
+ # @!attribute [rw] location_arn
3151
+ # The Amazon Resource Name (ARN) of the SMB location to update.
3152
+ # @return [String]
3153
+ #
3154
+ # @!attribute [rw] subdirectory
3155
+ # The subdirectory in the SMB file system that is used to read data
3156
+ # from the SMB source location or write data to the SMB destination.
3157
+ # The SMB path should be a path that's exported by the SMB server, or
3158
+ # a subdirectory of that path. The path should be such that it can be
3159
+ # mounted by other SMB clients in your network.
3160
+ #
3161
+ # <note markdown="1"> `Subdirectory` must be specified with forward slashes. For example,
3162
+ # `/path/to/folder`.
3163
+ #
3164
+ # </note>
3165
+ #
3166
+ # To transfer all the data in the folder that you specified, DataSync
3167
+ # must have permissions to mount the SMB share and to access all the
3168
+ # data in that share. To ensure this, do either of the following:
3169
+ #
3170
+ # * Ensure that the user/password specified belongs to the user who
3171
+ # can mount the share and who has the appropriate permissions for
3172
+ # all of the files and directories that you want DataSync to access.
3173
+ #
3174
+ # * Use credentials of a member of the Backup Operators group to mount
3175
+ # the share.
3176
+ #
3177
+ # Doing either of these options enables the agent to access the data.
3178
+ # For the agent to access directories, you must also enable all
3179
+ # execute access.
3180
+ # @return [String]
3181
+ #
3182
+ # @!attribute [rw] user
3183
+ # The user who can mount the share has the permissions to access files
3184
+ # and folders in the SMB share.
3185
+ # @return [String]
3186
+ #
3187
+ # @!attribute [rw] domain
3188
+ # The name of the Windows domain that the SMB server belongs to.
3189
+ # @return [String]
3190
+ #
3191
+ # @!attribute [rw] password
3192
+ # The password of the user who can mount the share has the permissions
3193
+ # to access files and folders in the SMB share.
3194
+ # @return [String]
3195
+ #
3196
+ # @!attribute [rw] agent_arns
3197
+ # The Amazon Resource Names (ARNs) of agents to use for a Simple
3198
+ # Message Block (SMB) location.
3199
+ # @return [Array<String>]
3200
+ #
3201
+ # @!attribute [rw] mount_options
3202
+ # Represents the mount options that are available for DataSync to
3203
+ # access an SMB location.
3204
+ # @return [Types::SmbMountOptions]
3205
+ #
3206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmbRequest AWS API Documentation
3207
+ #
3208
+ class UpdateLocationSmbRequest < Struct.new(
3209
+ :location_arn,
3210
+ :subdirectory,
3211
+ :user,
3212
+ :domain,
3213
+ :password,
3214
+ :agent_arns,
3215
+ :mount_options)
3216
+ SENSITIVE = [:password]
3217
+ include Aws::Structure
3218
+ end
3219
+
3220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmbResponse AWS API Documentation
3221
+ #
3222
+ class UpdateLocationSmbResponse < Aws::EmptyStructure; end
3223
+
2983
3224
  # @note When making an API call, you may pass UpdateTaskExecutionRequest
2984
3225
  # data as a hash:
2985
3226
  #
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.29.0
4
+ version: 1.30.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: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core