AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

Entitlement

import "github.com/aws/aws-sdk-go/service/marketplaceentitlementservice"

type Entitlement struct { CustomerIdentifier *string `type:"string"` Dimension *string `type:"string"` ExpirationDate *time.Time `type:"timestamp"` ProductCode *string `min:"1" type:"string"` Value *EntitlementValue `type:"structure"` }

An entitlement represents capacity in a product owned by the customer. For example, a customer might own some number of users or seats in an SaaS application or some amount of data capacity in a multi-tenant database.

CustomerIdentifier

Type: *string

The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.

Dimension

Type: *string

The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.

ExpirationDate

Type: *time.Time

The expiration date represents the minimum date through which this entitlement is expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the customer will renew or cancel their contract. Customers who are opting to renew their contract will still have entitlements with an expiration date.

ProductCode

Type: *string

The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.

Value

The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.

Method

GoString

func (s Entitlement) GoString() string

GoString returns the string representation

SetCustomerIdentifier

func (s *Entitlement) SetCustomerIdentifier(v string) *Entitlement

SetCustomerIdentifier sets the CustomerIdentifier field's value.

SetDimension

func (s *Entitlement) SetDimension(v string) *Entitlement

SetDimension sets the Dimension field's value.

SetExpirationDate

func (s *Entitlement) SetExpirationDate(v time.Time) *Entitlement

SetExpirationDate sets the ExpirationDate field's value.

SetProductCode

func (s *Entitlement) SetProductCode(v string) *Entitlement

SetProductCode sets the ProductCode field's value.

SetValue

func (s *Entitlement) SetValue(v *EntitlementValue) *Entitlement

SetValue sets the Value field's value.

String

func (s Entitlement) String() string

String returns the string representation

On this page: