libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.GetMaintenanceWindowExecutionTask

Description

Retrieves the details about a specific task run as part of a maintenance window execution.

Synopsis

Creating a Request

data GetMaintenanceWindowExecutionTask Source #

See: newGetMaintenanceWindowExecutionTask smart constructor.

Constructors

GetMaintenanceWindowExecutionTask' 

Fields

  • windowExecutionId :: Text

    The ID of the maintenance window execution that includes the task.

  • taskId :: Text

    The ID of the specific task execution in the maintenance window task that should be retrieved.

Instances

Instances details
Eq GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Read GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Show GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Generic GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Associated Types

type Rep GetMaintenanceWindowExecutionTask :: Type -> Type #

NFData GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Hashable GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

ToJSON GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

AWSRequest GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

ToHeaders GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

ToPath GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

ToQuery GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

type Rep GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

type Rep GetMaintenanceWindowExecutionTask = D1 ('MetaData "GetMaintenanceWindowExecutionTask" "Amazonka.SSM.GetMaintenanceWindowExecutionTask" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "GetMaintenanceWindowExecutionTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "windowExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

newGetMaintenanceWindowExecutionTask Source #

Create a value of GetMaintenanceWindowExecutionTask 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:windowExecutionId:GetMaintenanceWindowExecutionTask', getMaintenanceWindowExecutionTask_windowExecutionId - The ID of the maintenance window execution that includes the task.

$sel:taskId:GetMaintenanceWindowExecutionTask', getMaintenanceWindowExecutionTask_taskId - The ID of the specific task execution in the maintenance window task that should be retrieved.

Request Lenses

getMaintenanceWindowExecutionTask_windowExecutionId :: Lens' GetMaintenanceWindowExecutionTask Text Source #

The ID of the maintenance window execution that includes the task.

getMaintenanceWindowExecutionTask_taskId :: Lens' GetMaintenanceWindowExecutionTask Text Source #

The ID of the specific task execution in the maintenance window task that should be retrieved.

Destructuring the Response

data GetMaintenanceWindowExecutionTaskResponse Source #

Constructors

GetMaintenanceWindowExecutionTaskResponse' 

Fields

Instances

Instances details
Eq GetMaintenanceWindowExecutionTaskResponse Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Show GetMaintenanceWindowExecutionTaskResponse Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Generic GetMaintenanceWindowExecutionTaskResponse Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

NFData GetMaintenanceWindowExecutionTaskResponse Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

type Rep GetMaintenanceWindowExecutionTaskResponse Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

type Rep GetMaintenanceWindowExecutionTaskResponse = D1 ('MetaData "GetMaintenanceWindowExecutionTaskResponse" "Amazonka.SSM.GetMaintenanceWindowExecutionTask" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "GetMaintenanceWindowExecutionTaskResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaintenanceWindowExecutionStatus)) :*: (S1 ('MetaSel ('Just "taskParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive [Sensitive (HashMap Text (Sensitive MaintenanceWindowTaskParameterValueExpression))]))) :*: S1 ('MetaSel ('Just "taskExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "taskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "windowExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "statusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaintenanceWindowTaskType)) :*: S1 ('MetaSel ('Just "maxConcurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "serviceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetMaintenanceWindowExecutionTaskResponse Source #

Create a value of GetMaintenanceWindowExecutionTaskResponse 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:status:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_status - The status of the task.

$sel:taskParameters:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_taskParameters - The parameters passed to the task when it was run.

TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters option in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.

The map has the following format:

  • Key: string, between 1 and 255 characters
  • Value: an array of strings, each between 1 and 255 characters

$sel:taskExecutionId:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_taskExecutionId - The ID of the specific task execution in the maintenance window task that was retrieved.

$sel:priority:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_priority - The priority of the task.

$sel:startTime:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_startTime - The time the task execution started.

$sel:taskArn:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_taskArn - The Amazon Resource Name (ARN) of the task that ran.

$sel:windowExecutionId:GetMaintenanceWindowExecutionTask', getMaintenanceWindowExecutionTaskResponse_windowExecutionId - The ID of the maintenance window execution that includes the task.

$sel:statusDetails:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_statusDetails - The details explaining the status. Not available for all status values.

$sel:maxErrors:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_maxErrors - The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.

$sel:endTime:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_endTime - The time the task execution completed.

$sel:type':GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_type - The type of task that was run.

$sel:maxConcurrency:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_maxConcurrency - The defined maximum number of task executions that could be run in parallel.

$sel:serviceRole:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_serviceRole - The role that was assumed when running the task.

$sel:httpStatus:GetMaintenanceWindowExecutionTaskResponse', getMaintenanceWindowExecutionTaskResponse_httpStatus - The response's http status code.

Response Lenses

getMaintenanceWindowExecutionTaskResponse_taskParameters :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe [HashMap Text MaintenanceWindowTaskParameterValueExpression]) Source #

The parameters passed to the task when it was run.

TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use the Parameters option in the TaskInvocationParameters structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.

The map has the following format:

  • Key: string, between 1 and 255 characters
  • Value: an array of strings, each between 1 and 255 characters

getMaintenanceWindowExecutionTaskResponse_taskExecutionId :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #

The ID of the specific task execution in the maintenance window task that was retrieved.

getMaintenanceWindowExecutionTaskResponse_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #

The details explaining the status. Not available for all status values.

getMaintenanceWindowExecutionTaskResponse_maxErrors :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #

The defined maximum number of task execution errors allowed before scheduling of the task execution would have been stopped.

getMaintenanceWindowExecutionTaskResponse_maxConcurrency :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #

The defined maximum number of task executions that could be run in parallel.