1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
)
// 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 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
noSmithyDocumentSerde
}
// 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 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
noSmithyDocumentSerde
}
// Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a
// report definition.
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
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|