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 (134 lines) | stat: -rw-r--r-- 4,436 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
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type CanaryRunState string

// Enum values for CanaryRunState
const (
	CanaryRunStateRunning CanaryRunState = "RUNNING"
	CanaryRunStatePassed  CanaryRunState = "PASSED"
	CanaryRunStateFailed  CanaryRunState = "FAILED"
)

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

type CanaryRunStateReasonCode string

// Enum values for CanaryRunStateReasonCode
const (
	CanaryRunStateReasonCodeCanaryFailure    CanaryRunStateReasonCode = "CANARY_FAILURE"
	CanaryRunStateReasonCodeExecutionFailure CanaryRunStateReasonCode = "EXECUTION_FAILURE"
)

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

type CanaryState string

// Enum values for CanaryState
const (
	CanaryStateCreating CanaryState = "CREATING"
	CanaryStateReady    CanaryState = "READY"
	CanaryStateStarting CanaryState = "STARTING"
	CanaryStateRunning  CanaryState = "RUNNING"
	CanaryStateUpdating CanaryState = "UPDATING"
	CanaryStateStopping CanaryState = "STOPPING"
	CanaryStateStopped  CanaryState = "STOPPED"
	CanaryStateError    CanaryState = "ERROR"
	CanaryStateDeleting CanaryState = "DELETING"
)

// Values returns all known values for CanaryState. 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 (CanaryState) Values() []CanaryState {
	return []CanaryState{
		"CREATING",
		"READY",
		"STARTING",
		"RUNNING",
		"UPDATING",
		"STOPPING",
		"STOPPED",
		"ERROR",
		"DELETING",
	}
}

type CanaryStateReasonCode string

// Enum values for CanaryStateReasonCode
const (
	CanaryStateReasonCodeInvalidPermissions   CanaryStateReasonCode = "INVALID_PERMISSIONS"
	CanaryStateReasonCodeCreatePending        CanaryStateReasonCode = "CREATE_PENDING"
	CanaryStateReasonCodeCreateInProgress     CanaryStateReasonCode = "CREATE_IN_PROGRESS"
	CanaryStateReasonCodeCreateFailed         CanaryStateReasonCode = "CREATE_FAILED"
	CanaryStateReasonCodeUpdatePending        CanaryStateReasonCode = "UPDATE_PENDING"
	CanaryStateReasonCodeUpdateInProgress     CanaryStateReasonCode = "UPDATE_IN_PROGRESS"
	CanaryStateReasonCodeUpdateComplete       CanaryStateReasonCode = "UPDATE_COMPLETE"
	CanaryStateReasonCodeRollbackComplete     CanaryStateReasonCode = "ROLLBACK_COMPLETE"
	CanaryStateReasonCodeRollbackFailed       CanaryStateReasonCode = "ROLLBACK_FAILED"
	CanaryStateReasonCodeDeleteInProgress     CanaryStateReasonCode = "DELETE_IN_PROGRESS"
	CanaryStateReasonCodeDeleteFailed         CanaryStateReasonCode = "DELETE_FAILED"
	CanaryStateReasonCodeSyncDeleteInProgress CanaryStateReasonCode = "SYNC_DELETE_IN_PROGRESS"
)

// Values returns all known values for CanaryStateReasonCode. 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 (CanaryStateReasonCode) Values() []CanaryStateReasonCode {
	return []CanaryStateReasonCode{
		"INVALID_PERMISSIONS",
		"CREATE_PENDING",
		"CREATE_IN_PROGRESS",
		"CREATE_FAILED",
		"UPDATE_PENDING",
		"UPDATE_IN_PROGRESS",
		"UPDATE_COMPLETE",
		"ROLLBACK_COMPLETE",
		"ROLLBACK_FAILED",
		"DELETE_IN_PROGRESS",
		"DELETE_FAILED",
		"SYNC_DELETE_IN_PROGRESS",
	}
}

type EncryptionMode string

// Enum values for EncryptionMode
const (
	EncryptionModeSseS3  EncryptionMode = "SSE_S3"
	EncryptionModeSseKms EncryptionMode = "SSE_KMS"
)

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