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

Description

Provides information about the Regions that are configured for multi-Region replication.

Synopsis

Creating a Request

data DescribeRegions Source #

See: newDescribeRegions smart constructor.

Constructors

DescribeRegions' 

Fields

  • regionName :: Maybe Text

    The name of the Region. For example, us-east-1.

  • nextToken :: Maybe Text

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

  • directoryId :: Text

    The identifier of the directory.

Instances

Instances details
Eq DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Read DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Show DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Generic DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Associated Types

type Rep DescribeRegions :: Type -> Type #

NFData DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Methods

rnf :: DescribeRegions -> () #

Hashable DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

ToJSON DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

AWSRequest DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Associated Types

type AWSResponse DescribeRegions #

ToHeaders DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

ToPath DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

ToQuery DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

type Rep DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

type Rep DescribeRegions = D1 ('MetaData "DescribeRegions" "Amazonka.DirectoryService.DescribeRegions" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "DescribeRegions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeRegions Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

newDescribeRegions Source #

Create a value of DescribeRegions 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:regionName:DescribeRegions', describeRegions_regionName - The name of the Region. For example, us-east-1.

$sel:nextToken:DescribeRegions', describeRegions_nextToken - The DescribeRegionsResult.NextToken value from a previous call to DescribeRegions. Pass null if this is the first call.

$sel:directoryId:DescribeRegions', describeRegions_directoryId - The identifier of the directory.

Request Lenses

describeRegions_regionName :: Lens' DescribeRegions (Maybe Text) Source #

The name of the Region. For example, us-east-1.

describeRegions_nextToken :: Lens' DescribeRegions (Maybe Text) Source #

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

describeRegions_directoryId :: Lens' DescribeRegions Text Source #

The identifier of the directory.

Destructuring the Response

data DescribeRegionsResponse Source #

See: newDescribeRegionsResponse smart constructor.

Constructors

DescribeRegionsResponse' 

Fields

  • nextToken :: Maybe Text

    If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeRegions to retrieve the next set of items.

  • regionsDescription :: Maybe [RegionDescription]

    List of Region information related to the directory for each replicated Region.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeRegionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Read DescribeRegionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Show DescribeRegionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Generic DescribeRegionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Associated Types

type Rep DescribeRegionsResponse :: Type -> Type #

NFData DescribeRegionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

Methods

rnf :: DescribeRegionsResponse -> () #

type Rep DescribeRegionsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeRegions

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

newDescribeRegionsResponse Source #

Create a value of DescribeRegionsResponse 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:DescribeRegions', describeRegionsResponse_nextToken - If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeRegions to retrieve the next set of items.

$sel:regionsDescription:DescribeRegionsResponse', describeRegionsResponse_regionsDescription - List of Region information related to the directory for each replicated Region.

$sel:httpStatus:DescribeRegionsResponse', describeRegionsResponse_httpStatus - The response's http status code.

Response Lenses

describeRegionsResponse_nextToken :: Lens' DescribeRegionsResponse (Maybe Text) Source #

If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeRegions to retrieve the next set of items.

describeRegionsResponse_regionsDescription :: Lens' DescribeRegionsResponse (Maybe [RegionDescription]) Source #

List of Region information related to the directory for each replicated Region.