package types
import "github.com/aws/aws-sdk-go-v2/service/costandusagereportservice/types"
Index ¶
- type AWSRegion
- type AdditionalArtifact
- type CompressionFormat
- type DuplicateReportNameException
- func (e *DuplicateReportNameException) Error() string
- func (e *DuplicateReportNameException) ErrorCode() string
- func (e *DuplicateReportNameException) ErrorFault() smithy.ErrorFault
- func (e *DuplicateReportNameException) ErrorMessage() string
- type InternalErrorException
- func (e *InternalErrorException) Error() string
- func (e *InternalErrorException) ErrorCode() string
- func (e *InternalErrorException) ErrorFault() smithy.ErrorFault
- func (e *InternalErrorException) ErrorMessage() string
- type LastStatus
- type ReportDefinition
- type ReportFormat
- type ReportLimitReachedException
- func (e *ReportLimitReachedException) Error() string
- func (e *ReportLimitReachedException) ErrorCode() string
- func (e *ReportLimitReachedException) ErrorFault() smithy.ErrorFault
- func (e *ReportLimitReachedException) ErrorMessage() string
- type ReportStatus
- type ReportVersioning
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- type SchemaElement
- type Tag
- type TimeUnit
- type ValidationException
Types ¶
type AWSRegion ¶
type AWSRegion string
const ( AWSRegionCapeTown AWSRegion = "af-south-1" AWSRegionHongKong AWSRegion = "ap-east-1" AWSRegionMumbai AWSRegion = "ap-south-1" AWSRegionHyderabad AWSRegion = "ap-south-2" AWSRegionSingapore AWSRegion = "ap-southeast-1" AWSRegionSydney AWSRegion = "ap-southeast-2" AWSRegionJakarta AWSRegion = "ap-southeast-3" AWSRegionTokyo AWSRegion = "ap-northeast-1" AWSRegionSeoul AWSRegion = "ap-northeast-2" AWSRegionOsaka AWSRegion = "ap-northeast-3" AWSRegionCanadaCentral AWSRegion = "ca-central-1" AWSRegionFrankfurt AWSRegion = "eu-central-1" AWSRegionZurich AWSRegion = "eu-central-2" AWSRegionIreland AWSRegion = "eu-west-1" AWSRegionLondon AWSRegion = "eu-west-2" AWSRegionParis AWSRegion = "eu-west-3" AWSRegionStockholm AWSRegion = "eu-north-1" AWSRegionMilano AWSRegion = "eu-south-1" AWSRegionSpain AWSRegion = "eu-south-2" AWSRegionUae AWSRegion = "me-central-1" AWSRegionBahrain AWSRegion = "me-south-1" AWSRegionSaoPaulo AWSRegion = "sa-east-1" AWSRegionUsStandard AWSRegion = "us-east-1" AWSRegionOhio AWSRegion = "us-east-2" AWSRegionNorthernCalifornia AWSRegion = "us-west-1" AWSRegionOregon AWSRegion = "us-west-2" AWSRegionBeijing AWSRegion = "cn-north-1" AWSRegionNingxia AWSRegion = "cn-northwest-1" )
Enum values for AWSRegion
func (AWSRegion) Values ¶
Values returns all known values for AWSRegion. 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 AdditionalArtifact ¶
type AdditionalArtifact string
const ( AdditionalArtifactRedshift AdditionalArtifact = "REDSHIFT" AdditionalArtifactQuicksight AdditionalArtifact = "QUICKSIGHT" AdditionalArtifactAthena AdditionalArtifact = "ATHENA" )
Enum values for AdditionalArtifact
func (AdditionalArtifact) Values ¶
func (AdditionalArtifact) Values() []AdditionalArtifact
Values returns all known values for AdditionalArtifact. 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 CompressionFormat ¶
type CompressionFormat string
const ( CompressionFormatZip CompressionFormat = "ZIP" CompressionFormatGzip CompressionFormat = "GZIP" CompressionFormatParquet CompressionFormat = "Parquet" )
Enum values for CompressionFormat
func (CompressionFormat) Values ¶
func (CompressionFormat) Values() []CompressionFormat
Values returns all known values for CompressionFormat. 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 DuplicateReportNameException ¶
type DuplicateReportNameException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
A report with the specified name already exists in the account. Specify a different report name.
func (*DuplicateReportNameException) Error ¶
func (e *DuplicateReportNameException) Error() string
func (*DuplicateReportNameException) ErrorCode ¶
func (e *DuplicateReportNameException) ErrorCode() string
func (*DuplicateReportNameException) ErrorFault ¶
func (e *DuplicateReportNameException) ErrorFault() smithy.ErrorFault
func (*DuplicateReportNameException) ErrorMessage ¶
func (e *DuplicateReportNameException) ErrorMessage() string
type InternalErrorException ¶
type InternalErrorException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
An error on the server occurred during the processing of your request. Try again later.
func (*InternalErrorException) Error ¶
func (e *InternalErrorException) Error() string
func (*InternalErrorException) ErrorCode ¶
func (e *InternalErrorException) ErrorCode() string
func (*InternalErrorException) ErrorFault ¶
func (e *InternalErrorException) ErrorFault() smithy.ErrorFault
func (*InternalErrorException) ErrorMessage ¶
func (e *InternalErrorException) ErrorMessage() string
type LastStatus ¶
type LastStatus string
const ( LastStatusSuccess LastStatus = "SUCCESS" LastStatusErrorPermissions LastStatus = "ERROR_PERMISSIONS" LastStatusErrorNoBucket LastStatus = "ERROR_NO_BUCKET" )
Enum values for LastStatus
func (LastStatus) Values ¶
func (LastStatus) Values() []LastStatus
Values returns all known values for LastStatus. 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 ReportDefinition ¶
type ReportDefinition struct { // A list of strings that indicate additional content that Amazon Web Services // includes in the report, such as individual resource IDs. // // This member is required. AdditionalSchemaElements []SchemaElement // The compression format that Amazon Web Services uses for the report. // // This member is required. Compression CompressionFormat // The format that Amazon Web Services saves the report in. // // This member is required. Format ReportFormat // The name of the report that you want to create. The name must be unique, is // case sensitive, and can't include spaces. // // This member is required. ReportName *string // The S3 bucket where Amazon Web Services delivers the report. // // This member is required. S3Bucket *string // The prefix that Amazon Web Services adds to the report name when Amazon Web // Services delivers the report. Your prefix can't include spaces. // // This member is required. S3Prefix *string // The region of the S3 bucket that Amazon Web Services delivers the report into. // // This member is required. S3Region AWSRegion // The length of time covered by the report. // // This member is required. TimeUnit TimeUnit // A list of manifests that you want Amazon Web Services to create for this report. AdditionalArtifacts []AdditionalArtifact // The Amazon resource name of the billing view. The BillingViewArn is needed to // create Amazon Web Services Cost and Usage Report for each billing group // maintained in the Amazon Web Services Billing Conductor service. The // BillingViewArn for a billing group can be constructed as: // arn:aws:billing::payer-account-id:billingview/billing-group-primary-account-id BillingViewArn *string // Whether you want Amazon Web Services to update your reports after they have // been finalized if Amazon Web Services detects charges related to previous // months. These charges can include refunds, credits, or support fees. RefreshClosedReports *bool // The status of the report. ReportStatus *ReportStatus // Whether you want Amazon Web Services to overwrite the previous version of each // report or to deliver the report in addition to the previous versions. ReportVersioning ReportVersioning // contains filtered or unexported fields }
The definition of Amazon Web Services Cost and Usage Report. You can specify the report name, time unit, report format, compression format, S3 bucket, additional artifacts, and schema elements in the definition.
type ReportFormat ¶
type ReportFormat string
const ( ReportFormatCsv ReportFormat = "textORcsv" ReportFormatParquet ReportFormat = "Parquet" )
Enum values for ReportFormat
func (ReportFormat) Values ¶
func (ReportFormat) Values() []ReportFormat
Values returns all known values for ReportFormat. 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 ReportLimitReachedException ¶
type ReportLimitReachedException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
This account already has five reports defined. To define a new report, you must delete an existing report.
func (*ReportLimitReachedException) Error ¶
func (e *ReportLimitReachedException) Error() string
func (*ReportLimitReachedException) ErrorCode ¶
func (e *ReportLimitReachedException) ErrorCode() string
func (*ReportLimitReachedException) ErrorFault ¶
func (e *ReportLimitReachedException) ErrorFault() smithy.ErrorFault
func (*ReportLimitReachedException) ErrorMessage ¶
func (e *ReportLimitReachedException) ErrorMessage() string
type ReportStatus ¶
type ReportStatus struct { // A timestamp that gives the date of a report delivery. LastDelivery *string // An enum that gives the status of a report delivery. LastStatus LastStatus // contains filtered or unexported fields }
A two element dictionary with a lastDelivery and lastStatus key whose values describe the date and status of the last delivered report for a particular report definition.
type ReportVersioning ¶
type ReportVersioning string
const ( ReportVersioningCreateNewReport ReportVersioning = "CREATE_NEW_REPORT" ReportVersioningOverwriteReport ReportVersioning = "OVERWRITE_REPORT" )
Enum values for ReportVersioning
func (ReportVersioning) Values ¶
func (ReportVersioning) Values() []ReportVersioning
Values returns all known values for ReportVersioning. 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 ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The specified report ( ReportName ) in the request doesn't exist.
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 SchemaElement ¶
type SchemaElement string
const ( SchemaElementResources SchemaElement = "RESOURCES" SchemaElementSplitCostAllocationData SchemaElement = "SPLIT_COST_ALLOCATION_DATA" SchemaElementManualDiscountCompatibility SchemaElement = "MANUAL_DISCOUNT_COMPATIBILITY" )
Enum values for SchemaElement
func (SchemaElement) Values ¶
func (SchemaElement) Values() []SchemaElement
Values returns all known values for SchemaElement. 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 Tag ¶
type Tag struct { // The key of the tag. Tag keys are case sensitive. Each report definition can // only have up to one tag with the same key. If you try to add an existing tag // with the same key, the existing tag value will be updated to the new value. // // This member is required. Key *string // The value of the tag. Tag values are case-sensitive. This can be an empty // string. // // This member is required. Value *string // contains filtered or unexported fields }
Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a report definition.
type TimeUnit ¶
type TimeUnit string
const ( TimeUnitHourly TimeUnit = "HOURLY" TimeUnitDaily TimeUnit = "DAILY" TimeUnitMonthly TimeUnit = "MONTHLY" )
Enum values for TimeUnit
func (TimeUnit) Values ¶
Values returns all known values for TimeUnit. 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 ValidationException ¶
type ValidationException struct { Message *string ErrorCodeOverride *string // contains filtered or unexported fields }
The input 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
Source Files ¶
- Version
- v1.29.2 (latest)
- Published
- Apr 3, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 2 hours ago –
Tools for package owners.