amazonka-ssm-1.6.0: Amazon Simple Systems Manager (SSM) SDK.

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

Network.AWS.SSM.GetMaintenanceWindowTask

Contents

Description

Lists the tasks in a Maintenance Window.

Synopsis

Creating a Request

getMaintenanceWindowTask #

Creates a value of GetMaintenanceWindowTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetMaintenanceWindowTask #

See: getMaintenanceWindowTask smart constructor.

Instances
Eq GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Data GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetMaintenanceWindowTask -> c GetMaintenanceWindowTask #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetMaintenanceWindowTask #

toConstr :: GetMaintenanceWindowTask -> Constr #

dataTypeOf :: GetMaintenanceWindowTask -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetMaintenanceWindowTask) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetMaintenanceWindowTask) #

gmapT :: (forall b. Data b => b -> b) -> GetMaintenanceWindowTask -> GetMaintenanceWindowTask #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetMaintenanceWindowTask -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetMaintenanceWindowTask -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetMaintenanceWindowTask -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetMaintenanceWindowTask -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetMaintenanceWindowTask -> m GetMaintenanceWindowTask #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMaintenanceWindowTask -> m GetMaintenanceWindowTask #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMaintenanceWindowTask -> m GetMaintenanceWindowTask #

Read GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Show GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Generic GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Associated Types

type Rep GetMaintenanceWindowTask :: * -> * #

Hashable GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

ToJSON GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

AWSRequest GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Associated Types

type Rs GetMaintenanceWindowTask :: * #

ToHeaders GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

ToPath GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

ToQuery GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

NFData GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

type Rep GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

