Struct aws_sdk_ecs::operation::create_service::CreateServiceOutput
source · #[non_exhaustive]pub struct CreateServiceOutput {
pub service: Option<Service>,
/* private fields */
}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: Option<Service>The full description of your service following the create call.
A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.
If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.
if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.
Implementations§
source§impl CreateServiceOutput
impl CreateServiceOutput
sourcepub fn service(&self) -> Option<&Service>
pub fn service(&self) -> Option<&Service>
The full description of your service following the create call.
A service will return either a capacityProviderStrategy or launchType parameter, but not both, depending where one was specified when it was created.
If a service is using the ECS deployment controller, the deploymentController and taskSets parameters will not be returned.
if the service uses the CODE_DEPLOY deployment controller, the deploymentController, taskSets and deployments parameters will be returned, however the deployments parameter will be an empty list.
source§impl CreateServiceOutput
impl CreateServiceOutput
sourcepub fn builder() -> CreateServiceOutputBuilder
pub fn builder() -> CreateServiceOutputBuilder
Creates a new builder-style object to manufacture CreateServiceOutput.
Trait Implementations§
source§impl Clone for CreateServiceOutput
impl Clone for CreateServiceOutput
source§fn clone(&self) -> CreateServiceOutput
fn clone(&self) -> CreateServiceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateServiceOutput
impl Debug for CreateServiceOutput
source§impl PartialEq for CreateServiceOutput
impl PartialEq for CreateServiceOutput
source§fn eq(&self, other: &CreateServiceOutput) -> bool
fn eq(&self, other: &CreateServiceOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateServiceOutput
impl RequestId for CreateServiceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for CreateServiceOutput
Auto Trait Implementations§
impl Freeze for CreateServiceOutput
impl RefUnwindSafe for CreateServiceOutput
impl Send for CreateServiceOutput
impl Sync for CreateServiceOutput
impl Unpin for CreateServiceOutput
impl UnwindSafe for CreateServiceOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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