Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@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.
- 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. Type: String Default: None Required: Yes
data GetOperationDetail Source #
The GetOperationDetail request includes the following element.
See: getOperationDetail
smart constructor.
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. Type: String Default: None Required: Yes
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. Type: StringgodrsSubmittedDate
- The date when the request was submitted.godrsDomainName
- The name of a domain. Type: StringgodrsOperationId
- The identifier for the operation. Type: StringgodrsType
- The type of operation that was requested. Type: StringgodrsMessage
- Detailed information on the status including possible errors. Type: StringgodrsResponseStatus
- -- | The response status code.
data GetOperationDetailResponse Source #
The GetOperationDetail response includes the following elements.
See: getOperationDetailResponse
smart constructor.
Response Lenses
godrsStatus :: Lens' GetOperationDetailResponse (Maybe OperationStatus) Source #
The current status of the requested operation in the system. Type: String
godrsSubmittedDate :: Lens' GetOperationDetailResponse (Maybe UTCTime) Source #
The date when the request was submitted.
godrsDomainName :: Lens' GetOperationDetailResponse (Maybe Text) Source #
The name of a domain. Type: String
godrsOperationId :: Lens' GetOperationDetailResponse (Maybe Text) Source #
The identifier for the operation. Type: String
godrsType :: Lens' GetOperationDetailResponse (Maybe OperationType) Source #
The type of operation that was requested. Type: String
godrsMessage :: Lens' GetOperationDetailResponse (Maybe Text) Source #
Detailed information on the status including possible errors. Type: String
godrsResponseStatus :: Lens' GetOperationDetailResponse Int Source #
- - | The response status code.