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

    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
      }

        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
        }

          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 (*ResourceNotFoundException) ErrorMessage

            func (e *ResourceNotFoundException) ErrorMessage() string

            type SavingsPlan

            type SavingsPlan struct {
            
            	// The hourly commitment, in USD.
            	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 AWS Region.
            	Region *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 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
            }

              Information about a Savings Plan.

              type SavingsPlanFilter

              type SavingsPlanFilter struct {
              
              	// The filter name.
              	Name SavingsPlansFilterName
              
              	// The filter value.
              	Values []string
              }

                Information about a 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 AWS 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
                }

                  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

                      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
                      }

                        Information about a filter.

                        type SavingsPlanOfferingProperty

                        type SavingsPlanOfferingProperty struct {
                        
                        	// The property name.
                        	Name SavingsPlanOfferingPropertyKey
                        
                        	// The property value.
                        	Value *string
                        }

                          Information about a property.

                          type SavingsPlanOfferingPropertyKey

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

                            Enum values for SavingsPlanOfferingPropertyKey

                            func (SavingsPlanOfferingPropertyKey) Values

                              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 AWS 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
                              }

                                Information about a Savings Plan offering rate.

                                type SavingsPlanOfferingRateFilterElement

                                type SavingsPlanOfferingRateFilterElement struct {
                                
                                	// The filter name.
                                	Name SavingsPlanRateFilterAttribute
                                
                                	// The filter values.
                                	Values []string
                                }

                                  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 (
                                    	SavingsPlanPaymentOptionAllUpfront     SavingsPlanPaymentOption = "All Upfront"
                                    	SavingsPlanPaymentOptionPartialUpfront SavingsPlanPaymentOption = "Partial Upfront"
                                    	SavingsPlanPaymentOptionNoUpfront      SavingsPlanPaymentOption = "No Upfront"
                                    )

                                      Enum values for SavingsPlanPaymentOption

                                      func (SavingsPlanPaymentOption) Values

                                        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"
                                        )

                                          Enum values for SavingsPlanProductType

                                          func (SavingsPlanProductType) Values

                                            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 AWS 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
                                            }

                                              Information about a Savings Plan rate.

                                              type SavingsPlanRateFilter

                                              type SavingsPlanRateFilter struct {
                                              
                                              	// The filter name.
                                              	Name SavingsPlanRateFilterName
                                              
                                              	// The filter values.
                                              	Values []string
                                              }

                                                Information about a 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

                                                    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

                                                        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
                                                        }

                                                          Information about a 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

                                                              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"
                                                              	SavingsPlanRateServiceCodeLambda  SavingsPlanRateServiceCode = "AWSLambda"
                                                              )

                                                                Enum values for SavingsPlanRateServiceCode

                                                                func (SavingsPlanRateServiceCode) Values

                                                                  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

                                                                      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"
                                                                      )

                                                                        Enum values for SavingsPlanState

                                                                        func (SavingsPlanState) Values

                                                                          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"
                                                                          )

                                                                            Enum values for SavingsPlanType

                                                                            func (SavingsPlanType) Values

                                                                            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

                                                                                  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
                                                                                  }

                                                                                    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
                                                                                    }

                                                                                      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