libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch
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.CloudWatch.Types.LabelOptions

Description

 
Synopsis

Documentation

data LabelOptions Source #

This structure includes the Timezone parameter, which you can use to specify your time zone so that the labels that are associated with returned metrics display the correct time for your time zone.

The Timezone value affects a label only if you have a time-based dynamic expression in the label. For more information about dynamic expressions in labels, see Using Dynamic Labels.

See: newLabelOptions smart constructor.

Constructors

LabelOptions' 

Fields

  • timezone :: Maybe Text

    The time zone to use for metric data return in this operation. The format is + or - followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.

Instances

Instances details
Eq LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Read LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Show LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Generic LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Associated Types

type Rep LabelOptions :: Type -> Type #

NFData LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

Methods

rnf :: LabelOptions -> () #

Hashable LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

ToQuery LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

type Rep LabelOptions Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.LabelOptions

type Rep LabelOptions = D1 ('MetaData "LabelOptions" "Amazonka.CloudWatch.Types.LabelOptions" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "LabelOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLabelOptions :: LabelOptions Source #

Create a value of LabelOptions 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:timezone:LabelOptions', labelOptions_timezone - The time zone to use for metric data return in this operation. The format is + or - followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.

labelOptions_timezone :: Lens' LabelOptions (Maybe Text) Source #

The time zone to use for metric data return in this operation. The format is + or - followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.