File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (78 lines) | stat: -rw-r--r-- 1,899 bytes parent folder | download
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
	"time"
)

// The configuration of a report in AWS Application Cost Profiler.
type ReportDefinition struct {

	// Timestamp (milliseconds) when this report definition was created.
	CreatedAt *time.Time

	// The location in Amazon Simple Storage Service (Amazon S3) the reports should be
	// saved to.
	DestinationS3Location *S3Location

	// The format used for the generated reports.
	Format Format

	// Timestamp (milliseconds) when this report definition was last updated.
	LastUpdatedAt *time.Time

	// Description of the report
	ReportDescription *string

	// The cadence at which the report is generated.
	ReportFrequency ReportFrequency

	// The ID of the report.
	ReportId *string

	noSmithyDocumentSerde
}

// Represents the Amazon Simple Storage Service (Amazon S3) location where AWS
// Application Cost Profiler reports are generated and then written to.
type S3Location struct {

	// Name of the S3 bucket.
	//
	// This member is required.
	Bucket *string

	// Prefix for the location to write to.
	//
	// This member is required.
	Prefix *string

	noSmithyDocumentSerde
}

// Represents the Amazon Simple Storage Service (Amazon S3) location where usage
// data is read from.
type SourceS3Location struct {

	// Name of the bucket.
	//
	// This member is required.
	Bucket *string

	// Key of the object.
	//
	// This member is required.
	Key *string

	// Region of the bucket. Only required for Regions that are disabled by default.
	// For more infomration about Regions that are disabled by default, see Enabling a
	// Region (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable)
	// in the AWS General Reference guide.
	Region S3BucketRegion

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde