Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
This operation returns the current status of an operation that is not completed.
Synopsis
- getOperationDetail :: Text -> GetOperationDetail
- data GetOperationDetail
- godOperationId :: Lens' GetOperationDetail Text
- getOperationDetailResponse :: Int -> GetOperationDetailResponse
- data GetOperationDetailResponse
- godrsStatus :: Lens' GetOperationDetailResponse (Maybe OperationStatus)
- godrsSubmittedDate :: Lens' GetOperationDetailResponse (Maybe UTCTime)
- godrsDomainName :: Lens' GetOperationDetailResponse (Maybe Text)
- godrsOperationId :: Lens' GetOperationDetailResponse (Maybe Text)
- godrsType :: Lens' GetOperationDetailResponse (Maybe OperationType)
- godrsMessage :: Lens' GetOperationDetailResponse (Maybe Text)
- godrsResponseStatus :: Lens' GetOperationDetailResponse Int
Creating a Request
Creates a value of GetOperationDetail
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
godOperationId
- The identifier for the operation for which you want to get the status. Amazon Route 53 returned the identifier in the response to the original request.
data GetOperationDetail Source #
The GetOperationDetail
request includes the following element.
See: getOperationDetail
smart constructor.
Instances
Request Lenses
godOperationId :: Lens' GetOperationDetail Text Source #
The identifier for the operation for which you want to get the status. Amazon Route 53 returned the identifier in the response to the original request.
Destructuring the Response
getOperationDetailResponse Source #
Creates a value of GetOperationDetailResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
godrsStatus
- The current status of the requested operation in the system.godrsSubmittedDate
- The date when the request was submitted.godrsDomainName
- The name of a domain.godrsOperationId
- The identifier for the operation.godrsType
- The type of operation that was requested.godrsMessage
- Detailed information on the status including possible errors.godrsResponseStatus
- -- | The response status code.
data GetOperationDetailResponse Source #
The GetOperationDetail response includes the following elements.
See: getOperationDetailResponse
smart constructor.
Instances
Response Lenses
godrsStatus :: Lens' GetOperationDetailResponse (Maybe OperationStatus) Source #
The current status of the requested operation in the system.
godrsSubmittedDate :: Lens' GetOperationDetailResponse (Maybe UTCTime) Source #
The date when the request was submitted.
godrsDomainName :: Lens' GetOperationDetailResponse (Maybe Text) Source #
The name of a domain.
godrsOperationId :: Lens' GetOperationDetailResponse (Maybe Text) Source #
The identifier for the operation.
godrsType :: Lens' GetOperationDetailResponse (Maybe OperationType) Source #
The type of operation that was requested.
godrsMessage :: Lens' GetOperationDetailResponse (Maybe Text) Source #
Detailed information on the status including possible errors.
godrsResponseStatus :: Lens' GetOperationDetailResponse Int Source #
- - | The response status code.