libZSservicesZSamazonka-protonZSamazonka-proton
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.Proton.ListServices

Description

List services with summaries of detail data.

This operation returns paginated results.

Synopsis

Creating a Request

data ListServices Source #

See: newListServices smart constructor.

Constructors

ListServices' 

Fields

  • nextToken :: Maybe Text

    A token to indicate the location of the next service in the array of services, after the list of services that was previously requested.

  • maxResults :: Maybe Natural

    The maximum number of services to list.

Instances

Instances details
Eq ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Read ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Show ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Generic ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Associated Types

type Rep ListServices :: Type -> Type #

NFData ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Methods

rnf :: ListServices -> () #

Hashable ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

ToJSON ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

AWSPager ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

AWSRequest ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Associated Types

type AWSResponse ListServices #

ToHeaders ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

ToPath ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

ToQuery ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

type Rep ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

type Rep ListServices = D1 ('MetaData "ListServices" "Amazonka.Proton.ListServices" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "ListServices'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListServices Source # 
Instance details

Defined in Amazonka.Proton.ListServices

newListServices :: ListServices Source #

Create a value of ListServices 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:nextToken:ListServices', listServices_nextToken - A token to indicate the location of the next service in the array of services, after the list of services that was previously requested.

$sel:maxResults:ListServices', listServices_maxResults - The maximum number of services to list.

Request Lenses

listServices_nextToken :: Lens' ListServices (Maybe Text) Source #

A token to indicate the location of the next service in the array of services, after the list of services that was previously requested.

listServices_maxResults :: Lens' ListServices (Maybe Natural) Source #

The maximum number of services to list.

Destructuring the Response

data ListServicesResponse Source #

See: newListServicesResponse smart constructor.

Constructors

ListServicesResponse' 

Fields

  • nextToken :: Maybe Text

    A token to indicate the location of the next service in the array of services, after the current requested list of services.

  • httpStatus :: Int

    The response's http status code.

  • services :: [ServiceSummary]

    An array of services with summaries of detail data.

Instances

Instances details
Eq ListServicesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Show ListServicesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Generic ListServicesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Associated Types

type Rep ListServicesResponse :: Type -> Type #

NFData ListServicesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServices

Methods

rnf :: ListServicesResponse -> () #

type Rep ListServicesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServices

type Rep ListServicesResponse = D1 ('MetaData "ListServicesResponse" "Amazonka.Proton.ListServices" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "ListServicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "services") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ServiceSummary]))))

newListServicesResponse Source #

Create a value of ListServicesResponse 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:nextToken:ListServices', listServicesResponse_nextToken - A token to indicate the location of the next service in the array of services, after the current requested list of services.

$sel:httpStatus:ListServicesResponse', listServicesResponse_httpStatus - The response's http status code.

$sel:services:ListServicesResponse', listServicesResponse_services - An array of services with summaries of detail data.

Response Lenses

listServicesResponse_nextToken :: Lens' ListServicesResponse (Maybe Text) Source #

A token to indicate the location of the next service in the array of services, after the current requested list of services.

listServicesResponse_services :: Lens' ListServicesResponse [ServiceSummary] Source #

An array of services with summaries of detail data.