amazonka-apprunner-2.0: Amazon App Runner 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.AppRunner.ListServices

Description

Returns a list of running App Runner services in your Amazon Web Services account.

Synopsis

Creating a Request

data ListServices Source #

See: newListServices smart constructor.

Constructors

ListServices' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to include in each response (result page). It's used for a paginated request.

    If you don't specify MaxResults, the request retrieves all available results in a single response.

  • nextToken :: Maybe Text

    A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.

    If you don't specify NextToken, the request retrieves the first result page.

Instances

Instances details
ToJSON ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

ToHeaders ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

ToPath ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

ToQuery ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

AWSRequest ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

Associated Types

type AWSResponse ListServices #

Generic ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

Associated Types

type Rep ListServices :: Type -> Type #

Read ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

Show ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

NFData ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

Methods

rnf :: ListServices -> () #

Eq ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

Hashable ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

type AWSResponse ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

type Rep ListServices Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

type Rep ListServices = D1 ('MetaData "ListServices" "Amazonka.AppRunner.ListServices" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "ListServices'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:maxResults:ListServices', listServices_maxResults - The maximum number of results to include in each response (result page). It's used for a paginated request.

If you don't specify MaxResults, the request retrieves all available results in a single response.

ListServices, listServices_nextToken - A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.

If you don't specify NextToken, the request retrieves the first result page.

Request Lenses

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

The maximum number of results to include in each response (result page). It's used for a paginated request.

If you don't specify MaxResults, the request retrieves all available results in a single response.

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

A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request.

If you don't specify NextToken, the request retrieves the first result page.

Destructuring the Response

data ListServicesResponse Source #

See: newListServicesResponse smart constructor.

Constructors

ListServicesResponse' 

Fields

  • nextToken :: Maybe Text

    The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.

  • httpStatus :: Int

    The response's http status code.

  • serviceSummaryList :: [ServiceSummary]

    A list of service summary information records. In a paginated request, the request returns up to MaxResults records for each call.

Instances

Instances details
Generic ListServicesResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

Associated Types

type Rep ListServicesResponse :: Type -> Type #

Read ListServicesResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

Show ListServicesResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

NFData ListServicesResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

Methods

rnf :: ListServicesResponse -> () #

Eq ListServicesResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

type Rep ListServicesResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListServices

type Rep ListServicesResponse = D1 ('MetaData "ListServicesResponse" "Amazonka.AppRunner.ListServices" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" '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 "serviceSummaryList") '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:

ListServices, listServicesResponse_nextToken - The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.

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

$sel:serviceSummaryList:ListServicesResponse', listServicesResponse_serviceSummaryList - A list of service summary information records. In a paginated request, the request returns up to MaxResults records for each call.

Response Lenses

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

The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.

listServicesResponse_serviceSummaryList :: Lens' ListServicesResponse [ServiceSummary] Source #

A list of service summary information records. In a paginated request, the request returns up to MaxResults records for each call.