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
Documentation
The information for each resource record set that you want to change.
See: newChange
smart constructor.
Change' | |
|
Instances
Eq Change Source # | |
Read Change Source # | |
Show Change Source # | |
Generic Change Source # | |
NFData Change Source # | |
Defined in Amazonka.Route53.Types.Change | |
Hashable Change Source # | |
Defined in Amazonka.Route53.Types.Change | |
ToXML Change Source # | |
Defined in Amazonka.Route53.Types.Change | |
type Rep Change Source # | |
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))) |
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.