1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type IncidentRecordStatus string 6 7// Enum values for IncidentRecordStatus 8const ( 9 IncidentRecordStatusOpen IncidentRecordStatus = "OPEN" 10 IncidentRecordStatusResolved IncidentRecordStatus = "RESOLVED" 11) 12 13// Values returns all known values for IncidentRecordStatus. Note that this can be 14// expanded in the future, and so it is only as up to date as the client. The 15// ordering of this slice is not guaranteed to be stable across updates. 16func (IncidentRecordStatus) Values() []IncidentRecordStatus { 17 return []IncidentRecordStatus{ 18 "OPEN", 19 "RESOLVED", 20 } 21} 22 23type ItemType string 24 25// Enum values for ItemType 26const ( 27 ItemTypeAnalysis ItemType = "ANALYSIS" 28 ItemTypeIncident ItemType = "INCIDENT" 29 ItemTypeMetric ItemType = "METRIC" 30 ItemTypeParent ItemType = "PARENT" 31 ItemTypeAttachment ItemType = "ATTACHMENT" 32 ItemTypeOther ItemType = "OTHER" 33) 34 35// Values returns all known values for ItemType. Note that this can be expanded in 36// the future, and so it is only as up to date as the client. The ordering of this 37// slice is not guaranteed to be stable across updates. 38func (ItemType) Values() []ItemType { 39 return []ItemType{ 40 "ANALYSIS", 41 "INCIDENT", 42 "METRIC", 43 "PARENT", 44 "ATTACHMENT", 45 "OTHER", 46 } 47} 48 49type RegionStatus string 50 51// Enum values for RegionStatus 52const ( 53 // All operations have completed successfully and the region is ready to use 54 RegionStatusActive RegionStatus = "ACTIVE" 55 // The region is in the process of being created. 56 RegionStatusCreating RegionStatus = "CREATING" 57 // The region is in the process of being deleted. 58 RegionStatusDeleting RegionStatus = "DELETING" 59 // The region is not healthy and we cannot automatically fix it. 60 RegionStatusFailed RegionStatus = "FAILED" 61) 62 63// Values returns all known values for RegionStatus. Note that this can be expanded 64// in the future, and so it is only as up to date as the client. The ordering of 65// this slice is not guaranteed to be stable across updates. 66func (RegionStatus) Values() []RegionStatus { 67 return []RegionStatus{ 68 "ACTIVE", 69 "CREATING", 70 "DELETING", 71 "FAILED", 72 } 73} 74 75type ReplicationSetStatus string 76 77// Enum values for ReplicationSetStatus 78const ( 79 // All operations have completed successfully and the replication set is ready to 80 // use 81 ReplicationSetStatusActive ReplicationSetStatus = "ACTIVE" 82 // Replication set is in the process of being created. 83 ReplicationSetStatusCreating ReplicationSetStatus = "CREATING" 84 // Replication set is in the process of being updated. 85 ReplicationSetStatusUpdating ReplicationSetStatus = "UPDATING" 86 // Replication set is in the process of being deleted. 87 ReplicationSetStatusDeleting ReplicationSetStatus = "DELETING" 88 // Replication set is not healthy and we cannot fix it. 89 ReplicationSetStatusFailed ReplicationSetStatus = "FAILED" 90) 91 92// Values returns all known values for ReplicationSetStatus. Note that this can be 93// expanded in the future, and so it is only as up to date as the client. The 94// ordering of this slice is not guaranteed to be stable across updates. 95func (ReplicationSetStatus) Values() []ReplicationSetStatus { 96 return []ReplicationSetStatus{ 97 "ACTIVE", 98 "CREATING", 99 "UPDATING", 100 "DELETING", 101 "FAILED", 102 } 103} 104 105type ResourceType string 106 107// Enum values for ResourceType 108const ( 109 ResourceTypeResponsePlan ResourceType = "RESPONSE_PLAN" 110 ResourceTypeIncidentRecord ResourceType = "INCIDENT_RECORD" 111 ResourceTypeTimelineEvent ResourceType = "TIMELINE_EVENT" 112 ResourceTypeReplicationSet ResourceType = "REPLICATION_SET" 113 ResourceTypeResourcePolicy ResourceType = "RESOURCE_POLICY" 114) 115 116// Values returns all known values for ResourceType. Note that this can be expanded 117// in the future, and so it is only as up to date as the client. The ordering of 118// this slice is not guaranteed to be stable across updates. 119func (ResourceType) Values() []ResourceType { 120 return []ResourceType{ 121 "RESPONSE_PLAN", 122 "INCIDENT_RECORD", 123 "TIMELINE_EVENT", 124 "REPLICATION_SET", 125 "RESOURCE_POLICY", 126 } 127} 128 129type ServiceCode string 130 131// Enum values for ServiceCode 132const ( 133 ServiceCodeSsmIncidents ServiceCode = "ssm-incidents" 134) 135 136// Values returns all known values for ServiceCode. Note that this can be expanded 137// in the future, and so it is only as up to date as the client. The ordering of 138// this slice is not guaranteed to be stable across updates. 139func (ServiceCode) Values() []ServiceCode { 140 return []ServiceCode{ 141 "ssm-incidents", 142 } 143} 144 145type SortOrder string 146 147// Enum values for SortOrder 148const ( 149 SortOrderAscending SortOrder = "ASCENDING" 150 SortOrderDescending SortOrder = "DESCENDING" 151) 152 153// Values returns all known values for SortOrder. Note that this can be expanded in 154// the future, and so it is only as up to date as the client. The ordering of this 155// slice is not guaranteed to be stable across updates. 156func (SortOrder) Values() []SortOrder { 157 return []SortOrder{ 158 "ASCENDING", 159 "DESCENDING", 160 } 161} 162 163type SsmTargetAccount string 164 165// Enum values for SsmTargetAccount 166const ( 167 SsmTargetAccountResponsePlanOwnerAccount SsmTargetAccount = "RESPONSE_PLAN_OWNER_ACCOUNT" 168 SsmTargetAccountImpactedAccount SsmTargetAccount = "IMPACTED_ACCOUNT" 169) 170 171// Values returns all known values for SsmTargetAccount. Note that this can be 172// expanded in the future, and so it is only as up to date as the client. The 173// ordering of this slice is not guaranteed to be stable across updates. 174func (SsmTargetAccount) Values() []SsmTargetAccount { 175 return []SsmTargetAccount{ 176 "RESPONSE_PLAN_OWNER_ACCOUNT", 177 "IMPACTED_ACCOUNT", 178 } 179} 180 181type TimelineEventSort string 182 183// Enum values for TimelineEventSort 184const ( 185 TimelineEventSortEventTime TimelineEventSort = "EVENT_TIME" 186) 187 188// Values returns all known values for TimelineEventSort. Note that this can be 189// expanded in the future, and so it is only as up to date as the client. The 190// ordering of this slice is not guaranteed to be stable across updates. 191func (TimelineEventSort) Values() []TimelineEventSort { 192 return []TimelineEventSort{ 193 "EVENT_TIME", 194 } 195} 196