libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.DeleteTaskSet

Description

Deletes a specified task set within a service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

Synopsis

Creating a Request

data DeleteTaskSet Source #

See: newDeleteTaskSet smart constructor.

Constructors

DeleteTaskSet' 

Fields

  • force :: Maybe Bool

    If true, this allows you to delete a task set even if it hasn't been scaled down to zero.

  • cluster :: Text

    The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in to delete.

  • service :: Text

    The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.

  • taskSet :: Text

    The task set ID or full Amazon Resource Name (ARN) of the task set to delete.

Instances

Instances details
Eq DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Read DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Show DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Generic DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Associated Types

type Rep DeleteTaskSet :: Type -> Type #

NFData DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Methods

rnf :: DeleteTaskSet -> () #

Hashable DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

ToJSON DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

AWSRequest DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Associated Types

type AWSResponse DeleteTaskSet #

ToHeaders DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

ToPath DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

ToQuery DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

type Rep DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

type Rep DeleteTaskSet = D1 ('MetaData "DeleteTaskSet" "Amazonka.ECS.DeleteTaskSet" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DeleteTaskSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "force") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "taskSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteTaskSet Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

newDeleteTaskSet Source #

Create a value of DeleteTaskSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:force:DeleteTaskSet', deleteTaskSet_force - If true, this allows you to delete a task set even if it hasn't been scaled down to zero.

$sel:cluster:DeleteTaskSet', deleteTaskSet_cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in to delete.

$sel:service:DeleteTaskSet', deleteTaskSet_service - The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.

$sel:taskSet:DeleteTaskSet', deleteTaskSet_taskSet - The task set ID or full Amazon Resource Name (ARN) of the task set to delete.

Request Lenses

deleteTaskSet_force :: Lens' DeleteTaskSet (Maybe Bool) Source #

If true, this allows you to delete a task set even if it hasn't been scaled down to zero.

deleteTaskSet_cluster :: Lens' DeleteTaskSet Text Source #

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in to delete.

deleteTaskSet_service :: Lens' DeleteTaskSet Text Source #

The short name or full Amazon Resource Name (ARN) of the service that hosts the task set to delete.

deleteTaskSet_taskSet :: Lens' DeleteTaskSet Text Source #

The task set ID or full Amazon Resource Name (ARN) of the task set to delete.

Destructuring the Response

data DeleteTaskSetResponse Source #

See: newDeleteTaskSetResponse smart constructor.

Constructors

DeleteTaskSetResponse' 

Fields

Instances

Instances details
Eq DeleteTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Read DeleteTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Show DeleteTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Generic DeleteTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Associated Types

type Rep DeleteTaskSetResponse :: Type -> Type #

NFData DeleteTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

Methods

rnf :: DeleteTaskSetResponse -> () #

type Rep DeleteTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteTaskSet

type Rep DeleteTaskSetResponse = D1 ('MetaData "DeleteTaskSetResponse" "Amazonka.ECS.DeleteTaskSet" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DeleteTaskSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TaskSet)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteTaskSetResponse Source #

Create a value of DeleteTaskSetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:taskSet:DeleteTaskSet', deleteTaskSetResponse_taskSet - Details about the task set.

$sel:httpStatus:DeleteTaskSetResponse', deleteTaskSetResponse_httpStatus - The response's http status code.

Response Lenses