libZSservicesZSamazonka-apprunnerZSamazonka-apprunner
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.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

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

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

  • serviceArn :: Text

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

Instances

Instances details
Eq ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Read ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Show ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Generic ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Associated Types

type Rep ListOperations :: Type -> Type #

NFData ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Methods

rnf :: ListOperations -> () #

Hashable ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

ToJSON ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

AWSRequest ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Associated Types

type AWSResponse 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

type Rep ListOperations Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

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

Defined in Amazonka.AppRunner.ListOperations

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:nextToken: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.

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

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

Request Lenses

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_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_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
Eq ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Read ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Show ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Generic ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Associated Types

type Rep ListOperationsResponse :: Type -> Type #

NFData ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

Methods

rnf :: ListOperationsResponse -> () #

type Rep ListOperationsResponse Source # 
Instance details

Defined in Amazonka.AppRunner.ListOperations

type Rep ListOperationsResponse = D1 ('MetaData "ListOperationsResponse" "Amazonka.AppRunner.ListOperations" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" '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:

$sel:nextToken: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.