types

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptedTerm

type AcceptedTerm interface {
	// contains filtered or unexported methods
}

A subset of terms proposed by the proposer, which have been accepted by the acceptor as part of agreement creation.

The following types satisfy this interface:

AcceptedTermMemberByolPricingTerm
AcceptedTermMemberConfigurableUpfrontPricingTerm
AcceptedTermMemberFixedUpfrontPricingTerm
AcceptedTermMemberFreeTrialPricingTerm
AcceptedTermMemberLegalTerm
AcceptedTermMemberPaymentScheduleTerm
AcceptedTermMemberRecurringPaymentTerm
AcceptedTermMemberRenewalTerm
AcceptedTermMemberSupportTerm
AcceptedTermMemberUsageBasedPricingTerm
AcceptedTermMemberValidityTerm
Example (OutputUsage)
// Code generated by smithy-go-codegen DO NOT EDIT.

package main

import (
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/marketplaceagreement/types"
)

func main() {
	var union types.AcceptedTerm
	// type switches can be used to check the union value
	switch v := union.(type) {
	case *types.AcceptedTermMemberByolPricingTerm:
		_ = v.Value // Value is types.ByolPricingTerm

	case *types.AcceptedTermMemberConfigurableUpfrontPricingTerm:
		_ = v.Value // Value is types.ConfigurableUpfrontPricingTerm

	case *types.AcceptedTermMemberFixedUpfrontPricingTerm:
		_ = v.Value // Value is types.FixedUpfrontPricingTerm

	case *types.AcceptedTermMemberFreeTrialPricingTerm:
		_ = v.Value // Value is types.FreeTrialPricingTerm

	case *types.AcceptedTermMemberLegalTerm:
		_ = v.Value // Value is types.LegalTerm

	case *types.AcceptedTermMemberPaymentScheduleTerm:
		_ = v.Value // Value is types.PaymentScheduleTerm

	case *types.AcceptedTermMemberRecurringPaymentTerm:
		_ = v.Value // Value is types.RecurringPaymentTerm

	case *types.AcceptedTermMemberRenewalTerm:
		_ = v.Value // Value is types.RenewalTerm

	case *types.AcceptedTermMemberSupportTerm:
		_ = v.Value // Value is types.SupportTerm

	case *types.AcceptedTermMemberUsageBasedPricingTerm:
		_ = v.Value // Value is types.UsageBasedPricingTerm

	case *types.AcceptedTermMemberValidityTerm:
		_ = v.Value // Value is types.ValidityTerm

	case *types.UnknownUnionMember:
		fmt.Println("unknown tag:", v.Tag)

	default:
		fmt.Println("union is nil or unknown type")

	}
}

var _ *types.PaymentScheduleTerm
var _ *types.FixedUpfrontPricingTerm
var _ *types.ValidityTerm
var _ *types.RecurringPaymentTerm
var _ *types.UsageBasedPricingTerm
var _ *types.RenewalTerm
var _ *types.FreeTrialPricingTerm
var _ *types.LegalTerm
var _ *types.ConfigurableUpfrontPricingTerm
var _ *types.ByolPricingTerm
var _ *types.SupportTerm
Output:

type AcceptedTermMemberByolPricingTerm

type AcceptedTermMemberByolPricingTerm struct {
	Value ByolPricingTerm
	// contains filtered or unexported fields
}

Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.

type AcceptedTermMemberConfigurableUpfrontPricingTerm

type AcceptedTermMemberConfigurableUpfrontPricingTerm struct {
	Value ConfigurableUpfrontPricingTerm
	// contains filtered or unexported fields
}

Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.

type AcceptedTermMemberFixedUpfrontPricingTerm

type AcceptedTermMemberFixedUpfrontPricingTerm struct {
	Value FixedUpfrontPricingTerm
	// contains filtered or unexported fields
}

Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.

type AcceptedTermMemberFreeTrialPricingTerm

type AcceptedTermMemberFreeTrialPricingTerm struct {
	Value FreeTrialPricingTerm
	// contains filtered or unexported fields
}

Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.

type AcceptedTermMemberLegalTerm

