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 218 219
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type IncidentRecordStatus string
// Enum values for IncidentRecordStatus
const (
IncidentRecordStatusOpen IncidentRecordStatus = "OPEN"
IncidentRecordStatusResolved IncidentRecordStatus = "RESOLVED"
)
// Values returns all known values for IncidentRecordStatus. 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 (IncidentRecordStatus) Values() []IncidentRecordStatus {
return []IncidentRecordStatus{
"OPEN",
"RESOLVED",
}
}
type ItemType string
// Enum values for ItemType
const (
ItemTypeAnalysis ItemType = "ANALYSIS"
ItemTypeIncident ItemType = "INCIDENT"
ItemTypeMetric ItemType = "METRIC"
ItemTypeParent ItemType = "PARENT"
ItemTypeAttachment ItemType = "ATTACHMENT"
ItemTypeOther ItemType = "OTHER"
ItemTypeAutomation ItemType = "AUTOMATION"
ItemTypeInvolvedResource ItemType = "INVOLVED_RESOURCE"
ItemTypeTask ItemType = "TASK"
)
// Values returns all known values for ItemType. 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 (ItemType) Values() []ItemType {
return []ItemType{
"ANALYSIS",
"INCIDENT",
"METRIC",
"PARENT",
"ATTACHMENT",
"OTHER",
"AUTOMATION",
"INVOLVED_RESOURCE",
"TASK",
}
}
type RegionStatus string
// Enum values for RegionStatus
const (
// All operations have completed successfully and the region is ready to use
RegionStatusActive RegionStatus = "ACTIVE"
// The region is in the process of being created.
RegionStatusCreating RegionStatus = "CREATING"
// The region is in the process of being deleted.
RegionStatusDeleting RegionStatus = "DELETING"
// The region is not healthy and we cannot automatically fix it.
RegionStatusFailed RegionStatus = "FAILED"
)
// Values returns all known values for RegionStatus. 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 (RegionStatus) Values() []RegionStatus {
return []RegionStatus{
"ACTIVE",
"CREATING",
"DELETING",
"FAILED",
}
}
type ReplicationSetStatus string
// Enum values for ReplicationSetStatus
const (
// All operations have completed successfully and the replication set is ready to
// use
ReplicationSetStatusActive ReplicationSetStatus = "ACTIVE"
// Replication set is in the process of being created.
ReplicationSetStatusCreating ReplicationSetStatus = "CREATING"
// Replication set is in the process of being updated.
ReplicationSetStatusUpdating ReplicationSetStatus = "UPDATING"
// Replication set is in the process of being deleted.
ReplicationSetStatusDeleting ReplicationSetStatus = "DELETING"
// Replication set is not healthy and we cannot fix it.
ReplicationSetStatusFailed ReplicationSetStatus = "FAILED"
)
// Values returns all known values for ReplicationSetStatus. 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 (ReplicationSetStatus) Values() []ReplicationSetStatus {
return []ReplicationSetStatus{
"ACTIVE",
"CREATING",
"UPDATING",
"DELETING",
"FAILED",
}
}
type ResourceType string
// Enum values for ResourceType
const (
ResourceTypeResponsePlan ResourceType = "RESPONSE_PLAN"
ResourceTypeIncidentRecord ResourceType = "INCIDENT_RECORD"
ResourceTypeTimelineEvent ResourceType = "TIMELINE_EVENT"
ResourceTypeReplicationSet ResourceType = "REPLICATION_SET"
ResourceTypeResourcePolicy ResourceType = "RESOURCE_POLICY"
)
// Values returns all known values for ResourceType. 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 (ResourceType) Values() []ResourceType {
return []ResourceType{
"RESPONSE_PLAN",
"INCIDENT_RECORD",
"TIMELINE_EVENT",
"REPLICATION_SET",
"RESOURCE_POLICY",
}
}
type ServiceCode string
// Enum values for ServiceCode
const (
ServiceCodeSsmIncidents ServiceCode = "ssm-incidents"
)
// Values returns all known values for ServiceCode. 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 (ServiceCode) Values() []ServiceCode {
return []ServiceCode{
"ssm-incidents",
}
}
type SortOrder string
// Enum values for SortOrder
const (
SortOrderAscending SortOrder = "ASCENDING"
SortOrderDescending SortOrder = "DESCENDING"
)
// Values returns all known values for SortOrder. 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 (SortOrder) Values() []SortOrder {
return []SortOrder{
"ASCENDING",
"DESCENDING",
}
}
type SsmTargetAccount string
// Enum values for SsmTargetAccount
const (
SsmTargetAccountResponsePlanOwnerAccount SsmTargetAccount = "RESPONSE_PLAN_OWNER_ACCOUNT"
SsmTargetAccountImpactedAccount SsmTargetAccount = "IMPACTED_ACCOUNT"
)
// Values returns all known values for SsmTargetAccount. 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 (SsmTargetAccount) Values() []SsmTargetAccount {
return []SsmTargetAccount{
"RESPONSE_PLAN_OWNER_ACCOUNT",
"IMPACTED_ACCOUNT",
}
}
type TimelineEventSort string
// Enum values for TimelineEventSort
const (
TimelineEventSortEventTime TimelineEventSort = "EVENT_TIME"
)
// Values returns all known values for TimelineEventSort. 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 (TimelineEventSort) Values() []TimelineEventSort {
return []TimelineEventSort{
"EVENT_TIME",
}
}
type VariableType string
// Enum values for VariableType
const (
VariableTypeIncidentRecordArn VariableType = "INCIDENT_RECORD_ARN"
VariableTypeInvolvedResources VariableType = "INVOLVED_RESOURCES"
)
// Values returns all known values for VariableType. 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 (VariableType) Values() []VariableType {
return []VariableType{
"INCIDENT_RECORD_ARN",
"INVOLVED_RESOURCES",
}
}
|