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 |
Amazonka.SSM.GetAutomationExecution
Description
Get detailed information about a particular Automation execution.
Synopsis
- data GetAutomationExecution = GetAutomationExecution' {}
- newGetAutomationExecution :: Text -> GetAutomationExecution
- getAutomationExecution_automationExecutionId :: Lens' GetAutomationExecution Text
- data GetAutomationExecutionResponse = GetAutomationExecutionResponse' {}
- newGetAutomationExecutionResponse :: Int -> GetAutomationExecutionResponse
- getAutomationExecutionResponse_automationExecution :: Lens' GetAutomationExecutionResponse (Maybe AutomationExecution)
- getAutomationExecutionResponse_httpStatus :: Lens' GetAutomationExecutionResponse Int
Creating a Request
data GetAutomationExecution Source #
See: newGetAutomationExecution
smart constructor.
Constructors
GetAutomationExecution' | |
Fields
|
Instances
newGetAutomationExecution Source #
Create a value of GetAutomationExecution
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:automationExecutionId:GetAutomationExecution'
, getAutomationExecution_automationExecutionId
- The unique identifier for an existing automation execution to examine.
The execution ID is returned by StartAutomationExecution when the
execution of an Automation runbook is initiated.
Request Lenses
getAutomationExecution_automationExecutionId :: Lens' GetAutomationExecution Text Source #
The unique identifier for an existing automation execution to examine. The execution ID is returned by StartAutomationExecution when the execution of an Automation runbook is initiated.
Destructuring the Response
data GetAutomationExecutionResponse Source #
See: newGetAutomationExecutionResponse
smart constructor.
Constructors
GetAutomationExecutionResponse' | |
Fields
|
Instances
newGetAutomationExecutionResponse Source #
Create a value of GetAutomationExecutionResponse
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:automationExecution:GetAutomationExecutionResponse'
, getAutomationExecutionResponse_automationExecution
- Detailed information about the current state of an automation execution.
$sel:httpStatus:GetAutomationExecutionResponse'
, getAutomationExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
getAutomationExecutionResponse_automationExecution :: Lens' GetAutomationExecutionResponse (Maybe AutomationExecution) Source #
Detailed information about the current state of an automation execution.
getAutomationExecutionResponse_httpStatus :: Lens' GetAutomationExecutionResponse Int Source #
The response's http status code.