libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics
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.LookoutMetrics.DescribeAlert

Description

Describes an alert.

Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.

Synopsis

Creating a Request

data DescribeAlert Source #

See: newDescribeAlert smart constructor.

Constructors

DescribeAlert' 

Fields

Instances

Instances details
Eq DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Read DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Show DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Generic DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Associated Types

type Rep DescribeAlert :: Type -> Type #

NFData DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Methods

rnf :: DescribeAlert -> () #

Hashable DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

ToJSON DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

AWSRequest DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Associated Types

type AWSResponse DescribeAlert #

ToHeaders DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

ToPath DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

ToQuery DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

type Rep DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

type Rep DescribeAlert = D1 ('MetaData "DescribeAlert" "Amazonka.LookoutMetrics.DescribeAlert" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "DescribeAlert'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alertArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeAlert Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

newDescribeAlert Source #

Create a value of DescribeAlert 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:alertArn:DescribeAlert', describeAlert_alertArn - The ARN of the alert to describe.

Request Lenses

describeAlert_alertArn :: Lens' DescribeAlert Text Source #

The ARN of the alert to describe.

Destructuring the Response

data DescribeAlertResponse Source #

See: newDescribeAlertResponse smart constructor.

Constructors

DescribeAlertResponse' 

Fields

Instances

Instances details
Eq DescribeAlertResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Read DescribeAlertResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Show DescribeAlertResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Generic DescribeAlertResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Associated Types

type Rep DescribeAlertResponse :: Type -> Type #

NFData DescribeAlertResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

Methods

rnf :: DescribeAlertResponse -> () #

type Rep DescribeAlertResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.DescribeAlert

type Rep DescribeAlertResponse = D1 ('MetaData "DescribeAlertResponse" "Amazonka.LookoutMetrics.DescribeAlert" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "DescribeAlertResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Alert)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeAlertResponse Source #

Create a value of DescribeAlertResponse 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:alert:DescribeAlertResponse', describeAlertResponse_alert - Contains information about an alert.

$sel:httpStatus:DescribeAlertResponse', describeAlertResponse_httpStatus - The response's http status code.

Response Lenses

describeAlertResponse_alert :: Lens' DescribeAlertResponse (Maybe Alert) Source #

Contains information about an alert.