type Rep GetMaintenanceWindowTask = D1 (MetaData "GetMaintenanceWindowTask" "Network.AWS.SSM.GetMaintenanceWindowTask" "amazonka-ssm-1.6.0-2O4V6sSpPonKM5mzsQDhXT" False) (C1 (MetaCons "GetMaintenanceWindowTask'" PrefixI True) (S1 (MetaSel (Just "_gmwtWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gmwtWindowTaskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs GetMaintenanceWindowTask # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Request Lenses

gmwtWindowId :: Lens' GetMaintenanceWindowTask Text #

The Maintenance Window ID that includes the task to retrieve.

gmwtWindowTaskId :: Lens' GetMaintenanceWindowTask Text #

The Maintenance Window task ID to retrieve.

Destructuring the Response

getMaintenanceWindowTaskResponse #

Creates a value of GetMaintenanceWindowTaskResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gmwtrsServiceRoleARN - The IAM service role to assume during task execution.
  • gmwtrsWindowTaskId - The retrieved Maintenance Window task ID.
  • gmwtrsTaskParameters - The parameters to pass to the task when it executes.
  • gmwtrsPriority - The priority of the task when it executes. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.
  • gmwtrsTaskType - The type of task to execute.
  • gmwtrsTaskARN - The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn is the Systems Manager Document nameARN. For LAMBDA tasks, the value is the function nameARN. For STEP_FUNCTION tasks, the value is the state machine ARN.
  • gmwtrsMaxErrors - The maximum number of errors allowed before the task stops being scheduled.
  • gmwtrsTaskInvocationParameters - The parameters to pass to the task when it executes.
  • gmwtrsName - The retrieved task name.
  • gmwtrsTargets - The targets where the task should execute.
  • gmwtrsLoggingInfo - The location in Amazon S3 where the task results are logged.
  • gmwtrsDescription - The retrieved task description.
  • gmwtrsMaxConcurrency - The maximum number of targets allowed to run this task in parallel.
  • gmwtrsWindowId - The retrieved Maintenance Window ID.
  • gmwtrsResponseStatus - -- | The response status code.

data GetMaintenanceWindowTaskResponse #

See: getMaintenanceWindowTaskResponse smart constructor.

Instances
Eq GetMaintenanceWindowTaskResponse # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Data GetMaintenanceWindowTaskResponse # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetMaintenanceWindowTaskResponse -> c GetMaintenanceWindowTaskResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetMaintenanceWindowTaskResponse #

toConstr :: GetMaintenanceWindowTaskResponse -> Constr #

dataTypeOf :: GetMaintenanceWindowTaskResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetMaintenanceWindowTaskResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetMaintenanceWindowTaskResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetMaintenanceWindowTaskResponse -> GetMaintenanceWindowTaskResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetMaintenanceWindowTaskResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetMaintenanceWindowTaskResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetMaintenanceWindowTaskResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetMaintenanceWindowTaskResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetMaintenanceWindowTaskResponse -> m GetMaintenanceWindowTaskResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMaintenanceWindowTaskResponse -> m GetMaintenanceWindowTaskResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetMaintenanceWindowTaskResponse -> m GetMaintenanceWindowTaskResponse #

Show GetMaintenanceWindowTaskResponse # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Generic GetMaintenanceWindowTaskResponse # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

Associated Types

type Rep GetMaintenanceWindowTaskResponse :: * -> * #

NFData GetMaintenanceWindowTaskResponse # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

type Rep GetMaintenanceWindowTaskResponse # 
Instance details

Defined in Network.AWS.SSM.GetMaintenanceWindowTask

type Rep GetMaintenanceWindowTaskResponse = D1 (MetaData "GetMaintenanceWindowTaskResponse" "Network.AWS.SSM.GetMaintenanceWindowTask" "amazonka-ssm-1.6.0-2O4V6sSpPonKM5mzsQDhXT" False) (C1 (MetaCons "GetMaintenanceWindowTaskResponse'" PrefixI True) (((S1 (MetaSel (Just "_gmwtrsServiceRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gmwtrsWindowTaskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gmwtrsTaskParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive (Map Text (Sensitive MaintenanceWindowTaskParameterValueExpression))))))) :*: ((S1 (MetaSel (Just "_gmwtrsPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_gmwtrsTaskType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MaintenanceWindowTaskType))) :*: (S1 (MetaSel (Just "_gmwtrsTaskARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gmwtrsMaxErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 (MetaSel (Just "_gmwtrsTaskInvocationParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MaintenanceWindowTaskInvocationParameters)) :*: S1 (MetaSel (Just "_gmwtrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gmwtrsTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Target])) :*: S1 (MetaSel (Just "_gmwtrsLoggingInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LoggingInfo)))) :*: ((S1 (MetaSel (Just "_gmwtrsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 (MetaSel (Just "_gmwtrsMaxConcurrency") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gmwtrsWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gmwtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

gmwtrsServiceRoleARN :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) #

The IAM service role to assume during task execution.

gmwtrsWindowTaskId :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) #

The retrieved Maintenance Window task ID.

gmwtrsPriority :: Lens' GetMaintenanceWindowTaskResponse (Maybe Natural) #

The priority of the task when it executes. The lower the number, the higher the priority. Tasks that have the same priority are scheduled in parallel.

gmwtrsTaskARN :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) #

The resource that the task used during execution. For RUN_COMMAND and AUTOMATION task types, the TaskArn is the Systems Manager Document nameARN. For LAMBDA tasks, the value is the function nameARN. For STEP_FUNCTION tasks, the value is the state machine ARN.

gmwtrsMaxErrors :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) #

The maximum number of errors allowed before the task stops being scheduled.

gmwtrsTargets :: Lens' GetMaintenanceWindowTaskResponse [Target] #

The targets where the task should execute.

gmwtrsLoggingInfo :: Lens' GetMaintenanceWindowTaskResponse (Maybe LoggingInfo) #

The location in Amazon S3 where the task results are logged.

gmwtrsMaxConcurrency :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) #

The maximum number of targets allowed to run this task in parallel.

gmwtrsWindowId :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) #

The retrieved Maintenance Window ID.