Struct aws_sdk_m2::operation::get_environment::GetEnvironmentOutput
source · #[non_exhaustive]pub struct GetEnvironmentOutput {Show 22 fields
pub name: String,
pub description: Option<String>,
pub environment_arn: String,
pub environment_id: String,
pub instance_type: String,
pub status: EnvironmentLifecycle,
pub engine_type: EngineType,
pub engine_version: String,
pub vpc_id: String,
pub subnet_ids: Vec<String>,
pub security_group_ids: Vec<String>,
pub creation_time: DateTime,
pub storage_configurations: Option<Vec<StorageConfiguration>>,
pub tags: Option<HashMap<String, String>>,
pub high_availability_config: Option<HighAvailabilityConfig>,
pub publicly_accessible: bool,
pub actual_capacity: Option<i32>,
pub load_balancer_arn: Option<String>,
pub status_reason: Option<String>,
pub preferred_maintenance_window: Option<String>,
pub pending_maintenance: Option<PendingMaintenance>,
pub kms_key_id: Option<String>,
/* 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: String
The name of the runtime environment. Must be unique within the account.
description: Option<String>
The description of the runtime environment.
environment_arn: String
The Amazon Resource Name (ARN) of the runtime environment.
environment_id: String
The unique identifier of the runtime environment.
instance_type: String
The type of instance underlying the runtime environment.
status: EnvironmentLifecycle
The status of the runtime environment.
engine_type: EngineType
The target platform for the runtime environment.
engine_version: String
The version of the runtime engine.
vpc_id: String
The unique identifier for the VPC used with this runtime environment.
subnet_ids: Vec<String>
The unique identifiers of the subnets assigned to this runtime environment.
security_group_ids: Vec<String>
The unique identifiers of the security groups assigned to this runtime environment.
creation_time: DateTime
The timestamp when the runtime environment was created.
storage_configurations: Option<Vec<StorageConfiguration>>
The storage configurations defined for the runtime environment.
The tags defined for this runtime environment.
high_availability_config: Option<HighAvailabilityConfig>
The desired capacity of the high availability configuration for the runtime environment.
publicly_accessible: bool
Whether applications running in this runtime environment are publicly accessible.
actual_capacity: Option<i32>
The number of instances included in the runtime environment. A standalone runtime environment has a maximum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
load_balancer_arn: Option<String>
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
status_reason: Option<String>
The reason for the reported status.
preferred_maintenance_window: Option<String>
The maintenance window for the runtime environment. If you don't provide a value for the maintenance window, the service assigns a random value.
pending_maintenance: Option<PendingMaintenance>
Indicates the pending maintenance scheduled on this environment.
kms_key_id: Option<String>
The identifier of a customer managed key.
Implementations§
source§impl GetEnvironmentOutput
impl GetEnvironmentOutput
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The name of the runtime environment. Must be unique within the account.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the runtime environment.
sourcepub fn environment_arn(&self) -> &str
pub fn environment_arn(&self) -> &str
The Amazon Resource Name (ARN) of the runtime environment.
sourcepub fn environment_id(&self) -> &str
pub fn environment_id(&self) -> &str
The unique identifier of the runtime environment.
sourcepub fn instance_type(&self) -> &str
pub fn instance_type(&self) -> &str
The type of instance underlying the runtime environment.
sourcepub fn status(&self) -> &EnvironmentLifecycle
pub fn status(&self) -> &EnvironmentLifecycle
The status of the runtime environment.
sourcepub fn engine_type(&self) -> &EngineType
pub fn engine_type(&self) -> &EngineType
The target platform for the runtime environment.
sourcepub fn engine_version(&self) -> &str
pub fn engine_version(&self) -> &str
The version of the runtime engine.
sourcepub fn vpc_id(&self) -> &str
pub fn vpc_id(&self) -> &str
The unique identifier for the VPC used with this runtime environment.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
The unique identifiers of the subnets assigned to this runtime environment.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The unique identifiers of the security groups assigned to this runtime environment.
sourcepub fn creation_time(&self) -> &DateTime
pub fn creation_time(&self) -> &DateTime
The timestamp when the runtime environment was created.
sourcepub fn storage_configurations(&self) -> &[StorageConfiguration]
pub fn storage_configurations(&self) -> &[StorageConfiguration]
The storage configurations defined for the runtime environment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .storage_configurations.is_none()
.
The tags defined for this runtime environment.
sourcepub fn high_availability_config(&self) -> Option<&HighAvailabilityConfig>
pub fn high_availability_config(&self) -> Option<&HighAvailabilityConfig>
The desired capacity of the high availability configuration for the runtime environment.
sourcepub fn publicly_accessible(&self) -> bool
pub fn publicly_accessible(&self) -> bool
Whether applications running in this runtime environment are publicly accessible.
sourcepub fn actual_capacity(&self) -> Option<i32>
pub fn actual_capacity(&self) -> Option<i32>
The number of instances included in the runtime environment. A standalone runtime environment has a maximum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
sourcepub fn load_balancer_arn(&self) -> Option<&str>
pub fn load_balancer_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the load balancer used with the runtime environment.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The reason for the reported status.
sourcepub fn preferred_maintenance_window(&self) -> Option<&str>
pub fn preferred_maintenance_window(&self) -> Option<&str>
The maintenance window for the runtime environment. If you don't provide a value for the maintenance window, the service assigns a random value.
sourcepub fn pending_maintenance(&self) -> Option<&PendingMaintenance>
pub fn pending_maintenance(&self) -> Option<&PendingMaintenance>
Indicates the pending maintenance scheduled on this environment.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The identifier of a customer managed key.
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.