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 |
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.
GetAutomationExecution' | |
|
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.
GetAutomationExecutionResponse' | |
|
Instances
Eq GetAutomationExecutionResponse Source # | |
Read GetAutomationExecutionResponse Source # | |
Show GetAutomationExecutionResponse Source # | |
Defined in Amazonka.SSM.GetAutomationExecution | |
Generic GetAutomationExecutionResponse Source # | |
NFData GetAutomationExecutionResponse Source # | |
Defined in Amazonka.SSM.GetAutomationExecution rnf :: GetAutomationExecutionResponse -> () # | |
type Rep GetAutomationExecutionResponse Source # | |
Defined in Amazonka.SSM.GetAutomationExecution type Rep GetAutomationExecutionResponse = D1 ('MetaData "GetAutomationExecutionResponse" "Amazonka.SSM.GetAutomationExecution" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "GetAutomationExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "automationExecution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutomationExecution)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.