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 associations, if one or more AssociationIds
values are provided in the request, or if filters are used in the
request. Data repository associations are supported only for Amazon FSx
for Lustre file systems with the Persistent_2
deployment type and for
Amazon File Cache resources.
You can use filters to narrow the response to include just data
repository associations for specific file systems (use the
file-system-id
filter with the ID of the file system) or caches (use
the file-cache-id
filter with the ID of the cache), or data repository
associations for a specific repository type (use the
data-repository-type
filter with a value of S3
or NFS
). If you
don't use filters, the response returns all data repository
associations owned by your Amazon Web Services account in the Amazon Web
Services Region of the endpoint that you're calling.
When retrieving all data repository associations, you can paginate the
response by using the optional MaxResults
parameter to limit the
number of data repository associations returned in a response. If more
data repository associations 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 DescribeDataRepositoryAssociations = DescribeDataRepositoryAssociations' {}
- newDescribeDataRepositoryAssociations :: DescribeDataRepositoryAssociations
- describeDataRepositoryAssociations_associationIds :: Lens' DescribeDataRepositoryAssociations (Maybe [Text])
- describeDataRepositoryAssociations_filters :: Lens' DescribeDataRepositoryAssociations (Maybe [Filter])
- describeDataRepositoryAssociations_maxResults :: Lens' DescribeDataRepositoryAssociations (Maybe Natural)
- describeDataRepositoryAssociations_nextToken :: Lens' DescribeDataRepositoryAssociations (Maybe Text)
- data DescribeDataRepositoryAssociationsResponse = DescribeDataRepositoryAssociationsResponse' {}
- newDescribeDataRepositoryAssociationsResponse :: Int -> DescribeDataRepositoryAssociationsResponse
- describeDataRepositoryAssociationsResponse_associations :: Lens' DescribeDataRepositoryAssociationsResponse (Maybe [DataRepositoryAssociation])
- describeDataRepositoryAssociationsResponse_nextToken :: Lens' DescribeDataRepositoryAssociationsResponse (Maybe Text)
- describeDataRepositoryAssociationsResponse_httpStatus :: Lens' DescribeDataRepositoryAssociationsResponse Int
Creating a Request
data DescribeDataRepositoryAssociations Source #
See: newDescribeDataRepositoryAssociations
smart constructor.
DescribeDataRepositoryAssociations' | |
|
Instances
newDescribeDataRepositoryAssociations :: DescribeDataRepositoryAssociations Source #
Create a value of DescribeDataRepositoryAssociations
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:associationIds:DescribeDataRepositoryAssociations'
, describeDataRepositoryAssociations_associationIds
- IDs of the data repository associations whose descriptions you want to
retrieve (String).
$sel:filters:DescribeDataRepositoryAssociations'
, describeDataRepositoryAssociations_filters
- Undocumented member.
$sel:maxResults:DescribeDataRepositoryAssociations'
, describeDataRepositoryAssociations_maxResults
- The maximum number of resources to return in the response. This value
must be an integer greater than zero.
DescribeDataRepositoryAssociations
, describeDataRepositoryAssociations_nextToken
- Undocumented member.
Request Lenses
describeDataRepositoryAssociations_associationIds :: Lens' DescribeDataRepositoryAssociations (Maybe [Text]) Source #
IDs of the data repository associations whose descriptions you want to retrieve (String).
describeDataRepositoryAssociations_filters :: Lens' DescribeDataRepositoryAssociations (Maybe [Filter]) Source #
Undocumented member.
describeDataRepositoryAssociations_maxResults :: Lens' DescribeDataRepositoryAssociations (Maybe Natural) Source #
The maximum number of resources to return in the response. This value must be an integer greater than zero.
describeDataRepositoryAssociations_nextToken :: Lens' DescribeDataRepositoryAssociations (Maybe Text) Source #
Undocumented member.
Destructuring the Response
data DescribeDataRepositoryAssociationsResponse Source #
See: newDescribeDataRepositoryAssociationsResponse
smart constructor.
DescribeDataRepositoryAssociationsResponse' | |
|
Instances
newDescribeDataRepositoryAssociationsResponse Source #
Create a value of DescribeDataRepositoryAssociationsResponse
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:associations:DescribeDataRepositoryAssociationsResponse'
, describeDataRepositoryAssociationsResponse_associations
- An array of one or more data repository association descriptions.
DescribeDataRepositoryAssociations
, describeDataRepositoryAssociationsResponse_nextToken
- Undocumented member.
$sel:httpStatus:DescribeDataRepositoryAssociationsResponse'
, describeDataRepositoryAssociationsResponse_httpStatus
- The response's http status code.
Response Lenses
describeDataRepositoryAssociationsResponse_associations :: Lens' DescribeDataRepositoryAssociationsResponse (Maybe [DataRepositoryAssociation]) Source #
An array of one or more data repository association descriptions.
describeDataRepositoryAssociationsResponse_nextToken :: Lens' DescribeDataRepositoryAssociationsResponse (Maybe Text) Source #
Undocumented member.
describeDataRepositoryAssociationsResponse_httpStatus :: Lens' DescribeDataRepositoryAssociationsResponse Int Source #
The response's http status code.