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

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

See: getMaintenanceWindowTask smart constructor.

Instances

Eq GetMaintenanceWindowTask Source # 
Data GetMaintenanceWindowTask Source # 

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 Source # 
Show GetMaintenanceWindowTask Source # 
Generic GetMaintenanceWindowTask Source # 
Hashable GetMaintenanceWindowTask Source # 
ToJSON GetMaintenanceWindowTask Source # 
NFData GetMaintenanceWindowTask Source # 
AWSRequest GetMaintenanceWindowTask Source # 
ToHeaders GetMaintenanceWindowTask Source # 
ToPath GetMaintenanceWindowTask Source # 
ToQuery GetMaintenanceWindowTask Source # 
type Rep GetMaintenanceWindowTask Source # 
type Rep GetMaintenanceWindowTask = D1 * (MetaData "GetMaintenanceWindowTask" "Network.AWS.SSM.GetMaintenanceWindowTask" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "GetMaintenanceWindowTask'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwtWindowId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gmwtWindowTaskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetMaintenanceWindowTask Source # 

Request Lenses

gmwtWindowId :: Lens' GetMaintenanceWindowTask Text Source #

The Maintenance Window ID that includes the task to retrieve.

gmwtWindowTaskId :: Lens' GetMaintenanceWindowTask Text Source #

The Maintenance Window task ID to retrieve.

Destructuring the Response

getMaintenanceWindowTaskResponse Source #

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

See: getMaintenanceWindowTaskResponse smart constructor.

Instances

Eq GetMaintenanceWindowTaskResponse Source # 
Data GetMaintenanceWindowTaskResponse Source # 

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

Response Lenses

gmwtrsServiceRoleARN :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #

The IAM service role to assume during task execution.

gmwtrsWindowTaskId :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #

The retrieved Maintenance Window task ID.

gmwtrsPriority :: Lens' GetMaintenanceWindowTaskResponse (Maybe Natural) Source #

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) Source #

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) Source #

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

gmwtrsTargets :: Lens' GetMaintenanceWindowTaskResponse [Target] Source #

The targets where the task should execute.

gmwtrsLoggingInfo :: Lens' GetMaintenanceWindowTaskResponse (Maybe LoggingInfo) Source #

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

gmwtrsMaxConcurrency :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #

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

gmwtrsWindowId :: Lens' GetMaintenanceWindowTaskResponse (Maybe Text) Source #

The retrieved Maintenance Window ID.