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

Description

Describes a specified task or tasks.

Synopsis

Creating a Request

data DescribeTasks Source #

See: newDescribeTasks smart constructor.

Constructors

DescribeTasks' 

Fields

  • include :: Maybe [TaskField]

    Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags are not included in the response.

  • cluster :: Maybe Text

    The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.

  • tasks :: [Text]

    A list of up to 100 task IDs or full ARN entries.

Instances

Instances details
Eq DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Read DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Show DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Generic DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Associated Types

type Rep DescribeTasks :: Type -> Type #

NFData DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Methods

rnf :: DescribeTasks -> () #

Hashable DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

ToJSON DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

AWSRequest DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Associated Types

type AWSResponse DescribeTasks #

ToHeaders DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

ToPath DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

ToQuery DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

type Rep DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

type Rep DescribeTasks = D1 ('MetaData "DescribeTasks" "Amazonka.ECS.DescribeTasks" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DescribeTasks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "include") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TaskField])) :*: (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))
type AWSResponse DescribeTasks Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

newDescribeTasks :: DescribeTasks Source #

Create a value of DescribeTasks 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:DescribeTasks', describeTasks_include - Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags are not included in the response.

$sel:cluster:DescribeTasks', describeTasks_cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.

$sel:tasks:DescribeTasks', describeTasks_tasks - A list of up to 100 task IDs or full ARN entries.

Request Lenses

describeTasks_include :: Lens' DescribeTasks (Maybe [TaskField]) Source #

Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are included in the response. If this field is omitted, tags are not included in the response.

describeTasks_cluster :: Lens' DescribeTasks (Maybe Text) Source #

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.

describeTasks_tasks :: Lens' DescribeTasks [Text] Source #

A list of up to 100 task IDs or full ARN entries.

Destructuring the Response

data DescribeTasksResponse Source #

See: newDescribeTasksResponse smart constructor.

Constructors

DescribeTasksResponse' 

Fields

Instances

Instances details
Eq DescribeTasksResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Read DescribeTasksResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Show DescribeTasksResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Generic DescribeTasksResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Associated Types

type Rep DescribeTasksResponse :: Type -> Type #

NFData DescribeTasksResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

Methods

rnf :: DescribeTasksResponse -> () #

type Rep DescribeTasksResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeTasks

type Rep DescribeTasksResponse = D1 ('MetaData "DescribeTasksResponse" "Amazonka.ECS.DescribeTasks" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DescribeTasksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Failure])) :*: (S1 ('MetaSel ('Just "tasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Task])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTasksResponse Source #

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

$sel:tasks:DescribeTasks', describeTasksResponse_tasks - The list of tasks.

$sel:httpStatus:DescribeTasksResponse', describeTasksResponse_httpStatus - The response's http status code.

Response Lenses

describeTasksResponse_failures :: Lens' DescribeTasksResponse (Maybe [Failure]) Source #

Any failures associated with the call.