| 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.RDS.DescribeDBLogFiles
Description
Returns a list of DB log files for the DB instance.
This command doesn't apply to RDS Custom.
This operation returns paginated results.
Synopsis
- data DescribeDBLogFiles = DescribeDBLogFiles' {}
- newDescribeDBLogFiles :: Text -> DescribeDBLogFiles
- describeDBLogFiles_fileLastWritten :: Lens' DescribeDBLogFiles (Maybe Integer)
- describeDBLogFiles_fileSize :: Lens' DescribeDBLogFiles (Maybe Integer)
- describeDBLogFiles_filenameContains :: Lens' DescribeDBLogFiles (Maybe Text)
- describeDBLogFiles_filters :: Lens' DescribeDBLogFiles (Maybe [Filter])
- describeDBLogFiles_marker :: Lens' DescribeDBLogFiles (Maybe Text)
- describeDBLogFiles_maxRecords :: Lens' DescribeDBLogFiles (Maybe Int)
- describeDBLogFiles_dbInstanceIdentifier :: Lens' DescribeDBLogFiles Text
- data DescribeDBLogFilesResponse = DescribeDBLogFilesResponse' {}
- newDescribeDBLogFilesResponse :: Int -> DescribeDBLogFilesResponse
- describeDBLogFilesResponse_describeDBLogFiles :: Lens' DescribeDBLogFilesResponse (Maybe [DescribeDBLogFilesDetails])
- describeDBLogFilesResponse_marker :: Lens' DescribeDBLogFilesResponse (Maybe Text)
- describeDBLogFilesResponse_httpStatus :: Lens' DescribeDBLogFilesResponse Int
Creating a Request
data DescribeDBLogFiles Source #
See: newDescribeDBLogFiles smart constructor.
Constructors
| DescribeDBLogFiles' | |
Fields
| |
Instances
newDescribeDBLogFiles Source #
Arguments
| :: Text | |
| -> DescribeDBLogFiles |
Create a value of DescribeDBLogFiles 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:fileLastWritten:DescribeDBLogFiles', describeDBLogFiles_fileLastWritten - Filters the available log files for files written since the specified
date, in POSIX timestamp format with milliseconds.
$sel:fileSize:DescribeDBLogFiles', describeDBLogFiles_fileSize - Filters the available log files for files larger than the specified
size.
$sel:filenameContains:DescribeDBLogFiles', describeDBLogFiles_filenameContains - Filters the available log files for log file names that contain the
specified string.
$sel:filters:DescribeDBLogFiles', describeDBLogFiles_filters - This parameter isn't currently supported.
DescribeDBLogFiles, describeDBLogFiles_marker - The pagination token provided in the previous request. If this parameter
is specified the response includes only records beyond the marker, up to
MaxRecords.
$sel:maxRecords:DescribeDBLogFiles', describeDBLogFiles_maxRecords - The maximum number of records to include in the response. If more
records exist than the specified MaxRecords value, a pagination token
called a marker is included in the response so you can retrieve the
remaining results.
DescribeDBLogFiles, describeDBLogFiles_dbInstanceIdentifier - The customer-assigned name of the DB instance that contains the log
files you want to list.
Constraints:
- Must match the identifier of an existing DBInstance.
Request Lenses
describeDBLogFiles_fileLastWritten :: Lens' DescribeDBLogFiles (Maybe Integer) Source #
Filters the available log files for files written since the specified date, in POSIX timestamp format with milliseconds.
describeDBLogFiles_fileSize :: Lens' DescribeDBLogFiles (Maybe Integer) Source #
Filters the available log files for files larger than the specified size.
describeDBLogFiles_filenameContains :: Lens' DescribeDBLogFiles (Maybe Text) Source #
Filters the available log files for log file names that contain the specified string.
describeDBLogFiles_filters :: Lens' DescribeDBLogFiles (Maybe [Filter]) Source #
This parameter isn't currently supported.
describeDBLogFiles_marker :: Lens' DescribeDBLogFiles (Maybe Text) Source #
The pagination token provided in the previous request. If this parameter is specified the response includes only records beyond the marker, up to MaxRecords.
describeDBLogFiles_maxRecords :: Lens' DescribeDBLogFiles (Maybe Int) Source #
The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so you can retrieve the remaining results.
describeDBLogFiles_dbInstanceIdentifier :: Lens' DescribeDBLogFiles Text Source #
The customer-assigned name of the DB instance that contains the log files you want to list.
Constraints:
- Must match the identifier of an existing DBInstance.
Destructuring the Response
data DescribeDBLogFilesResponse Source #
The response from a call to DescribeDBLogFiles.
See: newDescribeDBLogFilesResponse smart constructor.
Constructors
| DescribeDBLogFilesResponse' | |
Fields
| |
Instances
newDescribeDBLogFilesResponse Source #
Create a value of DescribeDBLogFilesResponse 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:describeDBLogFiles:DescribeDBLogFilesResponse', describeDBLogFilesResponse_describeDBLogFiles - The DB log files returned.
DescribeDBLogFiles, describeDBLogFilesResponse_marker - A pagination token that can be used in a later DescribeDBLogFiles
request.
$sel:httpStatus:DescribeDBLogFilesResponse', describeDBLogFilesResponse_httpStatus - The response's http status code.
Response Lenses
describeDBLogFilesResponse_describeDBLogFiles :: Lens' DescribeDBLogFilesResponse (Maybe [DescribeDBLogFilesDetails]) Source #
The DB log files returned.
describeDBLogFilesResponse_marker :: Lens' DescribeDBLogFilesResponse (Maybe Text) Source #
A pagination token that can be used in a later DescribeDBLogFiles
request.
describeDBLogFilesResponse_httpStatus :: Lens' DescribeDBLogFilesResponse Int Source #
The response's http status code.