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

Description

Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.

Synopsis

Creating a Request

data GetOperation Source #

See: newGetOperation smart constructor.

Constructors

GetOperation' 

Fields

Instances

Instances details
Eq GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Read GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Show GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Generic GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Associated Types

type Rep GetOperation :: Type -> Type #

NFData GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Methods

rnf :: GetOperation -> () #

Hashable GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

ToJSON GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

AWSRequest GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Associated Types

type AWSResponse GetOperation #

ToHeaders GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

ToPath GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

ToQuery GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

type Rep GetOperation Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

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

Defined in Amazonka.Lightsail.GetOperation

newGetOperation Source #

Create a value of GetOperation 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:operationId:GetOperation', getOperation_operationId - A GUID used to identify the operation.

Request Lenses

getOperation_operationId :: Lens' GetOperation Text Source #

A GUID used to identify the operation.

Destructuring the Response

data GetOperationResponse Source #

See: newGetOperationResponse smart constructor.

Constructors

GetOperationResponse' 

Fields

  • operation :: 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 GetOperationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Read GetOperationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Show GetOperationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Generic GetOperationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Associated Types

type Rep GetOperationResponse :: Type -> Type #

NFData GetOperationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

Methods

rnf :: GetOperationResponse -> () #

type Rep GetOperationResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetOperation

type Rep GetOperationResponse = D1 ('MetaData "GetOperationResponse" "Amazonka.Lightsail.GetOperation" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetOperationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Operation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetOperationResponse Source #

Create a value of GetOperationResponse 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:operation:GetOperationResponse', getOperationResponse_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.

$sel:httpStatus:GetOperationResponse', getOperationResponse_httpStatus - The response's http status code.

Response Lenses

getOperationResponse_operation :: Lens' GetOperationResponse (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.