Struct aws_sdk_storagegateway::client::fluent_builders::ActivateGateway [−][src]
pub struct ActivateGateway<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ActivateGateway
.
Activates the gateway you previously deployed on your host. In the activation process, you specify information such as the Amazon Web Services Region that you want to use for storing snapshots or tapes, the time zone for scheduled snapshots the gateway snapshot schedule window, an activation key, and a name for your gateway. The activation process also associates your gateway with your account. For more information, see UpdateGatewayInformation.
You must turn on the gateway VM before you can activate your gateway.
Implementations
impl<C, M, R> ActivateGateway<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ActivateGateway<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ActivateGatewayOutput, SdkError<ActivateGatewayError>> where
R::Policy: SmithyRetryPolicy<ActivateGatewayInputOperationOutputAlias, ActivateGatewayOutput, ActivateGatewayError, ActivateGatewayInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ActivateGatewayOutput, SdkError<ActivateGatewayError>> where
R::Policy: SmithyRetryPolicy<ActivateGatewayInputOperationOutputAlias, ActivateGatewayOutput, ActivateGatewayError, ActivateGatewayInputOperationRetryAlias>,
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.
Your gateway activation key. You can obtain the activation key by sending an HTTP GET
request with redirects enabled to the gateway IP address (port 80). The redirect URL
returned in the response provides you the activation key for your gateway in the query
string parameter activationKey
. It may also include other activation-related
parameters, however, these are merely defaults -- the arguments you pass to the
ActivateGateway
API call determine the actual configuration of your
gateway.
For more information, see Getting activation key in the Storage Gateway User Guide.
Your gateway activation key. You can obtain the activation key by sending an HTTP GET
request with redirects enabled to the gateway IP address (port 80). The redirect URL
returned in the response provides you the activation key for your gateway in the query
string parameter activationKey
. It may also include other activation-related
parameters, however, these are merely defaults -- the arguments you pass to the
ActivateGateway
API call determine the actual configuration of your
gateway.
For more information, see Getting activation key in the Storage Gateway User Guide.
The name you configured for your gateway.
The name you configured for your gateway.
A value that indicates the time zone you want to set for the gateway. The time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
A value that indicates the time zone you want to set for the gateway. The time zone is of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is 2 hours ahead of GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
A value that indicates the Amazon Web Services Region where you want to store your data.
The gateway Amazon Web Services Region specified must be the same Amazon Web Services Region
as the Amazon Web Services Region in your Host
header in the request. For more
information about available Amazon Web Services Regions and endpoints for Storage Gateway, see
Storage Gateway endpoints and quotas in the Amazon Web Services
General Reference.
Valid Values: See Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.
A value that indicates the Amazon Web Services Region where you want to store your data.
The gateway Amazon Web Services Region specified must be the same Amazon Web Services Region
as the Amazon Web Services Region in your Host
header in the request. For more
information about available Amazon Web Services Regions and endpoints for Storage Gateway, see
Storage Gateway endpoints and quotas in the Amazon Web Services
General Reference.
Valid Values: See Storage Gateway endpoints and quotas in the Amazon Web Services General Reference.
A value that defines the type of gateway to activate. The type specified is critical to
all later functions of the gateway and cannot be changed after activation. The default
value is CACHED
.
Valid Values: STORED
| CACHED
| VTL
|
FILE_S3
| FILE_FSX_SMB|
A value that defines the type of gateway to activate. The type specified is critical to
all later functions of the gateway and cannot be changed after activation. The default
value is CACHED
.
Valid Values: STORED
| CACHED
| VTL
|
FILE_S3
| FILE_FSX_SMB|
The value that indicates the type of tape drive to use for tape gateway. This field is optional.
Valid Values: IBM-ULT3580-TD5
The value that indicates the type of tape drive to use for tape gateway. This field is optional.
Valid Values: IBM-ULT3580-TD5
The value that indicates the type of medium changer to use for tape gateway. This field is optional.
Valid Values: STK-L700
| AWS-Gateway-VTL
|
IBM-03584L32-0402
The value that indicates the type of medium changer to use for tape gateway. This field is optional.
Valid Values: STK-L700
| AWS-Gateway-VTL
|
IBM-03584L32-0402
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
A list of up to 50 tags that you can assign to the gateway. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers that can be represented in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256 characters.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ActivateGateway<C, M, R>
impl<C, M, R> Send for ActivateGateway<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ActivateGateway<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ActivateGateway<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ActivateGateway<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