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 (106 lines) | stat: -rw-r--r-- 3,151 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
104
105
106
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type FixedPosition string

// Enum values for FixedPosition
const (
	FixedPositionFirst FixedPosition = "first"
)

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

type FormActionType string

// Enum values for FormActionType
const (
	FormActionTypeCreate FormActionType = "create"
	FormActionTypeUpdate FormActionType = "update"
)

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

type FormButtonsPosition string

// Enum values for FormButtonsPosition
const (
	FormButtonsPositionTop          FormButtonsPosition = "top"
	FormButtonsPositionBottom       FormButtonsPosition = "bottom"
	FormButtonsPositionTopAndBottom FormButtonsPosition = "top_and_bottom"
)

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

type FormDataSourceType string

// Enum values for FormDataSourceType
const (
	// Will use a provided Amplify DataStore enabled API
	FormDataSourceTypeDatastore FormDataSourceType = "DataStore"
	// Will use passed in hooks to use when creating a form from scratch
	FormDataSourceTypeCustom FormDataSourceType = "Custom"
)

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

type SortDirection string

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

type TokenProviders string

// Enum values for TokenProviders
const (
	// The figma token provider.
	TokenProvidersFigma TokenProviders = "figma"
)

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