| 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.DescribeExportTasks
Description
Returns information about a snapshot export to Amazon S3. This API operation supports pagination.
This operation returns paginated results.
Synopsis
- data DescribeExportTasks = DescribeExportTasks' {}
- newDescribeExportTasks :: DescribeExportTasks
- describeExportTasks_exportTaskIdentifier :: Lens' DescribeExportTasks (Maybe Text)
- describeExportTasks_filters :: Lens' DescribeExportTasks (Maybe [Filter])
- describeExportTasks_marker :: Lens' DescribeExportTasks (Maybe Text)
- describeExportTasks_maxRecords :: Lens' DescribeExportTasks (Maybe Natural)
- describeExportTasks_sourceArn :: Lens' DescribeExportTasks (Maybe Text)
- describeExportTasks_sourceType :: Lens' DescribeExportTasks (Maybe ExportSourceType)
- data DescribeExportTasksResponse = DescribeExportTasksResponse' {
- exportTasks :: Maybe [ExportTask]
- marker :: Maybe Text
- httpStatus :: Int
- newDescribeExportTasksResponse :: Int -> DescribeExportTasksResponse
- describeExportTasksResponse_exportTasks :: Lens' DescribeExportTasksResponse (Maybe [ExportTask])
- describeExportTasksResponse_marker :: Lens' DescribeExportTasksResponse (Maybe Text)
- describeExportTasksResponse_httpStatus :: Lens' DescribeExportTasksResponse Int
Creating a Request
data DescribeExportTasks Source #
See: newDescribeExportTasks smart constructor.
Constructors
| DescribeExportTasks' | |
Fields
| |
Instances
newDescribeExportTasks :: DescribeExportTasks Source #
Create a value of DescribeExportTasks 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:
DescribeExportTasks, describeExportTasks_exportTaskIdentifier - The identifier of the snapshot export task to be described.
$sel:filters:DescribeExportTasks', describeExportTasks_filters - Filters specify one or more snapshot exports to describe. The filters
are specified as name-value pairs that define what to include in the
output. Filter names and values are case-sensitive.
Supported filters include the following:
export-task-identifier- An identifier for the snapshot export task.s3-bucket- The Amazon S3 bucket the snapshot is exported to.source-arn- The Amazon Resource Name (ARN) of the snapshot exported to Amazon S3status- The status of the export task. Must be lowercase. Valid statuses are the following:canceled
canceling
complete
failed
in_progress
starting
DescribeExportTasks, describeExportTasks_marker - An optional pagination token provided by a previous
DescribeExportTasks request. If you specify this parameter, the
response includes only records beyond the marker, up to the value
specified by the MaxRecords parameter.
$sel:maxRecords:DescribeExportTasks', describeExportTasks_maxRecords - The maximum number of records to include in the response. If more
records exist than the specified value, a pagination token called a
marker is included in the response. You can use the marker in a later
DescribeExportTasks request to retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
DescribeExportTasks, describeExportTasks_sourceArn - The Amazon Resource Name (ARN) of the snapshot exported to Amazon S3.
DescribeExportTasks, describeExportTasks_sourceType - The type of source for the export.
Request Lenses
describeExportTasks_exportTaskIdentifier :: Lens' DescribeExportTasks (Maybe Text) Source #
The identifier of the snapshot export task to be described.
describeExportTasks_filters :: Lens' DescribeExportTasks (Maybe [Filter]) Source #
Filters specify one or more snapshot exports to describe. The filters are specified as name-value pairs that define what to include in the output. Filter names and values are case-sensitive.
Supported filters include the following:
export-task-identifier- An identifier for the snapshot export task.s3-bucket- The Amazon S3 bucket the snapshot is exported to.source-arn- The Amazon Resource Name (ARN) of the snapshot exported to Amazon S3status- The status of the export task. Must be lowercase. Valid statuses are the following:canceled
canceling
complete
failed
in_progress
starting
describeExportTasks_marker :: Lens' DescribeExportTasks (Maybe Text) Source #
An optional pagination token provided by a previous
DescribeExportTasks request. If you specify this parameter, the
response includes only records beyond the marker, up to the value
specified by the MaxRecords parameter.
describeExportTasks_maxRecords :: Lens' DescribeExportTasks (Maybe Natural) Source #
The maximum number of records to include in the response. If more
records exist than the specified value, a pagination token called a
marker is included in the response. You can use the marker in a later
DescribeExportTasks request to retrieve the remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
describeExportTasks_sourceArn :: Lens' DescribeExportTasks (Maybe Text) Source #
The Amazon Resource Name (ARN) of the snapshot exported to Amazon S3.
describeExportTasks_sourceType :: Lens' DescribeExportTasks (Maybe ExportSourceType) Source #
The type of source for the export.
Destructuring the Response
data DescribeExportTasksResponse Source #
See: newDescribeExportTasksResponse smart constructor.
Constructors
| DescribeExportTasksResponse' | |
Fields
| |
Instances
newDescribeExportTasksResponse Source #
Create a value of DescribeExportTasksResponse 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:exportTasks:DescribeExportTasksResponse', describeExportTasksResponse_exportTasks - Information about an export of a snapshot to Amazon S3.
DescribeExportTasks, describeExportTasksResponse_marker - A pagination token that can be used in a later DescribeExportTasks
request. A marker is used for pagination to identify the location to
begin output for the next response of DescribeExportTasks.
$sel:httpStatus:DescribeExportTasksResponse', describeExportTasksResponse_httpStatus - The response's http status code.
Response Lenses
describeExportTasksResponse_exportTasks :: Lens' DescribeExportTasksResponse (Maybe [ExportTask]) Source #
Information about an export of a snapshot to Amazon S3.
describeExportTasksResponse_marker :: Lens' DescribeExportTasksResponse (Maybe Text) Source #
A pagination token that can be used in a later DescribeExportTasks
request. A marker is used for pagination to identify the location to
begin output for the next response of DescribeExportTasks.
describeExportTasksResponse_httpStatus :: Lens' DescribeExportTasksResponse Int Source #
The response's http status code.