type AcceptedTermMemberLegalTerm struct {
	Value LegalTerm
	// contains filtered or unexported fields
}

Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).

type AcceptedTermMemberPaymentScheduleTerm

type AcceptedTermMemberPaymentScheduleTerm struct {
	Value PaymentScheduleTerm
	// contains filtered or unexported fields
}

Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.

type AcceptedTermMemberRecurringPaymentTerm

type AcceptedTermMemberRecurringPaymentTerm struct {
	Value RecurringPaymentTerm
	// contains filtered or unexported fields
}

Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.

type AcceptedTermMemberRenewalTerm

type AcceptedTermMemberRenewalTerm struct {
	Value RenewalTerm
	// contains filtered or unexported fields
}

Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence of RenewalTerm in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag from True to False or False to True at anytime during the agreement's lifecycle.

type AcceptedTermMemberSupportTerm

type AcceptedTermMemberSupportTerm struct {
	Value SupportTerm
	// contains filtered or unexported fields
}

Defines the customer support available for the acceptors when they purchase the software.

type AcceptedTermMemberUsageBasedPricingTerm

type AcceptedTermMemberUsageBasedPricingTerm struct {
	Value UsageBasedPricingTerm
	// contains filtered or unexported fields
}

Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.

type AcceptedTermMemberValidityTerm

type AcceptedTermMemberValidityTerm struct {
	Value ValidityTerm
	// contains filtered or unexported fields
}

Defines the conditions that will keep an agreement created from this offer valid.

type Acceptor

type Acceptor struct {

	// The AWS account ID of the acceptor.
	AccountId *string
	// contains filtered or unexported fields
}

The details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement .

type AccessDeniedException

type AccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string

	RequestId *string
	// contains filtered or unexported fields
}

User does not have sufficient access to perform this action.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type AgreementStatus

type AgreementStatus string
const (
	AgreementStatusActive     AgreementStatus = "ACTIVE"
	AgreementStatusArchived   AgreementStatus = "ARCHIVED"
	AgreementStatusCancelled  AgreementStatus = "CANCELLED"
	AgreementStatusExpired    AgreementStatus = "EXPIRED"
	AgreementStatusRenewed    AgreementStatus = "RENEWED"
	AgreementStatusReplaced   AgreementStatus = "REPLACED"
	AgreementStatusRolledBack AgreementStatus = "ROLLED_BACK"
	AgreementStatusSuperseded AgreementStatus = "SUPERSEDED"
	AgreementStatusTerminated AgreementStatus = "TERMINATED"
)

Enum values for AgreementStatus

func (AgreementStatus) Values

func (AgreementStatus) Values() []AgreementStatus

Values returns all known values for AgreementStatus. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type AgreementViewSummary

type AgreementViewSummary struct {

	// The date and time that the agreement was accepted.
	AcceptanceTime *time.Time

	// Details of the party accepting the agreement terms. This is commonly the buyer
	// for PurchaseAgreement.
	Acceptor *Acceptor

	// The unique identifier of the agreement.
	AgreementId *string

	// The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement .
	AgreementType *string

	// The date and time when the agreement ends. The field is null for pay-as-you-go
	// agreements, which don’t have end dates.
	EndTime *time.Time

	// A summary of the proposal
	ProposalSummary *ProposalSummary

	// Details of the party proposing the agreement terms, most commonly the seller
	// for PurchaseAgreement .
	Proposer *Proposer

	// The date and time when the agreement starts.
	StartTime *time.Time

	// The current status of the agreement.
	Status AgreementStatus
	// contains filtered or unexported fields
}

A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).

type ByolPricingTerm

type ByolPricingTerm struct {

	// Type of the term being updated.
	Type *string
	// contains filtered or unexported fields
}

Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.

type ConfigurableUpfrontPricingTerm

type ConfigurableUpfrontPricingTerm struct {

	// Additional parameters specified by the acceptor while accepting the term.
	Configuration *ConfigurableUpfrontPricingTermConfiguration

	// Defines the currency for the prices mentioned in the term.
	CurrencyCode *string

	// A rate card defines the per unit rates for product dimensions.
	RateCards []ConfigurableUpfrontRateCardItem

	// Category of selector.
	Type *string
	// contains filtered or unexported fields
}

Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.

