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.GetMaintenanceWindowExecutionTaskInvocation

Contents

Description

Retrieves a task invocation. A task invocation is a specific task executing on a specific target. Maintenance Windows report status for all invocations.

Synopsis

Creating a Request

getMaintenanceWindowExecutionTaskInvocation Source #

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

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

data GetMaintenanceWindowExecutionTaskInvocation Source #

Instances

Eq GetMaintenanceWindowExecutionTaskInvocation Source # 
Data GetMaintenanceWindowExecutionTaskInvocation Source # 

Methods

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

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

toConstr :: GetMaintenanceWindowExecutionTaskInvocation -> Constr #

dataTypeOf :: GetMaintenanceWindowExecutionTaskInvocation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetMaintenanceWindowExecutionTaskInvocation Source # 
Show GetMaintenanceWindowExecutionTaskInvocation Source # 
Generic GetMaintenanceWindowExecutionTaskInvocation Source # 
Hashable GetMaintenanceWindowExecutionTaskInvocation Source # 
ToJSON GetMaintenanceWindowExecutionTaskInvocation Source # 
NFData GetMaintenanceWindowExecutionTaskInvocation Source # 
AWSRequest GetMaintenanceWindowExecutionTaskInvocation Source # 
ToHeaders GetMaintenanceWindowExecutionTaskInvocation Source # 
ToPath GetMaintenanceWindowExecutionTaskInvocation Source # 
ToQuery GetMaintenanceWindowExecutionTaskInvocation Source # 
type Rep GetMaintenanceWindowExecutionTaskInvocation Source # 
type Rep GetMaintenanceWindowExecutionTaskInvocation = D1 * (MetaData "GetMaintenanceWindowExecutionTaskInvocation" "Network.AWS.SSM.GetMaintenanceWindowExecutionTaskInvocation" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "GetMaintenanceWindowExecutionTaskInvocation'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetiWindowExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetiTaskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gmwetiInvocationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs GetMaintenanceWindowExecutionTaskInvocation Source # 

Request Lenses

gmwetiWindowExecutionId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text Source #

The ID of the Maintenance Window execution for which the task is a part.

gmwetiTaskId :: Lens' GetMaintenanceWindowExecutionTaskInvocation Text Source #

The ID of the specific task in the Maintenance Window task that should be retrieved.

Destructuring the Response

getMaintenanceWindowExecutionTaskInvocationResponse Source #

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

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

data GetMaintenanceWindowExecutionTaskInvocationResponse Source #

Instances

Eq GetMaintenanceWindowExecutionTaskInvocationResponse Source # 
Data GetMaintenanceWindowExecutionTaskInvocationResponse Source # 

Methods

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

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

toConstr :: GetMaintenanceWindowExecutionTaskInvocationResponse -> Constr #

dataTypeOf :: GetMaintenanceWindowExecutionTaskInvocationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetMaintenanceWindowExecutionTaskInvocationResponse Source # 
Generic GetMaintenanceWindowExecutionTaskInvocationResponse Source # 
NFData GetMaintenanceWindowExecutionTaskInvocationResponse Source # 
type Rep GetMaintenanceWindowExecutionTaskInvocationResponse Source # 
type Rep GetMaintenanceWindowExecutionTaskInvocationResponse = D1 * (MetaData "GetMaintenanceWindowExecutionTaskInvocationResponse" "Network.AWS.SSM.GetMaintenanceWindowExecutionTaskInvocation" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "GetMaintenanceWindowExecutionTaskInvocationResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetirsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe MaintenanceWindowExecutionStatus))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetirsExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gmwetirsTaskExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetirsStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetirsInvocationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gmwetirsOwnerInformation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Sensitive Text))))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetirsTaskType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe MaintenanceWindowTaskType))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetirsWindowTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gmwetirsWindowExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetirsStatusDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gmwetirsEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gmwetirsParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Sensitive Text)))) (S1 * (MetaSel (Just Symbol "_gmwetirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))))

Response Lenses

gmwetirsStartTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime) Source #

The time that the task started executing on the target.

gmwetirsOwnerInformation :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #

User-provided value to be included in any CloudWatch events raised while running tasks for these targets in this Maintenance Window.

gmwetirsTaskType :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe MaintenanceWindowTaskType) Source #

Retrieves the task type for a Maintenance Window. Task types include the following: LAMBDA, STEP_FUNCTION, AUTOMATION, RUN_COMMAND.

gmwetirsStatusDetails :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #

The details explaining the status. Details are only available for certain status values.

gmwetirsEndTime :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe UTCTime) Source #

The time that the task finished executing on the target.

gmwetirsParameters :: Lens' GetMaintenanceWindowExecutionTaskInvocationResponse (Maybe Text) Source #

The parameters used at the time that the task executed.