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.UpdateTaskSet

Description

Modifies a task set. 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 UpdateTaskSet Source #

See: newUpdateTaskSet smart constructor.

Constructors

UpdateTaskSet' 

Fields

  • cluster :: Text

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

  • service :: Text

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

  • taskSet :: Text

    The short name or full Amazon Resource Name (ARN) of the task set to update.

  • scale :: Scale

    A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Instances

Instances details
Eq UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Read UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Show UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Generic UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Associated Types

type Rep UpdateTaskSet :: Type -> Type #

NFData UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Methods

rnf :: UpdateTaskSet -> () #

Hashable UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

ToJSON UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

AWSRequest UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Associated Types

type AWSResponse UpdateTaskSet #

ToHeaders UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

ToPath UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

ToQuery UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

type Rep UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

type Rep UpdateTaskSet = D1 ('MetaData "UpdateTaskSet" "Amazonka.ECS.UpdateTaskSet" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "UpdateTaskSet'" 'PrefixI 'True) ((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) :*: S1 ('MetaSel ('Just "scale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Scale))))
type AWSResponse UpdateTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

newUpdateTaskSet Source #

Create a value of UpdateTaskSet 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:cluster:UpdateTaskSet', updateTaskSet_cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.

$sel:service:UpdateTaskSet', updateTaskSet_service - The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

$sel:taskSet:UpdateTaskSet', updateTaskSet_taskSet - The short name or full Amazon Resource Name (ARN) of the task set to update.

$sel:scale:UpdateTaskSet', updateTaskSet_scale - A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Request Lenses

updateTaskSet_cluster :: Lens' UpdateTaskSet Text Source #

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

updateTaskSet_service :: Lens' UpdateTaskSet Text Source #

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

updateTaskSet_taskSet :: Lens' UpdateTaskSet Text Source #

The short name or full Amazon Resource Name (ARN) of the task set to update.

updateTaskSet_scale :: Lens' UpdateTaskSet Scale Source #

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Destructuring the Response

data UpdateTaskSetResponse Source #

See: newUpdateTaskSetResponse smart constructor.

Constructors

UpdateTaskSetResponse' 

Fields

Instances

Instances details
Eq UpdateTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Read UpdateTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Show UpdateTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Generic UpdateTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Associated Types

type Rep UpdateTaskSetResponse :: Type -> Type #

NFData UpdateTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

Methods

rnf :: UpdateTaskSetResponse -> () #

type Rep UpdateTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateTaskSet

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

newUpdateTaskSetResponse Source #

Create a value of UpdateTaskSetResponse 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:UpdateTaskSet', updateTaskSetResponse_taskSet - Details about the task set.

$sel:httpStatus:UpdateTaskSetResponse', updateTaskSetResponse_httpStatus - The response's http status code.

Response Lenses