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

Contents

Description

Return a list of inventory type names for the account, or return a list of attribute names for a specific Inventory item type.

Synopsis

Creating a Request

getInventorySchema :: GetInventorySchema Source #

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

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

  • gisTypeName - The type of inventory item to return.
  • gisAggregator - Returns inventory schemas that support aggregation. For example, this call returns the AWS:InstanceInformation type, because it supports aggregation based on the PlatformName , PlatformType , and PlatformVersion attributes.
  • gisNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • gisSubType - Returns the sub-type schema for a specified inventory type.
  • gisMaxResults - 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 GetInventorySchema Source #

See: getInventorySchema smart constructor.

Instances

Eq GetInventorySchema Source # 
Data GetInventorySchema Source # 

Methods

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

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

toConstr :: GetInventorySchema -> Constr #

dataTypeOf :: GetInventorySchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInventorySchema Source # 
Show GetInventorySchema Source # 
Generic GetInventorySchema Source # 
Hashable GetInventorySchema Source # 
ToJSON GetInventorySchema Source # 
NFData GetInventorySchema Source # 

Methods

rnf :: GetInventorySchema -> () #

AWSRequest GetInventorySchema Source # 
ToHeaders GetInventorySchema Source # 
ToPath GetInventorySchema Source # 
ToQuery GetInventorySchema Source # 
type Rep GetInventorySchema Source # 
type Rep GetInventorySchema = D1 * (MetaData "GetInventorySchema" "Network.AWS.SSM.GetInventorySchema" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "GetInventorySchema'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gisTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gisAggregator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisSubType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_gisMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))))
type Rs GetInventorySchema Source # 

Request Lenses

gisTypeName :: Lens' GetInventorySchema (Maybe Text) Source #

The type of inventory item to return.

gisAggregator :: Lens' GetInventorySchema (Maybe Bool) Source #

Returns inventory schemas that support aggregation. For example, this call returns the AWS:InstanceInformation type, because it supports aggregation based on the PlatformName , PlatformType , and PlatformVersion attributes.

gisNextToken :: Lens' GetInventorySchema (Maybe Text) Source #

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

gisSubType :: Lens' GetInventorySchema (Maybe Bool) Source #

Returns the sub-type schema for a specified inventory type.

gisMaxResults :: Lens' GetInventorySchema (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

getInventorySchemaResponse Source #

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

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

  • gisrsSchemas - Inventory schemas returned by the request.
  • gisrsNextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
  • gisrsResponseStatus - -- | The response status code.

data GetInventorySchemaResponse Source #

See: getInventorySchemaResponse smart constructor.

Instances

Eq GetInventorySchemaResponse Source # 
Data GetInventorySchemaResponse Source # 

Methods

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

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

toConstr :: GetInventorySchemaResponse -> Constr #

dataTypeOf :: GetInventorySchemaResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetInventorySchemaResponse Source # 
Show GetInventorySchemaResponse Source # 
Generic GetInventorySchemaResponse Source # 
NFData GetInventorySchemaResponse Source # 
type Rep GetInventorySchemaResponse Source # 
type Rep GetInventorySchemaResponse = D1 * (MetaData "GetInventorySchemaResponse" "Network.AWS.SSM.GetInventorySchema" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "GetInventorySchemaResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisrsSchemas") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [InventoryItemSchema]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gisrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gisrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gisrsSchemas :: Lens' GetInventorySchemaResponse [InventoryItemSchema] Source #

Inventory schemas returned by the request.

gisrsNextToken :: Lens' GetInventorySchemaResponse (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.