#[non_exhaustive]
pub struct Environment {
Show 17 fields pub name: Option<String>, pub description: Option<String>, pub created_at: Option<DateTime>, pub last_deployment_attempted_at: Option<DateTime>, pub last_deployment_succeeded_at: Option<DateTime>, pub arn: Option<String>, pub template_name: Option<String>, pub template_major_version: Option<String>, pub template_minor_version: Option<String>, pub deployment_status: Option<DeploymentStatus>, pub deployment_status_message: Option<String>, pub proton_service_role_arn: Option<String>, pub environment_account_connection_id: Option<String>, pub environment_account_id: Option<String>, pub spec: Option<String>, pub provisioning: Option<Provisioning>, pub provisioning_repository: Option<RepositoryBranch>,
}
Expand description

The environment detail data. An Proton environment is a set resources shared across an Proton service.

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.
name: Option<String>

The name of the environment.

description: Option<String>

The description of the environment.

created_at: Option<DateTime>

The time when the environment was created.

last_deployment_attempted_at: Option<DateTime>

The time when a deployment of the environment was last attempted.

last_deployment_succeeded_at: Option<DateTime>

The time when the environment was last deployed successfully.

arn: Option<String>

The Amazon Resource Name (ARN) of the environment.

template_name: Option<String>

The Amazon Resource Name (ARN) of the environment template.

template_major_version: Option<String>

The major version of the environment template.

template_minor_version: Option<String>

The minor version of the environment template.

deployment_status: Option<DeploymentStatus>

The environment deployment status.

deployment_status_message: Option<String>

An environment deployment status message.

proton_service_role_arn: Option<String>

The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.

environment_account_connection_id: Option<String>

The ID of the environment account connection that's used to provision infrastructure resources in an environment account.

environment_account_id: Option<String>

The ID of the environment account that the environment infrastructure resources are provisioned in.

spec: Option<String>

The environment spec.

provisioning: Option<Provisioning>

When included, indicates that the environment template is for customer provisioned and managed infrastructure.

provisioning_repository: Option<RepositoryBranch>

The infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.

Implementations

The name of the environment.

The description of the environment.

The time when the environment was created.

The time when a deployment of the environment was last attempted.

The time when the environment was last deployed successfully.

The Amazon Resource Name (ARN) of the environment.

The Amazon Resource Name (ARN) of the environment template.

The major version of the environment template.

The minor version of the environment template.

The environment deployment status.

An environment deployment status message.

The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.

The ID of the environment account connection that's used to provision infrastructure resources in an environment account.

The ID of the environment account that the environment infrastructure resources are provisioned in.

The environment spec.

When included, indicates that the environment template is for customer provisioned and managed infrastructure.

The infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.

Creates a new builder-style object to manufacture Environment

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

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

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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