Skip to content

Instantly share code, notes, and snippets.

@tomwwright
Last active October 1, 2018 04:30
Show Gist options
  • Save tomwwright/d6a50a2996ddc3eedf57ad8a8c700f49 to your computer and use it in GitHub Desktop.
Save tomwwright/d6a50a2996ddc3eedf57ad8a8c700f49 to your computer and use it in GitHub Desktop.
# describing a non-existent Aurora cluster results in an error
$ aws rds describe-db-clusters --db-cluster-identifier doesnotexist
An error occurred (DBClusterNotFoundFault) when calling the DescribeDBClusters operation: DBCluster doesnotexist not found.
# but using --filter to describe a non-existent Aurora cluster is ok
$ aws rds describe-db-clusters --filters Name=db-cluster-id,Values=doesnotexist
{
"DBClusters": []
}
# and describing a non-existent Elasticsearch domain is ok -- make up your mind AWS...
$ aws es describe-elasticsearch-domains --domain-names doesnotexist
{
"DomainStatusList": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment