| 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.DMS.DescribeReplicationTasks
Description
Returns information about replication tasks for your account in the current region.
This operation returns paginated results.
Synopsis
- data DescribeReplicationTasks = DescribeReplicationTasks' {}
- newDescribeReplicationTasks :: DescribeReplicationTasks
- describeReplicationTasks_filters :: Lens' DescribeReplicationTasks (Maybe [Filter])
- describeReplicationTasks_marker :: Lens' DescribeReplicationTasks (Maybe Text)
- describeReplicationTasks_maxRecords :: Lens' DescribeReplicationTasks (Maybe Int)
- describeReplicationTasks_withoutSettings :: Lens' DescribeReplicationTasks (Maybe Bool)
- data DescribeReplicationTasksResponse = DescribeReplicationTasksResponse' {
- marker :: Maybe Text
- replicationTasks :: Maybe [ReplicationTask]
- httpStatus :: Int
- newDescribeReplicationTasksResponse :: Int -> DescribeReplicationTasksResponse
- describeReplicationTasksResponse_marker :: Lens' DescribeReplicationTasksResponse (Maybe Text)
- describeReplicationTasksResponse_replicationTasks :: Lens' DescribeReplicationTasksResponse (Maybe [ReplicationTask])
- describeReplicationTasksResponse_httpStatus :: Lens' DescribeReplicationTasksResponse Int
Creating a Request
data DescribeReplicationTasks Source #
See: newDescribeReplicationTasks smart constructor.
Constructors
| DescribeReplicationTasks' | |
Fields
| |
Instances
newDescribeReplicationTasks :: DescribeReplicationTasks Source #
Create a value of DescribeReplicationTasks 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:filters:DescribeReplicationTasks', describeReplicationTasks_filters - Filters applied to replication tasks.
Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn
DescribeReplicationTasks, describeReplicationTasks_marker - An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords.
$sel:maxRecords:DescribeReplicationTasks', describeReplicationTasks_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 that the remaining
results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
$sel:withoutSettings:DescribeReplicationTasks', describeReplicationTasks_withoutSettings - An option to set to avoid returning information about settings. Use this
to reduce overhead when setting information is too large. To use this
option, choose true; otherwise, choose false (the default).
Request Lenses
describeReplicationTasks_filters :: Lens' DescribeReplicationTasks (Maybe [Filter]) Source #
Filters applied to replication tasks.
Valid filter names: replication-task-arn | replication-task-id | migration-type | endpoint-arn | replication-instance-arn
describeReplicationTasks_marker :: Lens' DescribeReplicationTasks (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords.
describeReplicationTasks_maxRecords :: Lens' DescribeReplicationTasks (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 that the remaining
results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
describeReplicationTasks_withoutSettings :: Lens' DescribeReplicationTasks (Maybe Bool) Source #
An option to set to avoid returning information about settings. Use this
to reduce overhead when setting information is too large. To use this
option, choose true; otherwise, choose false (the default).
Destructuring the Response
data DescribeReplicationTasksResponse Source #
See: newDescribeReplicationTasksResponse smart constructor.
Constructors
| DescribeReplicationTasksResponse' | |
Fields
| |
Instances
newDescribeReplicationTasksResponse Source #
Create a value of DescribeReplicationTasksResponse 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:
DescribeReplicationTasks, describeReplicationTasksResponse_marker - An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords.
$sel:replicationTasks:DescribeReplicationTasksResponse', describeReplicationTasksResponse_replicationTasks - A description of the replication tasks.
$sel:httpStatus:DescribeReplicationTasksResponse', describeReplicationTasksResponse_httpStatus - The response's http status code.
Response Lenses
describeReplicationTasksResponse_marker :: Lens' DescribeReplicationTasksResponse (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords.
describeReplicationTasksResponse_replicationTasks :: Lens' DescribeReplicationTasksResponse (Maybe [ReplicationTask]) Source #
A description of the replication tasks.
describeReplicationTasksResponse_httpStatus :: Lens' DescribeReplicationTasksResponse Int Source #
The response's http status code.