libZSservicesZSamazonka-route53ZSamazonka-route53
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.Route53.Types.Tag

Description

 
Synopsis

Documentation

data Tag Source #

A complex type that contains information about a tag that you want to add or edit for the specified health check or hosted zone.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • value :: Maybe Text

    The value of Value depends on the operation that you want to perform:

    • Add a tag to a health check or hosted zone: Value is the value that you want to give the new tag.
    • Edit a tag: Value is the new value that you want to assign the tag.
  • key :: Maybe Text

    The value of Key depends on the operation that you want to perform:

    • Add a tag to a health check or hosted zone: Key is the name that you want to give the new tag.
    • Edit a tag: Key is the name of the tag that you want to change the Value for.
    • Delete a key: Key is the name of the tag you want to remove.
    • Give a name to a health check: Edit the default Name tag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check.

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.Route53.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Read Tag Source # 
Instance details

Defined in Amazonka.Route53.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.Route53.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.Route53.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.Route53.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.Route53.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

FromXML Tag Source # 
Instance details

Defined in Amazonka.Route53.Types.Tag

Methods

parseXML :: [Node] -> Either String Tag #

ToXML Tag Source # 
Instance details

Defined in Amazonka.Route53.Types.Tag

Methods

toXML :: Tag -> XML #

type Rep Tag Source # 
Instance details

Defined in Amazonka.Route53.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.Route53.Types.Tag" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTag :: Tag Source #

Create a value of Tag 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:value:Tag', tag_value - The value of Value depends on the operation that you want to perform:

  • Add a tag to a health check or hosted zone: Value is the value that you want to give the new tag.
  • Edit a tag: Value is the new value that you want to assign the tag.

$sel:key:Tag', tag_key - The value of Key depends on the operation that you want to perform:

  • Add a tag to a health check or hosted zone: Key is the name that you want to give the new tag.
  • Edit a tag: Key is the name of the tag that you want to change the Value for.
  • Delete a key: Key is the name of the tag you want to remove.
  • Give a name to a health check: Edit the default Name tag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check.

tag_value :: Lens' Tag (Maybe Text) Source #

The value of Value depends on the operation that you want to perform:

  • Add a tag to a health check or hosted zone: Value is the value that you want to give the new tag.
  • Edit a tag: Value is the new value that you want to assign the tag.

tag_key :: Lens' Tag (Maybe Text) Source #

The value of Key depends on the operation that you want to perform:

  • Add a tag to a health check or hosted zone: Key is the name that you want to give the new tag.
  • Edit a tag: Key is the name of the tag that you want to change the Value for.
  • Delete a key: Key is the name of the tag you want to remove.
  • Give a name to a health check: Edit the default Name tag. In the Amazon Route 53 console, the list of your health checks includes a Name column that lets you see the name that you've given to each health check.