Struct aws_sdk_datasync::client::fluent_builders::CreateLocationObjectStorage [−][src]
pub struct CreateLocationObjectStorage<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateLocationObjectStorage
.
Creates an endpoint for a self-managed object storage bucket. For more information about self-managed object storage locations, see Creating a location for object storage.
Implementations
impl<C, M, R> CreateLocationObjectStorage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateLocationObjectStorage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateLocationObjectStorageOutput, SdkError<CreateLocationObjectStorageError>> where
R::Policy: SmithyRetryPolicy<CreateLocationObjectStorageInputOperationOutputAlias, CreateLocationObjectStorageOutput, CreateLocationObjectStorageError, CreateLocationObjectStorageInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateLocationObjectStorageOutput, SdkError<CreateLocationObjectStorageError>> where
R::Policy: SmithyRetryPolicy<CreateLocationObjectStorageInputOperationOutputAlias, CreateLocationObjectStorageOutput, CreateLocationObjectStorageError, CreateLocationObjectStorageInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.
The name of the self-managed object storage server. This value is the IP address or Domain Name Service (DNS) name of the object storage server. An agent uses this host name to mount the object storage server in a network.
The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.
The port that your self-managed object storage server accepts inbound network traffic on. The server port is set by default to TCP 80 (HTTP) or TCP 443 (HTTPS). You can specify a custom port if your self-managed object storage server requires one.
The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.
The protocol that the object storage server uses to communicate. Valid values are HTTP or HTTPS.
The subdirectory in the self-managed object storage server that is used to read data from.
The subdirectory in the self-managed object storage server that is used to read data from.
The bucket on the self-managed object storage server that is used to read data from.
The bucket on the self-managed object storage server that is used to read data from.
Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey
and SecretKey
to provide the user name and password, respectively.
Optional. The access key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey
and SecretKey
to provide the user name and password, respectively.
Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey
and SecretKey
to provide the user name and password, respectively.
Optional. The secret key is used if credentials are required to access the self-managed object storage server. If your object storage requires a user name and password to authenticate, use AccessKey
and SecretKey
to provide the user name and password, respectively.
Appends an item to AgentArns
.
To override the contents of this collection use set_agent_arns
.
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
The Amazon Resource Name (ARN) of the agents associated with the self-managed object storage server location.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateLocationObjectStorage<C, M, R>
impl<C, M, R> Send for CreateLocationObjectStorage<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateLocationObjectStorage<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateLocationObjectStorage<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateLocationObjectStorage<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more