#[non_exhaustive]
pub struct CreateEnvironmentOutput {
Show 21 fields pub environment_name: Option<String>, pub environment_id: Option<String>, pub application_name: Option<String>, pub version_label: Option<String>, pub solution_stack_name: Option<String>, pub platform_arn: Option<String>, pub template_name: Option<String>, pub description: Option<String>, pub endpoint_url: Option<String>, pub cname: Option<String>, pub date_created: Option<DateTime>, pub date_updated: Option<DateTime>, pub status: Option<EnvironmentStatus>, pub abortable_operation_in_progress: Option<bool>, pub health: Option<EnvironmentHealth>, pub health_status: Option<EnvironmentHealthStatus>, pub resources: Option<EnvironmentResourcesDescription>, pub tier: Option<EnvironmentTier>, pub environment_links: Option<Vec<EnvironmentLink>>, pub environment_arn: Option<String>, pub operations_role: Option<String>, /* private fields */
}
Expand description

Describes the properties of an environment.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§environment_name: Option<String>

The name of this environment.

§environment_id: Option<String>

The ID of this environment.

§application_name: Option<String>

The name of the application associated with this environment.

§version_label: Option<String>

The application version deployed in this environment.

§solution_stack_name: Option<String>

The name of the SolutionStack deployed with this environment.

§platform_arn: Option<String>

The ARN of the platform version.

§template_name: Option<String>

The name of the configuration template used to originally launch this environment.

§description: Option<String>

Describes this environment.

§endpoint_url: Option<String>

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.

§cname: Option<String>

The URL to the CNAME for this environment.

§date_created: Option<DateTime>

The creation date for this environment.

§date_updated: Option<DateTime>

The last modified date for this environment.

§status: Option<EnvironmentStatus>

The current operational status of the environment:

  • Launching: Environment is in the process of initial deployment.

  • Updating: Environment is in the process of updating its configuration settings or application version.

  • Ready: Environment is available to have an action performed on it, such as update or terminate.

  • Terminating: Environment is in the shut-down process.

  • Terminated: Environment is not running.

§abortable_operation_in_progress: Option<bool>

Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.

true: There is an update in progress.

false: There are no updates currently in progress.

§health: Option<EnvironmentHealth>

Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

  • Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.

  • Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.

  • Green: Indicates the environment is healthy and fully functional.

  • Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironment request.

Default: Grey

§health_status: Option<EnvironmentHealthStatus>

Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.

§resources: Option<EnvironmentResourcesDescription>

The description of the AWS resources used by this environment.

§tier: Option<EnvironmentTier>

Describes the current tier of this environment.

§environment_links: Option<Vec<EnvironmentLink>>

A list of links to other environments in the same group.

§environment_arn: Option<String>

The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.

§operations_role: Option<String>

The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

Implementations§

source§

impl CreateEnvironmentOutput

source

pub fn environment_name(&self) -> Option<&str>

The name of this environment.

source

pub fn environment_id(&self) -> Option<&str>

The ID of this environment.

source

pub fn application_name(&self) -> Option<&str>

The name of the application associated with this environment.

source

pub fn version_label(&self) -> Option<&str>

The application version deployed in this environment.

source

pub fn solution_stack_name(&self) -> Option<&str>

The name of the SolutionStack deployed with this environment.

source

pub fn platform_arn(&self) -> Option<&str>

The ARN of the platform version.

source

pub fn template_name(&self) -> Option<&str>

The name of the configuration template used to originally launch this environment.

source

pub fn description(&self) -> Option<&str>

Describes this environment.

source

pub fn endpoint_url(&self) -> Option<&str>

For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.

source

pub fn cname(&self) -> Option<&str>

The URL to the CNAME for this environment.

source

pub fn date_created(&self) -> Option<&DateTime>

The creation date for this environment.

source

pub fn date_updated(&self) -> Option<&DateTime>

The last modified date for this environment.

source

pub fn status(&self) -> Option<&EnvironmentStatus>

The current operational status of the environment:

  • Launching: Environment is in the process of initial deployment.

  • Updating: Environment is in the process of updating its configuration settings or application version.

  • Ready: Environment is available to have an action performed on it, such as update or terminate.

  • Terminating: Environment is in the shut-down process.

  • Terminated: Environment is not running.

source

pub fn abortable_operation_in_progress(&self) -> Option<bool>

Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.

true: There is an update in progress.

false: There are no updates currently in progress.

source

pub fn health(&self) -> Option<&EnvironmentHealth>

Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:

  • Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.

  • Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.

  • Green: Indicates the environment is healthy and fully functional.

  • Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironment request.

Default: Grey

source

pub fn health_status(&self) -> Option<&EnvironmentHealthStatus>

Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.

source

pub fn resources(&self) -> Option<&EnvironmentResourcesDescription>

The description of the AWS resources used by this environment.

source

pub fn tier(&self) -> Option<&EnvironmentTier>

Describes the current tier of this environment.

A list of links to other environments in the same group.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .environment_links.is_none().

source

pub fn environment_arn(&self) -> Option<&str>

The environment's Amazon Resource Name (ARN), which can be used in other API requests that require an ARN.

source

pub fn operations_role(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the environment's operations role. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

source§

impl CreateEnvironmentOutput

source

pub fn builder() -> CreateEnvironmentOutputBuilder

Creates a new builder-style object to manufacture CreateEnvironmentOutput.

Trait Implementations§

source§

impl Clone for CreateEnvironmentOutput

source§

fn clone(&self) -> CreateEnvironmentOutput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreateEnvironmentOutput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for CreateEnvironmentOutput

source§

fn eq(&self, other: &CreateEnvironmentOutput) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RequestId for CreateEnvironmentOutput

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.
source§

impl StructuralPartialEq for CreateEnvironmentOutput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more