type ConfigurableUpfrontPricingTermConfiguration

type ConfigurableUpfrontPricingTermConfiguration struct {

	// Defines the dimensions that the acceptor has purchased from the overall set of
	// dimensions presented in the rate card.
	//
	// This member is required.
	Dimensions []Dimension

	// Defines the length of time for which the particular pricing/dimension is being
	// purchased by the acceptor.
	//
	// This member is required.
	SelectorValue *string
	// contains filtered or unexported fields
}

Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.

type ConfigurableUpfrontRateCardItem

type ConfigurableUpfrontRateCardItem struct {

	// Defines limits on how the term can be configured by acceptors.
	Constraints *Constraints

	// Defines the per unit rates for product dimensions.
	RateCard []RateCardItem

	// Differentiates between the mutually exclusive rate cards in the same pricing
	// term to be selected by the buyer.
	Selector *Selector
	// contains filtered or unexported fields
}

Within the prepaid payment model defined under ConfigurableUpfrontPricingTerm , the RateCardItem defines all the various rate cards (including pricing and dimensions) that have been proposed.

type Constraints

type Constraints struct {

	// Determines if buyers are allowed to select multiple dimensions in the rate
	// card. The possible values are Allowed and Disallowed . The default value is
	// Allowed .
	MultipleDimensionSelection *string

	// Determines if acceptors are allowed to configure quantity for each dimension in
	// rate card. The possible values are Allowed and Disallowed . The default value is
	// Allowed .
	QuantityConfiguration *string
	// contains filtered or unexported fields
}

Defines limits on how the term can be configured by acceptors.

type Dimension

type Dimension struct {

	// The name of key value of the dimension.
	//
	// This member is required.
	DimensionKey *string

	// The number of units of the dimension the acceptor has purchased.
	//
	// For Agreements with ConfigurableUpfrontPricingTerm , the RateCard section will
	// define the prices and dimensions defined by the seller (proposer), whereas the
	// Configuration section will define the actual dimensions, prices, and units the
	// buyer has chosen to accept.
	//
	// This member is required.
	DimensionValue int32
	// contains filtered or unexported fields
}

Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.

type DocumentItem

type DocumentItem struct {

	// Category of the document. Document types include:
	//
	//   - CustomEula – A custom EULA provided by you as seller. A URL for a EULA
	//   stored in an accessible Amazon S3 bucket is required for this document type.
	//
	//   - CustomDsa – A custom Data Subscription Agreement (DSA) provided by you as
	//   seller. A URL for a DSA stored in an accessible Amazon S3 bucket is required for
	//   this document type.
	//
	//   - StandardEula – The Standard Contract for AWS Marketplace (SCMP). For more
	//   information about SCMP, see the AWS Marketplace Seller Guide. You don’t provide
	//   a URL for this type because it’s managed by AWS Marketplace.
	//
	//   - StandardDsa – DSA for AWS Marketplace. For more information about the DSA,
	//   see the AWS Data Exchange User Guide. You don’t provide a URL for this type
	//   because it’s managed by AWS Marketplace.
	Type *string

	// A URL to the legal document for buyers to read. Required when Type is CustomEula
	// .
	Url *string

	// Version of standard contracts provided by AWS Marketplace. Required when Type
	// is StandardEula or StandardDsa .
	Version *string
	// contains filtered or unexported fields
}

Includes the list of references to legal resources proposed by the proposer to the acceptor. Each DocumentItem refers to an individual reference.

type EstimatedCharges

type EstimatedCharges struct {

	// The total known amount customer has to pay across the lifecycle of the
	// agreement.
	//
	// This is the total contract value if accepted terms contain
	// ConfigurableUpfrontPricingTerm or FixedUpfrontPricingTerm . In the case of pure
	// contract pricing, this will be the total value of the contract. In the case of
	// contracts with consumption pricing, this will only include the committed value
	// and not include any overages that occur.
	//
	// If the accepted terms contain PaymentScheduleTerm , it will be the total payment
	// schedule amount. This occurs when flexible payment schedule is used, and is the
	// sum of all invoice charges in the payment schedule.
	//
	// In case a customer has amended an agreement, by purchasing more units of any
	// dimension, this will include both the original cost as well as the added cost
	// incurred due to addition of new units.
	//
	// This is 0 if the accepted terms contain UsageBasedPricingTerm without
	// ConfigurableUpfrontPricingTerm or RecurringPaymentTerm . This occurs for
	// usage-based pricing (such as SaaS metered or AMI/container hourly or monthly),
	// because the exact usage is not known upfront.
	AgreementValue *string

	// Defines the currency code for the charge.
	CurrencyCode *string
	// contains filtered or unexported fields
}

Estimated cost of the agreement.

type Filter

type Filter struct {

	// The name of the filter.
	Name *string

	// The filter value.
	Values []string
	// contains filtered or unexported fields
}

The filter name and value pair that is used to return a more specific list of results. Filters can be used to match a set of resources by various criteria, such as offerId or productId .

type FixedUpfrontPricingTerm

type FixedUpfrontPricingTerm struct {

	// Defines the currency for the prices mentioned in this term.
	CurrencyCode *string

	// Contract duration for the terms.
	Duration *string

	// Entitlements granted to the acceptor of fixed upfront as part of agreement
	// execution.
	Grants []GrantItem

	// Fixed amount to be charged to the customer when this term is accepted.
	Price *string

	// Category of the term being updated.
	Type *string
	// contains filtered or unexported fields
}

Defines a prepaid pricing model where the customers are charged a fixed upfront amount.

type FreeTrialPricingTerm

type FreeTrialPricingTerm struct {

	// Duration of the free trial period (5–31 days).
	Duration *string

	// Entitlements granted to the acceptor of a free trial as part of an agreement
	// execution.
	Grants []GrantItem

	// Category of the term.
	Type *string
	// contains filtered or unexported fields
}

Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.

type GrantItem

type GrantItem struct {

	// Unique dimension key defined in the product document. Dimensions represent
	// categories of capacity in a product and are specified when the product is listed
	// in AWS Marketplace.
	DimensionKey *string

	// Maximum amount of capacity that the buyer can be entitled to the given
	// dimension of the product. If MaxQuantity is not provided, the buyer will be
	// able to use an unlimited amount of the given dimension.
	MaxQuantity *int32
	// contains filtered or unexported fields
}

Entitlements granted to the acceptor of fixed upfront as part of agreement execution.

type InternalServerException

type InternalServerException struct {
	Message *string

	ErrorCodeOverride *string

	RequestId *string
	// contains filtered or unexported fields
}

Unexpected error during processing of request.

func (*InternalServerException) Error

func (e *InternalServerException) Error() string

func (*InternalServerException) ErrorCode

func (e *InternalServerException) ErrorCode() string

func (*InternalServerException) ErrorFault

func (e *InternalServerException) ErrorFault() smithy.ErrorFault

func (*InternalServerException) ErrorMessage

func (e *InternalServerException) ErrorMessage() string

type LegalTerm

type LegalTerm struct {

	// List of references to legal resources proposed to the buyers. An example is the
	// EULA.
	Documents []DocumentItem

	// Category of the term being updated.
	Type *string
	// contains filtered or unexported fields
}

Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).

type PaymentScheduleTerm

type PaymentScheduleTerm struct {

	// Defines the currency for the prices mentioned in the term.
	CurrencyCode *string

	// List of the payment schedule where each element defines one installment of
	// payment. It contains the information necessary for calculating the price.
	Schedule []ScheduleItem

	// Type of the term.
	Type *string
	// contains filtered or unexported fields
}

Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.

type ProposalSummary

type ProposalSummary struct {

	// The unique identifier of the offer in AWS Marketplace.
	OfferId *string

	// The list of resources involved in the agreement.
	Resources []Resource
	// contains filtered or unexported fields
}

A summary of the proposal received from the proposer.

