amazonka-ssm-1.4.5: Amazon Simple Systems Manager (SSM) 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.SSM.DescribeInstanceInformation

Contents

Description

Describes one or more of your instances. You can use this to get information about instances like the operating system platform, the SSM agent version (Linux), status etc. If you specify one or more instance IDs, it returns information for those instances. If you do not specify instance IDs, it returns information for all your instances. If you specify an instance ID that is not valid or an instance that you do not own, you receive an error.

Synopsis

Creating a Request

describeInstanceInformation :: DescribeInstanceInformation #

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

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

  • diiInstanceInformationFilterList - One or more filters. Use a filter to return a more specific list of instances.
  • diiFilters - One or more filters. Use a filter to return a more specific list of instances.
  • diiNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • diiMaxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

data DescribeInstanceInformation #

See: describeInstanceInformation smart constructor.

Instances

Eq DescribeInstanceInformation # 
Data DescribeInstanceInformation # 

Methods

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

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

toConstr :: DescribeInstanceInformation -> Constr #

dataTypeOf :: DescribeInstanceInformation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeInstanceInformation # 
Show DescribeInstanceInformation # 
Generic DescribeInstanceInformation # 
Hashable DescribeInstanceInformation # 
ToJSON DescribeInstanceInformation # 
NFData DescribeInstanceInformation # 
AWSRequest DescribeInstanceInformation # 
ToQuery DescribeInstanceInformation # 
ToPath DescribeInstanceInformation # 
ToHeaders DescribeInstanceInformation # 
type Rep DescribeInstanceInformation # 
type Rep DescribeInstanceInformation = D1 (MetaData "DescribeInstanceInformation" "Network.AWS.SSM.DescribeInstanceInformation" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "DescribeInstanceInformation'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_diiInstanceInformationFilterList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceInformationFilter]))) (S1 (MetaSel (Just Symbol "_diiFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceInformationStringFilter])))) ((:*:) (S1 (MetaSel (Just Symbol "_diiNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_diiMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs DescribeInstanceInformation # 

Request Lenses

diiInstanceInformationFilterList :: Lens' DescribeInstanceInformation [InstanceInformationFilter] #

One or more filters. Use a filter to return a more specific list of instances.

diiFilters :: Lens' DescribeInstanceInformation [InstanceInformationStringFilter] #

One or more filters. Use a filter to return a more specific list of instances.

diiNextToken :: Lens' DescribeInstanceInformation (Maybe Text) #

The token for the next set of items to return. (You received this token from a previous call.)

diiMaxResults :: Lens' DescribeInstanceInformation (Maybe Natural) #

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Destructuring the Response

describeInstanceInformationResponse #

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

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

data DescribeInstanceInformationResponse #

See: describeInstanceInformationResponse smart constructor.

Instances

Eq DescribeInstanceInformationResponse # 
Data DescribeInstanceInformationResponse # 

Methods

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

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

toConstr :: DescribeInstanceInformationResponse -> Constr #

dataTypeOf :: DescribeInstanceInformationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeInstanceInformationResponse # 
Show DescribeInstanceInformationResponse # 
Generic DescribeInstanceInformationResponse # 
NFData DescribeInstanceInformationResponse # 
type Rep DescribeInstanceInformationResponse # 
type Rep DescribeInstanceInformationResponse = D1 (MetaData "DescribeInstanceInformationResponse" "Network.AWS.SSM.DescribeInstanceInformation" "amazonka-ssm-1.4.5-1XugwZI5i6oEK9zpTg7Crt" False) (C1 (MetaCons "DescribeInstanceInformationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_diirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_diirsInstanceInformationList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InstanceInformation]))) (S1 (MetaSel (Just Symbol "_diirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

diirsNextToken :: Lens' DescribeInstanceInformationResponse (Maybe Text) #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.