Struct aws_sdk_proton::model::Environment
source · [−]#[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
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
sourceimpl Environment
impl Environment
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the environment.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the environment was created.
sourcepub fn last_deployment_attempted_at(&self) -> Option<&DateTime>
pub fn last_deployment_attempted_at(&self) -> Option<&DateTime>
The time when a deployment of the environment was last attempted.
sourcepub fn last_deployment_succeeded_at(&self) -> Option<&DateTime>
pub fn last_deployment_succeeded_at(&self) -> Option<&DateTime>
The time when the environment was last deployed successfully.
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the environment template.
sourcepub fn template_major_version(&self) -> Option<&str>
pub fn template_major_version(&self) -> Option<&str>
The major version of the environment template.
sourcepub fn template_minor_version(&self) -> Option<&str>
pub fn template_minor_version(&self) -> Option<&str>
The minor version of the environment template.
sourcepub fn deployment_status(&self) -> Option<&DeploymentStatus>
pub fn deployment_status(&self) -> Option<&DeploymentStatus>
The environment deployment status.
sourcepub fn deployment_status_message(&self) -> Option<&str>
pub fn deployment_status_message(&self) -> Option<&str>
An environment deployment status message.
sourcepub fn proton_service_role_arn(&self) -> Option<&str>
pub fn proton_service_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Proton service role that allows Proton to make calls to other services on your behalf.
sourcepub fn environment_account_connection_id(&self) -> Option<&str>
pub fn environment_account_connection_id(&self) -> Option<&str>
The ID of the environment account connection that's used to provision infrastructure resources in an environment account.
sourcepub fn environment_account_id(&self) -> Option<&str>
pub fn environment_account_id(&self) -> Option<&str>
The ID of the environment account that the environment infrastructure resources are provisioned in.
sourcepub fn provisioning(&self) -> Option<&Provisioning>
pub fn provisioning(&self) -> Option<&Provisioning>
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
sourcepub fn provisioning_repository(&self) -> Option<&RepositoryBranch>
pub fn provisioning_repository(&self) -> Option<&RepositoryBranch>
The infrastructure repository that you use to host your rendered infrastructure templates for self-managed provisioning.
sourceimpl Environment
impl Environment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Environment
Trait Implementations
sourceimpl Clone for Environment
impl Clone for Environment
sourcefn clone(&self) -> Environment
fn clone(&self) -> Environment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Environment
impl Debug for Environment
sourceimpl PartialEq<Environment> for Environment
impl PartialEq<Environment> for Environment
sourcefn eq(&self, other: &Environment) -> bool
fn eq(&self, other: &Environment) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Environment) -> bool
fn ne(&self, other: &Environment) -> bool
This method tests for !=
.
impl StructuralPartialEq for Environment
Auto Trait Implementations
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnwindSafe for Environment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more