libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.GetOperations

Description

Returns information about all operations.

Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.

This operation returns paginated results.

Synopsis

Creating a Request

data GetOperations Source #

See: newGetOperations smart constructor.

Constructors

GetOperations' 

Fields

  • pageToken :: Maybe Text

    The token to advance to the next page of results from your request.

    To get a page token, perform an initial GetOperations request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Instances

Instances details
Eq GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Read GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Show GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Generic GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Associated Types

type Rep GetOperations :: Type -> Type #

NFData GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Methods

rnf :: GetOperations -> () #

Hashable GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

ToJSON GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

AWSPager GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

AWSRequest GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Associated Types

type AWSResponse GetOperations #

ToHeaders GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

ToPath GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

ToQuery GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

type Rep GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

type Rep GetOperations = D1 ('MetaData "GetOperations" "Amazonka.Lightsail.GetOperations" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetOperations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetOperations Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

newGetOperations :: GetOperations Source #

Create a value of GetOperations 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:pageToken:GetOperations', getOperations_pageToken - The token to advance to the next page of results from your request.

To get a page token, perform an initial GetOperations request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Request Lenses

getOperations_pageToken :: Lens' GetOperations (Maybe Text) Source #

The token to advance to the next page of results from your request.

To get a page token, perform an initial GetOperations request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Destructuring the Response

data GetOperationsResponse Source #

See: newGetOperationsResponse smart constructor.

Constructors

GetOperationsResponse' 

Fields

  • nextPageToken :: Maybe Text

    The token to advance to the next page of results from your request.

    A next page token is not returned if there are no more results to display.

    To get the next page of results, perform another GetOperations request and specify the next page token using the pageToken parameter.

  • operations :: Maybe [Operation]

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetOperationsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Read GetOperationsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Show GetOperationsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Generic GetOperationsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Associated Types

type Rep GetOperationsResponse :: Type -> Type #

NFData GetOperationsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

Methods

rnf :: GetOperationsResponse -> () #

type Rep GetOperationsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperations

type Rep GetOperationsResponse = D1 ('MetaData "GetOperationsResponse" "Amazonka.Lightsail.GetOperations" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetOperationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetOperationsResponse Source #

Create a value of GetOperationsResponse 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:nextPageToken:GetOperationsResponse', getOperationsResponse_nextPageToken - The token to advance to the next page of results from your request.

A next page token is not returned if there are no more results to display.

To get the next page of results, perform another GetOperations request and specify the next page token using the pageToken parameter.

$sel:operations:GetOperationsResponse', getOperationsResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:GetOperationsResponse', getOperationsResponse_httpStatus - The response's http status code.

Response Lenses

getOperationsResponse_nextPageToken :: Lens' GetOperationsResponse (Maybe Text) Source #

The token to advance to the next page of results from your request.

A next page token is not returned if there are no more results to display.

To get the next page of results, perform another GetOperations request and specify the next page token using the pageToken parameter.

getOperationsResponse_operations :: Lens' GetOperationsResponse (Maybe [Operation]) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.