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 |
Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.
Synopsis
- data GetDatabase = GetDatabase' {}
- newGetDatabase :: GetDatabase
- getDatabase_applicationId :: Lens' GetDatabase (Maybe Text)
- getDatabase_componentId :: Lens' GetDatabase (Maybe Text)
- getDatabase_databaseArn :: Lens' GetDatabase (Maybe Text)
- getDatabase_databaseId :: Lens' GetDatabase (Maybe Text)
- data GetDatabaseResponse = GetDatabaseResponse' {}
- newGetDatabaseResponse :: Int -> GetDatabaseResponse
- getDatabaseResponse_database :: Lens' GetDatabaseResponse (Maybe Database)
- getDatabaseResponse_tags :: Lens' GetDatabaseResponse (Maybe (HashMap Text Text))
- getDatabaseResponse_httpStatus :: Lens' GetDatabaseResponse Int
Creating a Request
data GetDatabase Source #
See: newGetDatabase
smart constructor.
GetDatabase' | |
|
Instances
newGetDatabase :: GetDatabase Source #
Create a value of GetDatabase
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:
GetDatabase
, getDatabase_applicationId
-
GetDatabase
, getDatabase_componentId
-
Request Lenses
Destructuring the Response
data GetDatabaseResponse Source #
See: newGetDatabaseResponse
smart constructor.
Instances
newGetDatabaseResponse Source #
Create a value of GetDatabaseResponse
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:
$sel:database:GetDatabaseResponse'
, getDatabaseResponse_database
-
GetDatabaseResponse
, getDatabaseResponse_tags
-
$sel:httpStatus:GetDatabaseResponse'
, getDatabaseResponse_httpStatus
- The response's http status code.
Response Lenses
getDatabaseResponse_httpStatus :: Lens' GetDatabaseResponse Int Source #
The response's http status code.