Struct aws_sdk_storagegateway::input::ActivateGatewayInput
source · [−]#[non_exhaustive]pub struct ActivateGatewayInput {
pub activation_key: Option<String>,
pub gateway_name: Option<String>,
pub gateway_timezone: Option<String>,
pub gateway_region: Option<String>,
pub gateway_type: Option<String>,
pub tape_drive_type: Option<String>,
pub medium_changer_type: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
A JSON object containing one or more of the following fields:
-
ActivateGatewayInput$ActivationKey
-
ActivateGatewayInput$GatewayName
-
ActivateGatewayInput$GatewayRegion
-
ActivateGatewayInput$GatewayTimezone
-
ActivateGatewayInput$GatewayType
-
ActivateGatewayInput$MediumChangerType
-
ActivateGatewayInput$TapeDriveType
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.activation_key: Option<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 Storage Gateway User Guide.
gateway_name: Option<String>
The name you configured for your gateway.
gateway_timezone: Option<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_region: Option<String>
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.
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
| VTL_SNOW
| FILE_S3
| FILE_FSX_SMB
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
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.
Implementations
sourceimpl ActivateGatewayInput
impl ActivateGatewayInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ActivateGateway, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ActivateGateway, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ActivateGateway
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ActivateGatewayInput
sourceimpl ActivateGatewayInput
impl ActivateGatewayInput
sourcepub fn activation_key(&self) -> Option<&str>
pub fn activation_key(&self) -> Option<&str>
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.
sourcepub fn gateway_name(&self) -> Option<&str>
pub fn gateway_name(&self) -> Option<&str>
The name you configured for your gateway.
sourcepub fn gateway_timezone(&self) -> Option<&str>
pub fn gateway_timezone(&self) -> Option<&str>
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.
sourcepub fn gateway_region(&self) -> Option<&str>
pub fn gateway_region(&self) -> Option<&str>
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.
sourcepub fn gateway_type(&self) -> Option<&str>
pub fn gateway_type(&self) -> Option<&str>
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
| VTL_SNOW
| FILE_S3
| FILE_FSX_SMB
sourcepub fn tape_drive_type(&self) -> Option<&str>
pub fn tape_drive_type(&self) -> Option<&str>
The value that indicates the type of tape drive to use for tape gateway. This field is optional.
Valid Values: IBM-ULT3580-TD5
sourcepub fn medium_changer_type(&self) -> Option<&str>
pub fn medium_changer_type(&self) -> Option<&str>
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.
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 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 !=
.
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