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.Change

Description

 
Synopsis

Documentation

data Change Source #

The information for each resource record set that you want to change.

See: newChange smart constructor.

Constructors

Change' 

Fields

  • action :: ChangeAction

    The action to perform:

    • CREATE: Creates a resource record set that has the specified values.
    • DELETE: Deletes a existing resource record set.

      To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If you delete the resource record set by using ChangeResourceRecordSets, Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though it's no longer in use.

    • UPSERT: If a resource record set doesn't already exist, Route 53 creates it. If a resource record set does exist, Route 53 updates it with the values in the request.
  • resourceRecordSet :: ResourceRecordSet

    Information about the resource record set to create, delete, or update.

Instances

Instances details
Eq Change Source # 
Instance details

Defined in Amazonka.Route53.Types.Change

Methods

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

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

Read Change Source # 
Instance details

Defined in Amazonka.Route53.Types.Change

Show Change Source # 
Instance details

Defined in Amazonka.Route53.Types.Change

Generic Change Source # 
Instance details

Defined in Amazonka.Route53.Types.Change

Associated Types

type Rep Change :: Type -> Type #

Methods

from :: Change -> Rep Change x #

to :: Rep Change x -> Change #

NFData Change Source # 
Instance details

Defined in Amazonka.Route53.Types.Change

Methods

rnf :: Change -> () #

Hashable Change Source # 
Instance details

Defined in Amazonka.Route53.Types.Change

Methods

hashWithSalt :: Int -> Change -> Int #

hash :: Change -> Int #

ToXML Change Source # 
Instance details

Defined in Amazonka.Route53.Types.Change

Methods

toXML :: Change -> XML #

type Rep Change Source # 
Instance details

Defined in Amazonka.Route53.Types.Change

type Rep Change = D1 ('MetaData "Change" "Amazonka.Route53.Types.Change" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "Change'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "resourceRecordSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceRecordSet)))

newChange Source #

Create a value of Change 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:action:Change', change_action - The action to perform:

  • CREATE: Creates a resource record set that has the specified values.
  • DELETE: Deletes a existing resource record set.

    To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If you delete the resource record set by using ChangeResourceRecordSets, Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though it's no longer in use.

  • UPSERT: If a resource record set doesn't already exist, Route 53 creates it. If a resource record set does exist, Route 53 updates it with the values in the request.

$sel:resourceRecordSet:Change', change_resourceRecordSet - Information about the resource record set to create, delete, or update.

change_action :: Lens' Change ChangeAction Source #

The action to perform:

  • CREATE: Creates a resource record set that has the specified values.
  • DELETE: Deletes a existing resource record set.

    To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Amazon Route 53 will delete the resource record set automatically. If you delete the resource record set by using ChangeResourceRecordSets, Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though it's no longer in use.

  • UPSERT: If a resource record set doesn't already exist, Route 53 creates it. If a resource record set does exist, Route 53 updates it with the values in the request.

change_resourceRecordSet :: Lens' Change ResourceRecordSet Source #

Information about the resource record set to create, delete, or update.