Struct aws_sdk_apprunner::model::ServiceSummary
source · [−]#[non_exhaustive]pub struct ServiceSummary {
pub service_name: Option<String>,
pub service_id: Option<String>,
pub service_arn: Option<String>,
pub service_url: Option<String>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub status: Option<ServiceStatus>,
}
Expand description
Provides summary information for an App Runner service.
This type contains limited information about a service. It doesn't include configuration details. It's returned by the ListServices action. Complete service information is returned by the CreateService, DescribeService, and DeleteService actions using the Service type.
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.service_name: Option<String>
The customer-provided service name.
service_id: Option<String>
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
service_arn: Option<String>
The Amazon Resource Name (ARN) of this service.
service_url: Option<String>
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
created_at: Option<DateTime>
The time when the App Runner service was created. It's in the Unix time stamp format.
updated_at: Option<DateTime>
The time when the App Runner service was last updated. It's in theUnix time stamp format.
status: Option<ServiceStatus>
The current state of the App Runner service. These particular values mean the following.
-
CREATE_FAILED
– The service failed to create. Read the failure events and logs, change any parameters that need to be fixed, and retry the call to create the service.The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
-
DELETE_FAILED
– The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.
Implementations
sourceimpl ServiceSummary
impl ServiceSummary
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The customer-provided service name.
sourcepub fn service_id(&self) -> Option<&str>
pub fn service_id(&self) -> Option<&str>
An ID that App Runner generated for this service. It's unique within the Amazon Web Services Region.
sourcepub fn service_arn(&self) -> Option<&str>
pub fn service_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of this service.
sourcepub fn service_url(&self) -> Option<&str>
pub fn service_url(&self) -> Option<&str>
A subdomain URL that App Runner generated for this service. You can use this URL to access your service web application.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time when the App Runner service was created. It's in the Unix time stamp format.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The time when the App Runner service was last updated. It's in theUnix time stamp format.
sourcepub fn status(&self) -> Option<&ServiceStatus>
pub fn status(&self) -> Option<&ServiceStatus>
The current state of the App Runner service. These particular values mean the following.
-
CREATE_FAILED
– The service failed to create. Read the failure events and logs, change any parameters that need to be fixed, and retry the call to create the service.The failed service isn't usable, and still counts towards your service quota. When you're done analyzing the failure, delete the service.
-
DELETE_FAILED
– The service failed to delete and can't be successfully recovered. Retry the service deletion call to ensure that all related resources are removed.
sourceimpl ServiceSummary
impl ServiceSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ServiceSummary
Trait Implementations
sourceimpl Clone for ServiceSummary
impl Clone for ServiceSummary
sourcefn clone(&self) -> ServiceSummary
fn clone(&self) -> ServiceSummary
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 ServiceSummary
impl Debug for ServiceSummary
sourceimpl PartialEq<ServiceSummary> for ServiceSummary
impl PartialEq<ServiceSummary> for ServiceSummary
sourcefn eq(&self, other: &ServiceSummary) -> bool
fn eq(&self, other: &ServiceSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceSummary) -> bool
fn ne(&self, other: &ServiceSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for ServiceSummary
Auto Trait Implementations
impl RefUnwindSafe for ServiceSummary
impl Send for ServiceSummary
impl Sync for ServiceSummary
impl Unpin for ServiceSummary
impl UnwindSafe for ServiceSummary
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