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

Description

Obtains information about which Amazon SNS topics receive status messages from the specified directory.

If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.

Synopsis

Creating a Request

data DescribeEventTopics Source #

Describes event topics.

See: newDescribeEventTopics smart constructor.

Constructors

DescribeEventTopics' 

Fields

  • directoryId :: Maybe Text

    The Directory ID for which to get the list of associated Amazon SNS topics. If this member is null, associations for all Directory IDs are returned.

  • topicNames :: Maybe [Text]

    A list of Amazon SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

    An empty list results in an InvalidParameterException being thrown.

Instances

Instances details
Eq DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Read DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Show DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Generic DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Associated Types

type Rep DescribeEventTopics :: Type -> Type #

NFData DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Methods

rnf :: DescribeEventTopics -> () #

Hashable DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

ToJSON DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

AWSRequest DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Associated Types

type AWSResponse DescribeEventTopics #

ToHeaders DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

ToPath DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

ToQuery DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

type Rep DescribeEventTopics Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

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

Defined in Amazonka.DirectoryService.DescribeEventTopics

newDescribeEventTopics :: DescribeEventTopics Source #

Create a value of DescribeEventTopics 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:directoryId:DescribeEventTopics', describeEventTopics_directoryId - The Directory ID for which to get the list of associated Amazon SNS topics. If this member is null, associations for all Directory IDs are returned.

$sel:topicNames:DescribeEventTopics', describeEventTopics_topicNames - A list of Amazon SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

An empty list results in an InvalidParameterException being thrown.

Request Lenses

describeEventTopics_directoryId :: Lens' DescribeEventTopics (Maybe Text) Source #

The Directory ID for which to get the list of associated Amazon SNS topics. If this member is null, associations for all Directory IDs are returned.

describeEventTopics_topicNames :: Lens' DescribeEventTopics (Maybe [Text]) Source #

A list of Amazon SNS topic names for which to obtain the information. If this member is null, all associations for the specified Directory ID are returned.

An empty list results in an InvalidParameterException being thrown.

Destructuring the Response

data DescribeEventTopicsResponse Source #

The result of a DescribeEventTopic request.

See: newDescribeEventTopicsResponse smart constructor.

Constructors

DescribeEventTopicsResponse' 

Fields

Instances

Instances details
Eq DescribeEventTopicsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Read DescribeEventTopicsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Show DescribeEventTopicsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Generic DescribeEventTopicsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

Associated Types

type Rep DescribeEventTopicsResponse :: Type -> Type #

NFData DescribeEventTopicsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

type Rep DescribeEventTopicsResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeEventTopics

type Rep DescribeEventTopicsResponse = D1 ('MetaData "DescribeEventTopicsResponse" "Amazonka.DirectoryService.DescribeEventTopics" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "DescribeEventTopicsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventTopics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventTopic])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeEventTopicsResponse Source #

Create a value of DescribeEventTopicsResponse 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:eventTopics:DescribeEventTopicsResponse', describeEventTopicsResponse_eventTopics - A list of Amazon SNS topic names that receive status messages from the specified Directory ID.

$sel:httpStatus:DescribeEventTopicsResponse', describeEventTopicsResponse_httpStatus - The response's http status code.

Response Lenses

describeEventTopicsResponse_eventTopics :: Lens' DescribeEventTopicsResponse (Maybe [EventTopic]) Source #

A list of Amazon SNS topic names that receive status messages from the specified Directory ID.