Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSRegion

type AWSRegion string
const (
	AWSRegionCapeTown           AWSRegion = "af-south-1"
	AWSRegionHongKong           AWSRegion = "ap-east-1"
	AWSRegionMumbai             AWSRegion = "ap-south-1"
	AWSRegionSingapore          AWSRegion = "ap-southeast-1"
	AWSRegionSydney             AWSRegion = "ap-southeast-2"
	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"
	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"
	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

    func (AWSRegion) Values() []AWSRegion

      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

          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

              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
              }

                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

                      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
                        }

                          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 (
                          	ReportVersioningCreateNewReport ReportVersioning = "CREATE_NEW_REPORT"
                          	ReportVersioningOverwriteReport ReportVersioning = "OVERWRITE_REPORT"
                          )

                            Enum values for ReportVersioning

                            func (ReportVersioning) Values

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

                                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

                                    func (TimeUnit) Values() []TimeUnit

                                      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
                                      }

                                        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