Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns the description of a specific Amazon EFS file system if either
the file system CreationToken
or the FileSystemId
is provided.
Otherwise, it returns descriptions of all file systems owned by the
caller's Amazon Web Services account in the Amazon Web Services 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. Currently, this number is automatically set to 10. 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
.
To retrieve a list of your file system descriptions, this operation is
used in an iterative process, where DescribeFileSystems
is called
first without the Marker
and then the operation continues to call it
with the Marker
parameter set to the value of the NextMarker
from
the previous response until the response has no NextMarker
.
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 permissions for the
elasticfilesystem:DescribeFileSystems
action.
This operation returns paginated results.
Synopsis
- data DescribeFileSystems = DescribeFileSystems' {}
- newDescribeFileSystems :: DescribeFileSystems
- describeFileSystems_fileSystemId :: Lens' DescribeFileSystems (Maybe Text)
- describeFileSystems_creationToken :: Lens' DescribeFileSystems (Maybe Text)
- describeFileSystems_marker :: Lens' DescribeFileSystems (Maybe Text)
- describeFileSystems_maxItems :: Lens' DescribeFileSystems (Maybe Natural)
- data DescribeFileSystemsResponse = DescribeFileSystemsResponse' {
- fileSystems :: Maybe [FileSystemDescription]
- marker :: Maybe Text
- nextMarker :: Maybe Text
- httpStatus :: Int
- newDescribeFileSystemsResponse :: Int -> DescribeFileSystemsResponse
- describeFileSystemsResponse_fileSystems :: Lens' DescribeFileSystemsResponse (Maybe [FileSystemDescription])
- describeFileSystemsResponse_marker :: Lens' DescribeFileSystemsResponse (Maybe Text)
- describeFileSystemsResponse_nextMarker :: Lens' DescribeFileSystemsResponse (Maybe Text)
- describeFileSystemsResponse_httpStatus :: Lens' DescribeFileSystemsResponse Int
Creating a Request
data DescribeFileSystems Source #
See: newDescribeFileSystems
smart constructor.
DescribeFileSystems' | |
|
Instances
newDescribeFileSystems :: DescribeFileSystems Source #
Create a value of DescribeFileSystems
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:fileSystemId:DescribeFileSystems'
, describeFileSystems_fileSystemId
- (Optional) ID of the file system whose description you want to retrieve
(String).
$sel:creationToken:DescribeFileSystems'
, describeFileSystems_creationToken
- (Optional) Restricts the list to the file system with this creation
token (String). You specify a creation token when you create an Amazon
EFS file system.
$sel:marker:DescribeFileSystems'
, describeFileSystems_marker
- (Optional) Opaque pagination token returned from a previous
DescribeFileSystems
operation (String). If present, specifies to
continue the list from where the returning call had left off.
$sel:maxItems:DescribeFileSystems'
, describeFileSystems_maxItems
- (Optional) Specifies the maximum number of file systems to return in the
response (integer). This number is automatically set to 100. The
response is paginated at 100 per page if you have more than 100 file
systems.
Request Lenses
describeFileSystems_fileSystemId :: Lens' DescribeFileSystems (Maybe Text) Source #
(Optional) ID of the file system whose description you want to retrieve (String).
describeFileSystems_creationToken :: Lens' DescribeFileSystems (Maybe Text) Source #
(Optional) Restricts the list to the file system with this creation token (String). You specify a creation token when you create an Amazon EFS file system.
describeFileSystems_marker :: Lens' DescribeFileSystems (Maybe Text) Source #
(Optional) Opaque pagination token returned from a previous
DescribeFileSystems
operation (String). If present, specifies to
continue the list from where the returning call had left off.
describeFileSystems_maxItems :: Lens' DescribeFileSystems (Maybe Natural) Source #
(Optional) Specifies the maximum number of file systems to return in the response (integer). This number is automatically set to 100. The response is paginated at 100 per page if you have more than 100 file systems.
Destructuring the Response
data DescribeFileSystemsResponse Source #
See: newDescribeFileSystemsResponse
smart constructor.
DescribeFileSystemsResponse' | |
|
Instances
newDescribeFileSystemsResponse Source #
Create a value of DescribeFileSystemsResponse
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:fileSystems:DescribeFileSystemsResponse'
, describeFileSystemsResponse_fileSystems
- An array of file system descriptions.
$sel:marker:DescribeFileSystems'
, describeFileSystemsResponse_marker
- Present if provided by caller in the request (String).
$sel:nextMarker:DescribeFileSystemsResponse'
, describeFileSystemsResponse_nextMarker
- Present if there are more file systems than returned in the response
(String). You can use the NextMarker
in the subsequent request to
fetch the descriptions.
$sel:httpStatus:DescribeFileSystemsResponse'
, describeFileSystemsResponse_httpStatus
- The response's http status code.
Response Lenses
describeFileSystemsResponse_fileSystems :: Lens' DescribeFileSystemsResponse (Maybe [FileSystemDescription]) Source #
An array of file system descriptions.
describeFileSystemsResponse_marker :: Lens' DescribeFileSystemsResponse (Maybe Text) Source #
Present if provided by caller in the request (String).
describeFileSystemsResponse_nextMarker :: Lens' DescribeFileSystemsResponse (Maybe Text) Source #
Present if there are more file systems than returned in the response
(String). You can use the NextMarker
in the subsequent request to
fetch the descriptions.
describeFileSystemsResponse_httpStatus :: Lens' DescribeFileSystemsResponse Int Source #
The response's http status code.