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

Description

Disables an add-on for an Amazon Lightsail resource. For more information, see the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data DisableAddOn Source #

See: newDisableAddOn smart constructor.

Constructors

DisableAddOn' 

Fields

Instances

Instances details
Eq DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Read DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Show DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Generic DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Associated Types

type Rep DisableAddOn :: Type -> Type #

NFData DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Methods

rnf :: DisableAddOn -> () #

Hashable DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

ToJSON DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

AWSRequest DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Associated Types

type AWSResponse DisableAddOn #

ToHeaders DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

ToPath DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

ToQuery DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

type Rep DisableAddOn Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

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

Defined in Amazonka.Lightsail.DisableAddOn

newDisableAddOn Source #

Create a value of DisableAddOn 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:addOnType:DisableAddOn', disableAddOn_addOnType - The add-on type to disable.

$sel:resourceName:DisableAddOn', disableAddOn_resourceName - The name of the source resource for which to disable the add-on.

Request Lenses

disableAddOn_resourceName :: Lens' DisableAddOn Text Source #

The name of the source resource for which to disable the add-on.

Destructuring the Response

data DisableAddOnResponse Source #

See: newDisableAddOnResponse smart constructor.

Constructors

DisableAddOnResponse' 

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

Defined in Amazonka.Lightsail.DisableAddOn

Read DisableAddOnResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Show DisableAddOnResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Generic DisableAddOnResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Associated Types

type Rep DisableAddOnResponse :: Type -> Type #

NFData DisableAddOnResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

Methods

rnf :: DisableAddOnResponse -> () #

type Rep DisableAddOnResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DisableAddOn

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

newDisableAddOnResponse Source #

Create a value of DisableAddOnResponse 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:DisableAddOnResponse', disableAddOnResponse_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:DisableAddOnResponse', disableAddOnResponse_httpStatus - The response's http status code.

Response Lenses

disableAddOnResponse_operations :: Lens' DisableAddOnResponse (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.