amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Show GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

NFData GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Eq GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Hashable GetMaintenanceWindowExecutionTask Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

type AWSResponse 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" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "GetMaintenanceWindowExecutionTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "windowExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic GetMaintenanceWindowExecutionTaskResponse Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Show GetMaintenanceWindowExecutionTaskResponse Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

NFData GetMaintenanceWindowExecutionTaskResponse Source # 
Instance details

Defined in Amazonka.SSM.GetMaintenanceWindowExecutionTask

Eq 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" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "GetMaintenanceWindowExecutionTaskResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "alarmConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlarmConfiguration)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "maxConcurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "serviceRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaintenanceWindowExecutionStatus))))) :*: (((S1 ('MetaSel ('Just "statusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "taskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "taskExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "taskParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive [Sensitive (HashMap Text (Sensitive MaintenanceWindowTaskParameterValueExpression))]))))) :*: ((S1 ('MetaSel ('Just "triggeredAlarms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty AlarmStateInformation))) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaintenanceWindowTaskType))) :*: (S1 ('MetaSel ('Just "windowExecutionId") '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:

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_alarmConfiguration - The details for the CloudWatch alarm you applied to your maintenance window task.

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_endTime - The time the task execution completed.

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_maxConcurrency - The defined maximum number of task executions that could be run in parallel.

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

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_priority - The priority of the task.

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_serviceRole - The role that was assumed when running the task.

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_startTime - The time the task execution started.

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_status - The status of the task.

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_statusDetails - The details explaining the status. Not available for all status values.

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_taskArn - The Amazon Resource Name (ARN) of the task that ran.

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_taskExecutionId - The ID of the specific task execution in the maintenance window task that was retrieved.

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

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_triggeredAlarms - The CloudWatch alarms that were invoked by the maintenance window task.

GetMaintenanceWindowExecutionTaskResponse, getMaintenanceWindowExecutionTaskResponse_type - The type of task that was run.

GetMaintenanceWindowExecutionTask, getMaintenanceWindowExecutionTaskResponse_windowExecutionId - The ID of the maintenance window execution that includes the task.

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

Response Lenses

getMaintenanceWindowExecutionTaskResponse_alarmConfiguration :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe AlarmConfiguration) Source #

The details for the CloudWatch alarm you applied to your maintenance window task.

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

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

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_statusDetails :: Lens' GetMaintenanceWindowExecutionTaskResponse (Maybe Text) Source #

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

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

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

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