types

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSRegion

type AWSRegion string
const (
	AWSRegionUs_standard         AWSRegion = "us-east-1"
	AWSRegionNorthern_california AWSRegion = "us-west-1"
	AWSRegionOregon              AWSRegion = "us-west-2"
	AWSRegionFrankfurt           AWSRegion = "eu-central-1"
	AWSRegionIreland             AWSRegion = "eu-west-1"
	AWSRegionSingapore           AWSRegion = "ap-southeast-1"
	AWSRegionSydney              AWSRegion = "ap-southeast-2"
	AWSRegionTokyo               AWSRegion = "ap-northeast-1"
	AWSRegionStockholm           AWSRegion = "eu-north-1"
	AWSRegionOsaka               AWSRegion = "ap-northeast-3"
	AWSRegionHong_kong           AWSRegion = "ap-east-1"
)

Enum values for AWSRegion

type AdditionalArtifact

type AdditionalArtifact string
const (
	AdditionalArtifactRedshift   AdditionalArtifact = "REDSHIFT"
	AdditionalArtifactQuicksight AdditionalArtifact = "QUICKSIGHT"
	AdditionalArtifactAthena     AdditionalArtifact = "ATHENA"
)

Enum values for AdditionalArtifact

type CompressionFormat

type CompressionFormat string
const (
	CompressionFormatZip     CompressionFormat = "ZIP"
	CompressionFormatGzip    CompressionFormat = "GZIP"
	CompressionFormatParquet CompressionFormat = "Parquet"
)

Enum values for CompressionFormat

type DuplicateReportNameException

type DuplicateReportNameException struct {
	Message *string
}

A report with the specified name already exists in the account. Specify a different report name.

func (*DuplicateReportNameException) Error

func (*DuplicateReportNameException) ErrorCode

func (e *DuplicateReportNameException) ErrorCode() string

func (*DuplicateReportNameException) ErrorFault

func (*DuplicateReportNameException) ErrorMessage

func (e *DuplicateReportNameException) ErrorMessage() string

type InternalErrorException

type InternalErrorException struct {
	Message *string
}

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

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

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

type ReportLimitReachedException

type ReportLimitReachedException struct {
	Message *string
}

This account already has five reports defined. To define a new report, you must delete an existing report.

func (*ReportLimitReachedException) Error

func (*ReportLimitReachedException) ErrorCode

func (e *ReportLimitReachedException) ErrorCode() string

func (*ReportLimitReachedException) ErrorFault

func (*ReportLimitReachedException) ErrorMessage

func (e *ReportLimitReachedException) ErrorMessage() string

type ReportVersioning

type ReportVersioning string
const (
	ReportVersioningCreate_new_report ReportVersioning = "CREATE_NEW_REPORT"
	ReportVersioningOverwrite_report  ReportVersioning = "OVERWRITE_REPORT"
)

Enum values for ReportVersioning

type SchemaElement

type SchemaElement string
const (
	SchemaElementResources SchemaElement = "RESOURCES"
)

Enum values for SchemaElement

type TimeUnit

type TimeUnit string
const (
	TimeUnitHourly TimeUnit = "HOURLY"
	TimeUnitDaily  TimeUnit = "DAILY"
)

Enum values for TimeUnit

type ValidationException

type ValidationException struct {
	Message *string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL