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 TrafficPolicyInstance = TrafficPolicyInstance' {
- id :: Text
- hostedZoneId :: ResourceId
- name :: Text
- ttl :: Natural
- state :: Text
- message :: Text
- trafficPolicyId :: Text
- trafficPolicyVersion :: Natural
- trafficPolicyType :: RRType
- newTrafficPolicyInstance :: Text -> ResourceId -> Text -> Natural -> Text -> Text -> Text -> Natural -> RRType -> TrafficPolicyInstance
- trafficPolicyInstance_id :: Lens' TrafficPolicyInstance Text
- trafficPolicyInstance_hostedZoneId :: Lens' TrafficPolicyInstance ResourceId
- trafficPolicyInstance_name :: Lens' TrafficPolicyInstance Text
- trafficPolicyInstance_ttl :: Lens' TrafficPolicyInstance Natural
- trafficPolicyInstance_state :: Lens' TrafficPolicyInstance Text
- trafficPolicyInstance_message :: Lens' TrafficPolicyInstance Text
- trafficPolicyInstance_trafficPolicyId :: Lens' TrafficPolicyInstance Text
- trafficPolicyInstance_trafficPolicyVersion :: Lens' TrafficPolicyInstance Natural
- trafficPolicyInstance_trafficPolicyType :: Lens' TrafficPolicyInstance RRType
Documentation
data TrafficPolicyInstance Source #
A complex type that contains settings for the new traffic policy instance.
See: newTrafficPolicyInstance
smart constructor.
TrafficPolicyInstance' | |
|
Instances
newTrafficPolicyInstance Source #
:: Text | |
-> ResourceId | |
-> Text | |
-> Natural | |
-> Text | |
-> Text | |
-> Text | |
-> Natural | |
-> RRType | |
-> TrafficPolicyInstance |
Create a value of TrafficPolicyInstance
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:id:TrafficPolicyInstance'
, trafficPolicyInstance_id
- The ID that Amazon Route 53 assigned to the new traffic policy instance.
$sel:hostedZoneId:TrafficPolicyInstance'
, trafficPolicyInstance_hostedZoneId
- The ID of the hosted zone that Amazon Route 53 created resource record
sets in.
$sel:name:TrafficPolicyInstance'
, trafficPolicyInstance_name
- The DNS name, such as www.example.com, for which Amazon Route 53
responds to queries by using the resource record sets that are
associated with this traffic policy instance.
$sel:ttl:TrafficPolicyInstance'
, trafficPolicyInstance_ttl
- The TTL that Amazon Route 53 assigned to all of the resource record sets
that it created in the specified hosted zone.
$sel:state:TrafficPolicyInstance'
, trafficPolicyInstance_state
- The value of State
is one of the following values:
- Applied
- Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Route 53 edge locations.
- Creating
- Route 53 is creating the resource record sets. Use
GetTrafficPolicyInstance
to confirm that theCreateTrafficPolicyInstance
request completed successfully. - Failed
- Route 53 wasn't able to create or update the resource record sets.
When the value of
State
isFailed
, seeMessage
for an explanation of what caused the request to fail.
$sel:message:TrafficPolicyInstance'
, trafficPolicyInstance_message
- If State
is Failed
, an explanation of the reason for the failure. If
State
is another value, Message
is empty.
$sel:trafficPolicyId:TrafficPolicyInstance'
, trafficPolicyInstance_trafficPolicyId
- The ID of the traffic policy that Amazon Route 53 used to create
resource record sets in the specified hosted zone.
$sel:trafficPolicyVersion:TrafficPolicyInstance'
, trafficPolicyInstance_trafficPolicyVersion
- The version of the traffic policy that Amazon Route 53 used to create
resource record sets in the specified hosted zone.
$sel:trafficPolicyType:TrafficPolicyInstance'
, trafficPolicyInstance_trafficPolicyType
- The DNS type that Amazon Route 53 assigned to all of the resource record
sets that it created for this traffic policy instance.
trafficPolicyInstance_id :: Lens' TrafficPolicyInstance Text Source #
The ID that Amazon Route 53 assigned to the new traffic policy instance.
trafficPolicyInstance_hostedZoneId :: Lens' TrafficPolicyInstance ResourceId Source #
The ID of the hosted zone that Amazon Route 53 created resource record sets in.
trafficPolicyInstance_name :: Lens' TrafficPolicyInstance Text Source #
The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.
trafficPolicyInstance_ttl :: Lens' TrafficPolicyInstance Natural Source #
The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.
trafficPolicyInstance_state :: Lens' TrafficPolicyInstance Text Source #
The value of State
is one of the following values:
- Applied
- Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Route 53 edge locations.
- Creating
- Route 53 is creating the resource record sets. Use
GetTrafficPolicyInstance
to confirm that theCreateTrafficPolicyInstance
request completed successfully. - Failed
- Route 53 wasn't able to create or update the resource record sets.
When the value of
State
isFailed
, seeMessage
for an explanation of what caused the request to fail.
trafficPolicyInstance_message :: Lens' TrafficPolicyInstance Text Source #
If State
is Failed
, an explanation of the reason for the failure. If
State
is another value, Message
is empty.
trafficPolicyInstance_trafficPolicyId :: Lens' TrafficPolicyInstance Text Source #
The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.
trafficPolicyInstance_trafficPolicyVersion :: Lens' TrafficPolicyInstance Natural Source #
The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.
trafficPolicyInstance_trafficPolicyType :: Lens' TrafficPolicyInstance RRType Source #
The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.