AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::MarketplaceEntitlementService::Types::GetEntitlementsRequest

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

Overview

Note:

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

{
  product_code: "ProductCode", # required
  filter: {
    "CUSTOMER_IDENTIFIER" => ["FilterValue"],
  },
  next_token: "NonEmptyString",
  max_results: 1,
}

The GetEntitlementsRequest contains parameters for the GetEntitlements operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filterHash<String,Array<String>>

Filter is used to return entitlements for a specific customer or for a specific dimension. Filters are described as keys mapped to a lists of values. Filtered requests are unioned for each value in the value list, and then intersected for each filter key.

Returns:

  • (Hash<String,Array<String>>)


139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 139

class GetEntitlementsRequest < Struct.new(
  :product_code,
  :filter,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of items to retrieve from the GetEntitlements operation. For pagination, use the NextToken field in subsequent calls to GetEntitlements.

Returns:

  • (Integer)


139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 139

class GetEntitlementsRequest < Struct.new(
  :product_code,
  :filter,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

For paginated calls to GetEntitlements, pass the NextToken from the previous GetEntitlementsResult.

Returns:

  • (String)


139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 139

class GetEntitlementsRequest < Struct.new(
  :product_code,
  :filter,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#product_codeString

Product code is used to uniquely identify a product in AWS Marketplace. The product code will be provided by AWS Marketplace when the product listing is created.

Returns:

  • (String)


139
140
141
142
143
144
145
146
# File 'gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/types.rb', line 139

class GetEntitlementsRequest < Struct.new(
  :product_code,
  :filter,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end