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 |
Returns the status of a particular EnableControl
or DisableControl
operation. Displays a message in case of error. Details for an operation
are available for 90 days.
Synopsis
- data GetControlOperation = GetControlOperation' {}
- newGetControlOperation :: Text -> GetControlOperation
- getControlOperation_operationIdentifier :: Lens' GetControlOperation Text
- data GetControlOperationResponse = GetControlOperationResponse' {}
- newGetControlOperationResponse :: Int -> ControlOperation -> GetControlOperationResponse
- getControlOperationResponse_httpStatus :: Lens' GetControlOperationResponse Int
- getControlOperationResponse_controlOperation :: Lens' GetControlOperationResponse ControlOperation
Creating a Request
data GetControlOperation Source #
See: newGetControlOperation
smart constructor.
GetControlOperation' | |
|
Instances
newGetControlOperation Source #
Create a value of GetControlOperation
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:operationIdentifier:GetControlOperation'
, getControlOperation_operationIdentifier
- The ID of the asynchronous operation, which is used to track status. The
operation is available for 90 days.
Request Lenses
getControlOperation_operationIdentifier :: Lens' GetControlOperation Text Source #
The ID of the asynchronous operation, which is used to track status. The operation is available for 90 days.
Destructuring the Response
data GetControlOperationResponse Source #
See: newGetControlOperationResponse
smart constructor.
GetControlOperationResponse' | |
|
Instances
newGetControlOperationResponse Source #
Create a value of GetControlOperationResponse
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:GetControlOperationResponse'
, getControlOperationResponse_httpStatus
- The response's http status code.
$sel:controlOperation:GetControlOperationResponse'
, getControlOperationResponse_controlOperation
-
Response Lenses
getControlOperationResponse_httpStatus :: Lens' GetControlOperationResponse Int Source #
The response's http status code.