amazonka-ssm-1.6.1: 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 # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Data GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

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 # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Show GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Generic GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Associated Types

type Rep GetInventorySchema :: Type -> Type #

Hashable GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

ToJSON GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

AWSRequest GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Associated Types

type Rs GetInventorySchema :: Type #

ToHeaders GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

ToPath GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

ToQuery GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

NFData GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Methods

rnf :: GetInventorySchema -> () #

type Rep GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

type Rep GetInventorySchema = D1 (MetaData "GetInventorySchema" "Network.AWS.SSM.GetInventorySchema" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "GetInventorySchema'" PrefixI True) ((S1 (MetaSel (Just "_gisTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gisAggregator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_gisNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gisSubType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_gisMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs GetInventorySchema Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

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 # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Data GetInventorySchemaResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

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 # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Show GetInventorySchemaResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Generic GetInventorySchemaResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

Associated Types

type Rep GetInventorySchemaResponse :: Type -> Type #

NFData GetInventorySchemaResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

type Rep GetInventorySchemaResponse Source # 
Instance details

Defined in Network.AWS.SSM.GetInventorySchema

type Rep GetInventorySchemaResponse = D1 (MetaData "GetInventorySchemaResponse" "Network.AWS.SSM.GetInventorySchema" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "GetInventorySchemaResponse'" PrefixI True) (S1 (MetaSel (Just "_gisrsSchemas") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [InventoryItemSchema])) :*: (S1 (MetaSel (Just "_gisrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.