Struct aws_sdk_storagegateway::operation::describe_gateway_information::DescribeGatewayInformationOutput
source · #[non_exhaustive]pub struct DescribeGatewayInformationOutput {Show 22 fields
pub gateway_arn: Option<String>,
pub gateway_id: Option<String>,
pub gateway_name: Option<String>,
pub gateway_timezone: Option<String>,
pub gateway_state: Option<String>,
pub gateway_network_interfaces: Option<Vec<NetworkInterface>>,
pub gateway_type: Option<String>,
pub next_update_availability_date: Option<String>,
pub last_software_update: Option<String>,
pub ec2_instance_id: Option<String>,
pub ec2_instance_region: Option<String>,
pub tags: Option<Vec<Tag>>,
pub vpc_endpoint: Option<String>,
pub cloud_watch_log_group_arn: Option<String>,
pub host_environment: Option<HostEnvironment>,
pub endpoint_type: Option<String>,
pub software_updates_end_date: Option<String>,
pub deprecation_date: Option<String>,
pub gateway_capacity: Option<GatewayCapacity>,
pub supported_gateway_capacities: Option<Vec<GatewayCapacity>>,
pub host_environment_id: Option<String>,
pub software_version: Option<String>,
/* private fields */
}
Expand description
A JSON object containing the following fields:
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.gateway_arn: Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
gateway_id: Option<String>
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
gateway_name: Option<String>
The name you configured for your gateway.
gateway_timezone: Option<String>
A value that indicates the time zone configured for the gateway.
gateway_state: Option<String>
A value that indicates the operating state of the gateway.
gateway_network_interfaces: Option<Vec<NetworkInterface>>
A NetworkInterface
array that contains descriptions of the gateway network interfaces.
gateway_type: Option<String>
The type of the gateway.
next_update_availability_date: Option<String>
The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.
last_software_update: Option<String>
The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response. This only only exist and returns once it have been chosen and set by the SGW service, based on the OS version of the gateway VM
ec2_instance_id: Option<String>
The ID of the Amazon EC2 instance that was used to launch the gateway.
ec2_instance_region: Option<String>
The Amazon Web Services Region where the Amazon EC2 instance is located.
A list of up to 50 tags assigned to the gateway, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource
API operation.
vpc_endpoint: Option<String>
The configuration settings for the virtual private cloud (VPC) endpoint for your gateway.
cloud_watch_log_group_arn: Option<String>
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor events in the gateway. This field only only exist and returns once it have been chosen and set by the SGW service, based on the OS version of the gateway VM
host_environment: Option<HostEnvironment>
The type of hardware or software platform on which the gateway is running.
endpoint_type: Option<String>
The type of endpoint for your gateway.
Valid Values: STANDARD
| FIPS
software_updates_end_date: Option<String>
Date after which this gateway will not receive software updates for new features.
deprecation_date: Option<String>
Date after which this gateway will not receive software updates for new features and bug fixes.
gateway_capacity: Option<GatewayCapacity>
Specifies the size of the gateway's metadata cache.
supported_gateway_capacities: Option<Vec<GatewayCapacity>>
A list of the metadata cache sizes that the gateway can support based on its current hardware specifications.
host_environment_id: Option<String>
A unique identifier for the specific instance of the host platform running the gateway. This value is only available for certain host environments, and its format depends on the host environment type.
software_version: Option<String>
The version number of the software running on the gateway appliance.
Implementations§
source§impl DescribeGatewayInformationOutput
impl DescribeGatewayInformationOutput
sourcepub fn gateway_arn(&self) -> Option<&str>
pub fn gateway_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn gateway_id(&self) -> Option<&str>
pub fn gateway_id(&self) -> Option<&str>
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
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 configured for the gateway.
sourcepub fn gateway_state(&self) -> Option<&str>
pub fn gateway_state(&self) -> Option<&str>
A value that indicates the operating state of the gateway.
sourcepub fn gateway_network_interfaces(&self) -> &[NetworkInterface]
pub fn gateway_network_interfaces(&self) -> &[NetworkInterface]
A NetworkInterface
array that contains descriptions of the gateway network interfaces.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .gateway_network_interfaces.is_none()
.
sourcepub fn gateway_type(&self) -> Option<&str>
pub fn gateway_type(&self) -> Option<&str>
The type of the gateway.
sourcepub fn next_update_availability_date(&self) -> Option<&str>
pub fn next_update_availability_date(&self) -> Option<&str>
The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response.
sourcepub fn last_software_update(&self) -> Option<&str>
pub fn last_software_update(&self) -> Option<&str>
The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response. This only only exist and returns once it have been chosen and set by the SGW service, based on the OS version of the gateway VM
sourcepub fn ec2_instance_id(&self) -> Option<&str>
pub fn ec2_instance_id(&self) -> Option<&str>
The ID of the Amazon EC2 instance that was used to launch the gateway.
sourcepub fn ec2_instance_region(&self) -> Option<&str>
pub fn ec2_instance_region(&self) -> Option<&str>
The Amazon Web Services Region where the Amazon EC2 instance is located.
A list of up to 50 tags assigned to the gateway, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the ListTagsForResource
API operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn vpc_endpoint(&self) -> Option<&str>
pub fn vpc_endpoint(&self) -> Option<&str>
The configuration settings for the virtual private cloud (VPC) endpoint for your gateway.
sourcepub fn cloud_watch_log_group_arn(&self) -> Option<&str>
pub fn cloud_watch_log_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor events in the gateway. This field only only exist and returns once it have been chosen and set by the SGW service, based on the OS version of the gateway VM
sourcepub fn host_environment(&self) -> Option<&HostEnvironment>
pub fn host_environment(&self) -> Option<&HostEnvironment>
The type of hardware or software platform on which the gateway is running.
sourcepub fn endpoint_type(&self) -> Option<&str>
pub fn endpoint_type(&self) -> Option<&str>
The type of endpoint for your gateway.
Valid Values: STANDARD
| FIPS
sourcepub fn software_updates_end_date(&self) -> Option<&str>
pub fn software_updates_end_date(&self) -> Option<&str>
Date after which this gateway will not receive software updates for new features.
sourcepub fn deprecation_date(&self) -> Option<&str>
pub fn deprecation_date(&self) -> Option<&str>
Date after which this gateway will not receive software updates for new features and bug fixes.
sourcepub fn gateway_capacity(&self) -> Option<&GatewayCapacity>
pub fn gateway_capacity(&self) -> Option<&GatewayCapacity>
Specifies the size of the gateway's metadata cache.
sourcepub fn supported_gateway_capacities(&self) -> &[GatewayCapacity]
pub fn supported_gateway_capacities(&self) -> &[GatewayCapacity]
A list of the metadata cache sizes that the gateway can support based on its current hardware specifications.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_gateway_capacities.is_none()
.
sourcepub fn host_environment_id(&self) -> Option<&str>
pub fn host_environment_id(&self) -> Option<&str>
A unique identifier for the specific instance of the host platform running the gateway. This value is only available for certain host environments, and its format depends on the host environment type.
sourcepub fn software_version(&self) -> Option<&str>
pub fn software_version(&self) -> Option<&str>
The version number of the software running on the gateway appliance.
source§impl DescribeGatewayInformationOutput
impl DescribeGatewayInformationOutput
sourcepub fn builder() -> DescribeGatewayInformationOutputBuilder
pub fn builder() -> DescribeGatewayInformationOutputBuilder
Creates a new builder-style object to manufacture DescribeGatewayInformationOutput
.
Trait Implementations§
source§impl Clone for DescribeGatewayInformationOutput
impl Clone for DescribeGatewayInformationOutput
source§fn clone(&self) -> DescribeGatewayInformationOutput
fn clone(&self) -> DescribeGatewayInformationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeGatewayInformationOutput
impl PartialEq for DescribeGatewayInformationOutput
source§fn eq(&self, other: &DescribeGatewayInformationOutput) -> bool
fn eq(&self, other: &DescribeGatewayInformationOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeGatewayInformationOutput
impl RequestId for DescribeGatewayInformationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeGatewayInformationOutput
Auto Trait Implementations§
impl Freeze for DescribeGatewayInformationOutput
impl RefUnwindSafe for DescribeGatewayInformationOutput
impl Send for DescribeGatewayInformationOutput
impl Sync for DescribeGatewayInformationOutput
impl Unpin for DescribeGatewayInformationOutput
impl UnwindSafe for DescribeGatewayInformationOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more