amazonka-ssm-1.5.0: Amazon Simple Systems Manager (SSM) SDK.

Copyright(c) 2013-2017 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.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.

This operation returns paginated results.

Synopsis

Creating a Request

describeInstanceInformation :: DescribeInstanceInformation Source #

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

See: describeInstanceInformation smart constructor.

Instances

Eq DescribeInstanceInformation Source # 
Data DescribeInstanceInformation Source # 

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 Source # 
Show DescribeInstanceInformation Source # 
Generic DescribeInstanceInformation Source # 
Hashable DescribeInstanceInformation Source # 
ToJSON DescribeInstanceInformation Source # 
NFData DescribeInstanceInformation Source # 
AWSPager DescribeInstanceInformation Source # 
AWSRequest DescribeInstanceInformation Source # 
ToQuery DescribeInstanceInformation Source # 
ToPath DescribeInstanceInformation Source # 
ToHeaders DescribeInstanceInformation Source # 
type Rep DescribeInstanceInformation Source # 
type Rep DescribeInstanceInformation = D1 (MetaData "DescribeInstanceInformation" "Network.AWS.SSM.DescribeInstanceInformation" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" 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 Source # 

Request Lenses

diiInstanceInformationFilterList :: Lens' DescribeInstanceInformation [InstanceInformationFilter] Source #

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

diiFilters :: Lens' DescribeInstanceInformation [InstanceInformationStringFilter] Source #

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

diiNextToken :: Lens' DescribeInstanceInformation (Maybe Text) Source #

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

diiMaxResults :: Lens' DescribeInstanceInformation (Maybe Natural) Source #

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

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

See: describeInstanceInformationResponse smart constructor.

Instances

Eq DescribeInstanceInformationResponse Source # 
Data DescribeInstanceInformationResponse Source # 

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 Source # 
Show DescribeInstanceInformationResponse Source # 
Generic DescribeInstanceInformationResponse Source # 
NFData DescribeInstanceInformationResponse Source # 
type Rep DescribeInstanceInformationResponse Source # 
type Rep DescribeInstanceInformationResponse = D1 (MetaData "DescribeInstanceInformationResponse" "Network.AWS.SSM.DescribeInstanceInformation" "amazonka-ssm-1.5.0-7otWUS4XVRaHT5J0sMcEDs" 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 DecidedStrict) (Rec0 Int)))))

Response Lenses

diirsNextToken :: Lens' DescribeInstanceInformationResponse (Maybe Text) Source #

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