| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SSMSAP.ListDatabases
Description
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
This operation returns paginated results.
Synopsis
- data ListDatabases = ListDatabases' {}
- newListDatabases :: ListDatabases
- listDatabases_applicationId :: Lens' ListDatabases (Maybe Text)
- listDatabases_componentId :: Lens' ListDatabases (Maybe Text)
- listDatabases_maxResults :: Lens' ListDatabases (Maybe Natural)
- listDatabases_nextToken :: Lens' ListDatabases (Maybe Text)
- data ListDatabasesResponse = ListDatabasesResponse' {
- databases :: Maybe [DatabaseSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDatabasesResponse :: Int -> ListDatabasesResponse
- listDatabasesResponse_databases :: Lens' ListDatabasesResponse (Maybe [DatabaseSummary])
- listDatabasesResponse_nextToken :: Lens' ListDatabasesResponse (Maybe Text)
- listDatabasesResponse_httpStatus :: Lens' ListDatabasesResponse Int
Creating a Request
data ListDatabases Source #
See: newListDatabases smart constructor.
Constructors
| ListDatabases' | |
Fields
| |
Instances
newListDatabases :: ListDatabases Source #
Create a value of ListDatabases with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListDatabases, listDatabases_applicationId -
ListDatabases, listDatabases_componentId -
Request Lenses
Destructuring the Response
data ListDatabasesResponse Source #
See: newListDatabasesResponse smart constructor.
Constructors
| ListDatabasesResponse' | |
Fields
| |
Instances
newListDatabasesResponse Source #
Create a value of ListDatabasesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListDatabasesResponse, listDatabasesResponse_databases -
ListDatabases, listDatabasesResponse_nextToken -
$sel:httpStatus:ListDatabasesResponse', listDatabasesResponse_httpStatus - The response's http status code.
Response Lenses
listDatabasesResponse_httpStatus :: Lens' ListDatabasesResponse Int Source #
The response's http status code.