File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (217 lines) | stat: -rw-r--r-- 6,550 bytes parent folder | download | duplicates (3)
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type AdditionalArtifact string

// Enum values for AdditionalArtifact
const (
	AdditionalArtifactRedshift   AdditionalArtifact = "REDSHIFT"
	AdditionalArtifactQuicksight AdditionalArtifact = "QUICKSIGHT"
	AdditionalArtifactAthena     AdditionalArtifact = "ATHENA"
)

// 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.
func (AdditionalArtifact) Values() []AdditionalArtifact {
	return []AdditionalArtifact{
		"REDSHIFT",
		"QUICKSIGHT",
		"ATHENA",
	}
}

type AWSRegion string

// Enum values for AWSRegion
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"
)

// 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.
func (AWSRegion) Values() []AWSRegion {
	return []AWSRegion{
		"af-south-1",
		"ap-east-1",
		"ap-south-1",
		"ap-south-2",
		"ap-southeast-1",
		"ap-southeast-2",
		"ap-southeast-3",
		"ap-northeast-1",
		"ap-northeast-2",
		"ap-northeast-3",
		"ca-central-1",
		"eu-central-1",
		"eu-central-2",
		"eu-west-1",
		"eu-west-2",
		"eu-west-3",
		"eu-north-1",
		"eu-south-1",
		"eu-south-2",
		"me-central-1",
		"me-south-1",
		"sa-east-1",
		"us-east-1",
		"us-east-2",
		"us-west-1",
		"us-west-2",
		"cn-north-1",
		"cn-northwest-1",
	}
}

type CompressionFormat string

// Enum values for CompressionFormat
const (
	CompressionFormatZip     CompressionFormat = "ZIP"
	CompressionFormatGzip    CompressionFormat = "GZIP"
	CompressionFormatParquet CompressionFormat = "Parquet"
)

// 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.
func (CompressionFormat) Values() []CompressionFormat {
	return []CompressionFormat{
		"ZIP",
		"GZIP",
		"Parquet",
	}
}

type LastStatus string

// Enum values for LastStatus
const (
	LastStatusSuccess          LastStatus = "SUCCESS"
	LastStatusErrorPermissions LastStatus = "ERROR_PERMISSIONS"
	LastStatusErrorNoBucket    LastStatus = "ERROR_NO_BUCKET"
)

// Values returns all known values for LastStatus. 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.
func (LastStatus) Values() []LastStatus {
	return []LastStatus{
		"SUCCESS",
		"ERROR_PERMISSIONS",
		"ERROR_NO_BUCKET",
	}
}

type ReportFormat string

// Enum values for ReportFormat
const (
	ReportFormatCsv     ReportFormat = "textORcsv"
	ReportFormatParquet ReportFormat = "Parquet"
)

// 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.
func (ReportFormat) Values() []ReportFormat {
	return []ReportFormat{
		"textORcsv",
		"Parquet",
	}
}

type ReportVersioning string

// Enum values for ReportVersioning
const (
	ReportVersioningCreateNewReport ReportVersioning = "CREATE_NEW_REPORT"
	ReportVersioningOverwriteReport ReportVersioning = "OVERWRITE_REPORT"
)

// 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.
func (ReportVersioning) Values() []ReportVersioning {
	return []ReportVersioning{
		"CREATE_NEW_REPORT",
		"OVERWRITE_REPORT",
	}
}

type SchemaElement string

// Enum values for SchemaElement
const (
	SchemaElementResources                   SchemaElement = "RESOURCES"
	SchemaElementSplitCostAllocationData     SchemaElement = "SPLIT_COST_ALLOCATION_DATA"
	SchemaElementManualDiscountCompatibility SchemaElement = "MANUAL_DISCOUNT_COMPATIBILITY"
)

// 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.
func (SchemaElement) Values() []SchemaElement {
	return []SchemaElement{
		"RESOURCES",
		"SPLIT_COST_ALLOCATION_DATA",
		"MANUAL_DISCOUNT_COMPATIBILITY",
	}
}

type TimeUnit string

// Enum values for TimeUnit
const (
	TimeUnitHourly  TimeUnit = "HOURLY"
	TimeUnitDaily   TimeUnit = "DAILY"
	TimeUnitMonthly TimeUnit = "MONTHLY"
)

// 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.
func (TimeUnit) Values() []TimeUnit {
	return []TimeUnit{
		"HOURLY",
		"DAILY",
		"MONTHLY",
	}
}