Class: Aws::LicenseManager::Types::ListUsageForLicenseConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb

Overview

Note:

When making an API call, you may pass ListUsageForLicenseConfigurationRequest data as a hash:

{
  license_configuration_arn: "String", # required
  max_results: 1,
  next_token: "String",
  filters: [
    {
      name: "FilterName",
      values: ["FilterValue"],
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::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.

Returns:



1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1081

class ListUsageForLicenseConfigurationRequest < Struct.new(
  :license_configuration_arn,
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end

#license_configuration_arnString

Amazon Resource Name (ARN) of the license configuration.

Returns:

  • (String)


1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1081

class ListUsageForLicenseConfigurationRequest < Struct.new(
  :license_configuration_arn,
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

Maximum number of results to return in a single call.

Returns:

  • (Integer)


1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1081

class ListUsageForLicenseConfigurationRequest < Struct.new(
  :license_configuration_arn,
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

Token for the next set of results.

Returns:

  • (String)


1081
1082
1083
1084
1085
1086
1087
1088
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/types.rb', line 1081

class ListUsageForLicenseConfigurationRequest < Struct.new(
  :license_configuration_arn,
  :max_results,
  :next_token,
  :filters)
  SENSITIVE = []
  include Aws::Structure
end