libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.ListInventoryEntries

Description

A list of inventory items returned by the request.

Synopsis

Creating a Request

data ListInventoryEntries Source #

See: newListInventoryEntries smart constructor.

Constructors

ListInventoryEntries' 

Fields

  • filters :: Maybe (NonEmpty InventoryFilter)

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

  • nextToken :: Maybe Text

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

  • maxResults :: 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.

  • instanceId :: Text

    The instance ID for which you want inventory information.

  • typeName :: Text

    The type of inventory item for which you want information.

Instances

Instances details
Eq ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Read ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Show ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Generic ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Associated Types

type Rep ListInventoryEntries :: Type -> Type #

NFData ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Methods

rnf :: ListInventoryEntries -> () #

Hashable ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

ToJSON ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

AWSRequest ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Associated Types

type AWSResponse ListInventoryEntries #

ToHeaders ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

ToPath ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

ToQuery ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

type Rep ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

type Rep ListInventoryEntries = D1 ('MetaData "ListInventoryEntries" "Amazonka.SSM.ListInventoryEntries" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListInventoryEntries'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty InventoryFilter))) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListInventoryEntries Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

newListInventoryEntries Source #

Create a value of ListInventoryEntries with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:filters:ListInventoryEntries', listInventoryEntries_filters - One or more filters. Use a filter to return a more specific list of results.

$sel:nextToken:ListInventoryEntries', listInventoryEntries_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:maxResults:ListInventoryEntries', listInventoryEntries_maxResults - 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.

$sel:instanceId:ListInventoryEntries', listInventoryEntries_instanceId - The instance ID for which you want inventory information.

$sel:typeName:ListInventoryEntries', listInventoryEntries_typeName - The type of inventory item for which you want information.

Request Lenses

listInventoryEntries_filters :: Lens' ListInventoryEntries (Maybe (NonEmpty InventoryFilter)) Source #

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

listInventoryEntries_nextToken :: Lens' ListInventoryEntries (Maybe Text) Source #

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

listInventoryEntries_maxResults :: Lens' ListInventoryEntries (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.

listInventoryEntries_instanceId :: Lens' ListInventoryEntries Text Source #

The instance ID for which you want inventory information.

listInventoryEntries_typeName :: Lens' ListInventoryEntries Text Source #

The type of inventory item for which you want information.

Destructuring the Response

data ListInventoryEntriesResponse Source #

See: newListInventoryEntriesResponse smart constructor.

Constructors

ListInventoryEntriesResponse' 

Fields

Instances

Instances details
Eq ListInventoryEntriesResponse Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Read ListInventoryEntriesResponse Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Show ListInventoryEntriesResponse Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Generic ListInventoryEntriesResponse Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

Associated Types

type Rep ListInventoryEntriesResponse :: Type -> Type #

NFData ListInventoryEntriesResponse Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

type Rep ListInventoryEntriesResponse Source # 
Instance details

Defined in Amazonka.SSM.ListInventoryEntries

type Rep ListInventoryEntriesResponse = D1 ('MetaData "ListInventoryEntriesResponse" "Amazonka.SSM.ListInventoryEntries" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ListInventoryEntriesResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HashMap Text Text])))) :*: ((S1 ('MetaSel ('Just "schemaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "captureTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListInventoryEntriesResponse Source #

Create a value of ListInventoryEntriesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:instanceId:ListInventoryEntries', listInventoryEntriesResponse_instanceId - The instance ID targeted by the request to query inventory information.

$sel:typeName:ListInventoryEntries', listInventoryEntriesResponse_typeName - The type of inventory item returned by the request.

$sel:entries:ListInventoryEntriesResponse', listInventoryEntriesResponse_entries - A list of inventory items on the instance(s).

$sel:schemaVersion:ListInventoryEntriesResponse', listInventoryEntriesResponse_schemaVersion - The inventory schema version used by the instance(s).

$sel:captureTime:ListInventoryEntriesResponse', listInventoryEntriesResponse_captureTime - The time that inventory information was collected for the instance(s).

$sel:nextToken:ListInventoryEntries', listInventoryEntriesResponse_nextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

$sel:httpStatus:ListInventoryEntriesResponse', listInventoryEntriesResponse_httpStatus - The response's http status code.

Response Lenses

listInventoryEntriesResponse_instanceId :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #

The instance ID targeted by the request to query inventory information.

listInventoryEntriesResponse_typeName :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #

The type of inventory item returned by the request.

listInventoryEntriesResponse_schemaVersion :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #

The inventory schema version used by the instance(s).

listInventoryEntriesResponse_captureTime :: Lens' ListInventoryEntriesResponse (Maybe Text) Source #

The time that inventory information was collected for the instance(s).

listInventoryEntriesResponse_nextToken :: Lens' ListInventoryEntriesResponse (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.