1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type ComparisonOperator string 6 7// Enum values for ComparisonOperator 8const ( 9 ComparisonOperatorEq ComparisonOperator = "EQ" 10 ComparisonOperatorNe ComparisonOperator = "NE" 11 ComparisonOperatorLe ComparisonOperator = "LE" 12 ComparisonOperatorLt ComparisonOperator = "LT" 13 ComparisonOperatorGe ComparisonOperator = "GE" 14 ComparisonOperatorGt ComparisonOperator = "GT" 15 ComparisonOperatorContains ComparisonOperator = "CONTAINS" 16 ComparisonOperatorNotContains ComparisonOperator = "NOT_CONTAINS" 17 ComparisonOperatorBeginsWith ComparisonOperator = "BEGINS_WITH" 18 ComparisonOperatorIn ComparisonOperator = "IN" 19 ComparisonOperatorBetween ComparisonOperator = "BETWEEN" 20) 21 22// Values returns all known values for ComparisonOperator. Note that this can be 23// expanded in the future, and so it is only as up to date as the client. The 24// ordering of this slice is not guaranteed to be stable across updates. 25func (ComparisonOperator) Values() []ComparisonOperator { 26 return []ComparisonOperator{ 27 "EQ", 28 "NE", 29 "LE", 30 "LT", 31 "GE", 32 "GT", 33 "CONTAINS", 34 "NOT_CONTAINS", 35 "BEGINS_WITH", 36 "IN", 37 "BETWEEN", 38 } 39} 40 41type DataLakeResourceType string 42 43// Enum values for DataLakeResourceType 44const ( 45 DataLakeResourceTypeCatalog DataLakeResourceType = "CATALOG" 46 DataLakeResourceTypeDatabase DataLakeResourceType = "DATABASE" 47 DataLakeResourceTypeTable DataLakeResourceType = "TABLE" 48 DataLakeResourceTypeDataLocation DataLakeResourceType = "DATA_LOCATION" 49 DataLakeResourceTypeLfTag DataLakeResourceType = "LF_TAG" 50 DataLakeResourceTypeLfTagPolicy DataLakeResourceType = "LF_TAG_POLICY" 51 DataLakeResourceTypeLfTagPolicyDatabase DataLakeResourceType = "LF_TAG_POLICY_DATABASE" 52 DataLakeResourceTypeLfTagPolicyTable DataLakeResourceType = "LF_TAG_POLICY_TABLE" 53) 54 55// Values returns all known values for DataLakeResourceType. Note that this can be 56// expanded in the future, and so it is only as up to date as the client. The 57// ordering of this slice is not guaranteed to be stable across updates. 58func (DataLakeResourceType) Values() []DataLakeResourceType { 59 return []DataLakeResourceType{ 60 "CATALOG", 61 "DATABASE", 62 "TABLE", 63 "DATA_LOCATION", 64 "LF_TAG", 65 "LF_TAG_POLICY", 66 "LF_TAG_POLICY_DATABASE", 67 "LF_TAG_POLICY_TABLE", 68 } 69} 70 71type FieldNameString string 72 73// Enum values for FieldNameString 74const ( 75 FieldNameStringResourceArn FieldNameString = "RESOURCE_ARN" 76 FieldNameStringRoleArn FieldNameString = "ROLE_ARN" 77 FieldNameStringLastModified FieldNameString = "LAST_MODIFIED" 78) 79 80// Values returns all known values for FieldNameString. Note that this can be 81// expanded in the future, and so it is only as up to date as the client. The 82// ordering of this slice is not guaranteed to be stable across updates. 83func (FieldNameString) Values() []FieldNameString { 84 return []FieldNameString{ 85 "RESOURCE_ARN", 86 "ROLE_ARN", 87 "LAST_MODIFIED", 88 } 89} 90 91type Permission string 92 93// Enum values for Permission 94const ( 95 PermissionAll Permission = "ALL" 96 PermissionSelect Permission = "SELECT" 97 PermissionAlter Permission = "ALTER" 98 PermissionDrop Permission = "DROP" 99 PermissionDelete Permission = "DELETE" 100 PermissionInsert Permission = "INSERT" 101 PermissionDescribe Permission = "DESCRIBE" 102 PermissionCreateDatabase Permission = "CREATE_DATABASE" 103 PermissionCreateTable Permission = "CREATE_TABLE" 104 PermissionDataLocationAccess Permission = "DATA_LOCATION_ACCESS" 105 PermissionCreateTag Permission = "CREATE_TAG" 106 PermissionAlterTag Permission = "ALTER_TAG" 107 PermissionDeleteTag Permission = "DELETE_TAG" 108 PermissionDescribeTag Permission = "DESCRIBE_TAG" 109 PermissionAssociateTag Permission = "ASSOCIATE_TAG" 110) 111 112// Values returns all known values for Permission. Note that this can be expanded 113// in the future, and so it is only as up to date as the client. The ordering of 114// this slice is not guaranteed to be stable across updates. 115func (Permission) Values() []Permission { 116 return []Permission{ 117 "ALL", 118 "SELECT", 119 "ALTER", 120 "DROP", 121 "DELETE", 122 "INSERT", 123 "DESCRIBE", 124 "CREATE_DATABASE", 125 "CREATE_TABLE", 126 "DATA_LOCATION_ACCESS", 127 "CREATE_TAG", 128 "ALTER_TAG", 129 "DELETE_TAG", 130 "DESCRIBE_TAG", 131 "ASSOCIATE_TAG", 132 } 133} 134 135type ResourceShareType string 136 137// Enum values for ResourceShareType 138const ( 139 ResourceShareTypeForeign ResourceShareType = "FOREIGN" 140 ResourceShareTypeAll ResourceShareType = "ALL" 141) 142 143// Values returns all known values for ResourceShareType. Note that this can be 144// expanded in the future, and so it is only as up to date as the client. The 145// ordering of this slice is not guaranteed to be stable across updates. 146func (ResourceShareType) Values() []ResourceShareType { 147 return []ResourceShareType{ 148 "FOREIGN", 149 "ALL", 150 } 151} 152 153type ResourceType string 154 155// Enum values for ResourceType 156const ( 157 ResourceTypeDatabase ResourceType = "DATABASE" 158 ResourceTypeTable ResourceType = "TABLE" 159) 160 161// Values returns all known values for ResourceType. Note that this can be expanded 162// in the future, and so it is only as up to date as the client. The ordering of 163// this slice is not guaranteed to be stable across updates. 164func (ResourceType) Values() []ResourceType { 165 return []ResourceType{ 166 "DATABASE", 167 "TABLE", 168 } 169} 170