Struct aws_sdk_ecs::input::DeleteServiceInput
source · [−]#[non_exhaustive]pub struct DeleteServiceInput {
pub cluster: Option<String>,
pub service: Option<String>,
pub force: Option<bool>,
}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.cluster: Option<String>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.
service: Option<String>The name of the service to delete.
force: Option<bool>If true, allows you to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the REPLICA scheduling strategy.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteService, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteService, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteService>
Creates a new builder-style object to manufacture DeleteServiceInput
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for DeleteServiceInput
impl Send for DeleteServiceInput
impl Sync for DeleteServiceInput
impl Unpin for DeleteServiceInput
impl UnwindSafe for DeleteServiceInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more