libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.SSMIncidents.Types.ItemValue

Description

 
Synopsis

Documentation

data ItemValue Source #

Describes a related item.

See: newItemValue smart constructor.

Constructors

ItemValue' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.

  • url :: Maybe Text

    The URL, if the related item is a non-AWS resource.

  • metricDefinition :: Maybe Text

    The metric definition, if the related item is a metric in CloudWatch.

Instances

Instances details
Eq ItemValue Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ItemValue

Read ItemValue Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ItemValue

Show ItemValue Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ItemValue

Generic ItemValue Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ItemValue

Associated Types

type Rep ItemValue :: Type -> Type #

NFData ItemValue Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ItemValue

Methods

rnf :: ItemValue -> () #

Hashable ItemValue Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ItemValue

ToJSON ItemValue Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ItemValue

FromJSON ItemValue Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ItemValue

type Rep ItemValue Source # 
Instance details

Defined in Amazonka.SSMIncidents.Types.ItemValue

type Rep ItemValue = D1 ('MetaData "ItemValue" "Amazonka.SSMIncidents.Types.ItemValue" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "ItemValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metricDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newItemValue :: ItemValue Source #

Create a value of ItemValue 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:arn:ItemValue', itemValue_arn - The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.

$sel:url:ItemValue', itemValue_url - The URL, if the related item is a non-AWS resource.

$sel:metricDefinition:ItemValue', itemValue_metricDefinition - The metric definition, if the related item is a metric in CloudWatch.

itemValue_arn :: Lens' ItemValue (Maybe Text) Source #

The Amazon Resource Name (ARN) of the related item, if the related item is an Amazon resource.

itemValue_url :: Lens' ItemValue (Maybe Text) Source #

The URL, if the related item is a non-AWS resource.

itemValue_metricDefinition :: Lens' ItemValue (Maybe Text) Source #

The metric definition, if the related item is a metric in CloudWatch.