amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.DescribeTaskSets

Description

Describes the task sets in the specified cluster and 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 DescribeTaskSets Source #

See: newDescribeTaskSets smart constructor.

Constructors

DescribeTaskSets' 

Fields

  • include :: Maybe [TaskSetField]

    Specifies whether to see the resource tags for the task set. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

  • taskSets :: Maybe [Text]

    The ID or full Amazon Resource Name (ARN) of task sets to describe.

  • cluster :: Text

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

  • service :: Text

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

Instances

Instances details
ToJSON DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

ToHeaders DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

ToPath DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

ToQuery DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

AWSRequest DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

Associated Types

type AWSResponse DescribeTaskSets #

Generic DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

Associated Types

type Rep DescribeTaskSets :: Type -> Type #

Read DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

Show DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

NFData DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

Methods

rnf :: DescribeTaskSets -> () #

Eq DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

Hashable DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

type AWSResponse DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

type Rep DescribeTaskSets Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

type Rep DescribeTaskSets = D1 ('MetaData "DescribeTaskSets" "Amazonka.ECS.DescribeTaskSets" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "DescribeTaskSets'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "include") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TaskSetField])) :*: S1 ('MetaSel ('Just "taskSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDescribeTaskSets Source #

Create a value of DescribeTaskSets 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:include:DescribeTaskSets', describeTaskSets_include - Specifies whether to see the resource tags for the task set. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

DescribeTaskSets, describeTaskSets_taskSets - The ID or full Amazon Resource Name (ARN) of task sets to describe.

$sel:cluster:DescribeTaskSets', describeTaskSets_cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task sets exist in.

$sel:service:DescribeTaskSets', describeTaskSets_service - The short name or full Amazon Resource Name (ARN) of the service that the task sets exist in.

Request Lenses

describeTaskSets_include :: Lens' DescribeTaskSets (Maybe [TaskSetField]) Source #

Specifies whether to see the resource tags for the task set. If TAGS is specified, the tags are included in the response. If this field is omitted, tags aren't included in the response.

describeTaskSets_taskSets :: Lens' DescribeTaskSets (Maybe [Text]) Source #

The ID or full Amazon Resource Name (ARN) of task sets to describe.

describeTaskSets_cluster :: Lens' DescribeTaskSets Text Source #

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

describeTaskSets_service :: Lens' DescribeTaskSets Text Source #

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

Destructuring the Response

data DescribeTaskSetsResponse Source #

See: newDescribeTaskSetsResponse smart constructor.

Constructors

DescribeTaskSetsResponse' 

Fields

Instances

Instances details
Generic DescribeTaskSetsResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

Associated Types

type Rep DescribeTaskSetsResponse :: Type -> Type #

Read DescribeTaskSetsResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

Show DescribeTaskSetsResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

NFData DescribeTaskSetsResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

Eq DescribeTaskSetsResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

type Rep DescribeTaskSetsResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTaskSets

type Rep DescribeTaskSetsResponse = D1 ('MetaData "DescribeTaskSetsResponse" "Amazonka.ECS.DescribeTaskSets" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "DescribeTaskSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Failure])) :*: (S1 ('MetaSel ('Just "taskSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TaskSet])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTaskSetsResponse Source #

Create a value of DescribeTaskSetsResponse 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:failures:DescribeTaskSetsResponse', describeTaskSetsResponse_failures - Any failures associated with the call.

DescribeTaskSets, describeTaskSetsResponse_taskSets - The list of task sets described.

$sel:httpStatus:DescribeTaskSetsResponse', describeTaskSetsResponse_httpStatus - The response's http status code.

Response Lenses