Struct aws_sdk_proton::model::Component
source · [−]#[non_exhaustive]pub struct Component {Show 13 fields
pub name: Option<String>,
pub description: Option<String>,
pub arn: Option<String>,
pub environment_name: Option<String>,
pub service_name: Option<String>,
pub service_instance_name: Option<String>,
pub created_at: Option<DateTime>,
pub last_modified_at: Option<DateTime>,
pub last_deployment_attempted_at: Option<DateTime>,
pub last_deployment_succeeded_at: Option<DateTime>,
pub deployment_status: Option<DeploymentStatus>,
pub deployment_status_message: Option<String>,
pub service_spec: Option<String>,
}
Expand description
Detailed data of an Proton component resource.
For more information about components, see Proton components in the Proton Administrator Guide.
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 component.
description: Option<String>
A description of the component.
arn: Option<String>
The Amazon Resource Name (ARN) of the component.
environment_name: Option<String>
The name of the Proton environment that this component is associated with.
service_name: Option<String>
The name of the service that serviceInstanceName
is associated with. Provided when a component is attached to a service instance.
service_instance_name: Option<String>
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
created_at: Option<DateTime>
The time when the component was created.
last_modified_at: Option<DateTime>
The time when the component was last modified.
last_deployment_attempted_at: Option<DateTime>
The time when a deployment of the component was last attempted.
last_deployment_succeeded_at: Option<DateTime>
The time when the component was last deployed successfully.
deployment_status: Option<DeploymentStatus>
The component deployment status.
deployment_status_message: Option<String>
The message associated with the component deployment status.
service_spec: Option<String>
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
Implementations
sourceimpl Component
impl Component
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the component.
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
The name of the Proton environment that this component is associated with.
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the service that serviceInstanceName
is associated with. Provided when a component is attached to a service instance.
sourcepub fn service_instance_name(&self) -> Option<&str>
pub fn service_instance_name(&self) -> Option<&str>
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the component was created.
sourcepub fn last_modified_at(&self) -> Option<&DateTime>
pub fn last_modified_at(&self) -> Option<&DateTime>
The time when the component was last modified.
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 component 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 component was last deployed successfully.
sourcepub fn deployment_status(&self) -> Option<&DeploymentStatus>
pub fn deployment_status(&self) -> Option<&DeploymentStatus>
The component deployment status.
sourcepub fn deployment_status_message(&self) -> Option<&str>
pub fn deployment_status_message(&self) -> Option<&str>
The message associated with the component deployment status.
sourcepub fn service_spec(&self) -> Option<&str>
pub fn service_spec(&self) -> Option<&str>
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
Trait Implementations
impl StructuralPartialEq for Component
Auto Trait Implementations
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
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