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 |
Returns the current status of a change batch request. The status is one of the following values:
PENDING
indicates that the changes in this request have not propagated to all Amazon Route 53 DNS servers. This is the initial status of all change batch requests.INSYNC
indicates that the changes have propagated to all Route 53 DNS servers.
Synopsis
- data GetChange = GetChange' {
- id :: ResourceId
- newGetChange :: ResourceId -> GetChange
- getChange_id :: Lens' GetChange ResourceId
- data GetChangeResponse = GetChangeResponse' {}
- newGetChangeResponse :: Int -> ChangeInfo -> GetChangeResponse
- getChangeResponse_httpStatus :: Lens' GetChangeResponse Int
- getChangeResponse_changeInfo :: Lens' GetChangeResponse ChangeInfo
Creating a Request
The input for a GetChange request.
See: newGetChange
smart constructor.
GetChange' | |
|
Instances
Create a value of GetChange
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:GetChange'
, getChange_id
- The ID of the change batch request. The value that you specify here is
the value that ChangeResourceRecordSets
returned in the Id
element
when you submitted the request.
Request Lenses
getChange_id :: Lens' GetChange ResourceId Source #
The ID of the change batch request. The value that you specify here is
the value that ChangeResourceRecordSets
returned in the Id
element
when you submitted the request.
Destructuring the Response
data GetChangeResponse Source #
A complex type that contains the ChangeInfo
element.
See: newGetChangeResponse
smart constructor.
GetChangeResponse' | |
|
Instances
:: Int | |
-> ChangeInfo | |
-> GetChangeResponse |
Create a value of GetChangeResponse
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:httpStatus:GetChangeResponse'
, getChangeResponse_httpStatus
- The response's http status code.
$sel:changeInfo:GetChangeResponse'
, getChangeResponse_changeInfo
- A complex type that contains information about the specified change
batch.
Response Lenses
getChangeResponse_httpStatus :: Lens' GetChangeResponse Int Source #
The response's http status code.
getChangeResponse_changeInfo :: Lens' GetChangeResponse ChangeInfo Source #
A complex type that contains information about the specified change batch.