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

Description

Modifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the 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 UpdateServicePrimaryTaskSet Source #

See: newUpdateServicePrimaryTaskSet smart constructor.

Constructors

UpdateServicePrimaryTaskSet' 

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.

  • primaryTaskSet :: Text

    The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.

Instances

Instances details
Eq UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

Read UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

Show UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

Generic UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

Associated Types

type Rep UpdateServicePrimaryTaskSet :: Type -> Type #

NFData UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

Hashable UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

ToJSON UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

AWSRequest UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

ToHeaders UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

ToPath UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

ToQuery UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

type Rep UpdateServicePrimaryTaskSet Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

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

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

newUpdateServicePrimaryTaskSet Source #

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

$sel:primaryTaskSet:UpdateServicePrimaryTaskSet', updateServicePrimaryTaskSet_primaryTaskSet - The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.

Request Lenses

updateServicePrimaryTaskSet_cluster :: Lens' UpdateServicePrimaryTaskSet Text Source #

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

updateServicePrimaryTaskSet_service :: Lens' UpdateServicePrimaryTaskSet Text Source #

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

updateServicePrimaryTaskSet_primaryTaskSet :: Lens' UpdateServicePrimaryTaskSet Text Source #

The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.

Destructuring the Response

data UpdateServicePrimaryTaskSetResponse Source #

Constructors

UpdateServicePrimaryTaskSetResponse' 

Fields

Instances

Instances details
Eq UpdateServicePrimaryTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

Read UpdateServicePrimaryTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

Show UpdateServicePrimaryTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

Generic UpdateServicePrimaryTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

NFData UpdateServicePrimaryTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

type Rep UpdateServicePrimaryTaskSetResponse Source # 
Instance details

Defined in Amazonka.ECS.UpdateServicePrimaryTaskSet

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

newUpdateServicePrimaryTaskSetResponse Source #

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

$sel:httpStatus:UpdateServicePrimaryTaskSetResponse', updateServicePrimaryTaskSetResponse_httpStatus - The response's http status code.

Response Lenses