Documentation ¶
Index ¶
- type AccessDeniedException
- type AddReservedInstanceAction
- type AddSavingsPlanAction
- type BatchCreateBillScenarioCommitmentModificationEntry
- type BatchCreateBillScenarioCommitmentModificationError
- type BatchCreateBillScenarioCommitmentModificationErrorCode
- type BatchCreateBillScenarioCommitmentModificationItem
- type BatchCreateBillScenarioUsageModificationEntry
- type BatchCreateBillScenarioUsageModificationError
- type BatchCreateBillScenarioUsageModificationErrorCode
- type BatchCreateBillScenarioUsageModificationItem
- type BatchCreateWorkloadEstimateUsageCode
- type BatchCreateWorkloadEstimateUsageEntry
- type BatchCreateWorkloadEstimateUsageError
- type BatchCreateWorkloadEstimateUsageItem
- type BatchDeleteBillScenarioCommitmentModificationError
- type BatchDeleteBillScenarioCommitmentModificationErrorCode
- type BatchDeleteBillScenarioUsageModificationError
- type BatchDeleteBillScenarioUsageModificationErrorCode
- type BatchDeleteWorkloadEstimateUsageError
- type BatchUpdateBillScenarioCommitmentModificationEntry
- type BatchUpdateBillScenarioCommitmentModificationError
- type BatchUpdateBillScenarioCommitmentModificationErrorCode
- type BatchUpdateBillScenarioUsageModificationEntry
- type BatchUpdateBillScenarioUsageModificationError
- type BatchUpdateBillScenarioUsageModificationErrorCode
- type BatchUpdateWorkloadEstimateUsageEntry
- type BatchUpdateWorkloadEstimateUsageError
- type BillEstimateCommitmentSummary
- type BillEstimateCostSummary
- type BillEstimateInputCommitmentModificationSummary
- type BillEstimateInputUsageModificationSummary
- type BillEstimateLineItemSummary
- type BillEstimateStatus
- type BillEstimateSummary
- type BillInterval
- type BillScenarioCommitmentModificationAction
- type BillScenarioCommitmentModificationActionMemberAddReservedInstanceAction
- type BillScenarioCommitmentModificationActionMemberAddSavingsPlanAction
- type BillScenarioCommitmentModificationActionMemberNegateReservedInstanceAction
- type BillScenarioCommitmentModificationActionMemberNegateSavingsPlanAction
- type BillScenarioCommitmentModificationItem
- type BillScenarioStatus
- type BillScenarioSummary
- type BillScenarioUsageModificationItem
- type ConflictException
- type CostAmount
- type CostDifference
- type CurrencyCode
- type DataUnavailableException
- type Expression
- type ExpressionFilter
- type FilterTimestamp
- type HistoricalUsageEntity
- type InternalServerException
- type ListBillEstimateLineItemsFilter
- type ListBillEstimateLineItemsFilterName
- type ListBillEstimatesFilter
- type ListBillEstimatesFilterName
- type ListBillScenariosFilter
- type ListBillScenariosFilterName
- type ListUsageFilter
- type ListUsageFilterName
- type ListWorkloadEstimatesFilter
- type ListWorkloadEstimatesFilterName
- type MatchOption
- type NegateReservedInstanceAction
- type NegateSavingsPlanAction
- type PurchaseAgreementType
- type RateType
- type ResourceNotFoundException
- type ServiceQuotaExceededException
- type ThrottlingException
- type UnknownUnionMember
- type UsageAmount
- type UsageQuantity
- type UsageQuantityResult
- type ValidationException
- type ValidationExceptionField
- type ValidationExceptionReason
- type WorkloadEstimateCostStatus
- type WorkloadEstimateRateType
- type WorkloadEstimateStatus
- type WorkloadEstimateSummary
- type WorkloadEstimateUpdateUsageErrorCode
- type WorkloadEstimateUsageItem
- type WorkloadEstimateUsageQuantity
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
You do 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 AddReservedInstanceAction ¶
type AddReservedInstanceAction struct { // The number of instances to add for this Reserved Instance offering. InstanceCount *int32 // The ID of the Reserved Instance offering to add. For more information, see [DescribeReservedInstancesOfferings]. // // [DescribeReservedInstancesOfferings]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeReservedInstancesOfferings.html ReservedInstancesOfferingId *string // contains filtered or unexported fields }
Represents an action to add a Reserved Instance to a bill scenario.
type AddSavingsPlanAction ¶
type AddSavingsPlanAction struct { // The hourly commitment, in the same currency of the savingsPlanOfferingId . This // is a value between 0.001 and 1 million. You cannot specify more than five digits // after the decimal point. Commitment *float64 // The ID of the Savings Plan offering to add. For more information, see [DescribeSavingsPlansOfferings]. // // [DescribeSavingsPlansOfferings]: https://docs.aws.amazon.com/savingsplans/latest/APIReference/API_DescribeSavingsPlansOfferings.html SavingsPlanOfferingId *string // contains filtered or unexported fields }
Represents an action to add a Savings Plan to a bill scenario.
type BatchCreateBillScenarioCommitmentModificationEntry ¶
type BatchCreateBillScenarioCommitmentModificationEntry struct { // The specific commitment action to be taken (e.g., adding a Reserved Instance // or Savings Plan). // // This member is required. CommitmentAction BillScenarioCommitmentModificationAction // A unique identifier for this entry in the batch operation. This can be any // valid string. This key is useful to identify errors associated with any // commitment entry as any error is returned with this key. // // This member is required. Key *string // The Amazon Web Services account ID to which this commitment will be applied // to. // // This member is required. UsageAccountId *string // An optional group identifier for the commitment modification. Group *string // contains filtered or unexported fields }
Represents an entry object in the batch operation to create bill scenario
commitment modifications.
type BatchCreateBillScenarioCommitmentModificationError ¶
type BatchCreateBillScenarioCommitmentModificationError struct { // The error code associated with the failed operation. ErrorCode BatchCreateBillScenarioCommitmentModificationErrorCode // A descriptive message for the error that occurred. ErrorMessage *string // The key of the entry that caused the error. Key *string // contains filtered or unexported fields }
Represents an error that occurred during a batch create operation for bill
scenario commitment modifications.
type BatchCreateBillScenarioCommitmentModificationErrorCode ¶
type BatchCreateBillScenarioCommitmentModificationErrorCode string
const ( BatchCreateBillScenarioCommitmentModificationErrorCodeConflict BatchCreateBillScenarioCommitmentModificationErrorCode = "CONFLICT" BatchCreateBillScenarioCommitmentModificationErrorCodeInternalServerError BatchCreateBillScenarioCommitmentModificationErrorCode = "INTERNAL_SERVER_ERROR" BatchCreateBillScenarioCommitmentModificationErrorCodeInvalidAccount BatchCreateBillScenarioCommitmentModificationErrorCode = "INVALID_ACCOUNT" )
Enum values for BatchCreateBillScenarioCommitmentModificationErrorCode
func (BatchCreateBillScenarioCommitmentModificationErrorCode) Values ¶
func (BatchCreateBillScenarioCommitmentModificationErrorCode) Values() []BatchCreateBillScenarioCommitmentModificationErrorCode
Values returns all known values for BatchCreateBillScenarioCommitmentModificationErrorCode. 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 BatchCreateBillScenarioCommitmentModificationItem ¶
type BatchCreateBillScenarioCommitmentModificationItem struct { // The specific commitment action that was taken. CommitmentAction BillScenarioCommitmentModificationAction // The group identifier for the created commitment modification. Group *string // The unique identifier assigned to the created commitment modification. Id *string // The key of the successfully created entry. This can be any valid string. This // key is useful to identify errors associated with any commitment entry as any // error is returned with this key. Key *string // The Amazon Web Services account ID associated with the created commitment // modification. UsageAccountId *string // contains filtered or unexported fields }
Represents a successfully created item in a batch operation for bill scenario
commitment modifications.
type BatchCreateBillScenarioUsageModificationEntry ¶
type BatchCreateBillScenarioUsageModificationEntry struct { // A unique identifier for this entry in the batch operation. This can be any // valid string. This key is useful to identify errors associated with any usage // entry as any error is returned with this key. // // This member is required. Key *string // The specific operation associated with this usage modification. Describes the // specific Amazon Web Services operation that this usage line models. For example, // RunInstances indicates the operation of an Amazon EC2 instance. // // This member is required. Operation *string // The Amazon Web Services service code for this usage modification. This // identifies the specific Amazon Web Services service to the customer as a unique // short abbreviation. For example, AmazonEC2 and AWSKMS . // // This member is required. ServiceCode *string // The Amazon Web Services account ID to which this usage will be applied to. // // This member is required. UsageAccountId *string // Describes the usage details of the usage line item. // // This member is required. UsageType *string // The amount of usage you want to create for the service use you are modeling. Amounts []UsageAmount // The Availability Zone that this usage line uses. AvailabilityZone *string // An optional group identifier for the usage modification. Group *string // Historical usage data associated with this modification, if available. HistoricalUsage *HistoricalUsageEntity // contains filtered or unexported fields }
Represents an entry in a batch operation to create bill scenario usage
modifications.
type BatchCreateBillScenarioUsageModificationError ¶
type BatchCreateBillScenarioUsageModificationError struct { // The error code associated with the failed operation. ErrorCode BatchCreateBillScenarioUsageModificationErrorCode // A descriptive message for the error that occurred. ErrorMessage *string // The key of the entry that caused the error. Key *string // contains filtered or unexported fields }
Represents an error that occurred during a batch create operation for bill
scenario usage modifications.
type BatchCreateBillScenarioUsageModificationErrorCode ¶
type BatchCreateBillScenarioUsageModificationErrorCode string
const ( BatchCreateBillScenarioUsageModificationErrorCodeBadRequest BatchCreateBillScenarioUsageModificationErrorCode = "BAD_REQUEST" BatchCreateBillScenarioUsageModificationErrorCodeNotFound BatchCreateBillScenarioUsageModificationErrorCode = "NOT_FOUND" BatchCreateBillScenarioUsageModificationErrorCodeConflict BatchCreateBillScenarioUsageModificationErrorCode = "CONFLICT" BatchCreateBillScenarioUsageModificationErrorCodeInternalServerError BatchCreateBillScenarioUsageModificationErrorCode = "INTERNAL_SERVER_ERROR" )
Enum values for BatchCreateBillScenarioUsageModificationErrorCode
func (BatchCreateBillScenarioUsageModificationErrorCode) Values ¶
func (BatchCreateBillScenarioUsageModificationErrorCode) Values() []BatchCreateBillScenarioUsageModificationErrorCode
Values returns all known values for BatchCreateBillScenarioUsageModificationErrorCode. 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 BatchCreateBillScenarioUsageModificationItem ¶
type BatchCreateBillScenarioUsageModificationItem struct { // The specific operation associated with this usage modification. // // This member is required. Operation *string // The Amazon Web Services service code for this usage modification. // // This member is required. ServiceCode *string // The type of usage that was modified. // // This member is required. UsageType *string // The availability zone associated with this usage modification, if applicable. AvailabilityZone *string // The group identifier for the created usage modification. Group *string // Historical usage data associated with this modification, if available. HistoricalUsage *HistoricalUsageEntity // The unique identifier assigned to the created usage modification. Id *string // The key of the successfully created entry. Key *string // The location associated with this usage modification. Location *string // The modified usage quantities. Quantities []UsageQuantity // The Amazon Web Services account ID associated with the created usage // modification. UsageAccountId *string // contains filtered or unexported fields }
Represents a successfully created item in a batch operation for bill scenario
usage modifications.
type BatchCreateWorkloadEstimateUsageCode ¶
type BatchCreateWorkloadEstimateUsageCode string
const ( BatchCreateWorkloadEstimateUsageCodeBadRequest BatchCreateWorkloadEstimateUsageCode = "BAD_REQUEST" BatchCreateWorkloadEstimateUsageCodeNotFound BatchCreateWorkloadEstimateUsageCode = "NOT_FOUND" BatchCreateWorkloadEstimateUsageCodeConflict BatchCreateWorkloadEstimateUsageCode = "CONFLICT" BatchCreateWorkloadEstimateUsageCodeInternalServerError BatchCreateWorkloadEstimateUsageCode = "INTERNAL_SERVER_ERROR" )
Enum values for BatchCreateWorkloadEstimateUsageCode
func (BatchCreateWorkloadEstimateUsageCode) Values ¶
func (BatchCreateWorkloadEstimateUsageCode) Values() []BatchCreateWorkloadEstimateUsageCode
Values returns all known values for BatchCreateWorkloadEstimateUsageCode. 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 BatchCreateWorkloadEstimateUsageEntry ¶
type BatchCreateWorkloadEstimateUsageEntry struct { // The estimated usage amount. // // This member is required. Amount *float64 // A unique identifier for this entry in the batch operation. // // This member is required. Key *string // The specific operation associated with this usage estimate. // // This member is required. Operation *string // The Amazon Web Services service code for this usage estimate. // // This member is required. ServiceCode *string // The Amazon Web Services account ID associated with this usage estimate. // // This member is required. UsageAccountId *string // The type of usage being estimated. // // This member is required. UsageType *string // An optional group identifier for the usage estimate. Group *string // Historical usage data associated with this estimate, if available. HistoricalUsage *HistoricalUsageEntity // contains filtered or unexported fields }
Represents an entry in a batch operation to create workload estimate usage.
type BatchCreateWorkloadEstimateUsageError ¶
type BatchCreateWorkloadEstimateUsageError struct { // The error code associated with the failed operation. ErrorCode BatchCreateWorkloadEstimateUsageCode // A descriptive message for the error that occurred. ErrorMessage *string // The key of the entry that caused the error. Key *string // contains filtered or unexported fields }
Represents an error that occurred during a batch create operation for workload
estimate usage.
type BatchCreateWorkloadEstimateUsageItem ¶
type BatchCreateWorkloadEstimateUsageItem struct { // The specific operation associated with this usage estimate. // // This member is required. Operation *string // The Amazon Web Services service code for this usage estimate. // // This member is required. ServiceCode *string // The type of usage that was estimated. // // This member is required. UsageType *string // The estimated cost associated with this usage. Cost *float64 // The currency of the estimated cost. Currency CurrencyCode // The group identifier for the created usage estimate. Group *string // Historical usage data associated with this estimate, if available. HistoricalUsage *HistoricalUsageEntity // The unique identifier assigned to the created usage estimate. Id *string // The key of the successfully created entry. Key *string // The location associated with this usage estimate. Location *string // The estimated usage quantity. Quantity *WorkloadEstimateUsageQuantity // The current status of the created usage estimate. Status WorkloadEstimateCostStatus // The Amazon Web Services account ID associated with the created usage estimate. UsageAccountId *string // contains filtered or unexported fields }
Represents a successfully created item in a batch operation for workload
estimate usage.
type BatchDeleteBillScenarioCommitmentModificationError ¶
type BatchDeleteBillScenarioCommitmentModificationError struct { // The code associated with the error. ErrorCode BatchDeleteBillScenarioCommitmentModificationErrorCode // The message that describes the error. ErrorMessage *string // The ID of the error. Id *string // contains filtered or unexported fields }
Represents an error that occurred when deleting a commitment in a Bill
Scenario.
type BatchDeleteBillScenarioCommitmentModificationErrorCode ¶
type BatchDeleteBillScenarioCommitmentModificationErrorCode string
const ( BatchDeleteBillScenarioCommitmentModificationErrorCodeBadRequest BatchDeleteBillScenarioCommitmentModificationErrorCode = "BAD_REQUEST" BatchDeleteBillScenarioCommitmentModificationErrorCodeConflict BatchDeleteBillScenarioCommitmentModificationErrorCode = "CONFLICT" BatchDeleteBillScenarioCommitmentModificationErrorCodeInternalServerError BatchDeleteBillScenarioCommitmentModificationErrorCode = "INTERNAL_SERVER_ERROR" )
Enum values for BatchDeleteBillScenarioCommitmentModificationErrorCode
func (BatchDeleteBillScenarioCommitmentModificationErrorCode) Values ¶
func (BatchDeleteBillScenarioCommitmentModificationErrorCode) Values() []BatchDeleteBillScenarioCommitmentModificationErrorCode
Values returns all known values for BatchDeleteBillScenarioCommitmentModificationErrorCode. 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 BatchDeleteBillScenarioUsageModificationError ¶
type BatchDeleteBillScenarioUsageModificationError struct { // The code associated with the error. ErrorCode BatchDeleteBillScenarioUsageModificationErrorCode // The message that describes the error. ErrorMessage *string // The ID of the error. Id *string // contains filtered or unexported fields }
Represents an error that occurred when deleting usage in a Bill Scenario.
type BatchDeleteBillScenarioUsageModificationErrorCode ¶
type BatchDeleteBillScenarioUsageModificationErrorCode string
const ( BatchDeleteBillScenarioUsageModificationErrorCodeBadRequest BatchDeleteBillScenarioUsageModificationErrorCode = "BAD_REQUEST" BatchDeleteBillScenarioUsageModificationErrorCodeConflict BatchDeleteBillScenarioUsageModificationErrorCode = "CONFLICT" BatchDeleteBillScenarioUsageModificationErrorCodeInternalServerError BatchDeleteBillScenarioUsageModificationErrorCode = "INTERNAL_SERVER_ERROR" )
Enum values for BatchDeleteBillScenarioUsageModificationErrorCode
func (BatchDeleteBillScenarioUsageModificationErrorCode) Values ¶
func (BatchDeleteBillScenarioUsageModificationErrorCode) Values() []BatchDeleteBillScenarioUsageModificationErrorCode
Values returns all known values for BatchDeleteBillScenarioUsageModificationErrorCode. 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 BatchDeleteWorkloadEstimateUsageError ¶
type BatchDeleteWorkloadEstimateUsageError struct { // The code associated with the error. ErrorCode WorkloadEstimateUpdateUsageErrorCode // The message that describes the error. ErrorMessage *string // The ID of the error. Id *string // contains filtered or unexported fields }
Represents an error that occurred when deleting usage in a workload estimate.
type BatchUpdateBillScenarioCommitmentModificationEntry ¶
type BatchUpdateBillScenarioCommitmentModificationEntry struct { // The unique identifier of the commitment modification to update. // // This member is required. Id *string // The updated group identifier for the commitment modification. Group *string // contains filtered or unexported fields }
Represents an entry in a batch operation to update bill scenario commitment
modifications.
type BatchUpdateBillScenarioCommitmentModificationError ¶
type BatchUpdateBillScenarioCommitmentModificationError struct { // The code associated with the error. ErrorCode BatchUpdateBillScenarioCommitmentModificationErrorCode // The message that describes the error. ErrorMessage *string // The ID of the error. Id *string // contains filtered or unexported fields }
Represents an error that occurred when updating a commitment in a Bill
Scenario.
type BatchUpdateBillScenarioCommitmentModificationErrorCode ¶
type BatchUpdateBillScenarioCommitmentModificationErrorCode string
const ( BatchUpdateBillScenarioCommitmentModificationErrorCodeBadRequest BatchUpdateBillScenarioCommitmentModificationErrorCode = "BAD_REQUEST" BatchUpdateBillScenarioCommitmentModificationErrorCodeNotFound BatchUpdateBillScenarioCommitmentModificationErrorCode = "NOT_FOUND" BatchUpdateBillScenarioCommitmentModificationErrorCodeConflict BatchUpdateBillScenarioCommitmentModificationErrorCode = "CONFLICT" BatchUpdateBillScenarioCommitmentModificationErrorCodeInternalServerError BatchUpdateBillScenarioCommitmentModificationErrorCode = "INTERNAL_SERVER_ERROR" )
Enum values for BatchUpdateBillScenarioCommitmentModificationErrorCode
func (BatchUpdateBillScenarioCommitmentModificationErrorCode) Values ¶
func (BatchUpdateBillScenarioCommitmentModificationErrorCode) Values() []BatchUpdateBillScenarioCommitmentModificationErrorCode
Values returns all known values for BatchUpdateBillScenarioCommitmentModificationErrorCode. 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 BatchUpdateBillScenarioUsageModificationEntry ¶
type BatchUpdateBillScenarioUsageModificationEntry struct { // The unique identifier of the usage modification to update. // // This member is required. Id *string // The updated usage amounts for the modification. Amounts []UsageAmount // The updated group identifier for the usage modification. Group *string // contains filtered or unexported fields }
Represents an entry in a batch operation to update bill scenario usage
modifications.
type BatchUpdateBillScenarioUsageModificationError ¶
type BatchUpdateBillScenarioUsageModificationError struct { // The code associated with the error. ErrorCode BatchUpdateBillScenarioUsageModificationErrorCode // The message that describes the error. ErrorMessage *string // The ID of the error. Id *string // contains filtered or unexported fields }
Represents an error that occurred when updating usage in a Bill Scenario.
type BatchUpdateBillScenarioUsageModificationErrorCode ¶
type BatchUpdateBillScenarioUsageModificationErrorCode string
const ( BatchUpdateBillScenarioUsageModificationErrorCodeBadRequest BatchUpdateBillScenarioUsageModificationErrorCode = "BAD_REQUEST" BatchUpdateBillScenarioUsageModificationErrorCodeNotFound BatchUpdateBillScenarioUsageModificationErrorCode = "NOT_FOUND" BatchUpdateBillScenarioUsageModificationErrorCodeConflict BatchUpdateBillScenarioUsageModificationErrorCode = "CONFLICT" BatchUpdateBillScenarioUsageModificationErrorCodeInternalServerError BatchUpdateBillScenarioUsageModificationErrorCode = "INTERNAL_SERVER_ERROR" )
Enum values for BatchUpdateBillScenarioUsageModificationErrorCode
func (BatchUpdateBillScenarioUsageModificationErrorCode) Values ¶
func (BatchUpdateBillScenarioUsageModificationErrorCode) Values() []BatchUpdateBillScenarioUsageModificationErrorCode
Values returns all known values for BatchUpdateBillScenarioUsageModificationErrorCode. 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 BatchUpdateWorkloadEstimateUsageEntry ¶
type BatchUpdateWorkloadEstimateUsageEntry struct { // The unique identifier of the usage estimate to update. // // This member is required. Id *string // The updated estimated usage amount. Amount *float64 // The updated group identifier for the usage estimate. Group *string // contains filtered or unexported fields }
Represents an entry in a batch operation to update workload estimate usage.
type BatchUpdateWorkloadEstimateUsageError ¶
type BatchUpdateWorkloadEstimateUsageError struct { // The code associated with the error. ErrorCode WorkloadEstimateUpdateUsageErrorCode // The message that describes the error. ErrorMessage *string // The ID of the error. Id *string // contains filtered or unexported fields }
Represents an error that occurred when updating usage in a workload estimate.
type BillEstimateCommitmentSummary ¶
type BillEstimateCommitmentSummary struct { // The unique identifier of the commitment. Id *string // The monthly payment amount for this commitment, if applicable. MonthlyPayment *CostAmount // The identifier of the specific offering associated with this commitment. OfferingId *string // The payment option chosen for this commitment (e.g., All Upfront, Partial // Upfront, No Upfront). PaymentOption *string // The type of purchase agreement (e.g., Reserved Instance, Savings Plan). PurchaseAgreementType PurchaseAgreementType // The Amazon Web Services region associated with this commitment. Region *string // The length of the commitment term. TermLength *string // The upfront payment amount for this commitment, if applicable. UpfrontPayment *CostAmount // The Amazon Web Services account ID associated with this commitment. UsageAccountId *string // contains filtered or unexported fields }
Provides a summary of commitment-related information for a bill estimate.
type BillEstimateCostSummary ¶
type BillEstimateCostSummary struct { // A breakdown of cost differences by Amazon Web Services service. ServiceCostDifferences map[string]CostDifference // The total difference in cost between the estimated and historical costs. TotalCostDifference *CostDifference // contains filtered or unexported fields }
Provides a summary of cost-related information for a bill estimate.
type BillEstimateInputCommitmentModificationSummary ¶
type BillEstimateInputCommitmentModificationSummary struct { // The specific commitment action taken in this modification. CommitmentAction BillScenarioCommitmentModificationAction // The group identifier for the commitment modification. Group *string // The unique identifier of the commitment modification. Id *string // The Amazon Web Services account ID associated with this commitment // modification. UsageAccountId *string // contains filtered or unexported fields }
Summarizes an input commitment modification for a bill estimate.
type BillEstimateInputUsageModificationSummary ¶
type BillEstimateInputUsageModificationSummary struct { // The specific operation associated with this usage modification. // // This member is required. Operation *string // The Amazon Web Services service code for this usage modification. // // This member is required. ServiceCode *string // The type of usage being modified. // // This member is required. UsageType *string // The availability zone associated with this usage modification, if applicable. AvailabilityZone *string // The group identifier for the usage modification. Group *string // Historical usage data associated with this modification, if available. HistoricalUsage *HistoricalUsageEntity // The unique identifier of the usage modification. Id *string // The location associated with this usage modification. Location *string // The modified usage quantities. Quantities []UsageQuantity // The Amazon Web Services account ID associated with this usage modification. UsageAccountId *string // contains filtered or unexported fields }
Summarizes an input usage modification for a bill estimate.
type BillEstimateLineItemSummary ¶
type BillEstimateLineItemSummary struct { // The specific operation associated with this line item. // // This member is required. Operation *string // The Amazon Web Services service code associated with this line item. // // This member is required. ServiceCode *string // The type of usage for this line item. // // This member is required. UsageType *string // The availability zone associated with this line item, if applicable. AvailabilityZone *string // The estimated cost for this line item. EstimatedCost *CostAmount // The estimated usage quantity for this line item. EstimatedUsageQuantity *UsageQuantityResult // The historical cost for this line item. HistoricalCost *CostAmount // The historical usage quantity for this line item. HistoricalUsageQuantity *UsageQuantityResult // The unique identifier of this line item. Id *string // The line item identifier from the original bill. LineItemId *string // The type of this line item (e.g., Usage, Tax, Credit). LineItemType *string // The location associated with this line item. Location *string // The Amazon Web Services account ID of the payer for this line item. PayerAccountId *string // The Amazon Resource Names (ARNs) of any Savings Plans applied to this line // item. SavingsPlanArns []string // The Amazon Web Services account ID associated with the usage for this line // item. UsageAccountId *string // contains filtered or unexported fields }
Provides a summary of a line item in a bill estimate.
type BillEstimateStatus ¶
type BillEstimateStatus string
const ( BillEstimateStatusInProgress BillEstimateStatus = "IN_PROGRESS" BillEstimateStatusComplete BillEstimateStatus = "COMPLETE" BillEstimateStatusFailed BillEstimateStatus = "FAILED" )
Enum values for BillEstimateStatus
func (BillEstimateStatus) Values ¶
func (BillEstimateStatus) Values() []BillEstimateStatus
Values returns all known values for BillEstimateStatus. 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 BillEstimateSummary ¶
type BillEstimateSummary struct { // The unique identifier of the bill estimate. // // This member is required. Id *string // The time period covered by the bill estimate. BillInterval *BillInterval // The timestamp when the bill estimate was created. CreatedAt *time.Time // The timestamp when the bill estimate will expire. ExpiresAt *time.Time // The name of the bill estimate. Name *string // The current status of the bill estimate. Status BillEstimateStatus // contains filtered or unexported fields }
Provides a summary of a bill estimate.
type BillInterval ¶
type BillInterval struct { // The end date and time of the interval. End *time.Time // The start date and time of the interval. Start *time.Time // contains filtered or unexported fields }
Represents a time interval for a bill or estimate.
type BillScenarioCommitmentModificationAction ¶
type BillScenarioCommitmentModificationAction interface {
// contains filtered or unexported methods
}
Represents an action to modify commitments in a bill scenario.
The following types satisfy this interface:
BillScenarioCommitmentModificationActionMemberAddReservedInstanceAction BillScenarioCommitmentModificationActionMemberAddSavingsPlanAction BillScenarioCommitmentModificationActionMemberNegateReservedInstanceAction BillScenarioCommitmentModificationActionMemberNegateSavingsPlanAction
Example (OutputUsage) ¶
// Code generated by smithy-go-codegen DO NOT EDIT. package main import ( "fmt" "github.com/aws/aws-sdk-go-v2/service/bcmpricingcalculator/types" ) func main() { var union types.BillScenarioCommitmentModificationAction // type switches can be used to check the union value switch v := union.(type) { case *types.BillScenarioCommitmentModificationActionMemberAddReservedInstanceAction: _ = v.Value // Value is types.AddReservedInstanceAction case *types.BillScenarioCommitmentModificationActionMemberAddSavingsPlanAction: _ = v.Value // Value is types.AddSavingsPlanAction case *types.BillScenarioCommitmentModificationActionMemberNegateReservedInstanceAction: _ = v.Value // Value is types.NegateReservedInstanceAction case *types.BillScenarioCommitmentModificationActionMemberNegateSavingsPlanAction: _ = v.Value // Value is types.NegateSavingsPlanAction case *types.UnknownUnionMember: fmt.Println("unknown tag:", v.Tag) default: fmt.Println("union is nil or unknown type") } } var _ *types.NegateSavingsPlanAction var _ *types.AddReservedInstanceAction var _ *types.AddSavingsPlanAction var _ *types.NegateReservedInstanceAction
Output:
type BillScenarioCommitmentModificationActionMemberAddReservedInstanceAction ¶
type BillScenarioCommitmentModificationActionMemberAddReservedInstanceAction struct { Value AddReservedInstanceAction // contains filtered or unexported fields }
Action to add a Reserved Instance to the scenario.
type BillScenarioCommitmentModificationActionMemberAddSavingsPlanAction ¶
type BillScenarioCommitmentModificationActionMemberAddSavingsPlanAction struct { Value AddSavingsPlanAction // contains filtered or unexported fields }
Action to add a Savings Plan to the scenario.
type BillScenarioCommitmentModificationActionMemberNegateReservedInstanceAction ¶
type BillScenarioCommitmentModificationActionMemberNegateReservedInstanceAction struct { Value NegateReservedInstanceAction // contains filtered or unexported fields }
Action to remove a Reserved Instance from the scenario.
type BillScenarioCommitmentModificationActionMemberNegateSavingsPlanAction ¶
type BillScenarioCommitmentModificationActionMemberNegateSavingsPlanAction struct { Value NegateSavingsPlanAction // contains filtered or unexported fields }
Action to remove a Savings Plan from the scenario.
type BillScenarioCommitmentModificationItem ¶
type BillScenarioCommitmentModificationItem struct { // The specific commitment action taken in this modification. CommitmentAction BillScenarioCommitmentModificationAction // The group identifier for the commitment modification. Group *string // The unique identifier of the commitment modification. Id *string // The Amazon Web Services account ID associated with this commitment // modification. UsageAccountId *string // contains filtered or unexported fields }
Represents a commitment modification item in a bill scenario.
type BillScenarioStatus ¶
type BillScenarioStatus string
const ( BillScenarioStatusReady BillScenarioStatus = "READY" BillScenarioStatusLocked BillScenarioStatus = "LOCKED" BillScenarioStatusFailed BillScenarioStatus = "FAILED" )
Enum values for BillScenarioStatus
func (BillScenarioStatus) Values ¶
func (BillScenarioStatus) Values() []BillScenarioStatus
Values returns all known values for BillScenarioStatus. 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 BillScenarioSummary ¶
type BillScenarioSummary struct { // The unique identifier of the bill scenario. // // This member is required. Id *string // The time period covered by the bill scenario. BillInterval *BillInterval // The timestamp when the bill scenario was created. CreatedAt *time.Time // The timestamp when the bill scenario will expire. ExpiresAt *time.Time // An error message if the bill scenario creation or processing failed. FailureMessage *string // The name of the bill scenario. Name *string // The current status of the bill scenario. Status BillScenarioStatus // contains filtered or unexported fields }
Provides a summary of a bill scenario.
type BillScenarioUsageModificationItem ¶
type BillScenarioUsageModificationItem struct { // The specific operation associated with this usage modification. // // This member is required. Operation *string // The Amazon Web Services service code for this usage modification. // // This member is required. ServiceCode *string // The type of usage being modified. // // This member is required. UsageType *string // The availability zone associated with this usage modification, if applicable. AvailabilityZone *string // The group identifier for the usage modification. Group *string // Historical usage data associated with this modification, if available. HistoricalUsage *HistoricalUsageEntity // The unique identifier of the usage modification. Id *string // The location associated with this usage modification. Location *string // The modified usage quantities. Quantities []UsageQuantity // The Amazon Web Services account ID associated with this usage modification. UsageAccountId *string // contains filtered or unexported fields }
Represents a usage modification item in a bill scenario.
type ConflictException ¶
type ConflictException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *string // contains filtered or unexported fields }
The request could not be processed because of conflict in the current state of
the resource.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type CostAmount ¶
type CostAmount struct { // The numeric value of the cost. Amount *float64 // The currency code for the cost amount. Currency CurrencyCode // contains filtered or unexported fields }
Represents a monetary amount with associated currency.
type CostDifference ¶
type CostDifference struct { // The estimated cost amount. EstimatedCost *CostAmount // The historical cost amount. HistoricalCost *CostAmount // contains filtered or unexported fields }
Represents the difference between historical and estimated costs.
type CurrencyCode ¶
type CurrencyCode string
const (
CurrencyCodeUsd CurrencyCode = "USD"
)
Enum values for CurrencyCode
func (CurrencyCode) Values ¶
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 DataUnavailableException ¶
type DataUnavailableException struct { // contains filtered or unexported fields }
The requested data is currently unavailable.
func (*DataUnavailableException) Error ¶
func (e *DataUnavailableException) Error() string
func (*DataUnavailableException) ErrorCode ¶
func (e *DataUnavailableException) ErrorCode() string
func (*DataUnavailableException) ErrorFault ¶
func (e *DataUnavailableException) ErrorFault() smithy.ErrorFault
func (*DataUnavailableException) ErrorMessage ¶
func (e *DataUnavailableException) ErrorMessage() string
type Expression ¶
type Expression struct { // A list of expressions to be combined with AND logic. And []Expression // Filters based on cost categories. CostCategories *ExpressionFilter // Filters based on dimensions (e.g., service, operation). Dimensions *ExpressionFilter // An expression to be negated. Not *Expression // A list of expressions to be combined with OR logic. Or []Expression // Filters based on resource tags. Tags *ExpressionFilter // contains filtered or unexported fields }
Represents a complex filtering expression for cost and usage data.
type ExpressionFilter ¶
type ExpressionFilter struct { // The key or attribute to filter on. Key *string // The match options for the filter (e.g., equals, contains). MatchOptions []string // The values to match against. Values []string // contains filtered or unexported fields }
Represents a filter used within an expression.
type FilterTimestamp ¶
type FilterTimestamp struct { // Include results after this timestamp. AfterTimestamp *time.Time // Include results before this timestamp. BeforeTimestamp *time.Time // contains filtered or unexported fields }
Represents a time-based filter.
type HistoricalUsageEntity ¶
type HistoricalUsageEntity struct { // The time interval for the historical usage data. // // This member is required. BillInterval *BillInterval // An optional filter expression to apply to the historical usage data. // // This member is required. FilterExpression *Expression // The specific operation associated with the usage. // // This member is required. Operation *string // The Amazon Web Services service code associated with the usage. // // This member is required. ServiceCode *string // The Amazon Web Services account ID associated with the usage. // // This member is required. UsageAccountId *string // The type of usage. // // This member is required. UsageType *string // The location associated with the usage. Location *string // contains filtered or unexported fields }
Represents historical usage data for a specific entity.
type InternalServerException ¶
type InternalServerException struct { Message *string ErrorCodeOverride *string RetryAfterSeconds *int32 // contains filtered or unexported fields }
An internal error has occurred. Retry your request, but if the problem
persists, contact Amazon Web Services support.
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 ListBillEstimateLineItemsFilter ¶
type ListBillEstimateLineItemsFilter struct { // The name of the filter attribute. // // This member is required. Name ListBillEstimateLineItemsFilterName // The values to filter by. // // This member is required. Values []string // The match option for the filter (e.g., equals, contains). MatchOption MatchOption // contains filtered or unexported fields }
Represents a filter for listing bill estimate line items.
type ListBillEstimateLineItemsFilterName ¶
type ListBillEstimateLineItemsFilterName string
const ( ListBillEstimateLineItemsFilterNameUsageAccountId ListBillEstimateLineItemsFilterName = "USAGE_ACCOUNT_ID" ListBillEstimateLineItemsFilterNameServiceCode ListBillEstimateLineItemsFilterName = "SERVICE_CODE" ListBillEstimateLineItemsFilterNameUsageType ListBillEstimateLineItemsFilterName = "USAGE_TYPE" ListBillEstimateLineItemsFilterNameOperation ListBillEstimateLineItemsFilterName = "OPERATION" ListBillEstimateLineItemsFilterNameLocation ListBillEstimateLineItemsFilterName = "LOCATION" ListBillEstimateLineItemsFilterNameLineItemType ListBillEstimateLineItemsFilterName = "LINE_ITEM_TYPE" )
Enum values for ListBillEstimateLineItemsFilterName
func (ListBillEstimateLineItemsFilterName) Values ¶
func (ListBillEstimateLineItemsFilterName) Values() []ListBillEstimateLineItemsFilterName
Values returns all known values for ListBillEstimateLineItemsFilterName. 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 ListBillEstimatesFilter ¶
type ListBillEstimatesFilter struct { // The name of the filter attribute. // // This member is required. Name ListBillEstimatesFilterName // The values to filter by. // // This member is required. Values []string // The match option for the filter (e.g., equals, contains). MatchOption MatchOption // contains filtered or unexported fields }
Represents a filter for listing bill estimates.
type ListBillEstimatesFilterName ¶
type ListBillEstimatesFilterName string
const ( ListBillEstimatesFilterNameStatus ListBillEstimatesFilterName = "STATUS" ListBillEstimatesFilterNameName ListBillEstimatesFilterName = "NAME" )
Enum values for ListBillEstimatesFilterName
func (ListBillEstimatesFilterName) Values ¶
func (ListBillEstimatesFilterName) Values() []ListBillEstimatesFilterName
Values returns all known values for ListBillEstimatesFilterName. 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 ListBillScenariosFilter ¶
type ListBillScenariosFilter struct { // The name of the filter attribute. // // This member is required. Name ListBillScenariosFilterName // The values to filter by. // // This member is required. Values []string // The match option for the filter (e.g., equals, contains). MatchOption MatchOption // contains filtered or unexported fields }
Represents a filter for listing bill scenarios.
type ListBillScenariosFilterName ¶
type ListBillScenariosFilterName string
const ( ListBillScenariosFilterNameStatus ListBillScenariosFilterName = "STATUS" ListBillScenariosFilterNameName ListBillScenariosFilterName = "NAME" )
Enum values for ListBillScenariosFilterName
func (ListBillScenariosFilterName) Values ¶
func (ListBillScenariosFilterName) Values() []ListBillScenariosFilterName
Values returns all known values for ListBillScenariosFilterName. 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 ListUsageFilter ¶
type ListUsageFilter struct { // The name of the filter attribute. // // This member is required. Name ListUsageFilterName // The values to filter by. // // This member is required. Values []string // The match option for the filter (e.g., equals, contains). MatchOption MatchOption // contains filtered or unexported fields }
Represents a filter for listing usage data.
type ListUsageFilterName ¶
type ListUsageFilterName string
const ( ListUsageFilterNameUsageAccountId ListUsageFilterName = "USAGE_ACCOUNT_ID" ListUsageFilterNameServiceCode ListUsageFilterName = "SERVICE_CODE" ListUsageFilterNameUsageType ListUsageFilterName = "USAGE_TYPE" ListUsageFilterNameOperation ListUsageFilterName = "OPERATION" ListUsageFilterNameLocation ListUsageFilterName = "LOCATION" ListUsageFilterNameUsageGroup ListUsageFilterName = "USAGE_GROUP" ListUsageFilterNameHistoricalUsageAccountId ListUsageFilterName = "HISTORICAL_USAGE_ACCOUNT_ID" ListUsageFilterNameHistoricalServiceCode ListUsageFilterName = "HISTORICAL_SERVICE_CODE" ListUsageFilterNameHistoricalUsageType ListUsageFilterName = "HISTORICAL_USAGE_TYPE" ListUsageFilterNameHistoricalOperation ListUsageFilterName = "HISTORICAL_OPERATION" ListUsageFilterNameHistoricalLocation ListUsageFilterName = "HISTORICAL_LOCATION" )
Enum values for ListUsageFilterName
func (ListUsageFilterName) Values ¶
func (ListUsageFilterName) Values() []ListUsageFilterName
Values returns all known values for ListUsageFilterName. 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 ListWorkloadEstimatesFilter ¶
type ListWorkloadEstimatesFilter struct { // The name of the filter attribute. // // This member is required. Name ListWorkloadEstimatesFilterName // The values to filter by. // // This member is required. Values []string // The match option for the filter (e.g., equals, contains). MatchOption MatchOption // contains filtered or unexported fields }
Represents a filter for listing workload estimates.
type ListWorkloadEstimatesFilterName ¶
type ListWorkloadEstimatesFilterName string
const ( ListWorkloadEstimatesFilterNameStatus ListWorkloadEstimatesFilterName = "STATUS" ListWorkloadEstimatesFilterNameName ListWorkloadEstimatesFilterName = "NAME" )
Enum values for ListWorkloadEstimatesFilterName
func (ListWorkloadEstimatesFilterName) Values ¶
func (ListWorkloadEstimatesFilterName) Values() []ListWorkloadEstimatesFilterName
Values returns all known values for ListWorkloadEstimatesFilterName. 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 MatchOption ¶
type MatchOption string
const ( MatchOptionEquals MatchOption = "EQUALS" MatchOptionStartsWith MatchOption = "STARTS_WITH" MatchOptionContains MatchOption = "CONTAINS" )
Enum values for MatchOption
func (MatchOption) Values ¶
func (MatchOption) Values() []MatchOption
Values returns all known values for MatchOption. 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 NegateReservedInstanceAction ¶
type NegateReservedInstanceAction struct { // The ID of the Reserved Instance to remove. ReservedInstancesId *string // contains filtered or unexported fields }
Represents an action to remove a Reserved Instance from a bill scenario.
This is the ID of an existing Reserved Instance in your account.
type NegateSavingsPlanAction ¶
type NegateSavingsPlanAction struct { // The ID of the Savings Plan to remove. SavingsPlanId *string // contains filtered or unexported fields }
Represents an action to remove a Savings Plan from a bill scenario.
This is the ID of an existing Savings Plan in your account.
type PurchaseAgreementType ¶
type PurchaseAgreementType string
const ( PurchaseAgreementTypeSavingsPlans PurchaseAgreementType = "SAVINGS_PLANS" PurchaseAgreementTypeReservedInstance PurchaseAgreementType = "RESERVED_INSTANCE" )
Enum values for PurchaseAgreementType
func (PurchaseAgreementType) Values ¶
func (PurchaseAgreementType) Values() []PurchaseAgreementType
Values returns all known values for PurchaseAgreementType. 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 RateType ¶
type RateType string
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *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 (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type ServiceQuotaExceededException ¶
type ServiceQuotaExceededException struct { Message *string ErrorCodeOverride *string ResourceId *string ResourceType *string ServiceCode *string QuotaCode *string // contains filtered or unexported fields }
The request would cause you to exceed your service quota.
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 ThrottlingException ¶
type ThrottlingException struct { Message *string ErrorCodeOverride *string ServiceCode *string QuotaCode *string RetryAfterSeconds *int32 // contains filtered or unexported fields }
The 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 UsageAmount ¶
type UsageAmount struct { // The usage amount for the period. // // This member is required. Amount *float64 // The start hour of the usage period. // // This member is required. StartHour *time.Time // contains filtered or unexported fields }
Represents a usage amount for a specific time period.
type UsageQuantity ¶
type UsageQuantity struct { // The numeric value of the usage quantity. Amount *float64 // The start hour of the usage period. StartHour *time.Time // The unit of measurement for the usage quantity. Unit *string // contains filtered or unexported fields }
Represents a usage quantity with associated unit and time period.
type UsageQuantityResult ¶
type UsageQuantityResult struct { // The numeric value of the usage quantity result. Amount *float64 // The unit of measurement for the usage quantity result. Unit *string // contains filtered or unexported fields }
Represents the result of a usage quantity calculation.
type ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string Reason ValidationExceptionReason FieldList []ValidationExceptionField // contains filtered or unexported fields }
The input provided fails to satisfy the constraints specified by an Amazon Web
Services 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 { // The error message describing why the field failed validation. // // This member is required. Message *string // The name of the field that failed validation. // // This member is required. Name *string // contains filtered or unexported fields }
Represents a field that failed validation in a request.
type ValidationExceptionReason ¶
type ValidationExceptionReason string
const ( ValidationExceptionReasonUnknownOperation ValidationExceptionReason = "unknownOperation" ValidationExceptionReasonCannotParse ValidationExceptionReason = "cannotParse" ValidationExceptionReasonFieldValidationFailed ValidationExceptionReason = "fieldValidationFailed" ValidationExceptionReasonInvalidRequestFromMember ValidationExceptionReason = "invalidRequestFromMember" ValidationExceptionReasonDisallowedRate ValidationExceptionReason = "disallowedRate" ValidationExceptionReasonOther ValidationExceptionReason = "other" )
Enum values for ValidationExceptionReason
func (ValidationExceptionReason) Values ¶
func (ValidationExceptionReason) Values() []ValidationExceptionReason
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 WorkloadEstimateCostStatus ¶
type WorkloadEstimateCostStatus string
const ( WorkloadEstimateCostStatusValid WorkloadEstimateCostStatus = "VALID" WorkloadEstimateCostStatusInvalid WorkloadEstimateCostStatus = "INVALID" WorkloadEstimateCostStatusStale WorkloadEstimateCostStatus = "STALE" )
Enum values for WorkloadEstimateCostStatus
func (WorkloadEstimateCostStatus) Values ¶
func (WorkloadEstimateCostStatus) Values() []WorkloadEstimateCostStatus
Values returns all known values for WorkloadEstimateCostStatus. 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 WorkloadEstimateRateType ¶
type WorkloadEstimateRateType string
const ( WorkloadEstimateRateTypeBeforeDiscounts WorkloadEstimateRateType = "BEFORE_DISCOUNTS" WorkloadEstimateRateTypeAfterDiscounts WorkloadEstimateRateType = "AFTER_DISCOUNTS" )
Enum values for WorkloadEstimateRateType
func (WorkloadEstimateRateType) Values ¶
func (WorkloadEstimateRateType) Values() []WorkloadEstimateRateType
Values returns all known values for WorkloadEstimateRateType. 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 WorkloadEstimateStatus ¶
type WorkloadEstimateStatus string
const ( WorkloadEstimateStatusUpdating WorkloadEstimateStatus = "UPDATING" WorkloadEstimateStatusValid WorkloadEstimateStatus = "VALID" WorkloadEstimateStatusInvalid WorkloadEstimateStatus = "INVALID" WorkloadEstimateStatusActionNeeded WorkloadEstimateStatus = "ACTION_NEEDED" )
Enum values for WorkloadEstimateStatus
func (WorkloadEstimateStatus) Values ¶
func (WorkloadEstimateStatus) Values() []WorkloadEstimateStatus
Values returns all known values for WorkloadEstimateStatus. 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 WorkloadEstimateSummary ¶
type WorkloadEstimateSummary struct { // The unique identifier of the workload estimate. // // This member is required. Id *string // The currency of the estimated cost. CostCurrency CurrencyCode // The timestamp when the workload estimate was created. CreatedAt *time.Time // The timestamp when the workload estimate will expire. ExpiresAt *time.Time // An error message if the workload estimate creation or processing failed. FailureMessage *string // The name of the workload estimate. Name *string // The timestamp of the pricing rates used for the estimate. RateTimestamp *time.Time // The type of pricing rates used for the estimate. RateType WorkloadEstimateRateType // The current status of the workload estimate. Status WorkloadEstimateStatus // The total estimated cost for the workload. TotalCost *float64 // contains filtered or unexported fields }
Provides a summary of a workload estimate.
type WorkloadEstimateUpdateUsageErrorCode ¶
type WorkloadEstimateUpdateUsageErrorCode string
const ( WorkloadEstimateUpdateUsageErrorCodeBadRequest WorkloadEstimateUpdateUsageErrorCode = "BAD_REQUEST" WorkloadEstimateUpdateUsageErrorCodeNotFound WorkloadEstimateUpdateUsageErrorCode = "NOT_FOUND" WorkloadEstimateUpdateUsageErrorCodeConflict WorkloadEstimateUpdateUsageErrorCode = "CONFLICT" WorkloadEstimateUpdateUsageErrorCodeInternalServerError WorkloadEstimateUpdateUsageErrorCode = "INTERNAL_SERVER_ERROR" )
Enum values for WorkloadEstimateUpdateUsageErrorCode
func (WorkloadEstimateUpdateUsageErrorCode) Values ¶
func (WorkloadEstimateUpdateUsageErrorCode) Values() []WorkloadEstimateUpdateUsageErrorCode
Values returns all known values for WorkloadEstimateUpdateUsageErrorCode. 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 WorkloadEstimateUsageItem ¶
type WorkloadEstimateUsageItem struct { // The specific operation associated with this usage item. // // This member is required. Operation *string // The Amazon Web Services service code associated with this usage item. // // This member is required. ServiceCode *string // The type of usage for this item. // // This member is required. UsageType *string // The estimated cost for this usage item. Cost *float64 // The currency of the estimated cost. Currency CurrencyCode // The group identifier for this usage item. Group *string // Historical usage data associated with this item, if available. HistoricalUsage *HistoricalUsageEntity // The unique identifier of this usage item. Id *string // The location associated with this usage item. Location *string // The estimated usage quantity for this item. Quantity *WorkloadEstimateUsageQuantity // The current status of this usage item. Status WorkloadEstimateCostStatus // The Amazon Web Services account ID associated with this usage item. UsageAccountId *string // contains filtered or unexported fields }
Represents a usage item in a workload estimate.
type WorkloadEstimateUsageQuantity ¶
type WorkloadEstimateUsageQuantity struct { // The numeric value of the usage quantity. Amount *float64 // The unit of measurement for the usage quantity. Unit *string // contains filtered or unexported fields }
Represents a usage quantity for a workload estimate.