libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
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.CloudDirectory.ListDirectories

Description

Lists directories created within an account.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDirectories Source #

See: newListDirectories smart constructor.

Constructors

ListDirectories' 

Fields

Instances

Instances details
Eq ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Read ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Show ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Generic ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Associated Types

type Rep ListDirectories :: Type -> Type #

NFData ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Methods

rnf :: ListDirectories -> () #

Hashable ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

ToJSON ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

AWSPager ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

AWSRequest ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Associated Types

type AWSResponse ListDirectories #

ToHeaders ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

ToPath ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

ToQuery ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

type Rep ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

type Rep ListDirectories = D1 ('MetaData "ListDirectories" "Amazonka.CloudDirectory.ListDirectories" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "ListDirectories'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DirectoryState)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListDirectories Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

newListDirectories :: ListDirectories Source #

Create a value of ListDirectories 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:state:ListDirectories', listDirectories_state - The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.

$sel:nextToken:ListDirectories', listDirectories_nextToken - The pagination token.

$sel:maxResults:ListDirectories', listDirectories_maxResults - The maximum number of results to retrieve.

Request Lenses

listDirectories_state :: Lens' ListDirectories (Maybe DirectoryState) Source #

The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.

listDirectories_maxResults :: Lens' ListDirectories (Maybe Natural) Source #

The maximum number of results to retrieve.

Destructuring the Response

data ListDirectoriesResponse Source #

See: newListDirectoriesResponse smart constructor.

Constructors

ListDirectoriesResponse' 

Fields

Instances

Instances details
Eq ListDirectoriesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Read ListDirectoriesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Show ListDirectoriesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Generic ListDirectoriesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Associated Types

type Rep ListDirectoriesResponse :: Type -> Type #

NFData ListDirectoriesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

Methods

rnf :: ListDirectoriesResponse -> () #

type Rep ListDirectoriesResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.ListDirectories

type Rep ListDirectoriesResponse = D1 ('MetaData "ListDirectoriesResponse" "Amazonka.CloudDirectory.ListDirectories" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "ListDirectoriesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "directories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Directory]))))

newListDirectoriesResponse Source #

Create a value of ListDirectoriesResponse 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:nextToken:ListDirectories', listDirectoriesResponse_nextToken - The pagination token.

$sel:httpStatus:ListDirectoriesResponse', listDirectoriesResponse_httpStatus - The response's http status code.

$sel:directories:ListDirectoriesResponse', listDirectoriesResponse_directories - Lists all directories that are associated with your account in pagination fashion.

Response Lenses

listDirectoriesResponse_directories :: Lens' ListDirectoriesResponse [Directory] Source #

Lists all directories that are associated with your account in pagination fashion.