Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns a list of available log streams for a specific database in Amazon Lightsail.
Synopsis
- data GetRelationalDatabaseLogStreams = GetRelationalDatabaseLogStreams' {}
- newGetRelationalDatabaseLogStreams :: Text -> GetRelationalDatabaseLogStreams
- getRelationalDatabaseLogStreams_relationalDatabaseName :: Lens' GetRelationalDatabaseLogStreams Text
- data GetRelationalDatabaseLogStreamsResponse = GetRelationalDatabaseLogStreamsResponse' {
- logStreams :: Maybe [Text]
- httpStatus :: Int
- newGetRelationalDatabaseLogStreamsResponse :: Int -> GetRelationalDatabaseLogStreamsResponse
- getRelationalDatabaseLogStreamsResponse_logStreams :: Lens' GetRelationalDatabaseLogStreamsResponse (Maybe [Text])
- getRelationalDatabaseLogStreamsResponse_httpStatus :: Lens' GetRelationalDatabaseLogStreamsResponse Int
Creating a Request
data GetRelationalDatabaseLogStreams Source #
See: newGetRelationalDatabaseLogStreams
smart constructor.
GetRelationalDatabaseLogStreams' | |
|
Instances
newGetRelationalDatabaseLogStreams Source #
:: Text |
|
-> GetRelationalDatabaseLogStreams |
Create a value of GetRelationalDatabaseLogStreams
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:relationalDatabaseName:GetRelationalDatabaseLogStreams'
, getRelationalDatabaseLogStreams_relationalDatabaseName
- The name of your database for which to get log streams.
Request Lenses
getRelationalDatabaseLogStreams_relationalDatabaseName :: Lens' GetRelationalDatabaseLogStreams Text Source #
The name of your database for which to get log streams.
Destructuring the Response
data GetRelationalDatabaseLogStreamsResponse Source #
See: newGetRelationalDatabaseLogStreamsResponse
smart constructor.
GetRelationalDatabaseLogStreamsResponse' | |
|
Instances
newGetRelationalDatabaseLogStreamsResponse Source #
Create a value of GetRelationalDatabaseLogStreamsResponse
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:logStreams:GetRelationalDatabaseLogStreamsResponse'
, getRelationalDatabaseLogStreamsResponse_logStreams
- An object describing the result of your get relational database log
streams request.
$sel:httpStatus:GetRelationalDatabaseLogStreamsResponse'
, getRelationalDatabaseLogStreamsResponse_httpStatus
- The response's http status code.
Response Lenses
getRelationalDatabaseLogStreamsResponse_logStreams :: Lens' GetRelationalDatabaseLogStreamsResponse (Maybe [Text]) Source #
An object describing the result of your get relational database log streams request.
getRelationalDatabaseLogStreamsResponse_httpStatus :: Lens' GetRelationalDatabaseLogStreamsResponse Int Source #
The response's http status code.