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

Description

Return a list of operations that occurred on an App Runner service.

The resulting list of OperationSummary objects is sorted in reverse chronological order. The first object on the list represents the last started operation.

Synopsis

Creating a Request

data ListOperations Source #

See: newListOperations smart constructor.

Constructors

ListOperations' 

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. It's 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.

  • serviceArn :: Text

    The Amazon Resource Name (ARN) of the App Runner service that you want a list of operations for.

Instances

Instances details
ToJSON ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

ToHeaders ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

ToPath ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

ToQuery ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

AWSRequest ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Associated Types

type AWSResponse ListOperations #

Generic ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Associated Types

type Rep ListOperations :: Type -> Type #

Read ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Show ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

NFData ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Methods

rnf :: ListOperations -> () #

Eq ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Hashable ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

type AWSResponse ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

type Rep ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

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

newListOperations Source #

Create a value of ListOperations 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:ListOperations', listOperations_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.

ListOperations, listOperations_nextToken - A token from a previous result page. It's 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.

ListOperations, listOperations_serviceArn - The Amazon Resource Name (ARN) of the App Runner service that you want a list of operations for.

Request Lenses

listOperations_maxResults :: Lens' ListOperations (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.

listOperations_nextToken :: Lens' ListOperations (Maybe Text) Source #

A token from a previous result page. It's 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.

listOperations_serviceArn :: Lens' ListOperations Text Source #

The Amazon Resource Name (ARN) of the App Runner service that you want a list of operations for.

Destructuring the Response

data ListOperationsResponse Source #

See: newListOperationsResponse smart constructor.

Constructors

ListOperationsResponse' 

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.

  • operationSummaryList :: Maybe [OperationSummary]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Associated Types

type Rep ListOperationsResponse :: Type -> Type #

Read ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Show ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

NFData ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Methods

rnf :: ListOperationsResponse -> () #

Eq ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

type Rep ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

type Rep ListOperationsResponse = D1 ('MetaData "ListOperationsResponse" "Amazonka.AppRunner.ListOperations" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "ListOperationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "operationSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OperationSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListOperationsResponse Source #

Create a value of ListOperationsResponse 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:

ListOperations, listOperationsResponse_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:operationSummaryList:ListOperationsResponse', listOperationsResponse_operationSummaryList - A list of operation summary information records. In a paginated request, the request returns up to MaxResults records for each call.

$sel:httpStatus:ListOperationsResponse', listOperationsResponse_httpStatus - The response's http status code.

Response Lenses

listOperationsResponse_nextToken :: Lens' ListOperationsResponse (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.

listOperationsResponse_operationSummaryList :: Lens' ListOperationsResponse (Maybe [OperationSummary]) Source #

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