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

Description

Restarts a specific instance.

The reboot instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data RebootInstance Source #

See: newRebootInstance smart constructor.

Constructors

RebootInstance' 

Fields

Instances

Instances details
Eq RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Read RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Show RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Generic RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Associated Types

type Rep RebootInstance :: Type -> Type #

NFData RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Methods

rnf :: RebootInstance -> () #

Hashable RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

ToJSON RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

AWSRequest RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Associated Types

type AWSResponse RebootInstance #

ToHeaders RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

ToPath RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

ToQuery RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

type Rep RebootInstance Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

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

Defined in Amazonka.Lightsail.RebootInstance

newRebootInstance Source #

Create a value of RebootInstance 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:instanceName:RebootInstance', rebootInstance_instanceName - The name of the instance to reboot.

Request Lenses

rebootInstance_instanceName :: Lens' RebootInstance Text Source #

The name of the instance to reboot.

Destructuring the Response

data RebootInstanceResponse Source #

See: newRebootInstanceResponse smart constructor.

Constructors

RebootInstanceResponse' 

Fields

  • 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 RebootInstanceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Read RebootInstanceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Show RebootInstanceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Generic RebootInstanceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Associated Types

type Rep RebootInstanceResponse :: Type -> Type #

NFData RebootInstanceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

Methods

rnf :: RebootInstanceResponse -> () #

type Rep RebootInstanceResponse Source # 
Instance details

Defined in Amazonka.Lightsail.RebootInstance

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

newRebootInstanceResponse Source #

Create a value of RebootInstanceResponse 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:operations:RebootInstanceResponse', rebootInstanceResponse_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:RebootInstanceResponse', rebootInstanceResponse_httpStatus - The response's http status code.

Response Lenses

rebootInstanceResponse_operations :: Lens' RebootInstanceResponse (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.