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

Description

Describes the specified services running in your cluster.

Synopsis

Creating a Request

data DescribeServices Source #

See: newDescribeServices smart constructor.

Constructors

DescribeServices' 

Fields

  • include :: Maybe [ServiceField]

    Specifies whether you want to see the resource tags for the service. 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)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are describing were launched in any cluster other than the default cluster.

  • services :: [Text]

    A list of services to describe. You may specify up to 10 services to describe in a single operation.

Instances

Instances details
Eq DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Read DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Show DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Generic DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Associated Types

type Rep DescribeServices :: Type -> Type #

NFData DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Methods

rnf :: DescribeServices -> () #

Hashable DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

ToJSON DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

AWSRequest DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Associated Types

type AWSResponse DescribeServices #

ToHeaders DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

ToPath DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

ToQuery DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

type Rep DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

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

Defined in Amazonka.ECS.DescribeServices

newDescribeServices :: DescribeServices Source #

Create a value of DescribeServices 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:DescribeServices', describeServices_include - Specifies whether you want to see the resource tags for the service. 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:DescribeServices', describeServices_cluster - The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are describing were launched in any cluster other than the default cluster.

$sel:services:DescribeServices', describeServices_services - A list of services to describe. You may specify up to 10 services to describe in a single operation.

Request Lenses

describeServices_include :: Lens' DescribeServices (Maybe [ServiceField]) Source #

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

describeServices_cluster :: Lens' DescribeServices (Maybe Text) Source #

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

describeServices_services :: Lens' DescribeServices [Text] Source #

A list of services to describe. You may specify up to 10 services to describe in a single operation.

Destructuring the Response

data DescribeServicesResponse Source #

See: newDescribeServicesResponse smart constructor.

Constructors

DescribeServicesResponse' 

Fields

Instances

Instances details
Eq DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Read DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Show DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Generic DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Associated Types

type Rep DescribeServicesResponse :: Type -> Type #

NFData DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

type Rep DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

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

newDescribeServicesResponse Source #

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

$sel:services:DescribeServices', describeServicesResponse_services - The list of services described.

$sel:httpStatus:DescribeServicesResponse', describeServicesResponse_httpStatus - The response's http status code.

Response Lenses