amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DisassociateInstanceEventWindow

Description

Disassociates one or more targets from an event window.

For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.

Synopsis

Creating a Request

data DisassociateInstanceEventWindow Source #

See: newDisassociateInstanceEventWindow smart constructor.

Constructors

DisassociateInstanceEventWindow' 

Fields

Instances

Instances details
ToHeaders DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

ToPath DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

ToQuery DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

AWSRequest DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

Generic DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

Associated Types

type Rep DisassociateInstanceEventWindow :: Type -> Type #

Read DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

Show DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

NFData DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

Eq DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

Hashable DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

type AWSResponse DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

type Rep DisassociateInstanceEventWindow Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

type Rep DisassociateInstanceEventWindow = D1 ('MetaData "DisassociateInstanceEventWindow" "Amazonka.EC2.DisassociateInstanceEventWindow" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisassociateInstanceEventWindow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "instanceEventWindowId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "associationTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InstanceEventWindowDisassociationRequest))))

newDisassociateInstanceEventWindow Source #

Create a value of DisassociateInstanceEventWindow 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:dryRun:DisassociateInstanceEventWindow', disassociateInstanceEventWindow_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

DisassociateInstanceEventWindow, disassociateInstanceEventWindow_instanceEventWindowId - The ID of the event window.

DisassociateInstanceEventWindow, disassociateInstanceEventWindow_associationTarget - One or more targets to disassociate from the specified event window.

Request Lenses

disassociateInstanceEventWindow_dryRun :: Lens' DisassociateInstanceEventWindow (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Destructuring the Response

data DisassociateInstanceEventWindowResponse Source #

Constructors

DisassociateInstanceEventWindowResponse' 

Fields

Instances

Instances details
Generic DisassociateInstanceEventWindowResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

Read DisassociateInstanceEventWindowResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

Show DisassociateInstanceEventWindowResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

NFData DisassociateInstanceEventWindowResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

Eq DisassociateInstanceEventWindowResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

type Rep DisassociateInstanceEventWindowResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateInstanceEventWindow

type Rep DisassociateInstanceEventWindowResponse = D1 ('MetaData "DisassociateInstanceEventWindowResponse" "Amazonka.EC2.DisassociateInstanceEventWindow" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisassociateInstanceEventWindowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceEventWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceEventWindow)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisassociateInstanceEventWindowResponse Source #

Create a value of DisassociateInstanceEventWindowResponse 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:instanceEventWindow:DisassociateInstanceEventWindowResponse', disassociateInstanceEventWindowResponse_instanceEventWindow - Information about the event window.

$sel:httpStatus:DisassociateInstanceEventWindowResponse', disassociateInstanceEventWindowResponse_httpStatus - The response's http status code.

Response Lenses