| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53.Types.Change
Description
Synopsis
Documentation
The information for each resource record set that you want to change.
See: newChange smart constructor.
Constructors
| Change' | |
Fields
| |
Instances
| ToXML Change Source # | |
Defined in Amazonka.Route53.Types.Change | |
| Generic Change Source # | |
| Read Change Source # | |
| Show Change Source # | |
| NFData Change Source # | |
Defined in Amazonka.Route53.Types.Change | |
| Eq Change Source # | |
| Hashable 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" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "Change'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAction) :*: S1 ('MetaSel ('Just "resourceRecordSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceRecordSet))) | |
Arguments
| :: ChangeAction | |
| -> ResourceRecordSet | |
| -> Change |
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.