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 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 ReportVersioning
- type SchemaElement
- 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 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 AWS uses for the report. // // This member is required. Compression CompressionFormat // The format that AWS 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 AWS delivers the report. // // This member is required. S3Bucket *string // The prefix that AWS adds to the report name when AWS delivers the report. Your // prefix can't include spaces. // // This member is required. S3Prefix *string // The region of the S3 bucket that AWS 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. You can get this value by using // the billing view service public APIs. 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 // 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 AWS 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 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 SchemaElement ¶
type SchemaElement string
const ( SchemaElementResources SchemaElement = "RESOURCES" SchemaElementSplitCostAllocationData SchemaElement = "SPLIT_COST_ALLOCATION_DATA" )
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 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 AWS 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.17.6
- Published
- Oct 6, 2023
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 3 hours ago –
Tools for package owners.