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

Description

Disables detailed monitoring for a running instance. For more information, see Monitoring your instances and volumes in the Amazon EC2 User Guide.

Synopsis

Creating a Request

data UnmonitorInstances Source #

See: newUnmonitorInstances smart constructor.

Constructors

UnmonitorInstances' 

Fields

  • dryRun :: Maybe Bool

    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.

  • instanceIds :: [Text]

    The IDs of the instances.

Instances

Instances details
ToHeaders UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

ToPath UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

ToQuery UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

AWSRequest UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

Associated Types

type AWSResponse UnmonitorInstances #

Generic UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

Associated Types

type Rep UnmonitorInstances :: Type -> Type #

Read UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

Show UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

NFData UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

Methods

rnf :: UnmonitorInstances -> () #

Eq UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

Hashable UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

type AWSResponse UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

type Rep UnmonitorInstances Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

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

newUnmonitorInstances :: UnmonitorInstances Source #

Create a value of UnmonitorInstances 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:UnmonitorInstances', unmonitorInstances_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.

UnmonitorInstances, unmonitorInstances_instanceIds - The IDs of the instances.

Request Lenses

unmonitorInstances_dryRun :: Lens' UnmonitorInstances (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 UnmonitorInstancesResponse Source #

See: newUnmonitorInstancesResponse smart constructor.

Constructors

UnmonitorInstancesResponse' 

Fields

Instances

Instances details
Generic UnmonitorInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

Associated Types

type Rep UnmonitorInstancesResponse :: Type -> Type #

Read UnmonitorInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

Show UnmonitorInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

NFData UnmonitorInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

Eq UnmonitorInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

type Rep UnmonitorInstancesResponse Source # 
Instance details

Defined in Amazonka.EC2.UnmonitorInstances

type Rep UnmonitorInstancesResponse = D1 ('MetaData "UnmonitorInstancesResponse" "Amazonka.EC2.UnmonitorInstances" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "UnmonitorInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceMonitorings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceMonitoring])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUnmonitorInstancesResponse Source #

Create a value of UnmonitorInstancesResponse 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:instanceMonitorings:UnmonitorInstancesResponse', unmonitorInstancesResponse_instanceMonitorings - The monitoring information.

$sel:httpStatus:UnmonitorInstancesResponse', unmonitorInstancesResponse_httpStatus - The response's http status code.

Response Lenses