pub struct ActivateGatewayInput {
pub activation_key: String,
pub gateway_name: String,
pub gateway_region: String,
pub gateway_timezone: String,
pub gateway_type: Option<String>,
pub medium_changer_type: Option<String>,
pub tags: Option<Vec<Tag>>,
pub tape_drive_type: Option<String>,
}
Expand description
A JSON object containing one or more of the following fields:
Fields
activation_key: String
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 AWS Storage Gateway User Guide.
gateway_name: String
The name you configured for your gateway.
gateway_region: String
A value that indicates the AWS Region where you want to store your data. The gateway AWS Region specified must be the same AWS Region as the AWS Region in your Host
header in the request. For more information about available AWS Regions and endpoints for AWS Storage Gateway, see AWS Storage Gateway endpoints and quotas in the AWS General Reference.
Valid Values: See AWS Storage Gateway endpoints and quotas in the AWS General Reference.
gateway_timezone: String
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.
gateway_type: Option<String>
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
medium_changer_type: Option<String>
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
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.
tape_drive_type: Option<String>
The value that indicates the type of tape drive to use for tape gateway. This field is optional.
Valid Values: IBM-ULT3580-TD5
Trait Implementations
sourceimpl Clone for ActivateGatewayInput
impl Clone for ActivateGatewayInput
sourcefn clone(&self) -> ActivateGatewayInput
fn clone(&self) -> ActivateGatewayInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ActivateGatewayInput
impl Debug for ActivateGatewayInput
sourceimpl Default for ActivateGatewayInput
impl Default for ActivateGatewayInput
sourcefn default() -> ActivateGatewayInput
fn default() -> ActivateGatewayInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ActivateGatewayInput> for ActivateGatewayInput
impl PartialEq<ActivateGatewayInput> for ActivateGatewayInput
sourcefn eq(&self, other: &ActivateGatewayInput) -> bool
fn eq(&self, other: &ActivateGatewayInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ActivateGatewayInput) -> bool
fn ne(&self, other: &ActivateGatewayInput) -> bool
This method tests for !=
.
sourceimpl Serialize for ActivateGatewayInput
impl Serialize for ActivateGatewayInput
impl StructuralPartialEq for ActivateGatewayInput
Auto Trait Implementations
impl RefUnwindSafe for ActivateGatewayInput
impl Send for ActivateGatewayInput
impl Sync for ActivateGatewayInput
impl Unpin for ActivateGatewayInput
impl UnwindSafe for ActivateGatewayInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more