#[non_exhaustive]pub struct GetEnvironmentOutput {
pub name: Option<String>,
pub arn: Option<String>,
pub description: Option<String>,
pub environment_id: Option<String>,
pub network_fabric_type: Option<NetworkFabricType>,
pub owner_account_id: Option<String>,
pub transit_gateway_id: Option<String>,
pub state: Option<EnvironmentState>,
pub tags: Option<HashMap<String, String>>,
pub error: Option<ErrorResponse>,
pub last_updated_time: Option<DateTime>,
pub created_time: Option<DateTime>,
/* private 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.name: Option<String>
The name of the environment.
arn: Option<String>
The Amazon Resource Name (ARN) of the environment.
description: Option<String>
The description of the environment.
environment_id: Option<String>
The unique identifier of the environment.
network_fabric_type: Option<NetworkFabricType>
The network fabric type of the environment.
owner_account_id: Option<String>
The Amazon Web Services account ID of the environment owner.
transit_gateway_id: Option<String>
The ID of the Transit Gateway set up by the environment, if applicable.
state: Option<EnvironmentState>
The current state of the environment.
The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
error: Option<ErrorResponse>
Any error associated with the environment resource.
last_updated_time: Option<DateTime>
A timestamp that indicates when the environment was last updated.
created_time: Option<DateTime>
A timestamp that indicates when the environment is created.
Implementations§
source§impl GetEnvironmentOutput
impl GetEnvironmentOutput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the environment.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The unique identifier of the environment.
sourcepub fn network_fabric_type(&self) -> Option<&NetworkFabricType>
pub fn network_fabric_type(&self) -> Option<&NetworkFabricType>
The network fabric type of the environment.
sourcepub fn owner_account_id(&self) -> Option<&str>
pub fn owner_account_id(&self) -> Option<&str>
The Amazon Web Services account ID of the environment owner.
sourcepub fn transit_gateway_id(&self) -> Option<&str>
pub fn transit_gateway_id(&self) -> Option<&str>
The ID of the Transit Gateway set up by the environment, if applicable.
sourcepub fn state(&self) -> Option<&EnvironmentState>
pub fn state(&self) -> Option<&EnvironmentState>
The current state of the environment.
The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
sourcepub fn error(&self) -> Option<&ErrorResponse>
pub fn error(&self) -> Option<&ErrorResponse>
Any error associated with the environment resource.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
A timestamp that indicates when the environment was last updated.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
A timestamp that indicates when the environment is created.
source§impl GetEnvironmentOutput
impl GetEnvironmentOutput
sourcepub fn builder() -> GetEnvironmentOutputBuilder
pub fn builder() -> GetEnvironmentOutputBuilder
Creates a new builder-style object to manufacture GetEnvironmentOutput
.
Trait Implementations§
source§impl Clone for GetEnvironmentOutput
impl Clone for GetEnvironmentOutput
source§fn clone(&self) -> GetEnvironmentOutput
fn clone(&self) -> GetEnvironmentOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetEnvironmentOutput
impl Debug for GetEnvironmentOutput
source§impl PartialEq for GetEnvironmentOutput
impl PartialEq for GetEnvironmentOutput
source§fn eq(&self, other: &GetEnvironmentOutput) -> bool
fn eq(&self, other: &GetEnvironmentOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetEnvironmentOutput
impl RequestId for GetEnvironmentOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.