libZSservicesZSamazonka-license-managerZSamazonka-license-manager
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.LicenseManager.ListResourceInventory

Description

Lists resources managed using Systems Manager inventory.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResourceInventory Source #

See: newListResourceInventory smart constructor.

Constructors

ListResourceInventory' 

Fields

  • filters :: Maybe [InventoryFilter]

    Filters to scope the results. The following filters and logical operators are supported:

    • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.
    • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.
    • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.
    • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.
    • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.
    • tag:<key> - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).
  • nextToken :: Maybe Text

    Token for the next set of results.

  • maxResults :: Maybe Int

    Maximum number of results to return in a single call.

Instances

Instances details
Eq ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Read ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Show ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Generic ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Associated Types

type Rep ListResourceInventory :: Type -> Type #

NFData ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Methods

rnf :: ListResourceInventory -> () #

Hashable ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

ToJSON ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

AWSPager ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

AWSRequest ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Associated Types

type AWSResponse ListResourceInventory #

ToHeaders ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

ToPath ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

ToQuery ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

type Rep ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

type Rep ListResourceInventory = D1 ('MetaData "ListResourceInventory" "Amazonka.LicenseManager.ListResourceInventory" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "ListResourceInventory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InventoryFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse ListResourceInventory Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

newListResourceInventory :: ListResourceInventory Source #

Create a value of ListResourceInventory 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:ListResourceInventory', listResourceInventory_filters - Filters to scope the results. The following filters and logical operators are supported:

  • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.
  • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.
  • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.
  • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.
  • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.
  • tag:<key> - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).

$sel:nextToken:ListResourceInventory', listResourceInventory_nextToken - Token for the next set of results.

$sel:maxResults:ListResourceInventory', listResourceInventory_maxResults - Maximum number of results to return in a single call.

Request Lenses

listResourceInventory_filters :: Lens' ListResourceInventory (Maybe [InventoryFilter]) Source #

Filters to scope the results. The following filters and logical operators are supported:

  • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.
  • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.
  • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.
  • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.
  • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.
  • tag:<key> - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).

listResourceInventory_maxResults :: Lens' ListResourceInventory (Maybe Int) Source #

Maximum number of results to return in a single call.

Destructuring the Response

data ListResourceInventoryResponse Source #

See: newListResourceInventoryResponse smart constructor.

Constructors

ListResourceInventoryResponse' 

Fields

Instances

Instances details
Eq ListResourceInventoryResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Read ListResourceInventoryResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Show ListResourceInventoryResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Generic ListResourceInventoryResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

Associated Types

type Rep ListResourceInventoryResponse :: Type -> Type #

NFData ListResourceInventoryResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

type Rep ListResourceInventoryResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListResourceInventory

type Rep ListResourceInventoryResponse = D1 ('MetaData "ListResourceInventoryResponse" "Amazonka.LicenseManager.ListResourceInventory" "libZSservicesZSamazonka-license-managerZSamazonka-license-manager" 'False) (C1 ('MetaCons "ListResourceInventoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceInventoryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceInventory])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourceInventoryResponse Source #

Create a value of ListResourceInventoryResponse 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:resourceInventoryList:ListResourceInventoryResponse', listResourceInventoryResponse_resourceInventoryList - Information about the resources.

$sel:nextToken:ListResourceInventory', listResourceInventoryResponse_nextToken - Token for the next set of results.

$sel:httpStatus:ListResourceInventoryResponse', listResourceInventoryResponse_httpStatus - The response's http status code.

Response Lenses