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<CreateServiceOutput> for CreateServiceOutput
impl PartialEq<CreateServiceOutput> 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.