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 |
Returns the description of specific Amazon FSx for Lustre or Amazon File
Cache data repository tasks, if one or more TaskIds
values are
provided in the request, or if filters are used in the request. You can
use filters to narrow the response to include just tasks for specific
file systems or caches, or tasks in a specific lifecycle state.
Otherwise, it returns all data repository tasks owned by your Amazon Web
Services account in the Amazon Web Services Region of the endpoint that
you're calling.
When retrieving all tasks, you can paginate the response by using the
optional MaxResults
parameter to limit the number of tasks returned in
a response. If more tasks remain, a NextToken
value is returned in the
response. In this case, send a later request with the NextToken
request parameter set to the value of NextToken
from the last
response.
Synopsis
- data DescribeDataRepositoryTasks = DescribeDataRepositoryTasks' {}
- newDescribeDataRepositoryTasks :: DescribeDataRepositoryTasks
- describeDataRepositoryTasks_filters :: Lens' DescribeDataRepositoryTasks (Maybe [DataRepositoryTaskFilter])
- describeDataRepositoryTasks_maxResults :: Lens' DescribeDataRepositoryTasks (Maybe Natural)
- describeDataRepositoryTasks_nextToken :: Lens' DescribeDataRepositoryTasks (Maybe Text)
- describeDataRepositoryTasks_taskIds :: Lens' DescribeDataRepositoryTasks (Maybe [Text])
- data DescribeDataRepositoryTasksResponse = DescribeDataRepositoryTasksResponse' {}
- newDescribeDataRepositoryTasksResponse :: Int -> DescribeDataRepositoryTasksResponse
- describeDataRepositoryTasksResponse_dataRepositoryTasks :: Lens' DescribeDataRepositoryTasksResponse (Maybe [DataRepositoryTask])
- describeDataRepositoryTasksResponse_nextToken :: Lens' DescribeDataRepositoryTasksResponse (Maybe Text)
- describeDataRepositoryTasksResponse_httpStatus :: Lens' DescribeDataRepositoryTasksResponse Int
Creating a Request
data DescribeDataRepositoryTasks Source #
See: newDescribeDataRepositoryTasks
smart constructor.
DescribeDataRepositoryTasks' | |
|
Instances
newDescribeDataRepositoryTasks :: DescribeDataRepositoryTasks Source #
Create a value of DescribeDataRepositoryTasks
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:DescribeDataRepositoryTasks'
, describeDataRepositoryTasks_filters
- (Optional) You can use filters to narrow the
DescribeDataRepositoryTasks
response to include just tasks for
specific file systems, or tasks in a specific lifecycle state.
$sel:maxResults:DescribeDataRepositoryTasks'
, describeDataRepositoryTasks_maxResults
- Undocumented member.
DescribeDataRepositoryTasks
, describeDataRepositoryTasks_nextToken
- Undocumented member.
$sel:taskIds:DescribeDataRepositoryTasks'
, describeDataRepositoryTasks_taskIds
- (Optional) IDs of the tasks whose descriptions you want to retrieve
(String).
Request Lenses
describeDataRepositoryTasks_filters :: Lens' DescribeDataRepositoryTasks (Maybe [DataRepositoryTaskFilter]) Source #
(Optional) You can use filters to narrow the
DescribeDataRepositoryTasks
response to include just tasks for
specific file systems, or tasks in a specific lifecycle state.
describeDataRepositoryTasks_maxResults :: Lens' DescribeDataRepositoryTasks (Maybe Natural) Source #
Undocumented member.
describeDataRepositoryTasks_nextToken :: Lens' DescribeDataRepositoryTasks (Maybe Text) Source #
Undocumented member.
describeDataRepositoryTasks_taskIds :: Lens' DescribeDataRepositoryTasks (Maybe [Text]) Source #
(Optional) IDs of the tasks whose descriptions you want to retrieve (String).
Destructuring the Response
data DescribeDataRepositoryTasksResponse Source #
See: newDescribeDataRepositoryTasksResponse
smart constructor.
DescribeDataRepositoryTasksResponse' | |
|
Instances
newDescribeDataRepositoryTasksResponse Source #
Create a value of DescribeDataRepositoryTasksResponse
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:dataRepositoryTasks:DescribeDataRepositoryTasksResponse'
, describeDataRepositoryTasksResponse_dataRepositoryTasks
- The collection of data repository task descriptions returned.
DescribeDataRepositoryTasks
, describeDataRepositoryTasksResponse_nextToken
- Undocumented member.
$sel:httpStatus:DescribeDataRepositoryTasksResponse'
, describeDataRepositoryTasksResponse_httpStatus
- The response's http status code.
Response Lenses
describeDataRepositoryTasksResponse_dataRepositoryTasks :: Lens' DescribeDataRepositoryTasksResponse (Maybe [DataRepositoryTask]) Source #
The collection of data repository task descriptions returned.
describeDataRepositoryTasksResponse_nextToken :: Lens' DescribeDataRepositoryTasksResponse (Maybe Text) Source #
Undocumented member.
describeDataRepositoryTasksResponse_httpStatus :: Lens' DescribeDataRepositoryTasksResponse Int Source #
The response's http status code.