-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
200 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?php | ||
|
||
namespace AsyncAws\Athena\Enum; | ||
|
||
final class ConnectionType | ||
{ | ||
public const BIGQUERY = 'BIGQUERY'; | ||
public const CLOUDERAHIVE = 'CLOUDERAHIVE'; | ||
public const CLOUDERAIMPALA = 'CLOUDERAIMPALA'; | ||
public const CLOUDWATCH = 'CLOUDWATCH'; | ||
public const CLOUDWATCHMETRICS = 'CLOUDWATCHMETRICS'; | ||
public const CMDB = 'CMDB'; | ||
public const DATALAKEGEN2 = 'DATALAKEGEN2'; | ||
public const DB2 = 'DB2'; | ||
public const DB2AS400 = 'DB2AS400'; | ||
public const DOCUMENTDB = 'DOCUMENTDB'; | ||
public const DYNAMODB = 'DYNAMODB'; | ||
public const GOOGLECLOUDSTORAGE = 'GOOGLECLOUDSTORAGE'; | ||
public const HBASE = 'HBASE'; | ||
public const HORTONWORKSHIVE = 'HORTONWORKSHIVE'; | ||
public const MSK = 'MSK'; | ||
public const MYSQL = 'MYSQL'; | ||
public const NEPTUNE = 'NEPTUNE'; | ||
public const OPENSEARCH = 'OPENSEARCH'; | ||
public const ORACLE = 'ORACLE'; | ||
public const POSTGRESQL = 'POSTGRESQL'; | ||
public const REDIS = 'REDIS'; | ||
public const REDSHIFT = 'REDSHIFT'; | ||
public const SAPHANA = 'SAPHANA'; | ||
public const SNOWFLAKE = 'SNOWFLAKE'; | ||
public const SQLSERVER = 'SQLSERVER'; | ||
public const SYNAPSE = 'SYNAPSE'; | ||
public const TERADATA = 'TERADATA'; | ||
public const TIMESTREAM = 'TIMESTREAM'; | ||
public const TPCDS = 'TPCDS'; | ||
public const VERTICA = 'VERTICA'; | ||
|
||
public static function exists(string $value): bool | ||
{ | ||
return isset([ | ||
self::BIGQUERY => true, | ||
self::CLOUDERAHIVE => true, | ||
self::CLOUDERAIMPALA => true, | ||
self::CLOUDWATCH => true, | ||
self::CLOUDWATCHMETRICS => true, | ||
self::CMDB => true, | ||
self::DATALAKEGEN2 => true, | ||
self::DB2 => true, | ||
self::DB2AS400 => true, | ||
self::DOCUMENTDB => true, | ||
self::DYNAMODB => true, | ||
self::GOOGLECLOUDSTORAGE => true, | ||
self::HBASE => true, | ||
self::HORTONWORKSHIVE => true, | ||
self::MSK => true, | ||
self::MYSQL => true, | ||
self::NEPTUNE => true, | ||
self::OPENSEARCH => true, | ||
self::ORACLE => true, | ||
self::POSTGRESQL => true, | ||
self::REDIS => true, | ||
self::REDSHIFT => true, | ||
self::SAPHANA => true, | ||
self::SNOWFLAKE => true, | ||
self::SQLSERVER => true, | ||
self::SYNAPSE => true, | ||
self::TERADATA => true, | ||
self::TIMESTREAM => true, | ||
self::TPCDS => true, | ||
self::VERTICA => true, | ||
][$value]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
namespace AsyncAws\Athena\Enum; | ||
|
||
final class DataCatalogStatus | ||
{ | ||
public const CREATE_COMPLETE = 'CREATE_COMPLETE'; | ||
public const CREATE_FAILED = 'CREATE_FAILED'; | ||
public const CREATE_FAILED_CLEANUP_COMPLETE = 'CREATE_FAILED_CLEANUP_COMPLETE'; | ||
public const CREATE_FAILED_CLEANUP_FAILED = 'CREATE_FAILED_CLEANUP_FAILED'; | ||
public const CREATE_FAILED_CLEANUP_IN_PROGRESS = 'CREATE_FAILED_CLEANUP_IN_PROGRESS'; | ||
public const CREATE_IN_PROGRESS = 'CREATE_IN_PROGRESS'; | ||
public const DELETE_COMPLETE = 'DELETE_COMPLETE'; | ||
public const DELETE_FAILED = 'DELETE_FAILED'; | ||
public const DELETE_IN_PROGRESS = 'DELETE_IN_PROGRESS'; | ||
|
||
public static function exists(string $value): bool | ||
{ | ||
return isset([ | ||
self::CREATE_COMPLETE => true, | ||
self::CREATE_FAILED => true, | ||
self::CREATE_FAILED_CLEANUP_COMPLETE => true, | ||
self::CREATE_FAILED_CLEANUP_FAILED => true, | ||
self::CREATE_FAILED_CLEANUP_IN_PROGRESS => true, | ||
self::CREATE_IN_PROGRESS => true, | ||
self::DELETE_COMPLETE => true, | ||
self::DELETE_FAILED => true, | ||
self::DELETE_IN_PROGRESS => true, | ||
][$value]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters