types

package
v1.28.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException added in v1.19.0

type AccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

General authentication failure. The request wasn't signed correctly.

func (*AccessDeniedException) Error added in v1.19.0

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode added in v1.19.0

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault added in v1.19.0

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

func (*AccessDeniedException) ErrorMessage added in v1.19.0

func (e *AccessDeniedException) ErrorMessage() string

type AttributeValue

type AttributeValue struct {

	// The specific value of an attributeName .
	Value *string
	// contains filtered or unexported fields
}

The values of a given attribute, such as Throughput Optimized HDD or Provisioned IOPS for the Amazon EC2 volumeType attribute.

type ExpiredNextTokenException

type ExpiredNextTokenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The pagination token expired. Try again without a pagination token.

func (*ExpiredNextTokenException) Error

func (e *ExpiredNextTokenException) Error() string

func (*ExpiredNextTokenException) ErrorCode

func (e *ExpiredNextTokenException) ErrorCode() string

func (*ExpiredNextTokenException) ErrorFault

func (*ExpiredNextTokenException) ErrorMessage

func (e *ExpiredNextTokenException) ErrorMessage() string

type Filter

type Filter struct {

	// The product metadata field that you want to filter on. You can filter by just
	// the service code to see all products for a specific service, filter by just the
	// attribute name to see a specific attribute for multiple services, or use both a
	// service code and an attribute name to retrieve only products that match both
	// fields. Valid values include: ServiceCode , and all attribute names For example,
	// you can filter by the AmazonEC2 service code and the volumeType attribute name
	// to get the prices for only Amazon EC2 volumes.
	//
	// This member is required.
	Field *string

	// The type of filter that you want to use. Valid values are: TERM_MATCH .
	// TERM_MATCH returns only products that match both the given filter field and the
	// given value.
	//
	// This member is required.
	Type FilterType

	// The service code or attribute value that you want to filter by. If you're
	// filtering by service code this is the actual service code, such as AmazonEC2 .
	// If you're filtering by attribute name, this is the attribute value that you want
	// the returned products to match, such as a Provisioned IOPS volume.
	//
	// This member is required.
	Value *string
	// contains filtered or unexported fields
}

The constraints that you want all returned products to match.

type FilterType

type FilterType string
const (
	FilterTypeTermMatch FilterType = "TERM_MATCH"
)

Enum values for FilterType

func (FilterType) Values added in v0.29.0

func (FilterType) Values() []FilterType

Values returns all known values for FilterType. 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 InternalErrorException

type InternalErrorException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An error on the server occurred during the processing of your request. Try again later.

func (*InternalErrorException) Error

func (e *InternalErrorException) Error() string

func (*InternalErrorException) ErrorCode

func (e *InternalErrorException) ErrorCode() string

func (*InternalErrorException) ErrorFault

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

func (*InternalErrorException) ErrorMessage

func (e *InternalErrorException) ErrorMessage() string

type InvalidNextTokenException

type InvalidNextTokenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The pagination token is invalid. Try again without a pagination token.

func (*InvalidNextTokenException) Error

func (e *InvalidNextTokenException) Error() string

func (*InvalidNextTokenException) ErrorCode

func (e *InvalidNextTokenException) ErrorCode() string

func (*InvalidNextTokenException) ErrorFault

func (*InvalidNextTokenException) ErrorMessage

func (e *InvalidNextTokenException) ErrorMessage() string

type InvalidParameterException

type InvalidParameterException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

One or more parameters had an invalid value.

func (*InvalidParameterException) Error

func (e *InvalidParameterException) Error() string

func (*InvalidParameterException) ErrorCode

func (e *InvalidParameterException) ErrorCode() string

func (*InvalidParameterException) ErrorFault

func (*InvalidParameterException) ErrorMessage

func (e *InvalidParameterException) ErrorMessage() string

type NotFoundException

type NotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The requested resource can't be found.

func (*NotFoundException) Error

func (e *NotFoundException) Error() string

func (*NotFoundException) ErrorCode

func (e *NotFoundException) ErrorCode() string

func (*NotFoundException) ErrorFault

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

func (*NotFoundException) ErrorMessage

func (e *NotFoundException) ErrorMessage() string

type PriceList added in v1.19.0

type PriceList struct {

	// The three alphabetical character ISO-4217 currency code the Price List files
	// are denominated in.
	CurrencyCode *string

	// The format you want to retrieve your Price List files. The FileFormat can be
	// obtained from the ListPriceList (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html)
	// response.
	FileFormats []string

	// The unique identifier that maps to where your Price List files are located.
	// PriceListArn can be obtained from the ListPriceList (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html)
	// response.
	PriceListArn *string

	// This is used to filter the Price List by Amazon Web Services Region. For
	// example, to get the price list only for the US East (N. Virginia) Region, use
	// us-east-1 . If nothing is specified, you retrieve price lists for all applicable
	// Regions. The available RegionCode list can be retrieved from GetAttributeValues (https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_GetAttributeValues.html)
	// API.
	RegionCode *string
	// contains filtered or unexported fields
}

This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the Amazon Web Services Service Terms (https://aws.amazon.com/service-terms/) (Section 1.10). This is the type of price list references that match your request.

type ResourceNotFoundException added in v1.28.0

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The requested resource can't be found.

func (*ResourceNotFoundException) Error added in v1.28.0

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode added in v1.28.0

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault added in v1.28.0

func (*ResourceNotFoundException) ErrorMessage added in v1.28.0

func (e *ResourceNotFoundException) ErrorMessage() string

type Service

type Service struct {

	// The code for the Amazon Web Services service.
	//
	// This member is required.
	ServiceCode *string

	// The attributes that are available for this service.
	AttributeNames []string
	// contains filtered or unexported fields
}

The metadata for a service, such as the service code and available attribute names.

type ThrottlingException added in v1.25.0

type ThrottlingException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You've made too many requests exceeding service quotas.

func (*ThrottlingException) Error added in v1.25.0

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode added in v1.25.0

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault added in v1.25.0

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

func (*ThrottlingException) ErrorMessage added in v1.25.0

func (e *ThrottlingException) ErrorMessage() string

Jump to

Keyboard shortcuts

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