pub struct GetRelationalDatabaseLogEvents<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to GetRelationalDatabaseLogEvents
.
Returns a list of log events for a database in Amazon Lightsail.
Implementations
impl<C, M, R> GetRelationalDatabaseLogEvents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetRelationalDatabaseLogEvents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetRelationalDatabaseLogEventsOutput, SdkError<GetRelationalDatabaseLogEventsError>> where
R::Policy: SmithyRetryPolicy<GetRelationalDatabaseLogEventsInputOperationOutputAlias, GetRelationalDatabaseLogEventsOutput, GetRelationalDatabaseLogEventsError, GetRelationalDatabaseLogEventsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetRelationalDatabaseLogEventsOutput, SdkError<GetRelationalDatabaseLogEventsError>> where
R::Policy: SmithyRetryPolicy<GetRelationalDatabaseLogEventsInputOperationOutputAlias, GetRelationalDatabaseLogEventsOutput, GetRelationalDatabaseLogEventsError, GetRelationalDatabaseLogEventsInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of your database for which to get log events.
The name of your database for which to get log events.
The name of the log stream.
Use the get relational database log streams
operation to get a list of available log streams.
The name of the log stream.
Use the get relational database log streams
operation to get a list of available log streams.
The start of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
The start of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the start time.
The end of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
The end of the time interval from which to get log events.
Constraints:
-
Specified in Coordinated Universal Time (UTC).
-
Specified in the Unix time format.
For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC, then you input
1538424000
as the end time.
Parameter to specify if the log should start from head or tail. If true
is specified, the log event starts from the head of the log. If false
is specified, the log event starts from the tail of the log.
For PostgreSQL, the default value of false
is the only option available.
Parameter to specify if the log should start from head or tail. If true
is specified, the log event starts from the head of the log. If false
is specified, the log event starts from the tail of the log.
For PostgreSQL, the default value of false
is the only option available.
The token to advance to the next or previous page of results from your request.
To get a page token, perform an initial GetRelationalDatabaseLogEvents
request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request.
The token to advance to the next or previous page of results from your request.
To get a page token, perform an initial GetRelationalDatabaseLogEvents
request. If your results are paginated, the response will return a next forward token and/or next backward token that you can specify as the page token in a subsequent request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetRelationalDatabaseLogEvents<C, M, R>
impl<C, M, R> Send for GetRelationalDatabaseLogEvents<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetRelationalDatabaseLogEvents<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetRelationalDatabaseLogEvents<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetRelationalDatabaseLogEvents<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more