types

package
v1.19.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: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrencyCode

type CurrencyCode string
const (
	CurrencyCodeCny CurrencyCode = "CNY"
	CurrencyCodeUsd CurrencyCode = "USD"
)

Enum values for CurrencyCode

func (CurrencyCode) Values added in v0.29.0

func (CurrencyCode) Values() []CurrencyCode

Values returns all known values for CurrencyCode. 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 InternalServerException

type InternalServerException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

An unexpected error occurred.

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 ParentSavingsPlanOffering

type ParentSavingsPlanOffering struct {

	// The currency.
	Currency CurrencyCode

	// The duration, in seconds.
	DurationSeconds int64

	// The ID of the offering.
	OfferingId *string

	// The payment option.
	PaymentOption SavingsPlanPaymentOption

	// The description.
	PlanDescription *string

	// The plan type.
	PlanType SavingsPlanType
	// contains filtered or unexported fields
}

Information about a Savings Plan offering.

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified resource was not found.

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 SavingsPlan

type SavingsPlan struct {

	// The hourly commitment amount in the specified currency.
	Commitment *string

	// The currency.
	Currency CurrencyCode

	// The description.
	Description *string

	// The EC2 instance family.
	Ec2InstanceFamily *string

	// The end time.
	End *string

	// The ID of the offering.
	OfferingId *string

	// The payment option.
	PaymentOption SavingsPlanPaymentOption

	// The product types.
	ProductTypes []SavingsPlanProductType

	// The recurring payment amount.
	RecurringPaymentAmount *string

	// The Amazon Web Services Region.
	Region *string

	// The time until when a return for the Savings Plan can be requested. If the
	// Savings Plan is not returnable, the field reflects the Savings Plan start time.
	ReturnableUntil *string

	// The Amazon Resource Name (ARN) of the Savings Plan.
	SavingsPlanArn *string

	// The ID of the Savings Plan.
	SavingsPlanId *string

	// The plan type.
	SavingsPlanType SavingsPlanType

	// The start time.
	Start *string

	// The current state.
	State SavingsPlanState

	// One or more tags.
	Tags map[string]string

	// The duration of the term, in seconds.
	TermDurationInSeconds int64

	// The up-front payment amount.
	UpfrontPaymentAmount *string
	// contains filtered or unexported fields
}

Information about a Savings Plan.

type SavingsPlanFilter

