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 |
This operation returns the current status of an operation that is not completed.
Synopsis
- data GetOperationDetail = GetOperationDetail' {
- operationId :: Text
- newGetOperationDetail :: Text -> GetOperationDetail
- getOperationDetail_operationId :: Lens' GetOperationDetail Text
- data GetOperationDetailResponse = GetOperationDetailResponse' {}
- newGetOperationDetailResponse :: Int -> GetOperationDetailResponse
- getOperationDetailResponse_status :: Lens' GetOperationDetailResponse (Maybe OperationStatus)
- getOperationDetailResponse_submittedDate :: Lens' GetOperationDetailResponse (Maybe UTCTime)
- getOperationDetailResponse_domainName :: Lens' GetOperationDetailResponse (Maybe Text)
- getOperationDetailResponse_operationId :: Lens' GetOperationDetailResponse (Maybe Text)
- getOperationDetailResponse_type :: Lens' GetOperationDetailResponse (Maybe OperationType)
- getOperationDetailResponse_message :: Lens' GetOperationDetailResponse (Maybe Text)
- getOperationDetailResponse_httpStatus :: Lens' GetOperationDetailResponse Int
Creating a Request
data GetOperationDetail Source #
The GetOperationDetail request includes the following element.
See: newGetOperationDetail
smart constructor.
GetOperationDetail' | |
|
Instances
newGetOperationDetail Source #
Create a value of GetOperationDetail
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:operationId:GetOperationDetail'
, getOperationDetail_operationId
- The identifier for the operation for which you want to get the status.
Route 53 returned the identifier in the response to the original
request.
Request Lenses
getOperationDetail_operationId :: Lens' GetOperationDetail Text Source #
The identifier for the operation for which you want to get the status. Route 53 returned the identifier in the response to the original request.
Destructuring the Response
data GetOperationDetailResponse Source #
The GetOperationDetail response includes the following elements.
See: newGetOperationDetailResponse
smart constructor.
GetOperationDetailResponse' | |
|
Instances
newGetOperationDetailResponse Source #
Create a value of GetOperationDetailResponse
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:status:GetOperationDetailResponse'
, getOperationDetailResponse_status
- The current status of the requested operation in the system.
$sel:submittedDate:GetOperationDetailResponse'
, getOperationDetailResponse_submittedDate
- The date when the request was submitted.
$sel:domainName:GetOperationDetailResponse'
, getOperationDetailResponse_domainName
- The name of a domain.
$sel:operationId:GetOperationDetail'
, getOperationDetailResponse_operationId
- The identifier for the operation.
$sel:type':GetOperationDetailResponse'
, getOperationDetailResponse_type
- The type of operation that was requested.
$sel:message:GetOperationDetailResponse'
, getOperationDetailResponse_message
- Detailed information on the status including possible errors.
$sel:httpStatus:GetOperationDetailResponse'
, getOperationDetailResponse_httpStatus
- The response's http status code.
Response Lenses
getOperationDetailResponse_status :: Lens' GetOperationDetailResponse (Maybe OperationStatus) Source #
The current status of the requested operation in the system.
getOperationDetailResponse_submittedDate :: Lens' GetOperationDetailResponse (Maybe UTCTime) Source #
The date when the request was submitted.
getOperationDetailResponse_domainName :: Lens' GetOperationDetailResponse (Maybe Text) Source #
The name of a domain.
getOperationDetailResponse_operationId :: Lens' GetOperationDetailResponse (Maybe Text) Source #
The identifier for the operation.
getOperationDetailResponse_type :: Lens' GetOperationDetailResponse (Maybe OperationType) Source #
The type of operation that was requested.
getOperationDetailResponse_message :: Lens' GetOperationDetailResponse (Maybe Text) Source #
Detailed information on the status including possible errors.
getOperationDetailResponse_httpStatus :: Lens' GetOperationDetailResponse Int Source #
The response's http status code.