amazonka-dms-2.0: Amazon Database Migration Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DMS.DescribeEventSubscriptions

Description

Lists all the event subscriptions for a customer account. The description of a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.

If you specify SubscriptionName, this action lists the description for that subscription.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeEventSubscriptions Source #

See: newDescribeEventSubscriptions smart constructor.

Constructors

DescribeEventSubscriptions' 

Fields

  • filters :: Maybe [Filter]

    Filters applied to event subscriptions.

    Valid filter names: event-subscription-arn | event-subscription-id

  • marker :: Maybe Text

    An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

  • maxRecords :: Maybe Int

    The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

    Default: 100

    Constraints: Minimum 20, maximum 100.

  • subscriptionName :: Maybe Text

    The name of the DMS event subscription to be described.

Instances

Instances details
ToJSON DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

ToHeaders DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

ToPath DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

ToQuery DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

AWSPager DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

AWSRequest DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

Generic DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

Associated Types

type Rep DescribeEventSubscriptions :: Type -> Type #

Read DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

Show DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

NFData DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

Eq DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

Hashable DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

type AWSResponse DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

type Rep DescribeEventSubscriptions Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

type Rep DescribeEventSubscriptions = D1 ('MetaData "DescribeEventSubscriptions" "Amazonka.DMS.DescribeEventSubscriptions" "amazonka-dms-2.0-LVCLJv4CY4nJuf0WXCDs3O" 'False) (C1 ('MetaCons "DescribeEventSubscriptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "subscriptionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeEventSubscriptions :: DescribeEventSubscriptions Source #

Create a value of DescribeEventSubscriptions 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:filters:DescribeEventSubscriptions', describeEventSubscriptions_filters - Filters applied to event subscriptions.

Valid filter names: event-subscription-arn | event-subscription-id

DescribeEventSubscriptions, describeEventSubscriptions_marker - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

$sel:maxRecords:DescribeEventSubscriptions', describeEventSubscriptions_maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

$sel:subscriptionName:DescribeEventSubscriptions', describeEventSubscriptions_subscriptionName - The name of the DMS event subscription to be described.

Request Lenses

describeEventSubscriptions_filters :: Lens' DescribeEventSubscriptions (Maybe [Filter]) Source #

Filters applied to event subscriptions.

Valid filter names: event-subscription-arn | event-subscription-id

describeEventSubscriptions_marker :: Lens' DescribeEventSubscriptions (Maybe Text) Source #

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

describeEventSubscriptions_maxRecords :: Lens' DescribeEventSubscriptions (Maybe Int) Source #

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

describeEventSubscriptions_subscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text) Source #

The name of the DMS event subscription to be described.

Destructuring the Response

data DescribeEventSubscriptionsResponse Source #

Constructors

DescribeEventSubscriptionsResponse' 

Fields

Instances

Instances details
Generic DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

Associated Types

type Rep DescribeEventSubscriptionsResponse :: Type -> Type #

Read DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

Show DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

NFData DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

Eq DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

type Rep DescribeEventSubscriptionsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeEventSubscriptions

type Rep DescribeEventSubscriptionsResponse = D1 ('MetaData "DescribeEventSubscriptionsResponse" "Amazonka.DMS.DescribeEventSubscriptions" "amazonka-dms-2.0-LVCLJv4CY4nJuf0WXCDs3O" 'False) (C1 ('MetaCons "DescribeEventSubscriptionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventSubscriptionsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventSubscription])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeEventSubscriptionsResponse Source #

Create a value of DescribeEventSubscriptionsResponse 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:eventSubscriptionsList:DescribeEventSubscriptionsResponse', describeEventSubscriptionsResponse_eventSubscriptionsList - A list of event subscriptions.

DescribeEventSubscriptions, describeEventSubscriptionsResponse_marker - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

$sel:httpStatus:DescribeEventSubscriptionsResponse', describeEventSubscriptionsResponse_httpStatus - The response's http status code.

Response Lenses

describeEventSubscriptionsResponse_marker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text) Source #

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.