amazonka-cloudwatch-logs-2.0: Amazon CloudWatch Logs 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.CloudWatchLogs.DescribeDestinations

Description

Lists all your destinations. The results are ASCII-sorted by destination name.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeDestinations Source #

See: newDescribeDestinations smart constructor.

Constructors

DescribeDestinations' 

Fields

  • destinationNamePrefix :: Maybe Text

    The prefix to match. If you don't specify a value, no prefix filter is applied.

  • limit :: Maybe Natural

    The maximum number of items returned. If you don't specify a value, the default maximum value of 50 items is used.

  • nextToken :: Maybe Text

    The token for the next set of items to return. (You received this token from a previous call.)

Instances

Instances details
ToJSON DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

ToHeaders DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

ToPath DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

ToQuery DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

AWSPager DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

AWSRequest DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Associated Types

type AWSResponse DescribeDestinations #

Generic DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Associated Types

type Rep DescribeDestinations :: Type -> Type #

Read DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Show DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

NFData DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Methods

rnf :: DescribeDestinations -> () #

Eq DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Hashable DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

type AWSResponse DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

type Rep DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

type Rep DescribeDestinations = D1 ('MetaData "DescribeDestinations" "Amazonka.CloudWatchLogs.DescribeDestinations" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "DescribeDestinations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationNamePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeDestinations :: DescribeDestinations Source #

Create a value of DescribeDestinations 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:destinationNamePrefix:DescribeDestinations', describeDestinations_destinationNamePrefix - The prefix to match. If you don't specify a value, no prefix filter is applied.

$sel:limit:DescribeDestinations', describeDestinations_limit - The maximum number of items returned. If you don't specify a value, the default maximum value of 50 items is used.

DescribeDestinations, describeDestinations_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

Request Lenses

describeDestinations_destinationNamePrefix :: Lens' DescribeDestinations (Maybe Text) Source #

The prefix to match. If you don't specify a value, no prefix filter is applied.

describeDestinations_limit :: Lens' DescribeDestinations (Maybe Natural) Source #

The maximum number of items returned. If you don't specify a value, the default maximum value of 50 items is used.

describeDestinations_nextToken :: Lens' DescribeDestinations (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

Destructuring the Response

data DescribeDestinationsResponse Source #

See: newDescribeDestinationsResponse smart constructor.

Constructors

DescribeDestinationsResponse' 

Fields

Instances

Instances details
Generic DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Associated Types

type Rep DescribeDestinationsResponse :: Type -> Type #

Read DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Show DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

NFData DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Eq DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

type Rep DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

type Rep DescribeDestinationsResponse = D1 ('MetaData "DescribeDestinationsResponse" "Amazonka.CloudWatchLogs.DescribeDestinations" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "DescribeDestinationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Destination])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeDestinationsResponse Source #

Create a value of DescribeDestinationsResponse 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:destinations:DescribeDestinationsResponse', describeDestinationsResponse_destinations - The destinations.

DescribeDestinations, describeDestinationsResponse_nextToken - Undocumented member.

$sel:httpStatus:DescribeDestinationsResponse', describeDestinationsResponse_httpStatus - The response's http status code.

Response Lenses