libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.DescribeCustomMetric

Description

Gets information about a Device Defender detect custom metric.

Requires permission to access the DescribeCustomMetric action.

Synopsis

Creating a Request

data DescribeCustomMetric Source #

See: newDescribeCustomMetric smart constructor.

Constructors

DescribeCustomMetric' 

Fields

Instances

Instances details
Eq DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Read DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Show DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Generic DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Associated Types

type Rep DescribeCustomMetric :: Type -> Type #

NFData DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Methods

rnf :: DescribeCustomMetric -> () #

Hashable DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

AWSRequest DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Associated Types

type AWSResponse DescribeCustomMetric #

ToHeaders DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

ToPath DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

ToQuery DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

type Rep DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

type Rep DescribeCustomMetric = D1 ('MetaData "DescribeCustomMetric" "Amazonka.IoT.DescribeCustomMetric" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeCustomMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeCustomMetric Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

newDescribeCustomMetric Source #

Create a value of DescribeCustomMetric 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:metricName:DescribeCustomMetric', describeCustomMetric_metricName - The name of the custom metric.

Request Lenses

Destructuring the Response

data DescribeCustomMetricResponse Source #

See: newDescribeCustomMetricResponse smart constructor.

Constructors

DescribeCustomMetricResponse' 

Fields

Instances

Instances details
Eq DescribeCustomMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Read DescribeCustomMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Show DescribeCustomMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Generic DescribeCustomMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

Associated Types

type Rep DescribeCustomMetricResponse :: Type -> Type #

NFData DescribeCustomMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

type Rep DescribeCustomMetricResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCustomMetric

type Rep DescribeCustomMetricResponse = D1 ('MetaData "DescribeCustomMetricResponse" "Amazonka.IoT.DescribeCustomMetric" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeCustomMetricResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "metricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomMetricType)) :*: (S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "metricArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeCustomMetricResponse Source #

Create a value of DescribeCustomMetricResponse 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:metricType:DescribeCustomMetricResponse', describeCustomMetricResponse_metricType - The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

$sel:lastModifiedDate:DescribeCustomMetricResponse', describeCustomMetricResponse_lastModifiedDate - The time the custom metric was last modified in milliseconds since epoch.

$sel:metricName:DescribeCustomMetric', describeCustomMetricResponse_metricName - The name of the custom metric.

$sel:displayName:DescribeCustomMetricResponse', describeCustomMetricResponse_displayName - Field represents a friendly name in the console for the custom metric; doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.

$sel:creationDate:DescribeCustomMetricResponse', describeCustomMetricResponse_creationDate - The creation date of the custom metric in milliseconds since epoch.

$sel:metricArn:DescribeCustomMetricResponse', describeCustomMetricResponse_metricArn - The Amazon Resource Number (ARN) of the custom metric.

$sel:httpStatus:DescribeCustomMetricResponse', describeCustomMetricResponse_httpStatus - The response's http status code.

Response Lenses

describeCustomMetricResponse_metricType :: Lens' DescribeCustomMetricResponse (Maybe CustomMetricType) Source #

The type of the custom metric. Types include string-list, ip-address-list, number-list, and number.

describeCustomMetricResponse_lastModifiedDate :: Lens' DescribeCustomMetricResponse (Maybe UTCTime) Source #

The time the custom metric was last modified in milliseconds since epoch.

describeCustomMetricResponse_displayName :: Lens' DescribeCustomMetricResponse (Maybe Text) Source #

Field represents a friendly name in the console for the custom metric; doesn't have to be unique. Don't use this name as the metric identifier in the device metric report. Can be updated.

describeCustomMetricResponse_creationDate :: Lens' DescribeCustomMetricResponse (Maybe UTCTime) Source #

The creation date of the custom metric in milliseconds since epoch.

describeCustomMetricResponse_metricArn :: Lens' DescribeCustomMetricResponse (Maybe Text) Source #

The Amazon Resource Number (ARN) of the custom metric.