libZSservicesZSamazonka-dsZSamazonka-ds
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DirectoryService.DescribeSharedDirectories

Description

Returns the shared directories in your account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeSharedDirectories Source #

See: newDescribeSharedDirectories smart constructor.

Constructors

DescribeSharedDirectories' 

Fields

  • sharedDirectoryIds :: Maybe [Text]

    A list of identifiers of all shared directories in your account.

  • nextToken :: Maybe Text

    The DescribeSharedDirectoriesResult.NextToken value from a previous call to DescribeSharedDirectories. Pass null if this is the first call.

  • limit :: Maybe Natural

    The number of shared directories to return in the response object.

  • ownerDirectoryId :: Text

    Returns the identifier of the directory in the directory owner account.

Instances

Instances details
Eq DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

Read DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

Show DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

Generic DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

Associated Types

type Rep DescribeSharedDirectories :: Type -> Type #

NFData DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

Hashable DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

ToJSON DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

AWSPager DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

AWSRequest DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

ToHeaders DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

ToPath DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

ToQuery DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

type Rep DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

type Rep DescribeSharedDirectories = D1 ('MetaData "DescribeSharedDirectories" "Amazonka.DirectoryService.DescribeSharedDirectories" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "DescribeSharedDirectories'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sharedDirectoryIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "ownerDirectoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeSharedDirectories Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

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.

Constructors

DescribeSharedDirectoriesResponse' 

Fields

  • sharedDirectories :: Maybe [SharedDirectory]

    A list of all shared directories in your account.

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeSharedDirectoriesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

Show DescribeSharedDirectoriesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

Generic DescribeSharedDirectoriesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

Associated Types

type Rep DescribeSharedDirectoriesResponse :: Type -> Type #

NFData DescribeSharedDirectoriesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

type Rep DescribeSharedDirectoriesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeSharedDirectories

type Rep DescribeSharedDirectoriesResponse = D1 ('MetaData "DescribeSharedDirectoriesResponse" "Amazonka.DirectoryService.DescribeSharedDirectories" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "DescribeSharedDirectoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sharedDirectories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SharedDirectory])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_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.