update_location_object_storage
(**kwargs)¶Updates some parameters of an existing object storage location that DataSync accesses for a transfer. For information about creating a self-managed object storage location, see Creating a location for object storage.
See also: AWS API Documentation
Request Syntax
response = client.update_location_object_storage(
LocationArn='string',
ServerPort=123,
ServerProtocol='HTTPS'|'HTTP',
Subdirectory='string',
AccessKey='string',
SecretKey='string',
AgentArns=[
'string',
],
ServerCertificate=b'bytes'
)
[REQUIRED]
Specifies the ARN of the object storage system location that you're updating.
Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can securely connect with your location.
Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem
file (for example, file:///home/user/.ssh/storage_sys_certificate.pem
). The certificate can be up to 32768 bytes (before Base64 encoding).
To use this parameter, configure ServerProtocol
to HTTPS
.
Updating the certificate doesn't interfere with tasks that you have in progress.
dict
Response Syntax
{}
Response Structure
Exceptions
DataSync.Client.exceptions.InvalidRequestException
DataSync.Client.exceptions.InternalException