amazonka-discovery-1.4.5: Amazon Application Discovery Service SDK.

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

Network.AWS.Discovery.StartDataCollectionByAgentIds

Contents

Description

Instructs the specified agents to start collecting data. Agents can reside on host servers or virtual machines in your data center.

Synopsis

Creating a Request

startDataCollectionByAgentIds :: StartDataCollectionByAgentIds Source #

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

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

  • sAgentIds - The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows Failed in the Description field.

data StartDataCollectionByAgentIds Source #

See: startDataCollectionByAgentIds smart constructor.

Instances

Eq StartDataCollectionByAgentIds Source # 
Data StartDataCollectionByAgentIds Source # 

Methods

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

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

toConstr :: StartDataCollectionByAgentIds -> Constr #

dataTypeOf :: StartDataCollectionByAgentIds -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartDataCollectionByAgentIds Source # 
Show StartDataCollectionByAgentIds Source # 
Generic StartDataCollectionByAgentIds Source # 
Hashable StartDataCollectionByAgentIds Source # 
ToJSON StartDataCollectionByAgentIds Source # 
NFData StartDataCollectionByAgentIds Source # 
AWSRequest StartDataCollectionByAgentIds Source # 
ToPath StartDataCollectionByAgentIds Source # 
ToHeaders StartDataCollectionByAgentIds Source # 
ToQuery StartDataCollectionByAgentIds Source # 
type Rep StartDataCollectionByAgentIds Source # 
type Rep StartDataCollectionByAgentIds = D1 (MetaData "StartDataCollectionByAgentIds" "Network.AWS.Discovery.StartDataCollectionByAgentIds" "amazonka-discovery-1.4.5-7J1wGJkG5EzFaATukwIFxD" True) (C1 (MetaCons "StartDataCollectionByAgentIds'" PrefixI True) (S1 (MetaSel (Just Symbol "_sAgentIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Text])))
type Rs StartDataCollectionByAgentIds Source # 

Request Lenses

sAgentIds :: Lens' StartDataCollectionByAgentIds [Text] Source #

The IDs of the agents that you want to start collecting data. If you send a request to an AWS agent ID that you do not have permission to contact, according to your AWS account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows Failed in the Description field.

Destructuring the Response

startDataCollectionByAgentIdsResponse Source #

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

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

  • srsAgentsConfigurationStatus - Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation performed, and whether or not the agent configuration was updated.
  • srsResponseStatus - -- | The response status code.

data StartDataCollectionByAgentIdsResponse Source #

Instances

Eq StartDataCollectionByAgentIdsResponse Source # 
Data StartDataCollectionByAgentIdsResponse Source # 

Methods

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

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

toConstr :: StartDataCollectionByAgentIdsResponse -> Constr #

dataTypeOf :: StartDataCollectionByAgentIdsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartDataCollectionByAgentIdsResponse Source # 
Show StartDataCollectionByAgentIdsResponse Source # 
Generic StartDataCollectionByAgentIdsResponse Source # 
NFData StartDataCollectionByAgentIdsResponse Source # 
type Rep StartDataCollectionByAgentIdsResponse Source # 
type Rep StartDataCollectionByAgentIdsResponse = D1 (MetaData "StartDataCollectionByAgentIdsResponse" "Network.AWS.Discovery.StartDataCollectionByAgentIds" "amazonka-discovery-1.4.5-7J1wGJkG5EzFaATukwIFxD" False) (C1 (MetaCons "StartDataCollectionByAgentIdsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_srsAgentsConfigurationStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AgentConfigurationStatus]))) (S1 (MetaSel (Just Symbol "_srsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

srsAgentsConfigurationStatus :: Lens' StartDataCollectionByAgentIdsResponse [AgentConfigurationStatus] Source #

Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation performed, and whether or not the agent configuration was updated.