1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type ConsumerStatus string 6 7// Enum values for ConsumerStatus 8const ( 9 ConsumerStatusCreating ConsumerStatus = "CREATING" 10 ConsumerStatusDeleting ConsumerStatus = "DELETING" 11 ConsumerStatusActive ConsumerStatus = "ACTIVE" 12) 13 14// Values returns all known values for ConsumerStatus. Note that this can be 15// expanded in the future, and so it is only as up to date as the client. The 16// ordering of this slice is not guaranteed to be stable across updates. 17func (ConsumerStatus) Values() []ConsumerStatus { 18 return []ConsumerStatus{ 19 "CREATING", 20 "DELETING", 21 "ACTIVE", 22 } 23} 24 25type EncryptionType string 26 27// Enum values for EncryptionType 28const ( 29 EncryptionTypeNone EncryptionType = "NONE" 30 EncryptionTypeKms EncryptionType = "KMS" 31) 32 33// Values returns all known values for EncryptionType. Note that this can be 34// expanded in the future, and so it is only as up to date as the client. The 35// ordering of this slice is not guaranteed to be stable across updates. 36func (EncryptionType) Values() []EncryptionType { 37 return []EncryptionType{ 38 "NONE", 39 "KMS", 40 } 41} 42 43type MetricsName string 44 45// Enum values for MetricsName 46const ( 47 MetricsNameIncomingBytes MetricsName = "IncomingBytes" 48 MetricsNameIncomingRecords MetricsName = "IncomingRecords" 49 MetricsNameOutgoingBytes MetricsName = "OutgoingBytes" 50 MetricsNameOutgoingRecords MetricsName = "OutgoingRecords" 51 MetricsNameWriteProvisionedThroughputExceeded MetricsName = "WriteProvisionedThroughputExceeded" 52 MetricsNameReadProvisionedThroughputExceeded MetricsName = "ReadProvisionedThroughputExceeded" 53 MetricsNameIteratorAgeMilliseconds MetricsName = "IteratorAgeMilliseconds" 54 MetricsNameAll MetricsName = "ALL" 55) 56 57// Values returns all known values for MetricsName. Note that this can be expanded 58// in the future, and so it is only as up to date as the client. The ordering of 59// this slice is not guaranteed to be stable across updates. 60func (MetricsName) Values() []MetricsName { 61 return []MetricsName{ 62 "IncomingBytes", 63 "IncomingRecords", 64 "OutgoingBytes", 65 "OutgoingRecords", 66 "WriteProvisionedThroughputExceeded", 67 "ReadProvisionedThroughputExceeded", 68 "IteratorAgeMilliseconds", 69 "ALL", 70 } 71} 72 73type ScalingType string 74 75// Enum values for ScalingType 76const ( 77 ScalingTypeUniformScaling ScalingType = "UNIFORM_SCALING" 78) 79 80// Values returns all known values for ScalingType. Note that this can be expanded 81// in the future, and so it is only as up to date as the client. The ordering of 82// this slice is not guaranteed to be stable across updates. 83func (ScalingType) Values() []ScalingType { 84 return []ScalingType{ 85 "UNIFORM_SCALING", 86 } 87} 88 89type ShardFilterType string 90 91// Enum values for ShardFilterType 92const ( 93 ShardFilterTypeAfterShardId ShardFilterType = "AFTER_SHARD_ID" 94 ShardFilterTypeAtTrimHorizon ShardFilterType = "AT_TRIM_HORIZON" 95 ShardFilterTypeFromTrimHorizon ShardFilterType = "FROM_TRIM_HORIZON" 96 ShardFilterTypeAtLatest ShardFilterType = "AT_LATEST" 97 ShardFilterTypeAtTimestamp ShardFilterType = "AT_TIMESTAMP" 98 ShardFilterTypeFromTimestamp ShardFilterType = "FROM_TIMESTAMP" 99) 100 101// Values returns all known values for ShardFilterType. Note that this can be 102// expanded in the future, and so it is only as up to date as the client. The 103// ordering of this slice is not guaranteed to be stable across updates. 104func (ShardFilterType) Values() []ShardFilterType { 105 return []ShardFilterType{ 106 "AFTER_SHARD_ID", 107 "AT_TRIM_HORIZON", 108 "FROM_TRIM_HORIZON", 109 "AT_LATEST", 110 "AT_TIMESTAMP", 111 "FROM_TIMESTAMP", 112 } 113} 114 115type ShardIteratorType string 116 117// Enum values for ShardIteratorType 118const ( 119 ShardIteratorTypeAtSequenceNumber ShardIteratorType = "AT_SEQUENCE_NUMBER" 120 ShardIteratorTypeAfterSequenceNumber ShardIteratorType = "AFTER_SEQUENCE_NUMBER" 121 ShardIteratorTypeTrimHorizon ShardIteratorType = "TRIM_HORIZON" 122 ShardIteratorTypeLatest ShardIteratorType = "LATEST" 123 ShardIteratorTypeAtTimestamp ShardIteratorType = "AT_TIMESTAMP" 124) 125 126// Values returns all known values for ShardIteratorType. Note that this can be 127// expanded in the future, and so it is only as up to date as the client. The 128// ordering of this slice is not guaranteed to be stable across updates. 129func (ShardIteratorType) Values() []ShardIteratorType { 130 return []ShardIteratorType{ 131 "AT_SEQUENCE_NUMBER", 132 "AFTER_SEQUENCE_NUMBER", 133 "TRIM_HORIZON", 134 "LATEST", 135 "AT_TIMESTAMP", 136 } 137} 138 139type StreamStatus string 140 141// Enum values for StreamStatus 142const ( 143 StreamStatusCreating StreamStatus = "CREATING" 144 StreamStatusDeleting StreamStatus = "DELETING" 145 StreamStatusActive StreamStatus = "ACTIVE" 146 StreamStatusUpdating StreamStatus = "UPDATING" 147) 148 149// Values returns all known values for StreamStatus. Note that this can be expanded 150// in the future, and so it is only as up to date as the client. The ordering of 151// this slice is not guaranteed to be stable across updates. 152func (StreamStatus) Values() []StreamStatus { 153 return []StreamStatus{ 154 "CREATING", 155 "DELETING", 156 "ACTIVE", 157 "UPDATING", 158 } 159} 160