Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the description of a specific Amazon EFS file system if either
the file system CreationToken
or the FileSystemId
is provided;
otherwise, returns descriptions of all file systems owned by the
caller's AWS account in the AWS region of the endpoint that you're
calling.
When retrieving all file system descriptions, you can optionally specify
the MaxItems
parameter to limit the number of descriptions in a
response. If more file system descriptions remain, Amazon EFS returns a
NextMarker
, an opaque token, in the response. In this case, you should
send a subsequent request with the Marker
request parameter set to the
value of NextMarker
.
So to retrieve a list of your file system descriptions, the expected
usage of this API is an iterative process of first calling
DescribeFileSystems
without the Marker
and then continuing to call
it with the Marker
parameter set to the value of the NextMarker
from
the previous response until the response has no NextMarker
.
Note that the implementation may return fewer than MaxItems
file
system descriptions while still including a NextMarker
value.
The order of file systems returned in the response of one
DescribeFileSystems
call, and the order of file systems returned
across the responses of a multi-call iteration, is unspecified.
This operation requires permission for the 'elasticfilesystem:DescribeFileSystems' action.
- describeFileSystems :: DescribeFileSystems
- data DescribeFileSystems
- dfsFileSystemId :: Lens' DescribeFileSystems (Maybe Text)
- dfsCreationToken :: Lens' DescribeFileSystems (Maybe Text)
- dfsMarker :: Lens' DescribeFileSystems (Maybe Text)
- dfsMaxItems :: Lens' DescribeFileSystems (Maybe Natural)
- describeFileSystemsResponse :: Int -> DescribeFileSystemsResponse
- data DescribeFileSystemsResponse
- dfsrsFileSystems :: Lens' DescribeFileSystemsResponse [FileSystemDescription]
- dfsrsMarker :: Lens' DescribeFileSystemsResponse (Maybe Text)
- dfsrsNextMarker :: Lens' DescribeFileSystemsResponse (Maybe Text)
- dfsrsResponseStatus :: Lens' DescribeFileSystemsResponse Int
Creating a Request
describeFileSystems :: DescribeFileSystems Source #
Creates a value of DescribeFileSystems
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeFileSystems Source #
See: describeFileSystems
smart constructor.
Request Lenses
dfsFileSystemId :: Lens' DescribeFileSystems (Maybe Text) Source #
Optional string. File system ID whose description you want to retrieve.
dfsCreationToken :: Lens' DescribeFileSystems (Maybe Text) Source #
Optional string. Restricts the list to the file system with this creation token (you specify a creation token at the time of creating an Amazon EFS file system).
dfsMarker :: Lens' DescribeFileSystems (Maybe Text) Source #
Optional string. Opaque pagination token returned from a previous
DescribeFileSystems
operation. If present, specifies to continue the
list from where the returning call had left off.
dfsMaxItems :: Lens' DescribeFileSystems (Maybe Natural) Source #
Optional integer. Specifies the maximum number of file systems to return
in the response. This parameter value must be greater than 0. The number
of items Amazon EFS returns will be the minimum of the MaxItems
parameter specified in the request and the service's internal maximum
number of items per page.
Destructuring the Response
describeFileSystemsResponse Source #
Creates a value of DescribeFileSystemsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeFileSystemsResponse Source #
See: describeFileSystemsResponse
smart constructor.
Response Lenses
dfsrsFileSystems :: Lens' DescribeFileSystemsResponse [FileSystemDescription] Source #
An array of file system descriptions.
dfsrsMarker :: Lens' DescribeFileSystemsResponse (Maybe Text) Source #
A string, present if provided by caller in the request.
dfsrsNextMarker :: Lens' DescribeFileSystemsResponse (Maybe Text) Source #
A string, present if there are more file systems than returned in the
response. You can use the NextMarker
in the subsequent request to
fetch the descriptions.
dfsrsResponseStatus :: Lens' DescribeFileSystemsResponse Int Source #
The response status code.