type SavingsPlanFilter struct {

	// The filter name.
	Name SavingsPlansFilterName

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

Information about a Savings Plan filter.

type SavingsPlanOffering

type SavingsPlanOffering struct {

	// The currency.
	Currency CurrencyCode

	// The description.
	Description *string

	// The duration, in seconds.
	DurationSeconds int64

	// The ID of the offering.
	OfferingId *string

	// The specific Amazon Web Services operation for the line item in the billing
	// report.
	Operation *string

	// The payment option.
	PaymentOption SavingsPlanPaymentOption

	// The plan type.
	PlanType SavingsPlanType

	// The product type.
	ProductTypes []SavingsPlanProductType

	// The properties.
	Properties []SavingsPlanOfferingProperty

	// The service.
	ServiceCode *string

	// The usage details of the line item in the billing report.
	UsageType *string
	// contains filtered or unexported fields
}

Information about a Savings Plan offering.

type SavingsPlanOfferingFilterAttribute

type SavingsPlanOfferingFilterAttribute string
const (
	SavingsPlanOfferingFilterAttributeRegion         SavingsPlanOfferingFilterAttribute = "region"
	SavingsPlanOfferingFilterAttributeInstanceFamily SavingsPlanOfferingFilterAttribute = "instanceFamily"
)

Enum values for SavingsPlanOfferingFilterAttribute

func (SavingsPlanOfferingFilterAttribute) Values added in v0.29.0

Values returns all known values for SavingsPlanOfferingFilterAttribute. 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 SavingsPlanOfferingFilterElement

type SavingsPlanOfferingFilterElement struct {

	// The filter name.
	Name SavingsPlanOfferingFilterAttribute

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

Information about a Savings Plan offering filter.

type SavingsPlanOfferingProperty

type SavingsPlanOfferingProperty struct {

	// The property name.
	Name SavingsPlanOfferingPropertyKey

	// The property value.
	Value *string
	// contains filtered or unexported fields
}

Information about a Savings Plan offering property.

type SavingsPlanOfferingPropertyKey

type SavingsPlanOfferingPropertyKey string
const (
	SavingsPlanOfferingPropertyKeyRegion         SavingsPlanOfferingPropertyKey = "region"
	SavingsPlanOfferingPropertyKeyInstanceFamily SavingsPlanOfferingPropertyKey = "instanceFamily"
)

Enum values for SavingsPlanOfferingPropertyKey

func (SavingsPlanOfferingPropertyKey) Values added in v0.29.0

Values returns all known values for SavingsPlanOfferingPropertyKey. 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 SavingsPlanOfferingRate

type SavingsPlanOfferingRate struct {

	// The specific Amazon Web Services operation for the line item in the billing
	// report.
	Operation *string

	// The product type.
	ProductType SavingsPlanProductType

	// The properties.
	Properties []SavingsPlanOfferingRateProperty

	// The Savings Plan rate.
	Rate *string

	// The Savings Plan offering.
	SavingsPlanOffering *ParentSavingsPlanOffering

	// The service.
	ServiceCode SavingsPlanRateServiceCode

	// The unit.
	Unit SavingsPlanRateUnit

	// The usage details of the line item in the billing report.
	UsageType *string
	// contains filtered or unexported fields
}

Information about a Savings Plan offering rate.

type SavingsPlanOfferingRateFilterElement

type SavingsPlanOfferingRateFilterElement struct {

	// The filter name.
	Name SavingsPlanRateFilterAttribute

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

Information about a Savings Plan offering rate filter.

type SavingsPlanOfferingRateProperty

type SavingsPlanOfferingRateProperty struct {

	// The property name.
	Name *string

	// The property value.
	Value *string
	// contains filtered or unexported fields
}

Information about a Savings Plan offering rate property.

type SavingsPlanPaymentOption

type SavingsPlanPaymentOption string
const (
	SavingsPlanPaymentOptionAllUpfront     SavingsPlanPaymentOption = "All Upfront"
	SavingsPlanPaymentOptionPartialUpfront SavingsPlanPaymentOption = "Partial Upfront"
	SavingsPlanPaymentOptionNoUpfront      SavingsPlanPaymentOption = "No Upfront"
)

Enum values for SavingsPlanPaymentOption

func (SavingsPlanPaymentOption) Values added in v0.29.0

Values returns all known values for SavingsPlanPaymentOption. 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 SavingsPlanProductType

type SavingsPlanProductType string
const (
	SavingsPlanProductTypeEc2       SavingsPlanProductType = "EC2"
	SavingsPlanProductTypeFargate   SavingsPlanProductType = "Fargate"
	SavingsPlanProductTypeLambda    SavingsPlanProductType = "Lambda"
	SavingsPlanProductTypeSagemaker SavingsPlanProductType = "SageMaker"
)

Enum values for SavingsPlanProductType

func (SavingsPlanProductType) Values added in v0.29.0

Values returns all known values for SavingsPlanProductType. 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 SavingsPlanRate

type SavingsPlanRate struct {

	// The currency.
	Currency CurrencyCode

	// The specific Amazon Web Services operation for the line item in the billing
	// report.
	Operation *string

	// The product type.
	ProductType SavingsPlanProductType

	// The properties.
	Properties []SavingsPlanRateProperty

	// The rate.
	Rate *string

	// The service.
	ServiceCode SavingsPlanRateServiceCode

	// The unit.
	Unit SavingsPlanRateUnit

	// The usage details of the line item in the billing report.
	UsageType *string
	// contains filtered or unexported fields
}

Information about a Savings Plan rate.

type SavingsPlanRateFilter

type SavingsPlanRateFilter struct {

	// The filter name.
	Name SavingsPlanRateFilterName

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

Information about a Savings Plan rate filter.

type SavingsPlanRateFilterAttribute

type SavingsPlanRateFilterAttribute string
const (
	SavingsPlanRateFilterAttributeRegion             SavingsPlanRateFilterAttribute = "region"
	SavingsPlanRateFilterAttributeInstanceFamily     SavingsPlanRateFilterAttribute = "instanceFamily"
	SavingsPlanRateFilterAttributeInstanceType       SavingsPlanRateFilterAttribute = "instanceType"
	SavingsPlanRateFilterAttributeProductDescription SavingsPlanRateFilterAttribute = "productDescription"
	SavingsPlanRateFilterAttributeTenancy            SavingsPlanRateFilterAttribute = "tenancy"
	SavingsPlanRateFilterAttributeProductId          SavingsPlanRateFilterAttribute = "productId"
)

Enum values for SavingsPlanRateFilterAttribute

func (SavingsPlanRateFilterAttribute) Values added in v0.29.0

Values returns all known values for SavingsPlanRateFilterAttribute. 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 SavingsPlanRateFilterName

type SavingsPlanRateFilterName string
const (
	SavingsPlanRateFilterNameRegion             SavingsPlanRateFilterName = "region"
	SavingsPlanRateFilterNameInstanceType       SavingsPlanRateFilterName = "instanceType"
	SavingsPlanRateFilterNameProductDescription SavingsPlanRateFilterName = "productDescription"
	SavingsPlanRateFilterNameTenancy            SavingsPlanRateFilterName = "tenancy"
	SavingsPlanRateFilterNameProductType        SavingsPlanRateFilterName = "productType"
	SavingsPlanRateFilterNameServiceCode        SavingsPlanRateFilterName = "serviceCode"
	SavingsPlanRateFilterNameUsageType          SavingsPlanRateFilterName = "usageType"
	SavingsPlanRateFilterNameOperation          SavingsPlanRateFilterName = "operation"
)

Enum values for SavingsPlanRateFilterName

func (SavingsPlanRateFilterName) Values added in v0.29.0

Values returns all known values for SavingsPlanRateFilterName. 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 SavingsPlanRateProperty

type SavingsPlanRateProperty struct {

	// The property name.
	Name SavingsPlanRatePropertyKey

	// The property value.
	Value *string
	// contains filtered or unexported fields
}

Information about a Savings Plan rate property.

type SavingsPlanRatePropertyKey

type SavingsPlanRatePropertyKey string
const (
	SavingsPlanRatePropertyKeyRegion             SavingsPlanRatePropertyKey = "region"
	SavingsPlanRatePropertyKeyInstanceType       SavingsPlanRatePropertyKey = "instanceType"
	SavingsPlanRatePropertyKeyInstanceFamily     SavingsPlanRatePropertyKey = "instanceFamily"
	SavingsPlanRatePropertyKeyProductDescription SavingsPlanRatePropertyKey = "productDescription"
	SavingsPlanRatePropertyKeyTenancy            SavingsPlanRatePropertyKey = "tenancy"
)

Enum values for SavingsPlanRatePropertyKey

func (SavingsPlanRatePropertyKey) Values added in v0.29.0

Values returns all known values for SavingsPlanRatePropertyKey. 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 SavingsPlanRateServiceCode

type SavingsPlanRateServiceCode string
const (
	SavingsPlanRateServiceCodeEc2        SavingsPlanRateServiceCode = "AmazonEC2"
	SavingsPlanRateServiceCodeFargate    SavingsPlanRateServiceCode = "AmazonECS"
	SavingsPlanRateServiceCodeFargateEks SavingsPlanRateServiceCode = "AmazonEKS"
	SavingsPlanRateServiceCodeLambda     SavingsPlanRateServiceCode = "AWSLambda"
	SavingsPlanRateServiceCodeSagemaker  SavingsPlanRateServiceCode = "AmazonSageMaker"
)

Enum values for SavingsPlanRateServiceCode

func (SavingsPlanRateServiceCode) Values added in v0.29.0

Values returns all known values for SavingsPlanRateServiceCode. 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 SavingsPlanRateUnit

type SavingsPlanRateUnit string
const (
	SavingsPlanRateUnitHours          SavingsPlanRateUnit = "Hrs"
	SavingsPlanRateUnitLambdaGbSecond SavingsPlanRateUnit = "Lambda-GB-Second"
	SavingsPlanRateUnitRequest        SavingsPlanRateUnit = "Request"
)

Enum values for SavingsPlanRateUnit

func (SavingsPlanRateUnit) Values added in v0.29.0

Values returns all known values for SavingsPlanRateUnit. 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 SavingsPlanState

type SavingsPlanState string
const (
	SavingsPlanStatePaymentPending SavingsPlanState = "payment-pending"
	SavingsPlanStatePaymentFailed  SavingsPlanState = "payment-failed"
	SavingsPlanStateActive         SavingsPlanState = "active"
	SavingsPlanStateRetired        SavingsPlanState = "retired"
	SavingsPlanStateQueued         SavingsPlanState = "queued"
	SavingsPlanStateQueuedDeleted  SavingsPlanState = "queued-deleted"
	SavingsPlanStatePendingReturn  SavingsPlanState = "pending-return"
	SavingsPlanStateReturned       SavingsPlanState = "returned"
)

Enum values for SavingsPlanState

func (SavingsPlanState) Values added in v0.29.0

Values returns all known values for SavingsPlanState. 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 SavingsPlanType

type SavingsPlanType string
const (
	SavingsPlanTypeCompute     SavingsPlanType = "Compute"
	SavingsPlanTypeEc2Instance SavingsPlanType = "EC2Instance"
	SavingsPlanTypeSagemaker   SavingsPlanType = "SageMaker"
)

Enum values for SavingsPlanType

func (SavingsPlanType) Values added in v0.29.0

func (SavingsPlanType) Values() []SavingsPlanType

Values returns all known values for SavingsPlanType. 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 SavingsPlansFilterName

type SavingsPlansFilterName string
const (
	SavingsPlansFilterNameRegion            SavingsPlansFilterName = "region"
	SavingsPlansFilterNameEc2InstanceFamily SavingsPlansFilterName = "ec2-instance-family"
	SavingsPlansFilterNameCommitment        SavingsPlansFilterName = "commitment"
	SavingsPlansFilterNameUpfront           SavingsPlansFilterName = "upfront"
	SavingsPlansFilterNameTerm              SavingsPlansFilterName = "term"
	SavingsPlansFilterNameSavingsPlanType   SavingsPlansFilterName = "savings-plan-type"
	SavingsPlansFilterNamePaymentOption     SavingsPlansFilterName = "payment-option"
	SavingsPlansFilterNameStart             SavingsPlansFilterName = "start"
	SavingsPlansFilterNameEnd               SavingsPlansFilterName = "end"
)

Enum values for SavingsPlansFilterName

func (SavingsPlansFilterName) Values added in v0.29.0

Values returns all known values for SavingsPlansFilterName. 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 ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

A service quota has been exceeded.

func (*ServiceQuotaExceededException) Error

func (*ServiceQuotaExceededException) ErrorCode

func (e *ServiceQuotaExceededException) ErrorCode() string

func (*ServiceQuotaExceededException) ErrorFault

func (*ServiceQuotaExceededException) ErrorMessage

func (e *ServiceQuotaExceededException) ErrorMessage() string

type ValidationException

type ValidationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

One of the input parameters is not valid.

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

Jump to

Keyboard shortcuts

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