Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists databases in the specified Cloud SQL instance.
See: Cloud SQL Admin API Reference for sql.databases.list
.
Synopsis
- type DatabasesListResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("databases" :> (QueryParam "alt" AltJSON :> Get '[JSON] DatabasesListResponse)))))))
- databasesList :: Text -> Text -> DatabasesList
- data DatabasesList
- dlProject :: Lens' DatabasesList Text
- dlInstance :: Lens' DatabasesList Text
REST Resource
type DatabasesListResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("databases" :> (QueryParam "alt" AltJSON :> Get '[JSON] DatabasesListResponse))))))) Source #
A resource alias for sql.databases.list
method which the
DatabasesList
request conforms to.
Creating a Request
Creates a value of DatabasesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DatabasesList Source #
Lists databases in the specified Cloud SQL instance.
See: databasesList
smart constructor.
Instances
Request Lenses
dlInstance :: Lens' DatabasesList Text Source #
Cloud SQL instance ID. This does not include the project ID.