File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.17.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 384,244 kB
  • sloc: java: 13,538; makefile: 400; sh: 137
file content (103 lines) | stat: -rw-r--r-- 2,975 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
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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type DimensionValueType string

// Enum values for DimensionValueType
const (
	DimensionValueTypeVarchar DimensionValueType = "VARCHAR"
)

// Values returns all known values for DimensionValueType. 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 (DimensionValueType) Values() []DimensionValueType {
	return []DimensionValueType{
		"VARCHAR",
	}
}

type MeasureValueType string

// Enum values for MeasureValueType
const (
	MeasureValueTypeDouble    MeasureValueType = "DOUBLE"
	MeasureValueTypeBigint    MeasureValueType = "BIGINT"
	MeasureValueTypeVarchar   MeasureValueType = "VARCHAR"
	MeasureValueTypeBoolean   MeasureValueType = "BOOLEAN"
	MeasureValueTypeTimestamp MeasureValueType = "TIMESTAMP"
	MeasureValueTypeMulti     MeasureValueType = "MULTI"
)

// Values returns all known values for MeasureValueType. 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 (MeasureValueType) Values() []MeasureValueType {
	return []MeasureValueType{
		"DOUBLE",
		"BIGINT",
		"VARCHAR",
		"BOOLEAN",
		"TIMESTAMP",
		"MULTI",
	}
}

type S3EncryptionOption string

// Enum values for S3EncryptionOption
const (
	S3EncryptionOptionSseS3  S3EncryptionOption = "SSE_S3"
	S3EncryptionOptionSseKms S3EncryptionOption = "SSE_KMS"
)

// Values returns all known values for S3EncryptionOption. 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 (S3EncryptionOption) Values() []S3EncryptionOption {
	return []S3EncryptionOption{
		"SSE_S3",
		"SSE_KMS",
	}
}

type TableStatus string

// Enum values for TableStatus
const (
	TableStatusActive   TableStatus = "ACTIVE"
	TableStatusDeleting TableStatus = "DELETING"
)

// Values returns all known values for TableStatus. 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 (TableStatus) Values() []TableStatus {
	return []TableStatus{
		"ACTIVE",
		"DELETING",
	}
}

type TimeUnit string

// Enum values for TimeUnit
const (
	TimeUnitMilliseconds TimeUnit = "MILLISECONDS"
	TimeUnitSeconds      TimeUnit = "SECONDS"
	TimeUnitMicroseconds TimeUnit = "MICROSECONDS"
	TimeUnitNanoseconds  TimeUnit = "NANOSECONDS"
)

// 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{
		"MILLISECONDS",
		"SECONDS",
		"MICROSECONDS",
		"NANOSECONDS",
	}
}