package types
import "github.com/aws/aws-sdk-go-v2/service/savingsplans/types"
Index ¶
- type CurrencyCode
- type InternalServerException
- func (e *InternalServerException) Error() string
- func (e *InternalServerException) ErrorCode() string
- func (e *InternalServerException) ErrorFault() smithy.ErrorFault
- func (e *InternalServerException) ErrorMessage() string
- type ParentSavingsPlanOffering
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- type SavingsPlan
- type SavingsPlanFilter
- type SavingsPlanOffering
- type SavingsPlanOfferingFilterAttribute
- type SavingsPlanOfferingFilterElement
- type SavingsPlanOfferingProperty
- type SavingsPlanOfferingPropertyKey
- type SavingsPlanOfferingRate
- type SavingsPlanOfferingRateFilterElement
- type SavingsPlanOfferingRateProperty
- type SavingsPlanPaymentOption
- type SavingsPlanProductType
- type SavingsPlanRate
- type SavingsPlanRateFilter
- type SavingsPlanRateFilterAttribute
- type SavingsPlanRateFilterName
- type SavingsPlanRateProperty
- type SavingsPlanRatePropertyKey
- type SavingsPlanRateServiceCode
- type SavingsPlanRateUnit
- type SavingsPlanState
- type SavingsPlanType
- type SavingsPlansFilterName
- type ServiceQuotaExceededException
- func (e *ServiceQuotaExceededException) Error() string
- func (e *ServiceQuotaExceededException) ErrorCode() string
- func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
- func (e *ServiceQuotaExceededException) ErrorMessage() string
- type ValidationException
Types ¶
type CurrencyCode ¶
type CurrencyCode string
const ( CurrencyCodeCny CurrencyCode = "CNY" CurrencyCodeUsd CurrencyCode = "USD" )
Enum values for CurrencyCode
type InternalServerException ¶
type InternalServerException struct { Message *string }
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 duration, in seconds. DurationSeconds *int64 // The description. PlanDescription *string // The ID of the offering. OfferingId *string // The currency. Currency CurrencyCode // The payment option. PaymentOption SavingsPlanPaymentOption // The plan type. PlanType SavingsPlanType }
Information about a Savings Plan offering.
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string }
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 (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type SavingsPlan ¶
type SavingsPlan struct { // The hourly commitment, in USD. Commitment *string // The end time. End *string // The start time. Start *string // The payment option. PaymentOption SavingsPlanPaymentOption // The up-front payment amount. UpfrontPaymentAmount *string // One or more tags. Tags map[string]*string // The Amazon Resource Name (ARN) of the Savings Plan. SavingsPlanArn *string // The ID of the offering. OfferingId *string // The description. Description *string // The EC2 instance family. Ec2InstanceFamily *string // The currency. Currency CurrencyCode // The AWS Region. Region *string // The state. State SavingsPlanState // The product types. ProductTypes []SavingsPlanProductType // The recurring payment amount. RecurringPaymentAmount *string // The duration of the term, in seconds. TermDurationInSeconds *int64 // The plan type. SavingsPlanType SavingsPlanType // The ID of the Savings Plan. SavingsPlanId *string }
Information about a Savings Plan.
type SavingsPlanFilter ¶
type SavingsPlanFilter struct { // The filter value. Values []*string // The filter name. Name SavingsPlansFilterName }
Information about a filter.
type SavingsPlanOffering ¶
type SavingsPlanOffering struct { // The plan type. PlanType SavingsPlanType // The properties. Properties []*SavingsPlanOfferingProperty // The description. Description *string // The product type. ProductTypes []SavingsPlanProductType // The service. ServiceCode *string // The duration, in seconds. DurationSeconds *int64 // The specific AWS operation for the line item in the billing report. Operation *string // The usage details of the line item in the billing report. UsageType *string // The payment option. PaymentOption SavingsPlanPaymentOption // The ID of the offering. OfferingId *string // The currency. Currency CurrencyCode }
Information about a Savings Plan offering.
type SavingsPlanOfferingFilterAttribute ¶
type SavingsPlanOfferingFilterAttribute string
const ( SavingsPlanOfferingFilterAttributeRegion SavingsPlanOfferingFilterAttribute = "region" SavingsPlanOfferingFilterAttributeInstancefamily SavingsPlanOfferingFilterAttribute = "instanceFamily" )
Enum values for SavingsPlanOfferingFilterAttribute
type SavingsPlanOfferingFilterElement ¶
type SavingsPlanOfferingFilterElement struct { // The filter name. Name SavingsPlanOfferingFilterAttribute // The filter values. Values []*string }
Information about a filter.
type SavingsPlanOfferingProperty ¶
type SavingsPlanOfferingProperty struct { // The property value. Value *string // The property name. Name SavingsPlanOfferingPropertyKey }
Information about a property.
type SavingsPlanOfferingPropertyKey ¶
type SavingsPlanOfferingPropertyKey string
const ( SavingsPlanOfferingPropertyKeyRegion SavingsPlanOfferingPropertyKey = "region" SavingsPlanOfferingPropertyKeyInstance_family SavingsPlanOfferingPropertyKey = "instanceFamily" )
Enum values for SavingsPlanOfferingPropertyKey
type SavingsPlanOfferingRate ¶
type SavingsPlanOfferingRate struct { // The service. ServiceCode SavingsPlanRateServiceCode // The specific AWS operation for the line item in the billing report. Operation *string // The unit. Unit SavingsPlanRateUnit // The properties. Properties []*SavingsPlanOfferingRateProperty // The usage details of the line item in the billing report. UsageType *string // The Savings Plan offering. SavingsPlanOffering *ParentSavingsPlanOffering // The product type. ProductType SavingsPlanProductType // The Savings Plan rate. Rate *string }
Information about a Savings Plan offering rate.
type SavingsPlanOfferingRateFilterElement ¶
type SavingsPlanOfferingRateFilterElement struct { // The filter values. Values []*string // The filter name. Name SavingsPlanRateFilterAttribute }
Information about a filter.
type SavingsPlanOfferingRateProperty ¶
type SavingsPlanOfferingRateProperty struct { // The property name. Name *string // The property value. Value *string }
Information about a property.
type SavingsPlanPaymentOption ¶
type SavingsPlanPaymentOption string
const ( SavingsPlanPaymentOptionAll_upfront SavingsPlanPaymentOption = "All Upfront" SavingsPlanPaymentOptionPartial_upfront SavingsPlanPaymentOption = "Partial Upfront" SavingsPlanPaymentOptionNo_upfront SavingsPlanPaymentOption = "No Upfront" )
Enum values for SavingsPlanPaymentOption
type SavingsPlanProductType ¶
type SavingsPlanProductType string
const ( SavingsPlanProductTypeEc2 SavingsPlanProductType = "EC2" SavingsPlanProductTypeFargate SavingsPlanProductType = "Fargate" SavingsPlanProductTypeLambda SavingsPlanProductType = "Lambda" )
Enum values for SavingsPlanProductType
type SavingsPlanRate ¶
type SavingsPlanRate struct { // The rate. Rate *string // The usage details of the line item in the billing report. UsageType *string // The currency. Currency CurrencyCode // The service. ServiceCode SavingsPlanRateServiceCode // The unit. Unit SavingsPlanRateUnit // The product type. ProductType SavingsPlanProductType // The specific AWS operation for the line item in the billing report. Operation *string // The properties. Properties []*SavingsPlanRateProperty }
Information about a Savings Plan rate.
type SavingsPlanRateFilter ¶
type SavingsPlanRateFilter struct { // The filter values. Values []*string // The filter name. Name SavingsPlanRateFilterName }
Information about a filter.
type SavingsPlanRateFilterAttribute ¶
type SavingsPlanRateFilterAttribute string
const ( SavingsPlanRateFilterAttributeRegion SavingsPlanRateFilterAttribute = "region" SavingsPlanRateFilterAttributeInstance_family SavingsPlanRateFilterAttribute = "instanceFamily" SavingsPlanRateFilterAttributeInstance_type SavingsPlanRateFilterAttribute = "instanceType" SavingsPlanRateFilterAttributeProduct_description SavingsPlanRateFilterAttribute = "productDescription" SavingsPlanRateFilterAttributeTenancy SavingsPlanRateFilterAttribute = "tenancy" SavingsPlanRateFilterAttributeProduct_id SavingsPlanRateFilterAttribute = "productId" )
Enum values for SavingsPlanRateFilterAttribute
type SavingsPlanRateFilterName ¶
type SavingsPlanRateFilterName string
const ( SavingsPlanRateFilterNameRegion SavingsPlanRateFilterName = "region" SavingsPlanRateFilterNameInstance_type SavingsPlanRateFilterName = "instanceType" SavingsPlanRateFilterNameProduct_description SavingsPlanRateFilterName = "productDescription" SavingsPlanRateFilterNameTenancy SavingsPlanRateFilterName = "tenancy" SavingsPlanRateFilterNameProduct_type SavingsPlanRateFilterName = "productType" SavingsPlanRateFilterNameService_code SavingsPlanRateFilterName = "serviceCode" SavingsPlanRateFilterNameUsage_type SavingsPlanRateFilterName = "usageType" SavingsPlanRateFilterNameOperation SavingsPlanRateFilterName = "operation" )
Enum values for SavingsPlanRateFilterName
type SavingsPlanRateProperty ¶
type SavingsPlanRateProperty struct { // The property value. Value *string // The property name. Name SavingsPlanRatePropertyKey }
Information about a property.
type SavingsPlanRatePropertyKey ¶
type SavingsPlanRatePropertyKey string
const ( SavingsPlanRatePropertyKeyRegion SavingsPlanRatePropertyKey = "region" SavingsPlanRatePropertyKeyInstance_type SavingsPlanRatePropertyKey = "instanceType" SavingsPlanRatePropertyKeyInstance_family SavingsPlanRatePropertyKey = "instanceFamily" SavingsPlanRatePropertyKeyProduct_description SavingsPlanRatePropertyKey = "productDescription" SavingsPlanRatePropertyKeyTenancy SavingsPlanRatePropertyKey = "tenancy" )
Enum values for SavingsPlanRatePropertyKey
type SavingsPlanRateServiceCode ¶
type SavingsPlanRateServiceCode string
const ( SavingsPlanRateServiceCodeEc2 SavingsPlanRateServiceCode = "AmazonEC2" SavingsPlanRateServiceCodeFargate SavingsPlanRateServiceCode = "AmazonECS" SavingsPlanRateServiceCodeLambda SavingsPlanRateServiceCode = "AWSLambda" )
Enum values for SavingsPlanRateServiceCode
type SavingsPlanRateUnit ¶
type SavingsPlanRateUnit string
const ( SavingsPlanRateUnitHours SavingsPlanRateUnit = "Hrs" SavingsPlanRateUnitLambda_gb_second SavingsPlanRateUnit = "Lambda-GB-Second" SavingsPlanRateUnitRequest SavingsPlanRateUnit = "Request" )
Enum values for SavingsPlanRateUnit
type SavingsPlanState ¶
type SavingsPlanState string
const ( SavingsPlanStatePayment_pending SavingsPlanState = "payment-pending" SavingsPlanStatePayment_failed SavingsPlanState = "payment-failed" SavingsPlanStateActive SavingsPlanState = "active" SavingsPlanStateRetired SavingsPlanState = "retired" )
Enum values for SavingsPlanState
type SavingsPlanType ¶
type SavingsPlanType string
const ( SavingsPlanTypeCompute SavingsPlanType = "Compute" SavingsPlanTypeEc2_instance SavingsPlanType = "EC2Instance" )
Enum values for SavingsPlanType
type SavingsPlansFilterName ¶
type SavingsPlansFilterName string
const ( SavingsPlansFilterNameRegion SavingsPlansFilterName = "region" SavingsPlansFilterNameEc2_instance_family SavingsPlansFilterName = "ec2-instance-family" SavingsPlansFilterNameCommitment SavingsPlansFilterName = "commitment" SavingsPlansFilterNameUpfront SavingsPlansFilterName = "upfront" SavingsPlansFilterNameTerm SavingsPlansFilterName = "term" SavingsPlansFilterNameSavings_plan_type SavingsPlansFilterName = "savings-plan-type" SavingsPlansFilterNamePayment_option SavingsPlansFilterName = "payment-option" SavingsPlansFilterNameStart SavingsPlansFilterName = "start" SavingsPlansFilterNameEnd SavingsPlansFilterName = "end" )
Enum values for SavingsPlansFilterName
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { Message *string }
A service quota has been exceeded.
func (*ServiceQuotaExceededException) Error ¶
func (e *ServiceQuotaExceededException) Error() string
func (*ServiceQuotaExceededException) ErrorCode ¶
func (e *ServiceQuotaExceededException) ErrorCode() string
func (*ServiceQuotaExceededException) ErrorFault ¶
func (e *ServiceQuotaExceededException) ErrorFault() smithy.ErrorFault
func (*ServiceQuotaExceededException) ErrorMessage ¶
func (e *ServiceQuotaExceededException) ErrorMessage() string
type ValidationException ¶
type ValidationException struct { Message *string }
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
Source Files ¶
- Version
- v0.26.0
- Published
- Oct 1, 2020
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 12 hours ago –
Tools for package owners.