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 shared directories in your account.
This operation returns paginated results.
Synopsis
- data DescribeSharedDirectories = DescribeSharedDirectories' {}
- newDescribeSharedDirectories :: Text -> DescribeSharedDirectories
- describeSharedDirectories_sharedDirectoryIds :: Lens' DescribeSharedDirectories (Maybe [Text])
- describeSharedDirectories_nextToken :: Lens' DescribeSharedDirectories (Maybe Text)
- describeSharedDirectories_limit :: Lens' DescribeSharedDirectories (Maybe Natural)
- describeSharedDirectories_ownerDirectoryId :: Lens' DescribeSharedDirectories Text
- data DescribeSharedDirectoriesResponse = DescribeSharedDirectoriesResponse' {}
- newDescribeSharedDirectoriesResponse :: Int -> DescribeSharedDirectoriesResponse
- describeSharedDirectoriesResponse_sharedDirectories :: Lens' DescribeSharedDirectoriesResponse (Maybe [SharedDirectory])
- describeSharedDirectoriesResponse_nextToken :: Lens' DescribeSharedDirectoriesResponse (Maybe Text)
- describeSharedDirectoriesResponse_httpStatus :: Lens' DescribeSharedDirectoriesResponse Int
Creating a Request
data DescribeSharedDirectories Source #
See: newDescribeSharedDirectories
smart constructor.
DescribeSharedDirectories' | |
|
Instances
newDescribeSharedDirectories Source #
Create a value of DescribeSharedDirectories
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:sharedDirectoryIds:DescribeSharedDirectories'
, describeSharedDirectories_sharedDirectoryIds
- A list of identifiers of all shared directories in your account.
$sel:nextToken:DescribeSharedDirectories'
, describeSharedDirectories_nextToken
- The DescribeSharedDirectoriesResult.NextToken
value from a previous
call to DescribeSharedDirectories. Pass null if this is the first call.
$sel:limit:DescribeSharedDirectories'
, describeSharedDirectories_limit
- The number of shared directories to return in the response object.
$sel:ownerDirectoryId:DescribeSharedDirectories'
, describeSharedDirectories_ownerDirectoryId
- Returns the identifier of the directory in the directory owner account.
Request Lenses
describeSharedDirectories_sharedDirectoryIds :: Lens' DescribeSharedDirectories (Maybe [Text]) Source #
A list of identifiers of all shared directories in your account.
describeSharedDirectories_nextToken :: Lens' DescribeSharedDirectories (Maybe Text) Source #
The DescribeSharedDirectoriesResult.NextToken
value from a previous
call to DescribeSharedDirectories. Pass null if this is the first call.
describeSharedDirectories_limit :: Lens' DescribeSharedDirectories (Maybe Natural) Source #
The number of shared directories to return in the response object.
describeSharedDirectories_ownerDirectoryId :: Lens' DescribeSharedDirectories Text Source #
Returns the identifier of the directory in the directory owner account.
Destructuring the Response
data DescribeSharedDirectoriesResponse Source #
See: newDescribeSharedDirectoriesResponse
smart constructor.
DescribeSharedDirectoriesResponse' | |
|
Instances
newDescribeSharedDirectoriesResponse Source #
Create a value of DescribeSharedDirectoriesResponse
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:sharedDirectories:DescribeSharedDirectoriesResponse'
, describeSharedDirectoriesResponse_sharedDirectories
- A list of all shared directories in your account.
$sel:nextToken:DescribeSharedDirectories'
, describeSharedDirectoriesResponse_nextToken
- If not null, token that indicates that more results are available. Pass
this value for the NextToken
parameter in a subsequent call to
DescribeSharedDirectories to retrieve the next set of items.
$sel:httpStatus:DescribeSharedDirectoriesResponse'
, describeSharedDirectoriesResponse_httpStatus
- The response's http status code.
Response Lenses
describeSharedDirectoriesResponse_sharedDirectories :: Lens' DescribeSharedDirectoriesResponse (Maybe [SharedDirectory]) Source #
A list of all shared directories in your account.
describeSharedDirectoriesResponse_nextToken :: Lens' DescribeSharedDirectoriesResponse (Maybe Text) Source #
If not null, token that indicates that more results are available. Pass
this value for the NextToken
parameter in a subsequent call to
DescribeSharedDirectories to retrieve the next set of items.
describeSharedDirectoriesResponse_httpStatus :: Lens' DescribeSharedDirectoriesResponse Int Source #
The response's http status code.