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 #

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 #

See: startDataCollectionByAgentIds smart constructor.

Instances

Eq StartDataCollectionByAgentIds # 
Data StartDataCollectionByAgentIds # 

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

Request Lenses

sAgentIds :: Lens' StartDataCollectionByAgentIds [Text] #

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 #

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 #

Instances

Eq StartDataCollectionByAgentIdsResponse # 
Data StartDataCollectionByAgentIdsResponse # 

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 # 
Show StartDataCollectionByAgentIdsResponse # 
Generic StartDataCollectionByAgentIdsResponse # 
NFData StartDataCollectionByAgentIdsResponse # 
type Rep StartDataCollectionByAgentIdsResponse # 
type Rep StartDataCollectionByAgentIdsResponse = D1 (MetaData "StartDataCollectionByAgentIdsResponse" "Network.AWS.Discovery.StartDataCollectionByAgentIds" "amazonka-discovery-1.4.5-14IMFK6azHZ16g41xJUm5E" 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] #

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.