type Proposer

type Proposer struct {

	// The AWS account ID of the proposer.
	AccountId *string
	// contains filtered or unexported fields
}

Details of the party proposing the agreement terms,. This is commonly the seller for PurchaseAgreement .

type RateCardItem

type RateCardItem struct {

	// 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.
	DimensionKey *string

	// Per unit price for the product dimension that’s used for calculating the amount
	// to be charged.
	Price *string
	// contains filtered or unexported fields
}

Defines the per unit rates for each individual product dimension.

type RecurringPaymentTerm

type RecurringPaymentTerm struct {

	// Defines the recurrence at which buyers are charged.
	BillingPeriod *string

	// Defines the currency for the prices mentioned in this term.
	CurrencyCode *string

	// Amount charged to the buyer every billing period.
	Price *string

	// Type of the term being updated.
	Type *string
	// contains filtered or unexported fields
}

Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.

type RenewalTerm

type RenewalTerm struct {

	// Additional parameters specified by the acceptor while accepting the term.
	Configuration *RenewalTermConfiguration

	// Category of the term being updated.
	Type *string
	// contains filtered or unexported fields
}

Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. The presence of RenewalTerm in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag from True to False or False to True at anytime during the agreement's lifecycle.

type RenewalTermConfiguration

type RenewalTermConfiguration struct {

	// Defines whether the acceptor has chosen to auto-renew the agreement at the end
	// of its lifecycle. Can be set to True or False .
	//
	// This member is required.
	EnableAutoRenew *bool
	// contains filtered or unexported fields
}

Additional parameters specified by the acceptor while accepting the term.

type Resource

type Resource struct {

	// The unique identifier of the resource.
	//
	// We mention the term resource, which is most commonly a product, so a resourceId
	// is also a productId .
	Id *string

	// Type of the resource, which is the product. Values include SaaSProduct or
	// AmiProduct .
	Type *string
	// contains filtered or unexported fields
}

The list of resources involved in the agreement.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string

	RequestId    *string
	ResourceId   *string
	ResourceType ResourceType
	// contains filtered or unexported fields
}

Request references a resource which does not exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type ResourceType

type ResourceType string
const (
	ResourceTypeAgreement ResourceType = "Agreement"
)

Enum values for ResourceType

func (ResourceType) Values

func (ResourceType) Values() []ResourceType

Values returns all known values for ResourceType. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ScheduleItem

type ScheduleItem struct {

	// The price that the customer would pay on the scheduled date (chargeDate).
	ChargeAmount *string

	// The date that the customer would pay the price defined in this payment schedule
	// term. Invoices are generated on the date provided.
	ChargeDate *time.Time
	// contains filtered or unexported fields
}

An individual installment of the payment that includes the date and amount of the charge.

type Selector

type Selector struct {

	// Category of selector.
	Type *string

	// Contract duration. This field supports the ISO 8601 format.
	Value *string
	// contains filtered or unexported fields
}

Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.

type Sort

type Sort struct {

	// The attribute on which the data is grouped, which can be by StartTime and
	// EndTime . The default value is EndTime .
	SortBy *string

	// The sorting order, which can be ASCENDING or DESCENDING . The default value is
	// DESCENDING .
	SortOrder SortOrder
	// contains filtered or unexported fields
}

An object that contains the SortBy and SortOrder attributes.

type SortOrder

type SortOrder string
const (
	SortOrderAscending  SortOrder = "ASCENDING"
	SortOrderDescending SortOrder = "DESCENDING"
)

Enum values for SortOrder

func (SortOrder) Values

func (SortOrder) Values() []SortOrder

Values returns all known values for SortOrder. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type SupportTerm

type SupportTerm struct {

	// Free-text field about the refund policy description that will be shown to
	// customers as is on the website and console.
	RefundPolicy *string

	// Category of the term being updated.
	Type *string
	// contains filtered or unexported fields
}

Defines the customer support available for the acceptors when they purchase the software.

type ThrottlingException

type ThrottlingException struct {
	Message *string

	ErrorCodeOverride *string

	RequestId *string
	// contains filtered or unexported fields
}

