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

Description

Describes the specified services running in your cluster.

Synopsis

Creating a Request

data DescribeServices Source #

See: newDescribeServices smart constructor.

Constructors

DescribeServices' 

Fields

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

  • include :: Maybe [ServiceField]

    Determines 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 aren't included in the response.

  • services :: [Text]

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

Instances

Instances details
ToJSON DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.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

AWSRequest DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Associated Types

type AWSResponse DescribeServices #

Generic DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Associated Types

type Rep DescribeServices :: Type -> Type #

Read DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Show DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

NFData DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Methods

rnf :: DescribeServices -> () #

Eq DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Hashable DescribeServices Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

type AWSResponse 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" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "DescribeServices'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "include") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServiceField])) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

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: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:include:DescribeServices', describeServices_include - Determines 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 aren't included in the response.

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_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_include :: Lens' DescribeServices (Maybe [ServiceField]) Source #

Determines 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 aren't included in the response.

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
Generic DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Associated Types

type Rep DescribeServicesResponse :: Type -> Type #

Read DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Show DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

NFData DescribeServicesResponse Source # 
Instance details

Defined in Amazonka.ECS.DescribeServices

Eq 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" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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.

DescribeServices, describeServicesResponse_services - The list of services described.

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

Response Lenses