Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ItemValue = ItemValue' {}
- newItemValue :: ItemValue
- itemValue_arn :: Lens' ItemValue (Maybe Text)
- itemValue_url :: Lens' ItemValue (Maybe Text)
- itemValue_metricDefinition :: Lens' ItemValue (Maybe Text)
Documentation
Describes a related item.
See: newItemValue
smart constructor.
Instances
Eq ItemValue Source # | |
Read ItemValue Source # | |
Show ItemValue Source # | |
Generic ItemValue Source # | |
NFData ItemValue Source # | |
Defined in Amazonka.SSMIncidents.Types.ItemValue | |
Hashable ItemValue Source # | |
Defined in Amazonka.SSMIncidents.Types.ItemValue | |
ToJSON ItemValue Source # | |
Defined in Amazonka.SSMIncidents.Types.ItemValue | |
FromJSON ItemValue Source # | |
type Rep ItemValue Source # | |
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.