| 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.GetChange
Description
Returns the current status of a change batch request. The status is one of the following values:
PENDINGindicates 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.INSYNCindicates that the changes have propagated to all Route 53 DNS servers.
Synopsis
- data GetChange = GetChange' {}
- newGetChange :: Text -> GetChange
- getChange_id :: Lens' GetChange Text
- 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.
Constructors
| 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:
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 Text 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.
Constructors
| GetChangeResponse' | |
Fields
| |
Instances
Arguments
| :: 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.