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

Description

Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.

This operation returns paginated results.

Synopsis

Creating a Request

data ListUsageForLicenseConfiguration Source #

See: newListUsageForLicenseConfiguration smart constructor.

Constructors

ListUsageForLicenseConfiguration' 

Fields

  • filters :: Maybe [Filter]

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

    • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.
    • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.
    • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.
  • nextToken :: Maybe Text

    Token for the next set of results.

  • maxResults :: Maybe Int

    Maximum number of results to return in a single call.

  • licenseConfigurationArn :: Text

    Amazon Resource Name (ARN) of the license configuration.

Instances

Instances details
Eq ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

Read ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

Show ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

Generic ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

Associated Types

type Rep ListUsageForLicenseConfiguration :: Type -> Type #

NFData ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

Hashable ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

ToJSON ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

AWSPager ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

AWSRequest ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

ToHeaders ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

ToPath ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

ToQuery ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

type Rep ListUsageForLicenseConfiguration Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

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

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

newListUsageForLicenseConfiguration Source #

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

  • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.
  • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.
  • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

$sel:nextToken:ListUsageForLicenseConfiguration', listUsageForLicenseConfiguration_nextToken - Token for the next set of results.

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

$sel:licenseConfigurationArn:ListUsageForLicenseConfiguration', listUsageForLicenseConfiguration_licenseConfigurationArn - Amazon Resource Name (ARN) of the license configuration.

Request Lenses

listUsageForLicenseConfiguration_filters :: Lens' ListUsageForLicenseConfiguration (Maybe [Filter]) Source #

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

  • resourceArn - The ARN of the license configuration resource. Logical operators are EQUALS | NOT_EQUALS.
  • resourceType - The resource type (EC2_INSTANCE | EC2_HOST | EC2_AMI | SYSTEMS_MANAGER_MANAGED_INSTANCE). Logical operators are EQUALS | NOT_EQUALS.
  • resourceAccount - The ID of the account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

listUsageForLicenseConfiguration_maxResults :: Lens' ListUsageForLicenseConfiguration (Maybe Int) Source #

Maximum number of results to return in a single call.

Destructuring the Response

data ListUsageForLicenseConfigurationResponse Source #

Constructors

ListUsageForLicenseConfigurationResponse' 

Fields

Instances

Instances details
Eq ListUsageForLicenseConfigurationResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

Read ListUsageForLicenseConfigurationResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

Show ListUsageForLicenseConfigurationResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

Generic ListUsageForLicenseConfigurationResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

NFData ListUsageForLicenseConfigurationResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

type Rep ListUsageForLicenseConfigurationResponse Source # 
Instance details

Defined in Amazonka.LicenseManager.ListUsageForLicenseConfiguration

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

Response Lenses