package types
import "github.com/aws/aws-sdk-go-v2/service/marketplaceentitlementservice/types"
Index ¶
- type Entitlement
- type EntitlementValue
- type GetEntitlementFilterName
- type InternalServiceErrorException
- func (e *InternalServiceErrorException) Error() string
- func (e *InternalServiceErrorException) ErrorCode() string
- func (e *InternalServiceErrorException) ErrorFault() smithy.ErrorFault
- func (e *InternalServiceErrorException) ErrorMessage() string
- func (e *InternalServiceErrorException) GetMessage() string
- func (e *InternalServiceErrorException) HasMessage() bool
- type InvalidParameterException
- func (e *InvalidParameterException) Error() string
- func (e *InvalidParameterException) ErrorCode() string
- func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
- func (e *InvalidParameterException) ErrorMessage() string
- func (e *InvalidParameterException) GetMessage() string
- func (e *InvalidParameterException) HasMessage() bool
- type ThrottlingException
- func (e *ThrottlingException) Error() string
- func (e *ThrottlingException) ErrorCode() string
- func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
- func (e *ThrottlingException) ErrorMessage() string
- func (e *ThrottlingException) GetMessage() string
- func (e *ThrottlingException) HasMessage() bool
Types ¶
type Entitlement ¶
type Entitlement struct { // 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. Dimension *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. CustomerIdentifier *string // The product code for which the given entitlement applies. Product codes are // provided by AWS Marketplace when the product listing is created. ProductCode *string // 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. ExpirationDate *time.Time // The EntitlementValue represents the amount of capacity that the customer is // entitled to for the product. Value *EntitlementValue }
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.
type EntitlementValue ¶
type EntitlementValue struct { // The DoubleValue field will be populated with a double value when the entitlement // is a double type. Otherwise, the field will not be set. DoubleValue *float64 // The BooleanValue field will be populated with a boolean value when the // entitlement is a boolean type. Otherwise, the field will not be set. BooleanValue *bool // The IntegerValue field will be populated with an integer value when the // entitlement is an integer type. Otherwise, the field will not be set. IntegerValue *int32 // The StringValue field will be populated with a string value when the entitlement // is a string type. Otherwise, the field will not be set. StringValue *string }
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
type GetEntitlementFilterName ¶
type GetEntitlementFilterName string
const ( GetEntitlementFilterNameCustomer_identifier GetEntitlementFilterName = "CUSTOMER_IDENTIFIER" GetEntitlementFilterNameDimension GetEntitlementFilterName = "DIMENSION" )
Enum values for GetEntitlementFilterName
type InternalServiceErrorException ¶
type InternalServiceErrorException struct { Message *string }
An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.
func (*InternalServiceErrorException) Error ¶
func (e *InternalServiceErrorException) Error() string
func (*InternalServiceErrorException) ErrorCode ¶
func (e *InternalServiceErrorException) ErrorCode() string
func (*InternalServiceErrorException) ErrorFault ¶
func (e *InternalServiceErrorException) ErrorFault() smithy.ErrorFault
func (*InternalServiceErrorException) ErrorMessage ¶
func (e *InternalServiceErrorException) ErrorMessage() string
func (*InternalServiceErrorException) GetMessage ¶
func (e *InternalServiceErrorException) GetMessage() string
func (*InternalServiceErrorException) HasMessage ¶
func (e *InternalServiceErrorException) HasMessage() bool
type InvalidParameterException ¶
type InvalidParameterException struct { Message *string }
One or more parameters in your request was invalid.
func (*InvalidParameterException) Error ¶
func (e *InvalidParameterException) Error() string
func (*InvalidParameterException) ErrorCode ¶
func (e *InvalidParameterException) ErrorCode() string
func (*InvalidParameterException) ErrorFault ¶
func (e *InvalidParameterException) ErrorFault() smithy.ErrorFault
func (*InvalidParameterException) ErrorMessage ¶
func (e *InvalidParameterException) ErrorMessage() string
func (*InvalidParameterException) GetMessage ¶
func (e *InvalidParameterException) GetMessage() string
func (*InvalidParameterException) HasMessage ¶
func (e *InvalidParameterException) HasMessage() bool
type ThrottlingException ¶
type ThrottlingException struct { Message *string }
The calls to the GetEntitlements API are throttled.
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
func (*ThrottlingException) GetMessage ¶
func (e *ThrottlingException) GetMessage() string
func (*ThrottlingException) HasMessage ¶
func (e *ThrottlingException) HasMessage() bool
Source Files ¶
- Version
- v0.1.0
- Published
- Sep 29, 2020
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 4 hours ago –
Tools for package owners.