Request was denied due to request throttling.

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

type UnknownUnionMember

type UnknownUnionMember struct {
	Tag   string
	Value []byte
	// contains filtered or unexported fields
}

UnknownUnionMember is returned when a union member is returned over the wire, but has an unknown tag.

type UsageBasedPricingTerm

type UsageBasedPricingTerm struct {

	// Defines the currency for the prices mentioned in the term.
	CurrencyCode *string

	// List of rate cards.
	RateCards []UsageBasedRateCardItem

	// Category of the term.
	Type *string
	// contains filtered or unexported fields
}

Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.

type UsageBasedRateCardItem

type UsageBasedRateCardItem struct {

	// Defines the per unit rates for product dimensions.
	RateCard []RateCardItem
	// contains filtered or unexported fields
}

Within the pay-as-you-go model defined under UsageBasedPricingTerm , the UsageBasedRateCardItem defines an individual rate for a product dimension.

type ValidationException

type ValidationException struct {
	Message *string

	ErrorCodeOverride *string

	RequestId *string
	Reason    ValidationExceptionReason
	Fields    []ValidationExceptionField
	// contains filtered or unexported fields
}

The input fails to satisfy the constraints specified by the service.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

type ValidationExceptionField

type ValidationExceptionField struct {

	// See applicable actions.
	//
	// This member is required.
	Message *string

	// The name of the field associated with the error.
	//
	// This member is required.
	Name *string
	// contains filtered or unexported fields
}

The input fails to satisfy the constraints specified by the service.

type ValidationExceptionReason

type ValidationExceptionReason string
const (
	ValidationExceptionReasonInvalidAgreementId  ValidationExceptionReason = "INVALID_AGREEMENT_ID"
	ValidationExceptionReasonMissingAgreementId  ValidationExceptionReason = "MISSING_AGREEMENT_ID"
	ValidationExceptionReasonInvalidCatalog      ValidationExceptionReason = "INVALID_CATALOG"
	ValidationExceptionReasonInvalidFilterName   ValidationExceptionReason = "INVALID_FILTER_NAME"
	ValidationExceptionReasonInvalidFilterValues ValidationExceptionReason = "INVALID_FILTER_VALUES"
	ValidationExceptionReasonInvalidSortBy       ValidationExceptionReason = "INVALID_SORT_BY"
	ValidationExceptionReasonInvalidSortOrder    ValidationExceptionReason = "INVALID_SORT_ORDER"
	ValidationExceptionReasonInvalidNextToken    ValidationExceptionReason = "INVALID_NEXT_TOKEN"
	ValidationExceptionReasonInvalidMaxResults   ValidationExceptionReason = "INVALID_MAX_RESULTS"
	ValidationExceptionReasonUnsupportedFilters  ValidationExceptionReason = "UNSUPPORTED_FILTERS"
	ValidationExceptionReasonOther               ValidationExceptionReason = "OTHER"
)

Enum values for ValidationExceptionReason

func (ValidationExceptionReason) Values

Values returns all known values for ValidationExceptionReason. Note that this can be expanded in the future, and so it is only as up to date as the client.

The ordering of this slice is not guaranteed to be stable across updates.

type ValidityTerm

type ValidityTerm struct {

	// Defines the duration that the agreement remains active. If AgreementStartDate
	// isn’t provided, the agreement duration is relative to the agreement signature
	// time. The duration is represented in the ISO_8601 format.
	AgreementDuration *string

	// Defines the date when the agreement ends. The agreement ends at 23:59:59.999
	// UTC on the date provided. If AgreementEndDate isn’t provided, the agreement end
	// date is determined by the validity of individual terms.
	AgreementEndDate *time.Time

	// Defines the date when agreement starts. The agreement starts at 00:00:00.000
	// UTC on the date provided. If AgreementStartDate isn’t provided, the agreement
	// start date is determined based on agreement signature time.
	AgreementStartDate *time.Time

	// Category of the term being updated.
	Type *string
	// contains filtered or unexported fields
}

Defines the conditions that will keep an agreement created from this offer valid.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL