libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs
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.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

  • nextToken :: Maybe Text

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

  • limit :: Maybe Natural

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

  • destinationNamePrefix :: Maybe Text

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

Instances

Instances details
Eq DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Read DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Show DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Generic DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Associated Types

type Rep DescribeDestinations :: Type -> Type #

NFData DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Methods

rnf :: DescribeDestinations -> () #

Hashable DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

ToJSON 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 #

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

type Rep DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

type Rep DescribeDestinations = D1 ('MetaData "DescribeDestinations" "Amazonka.CloudWatchLogs.DescribeDestinations" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "DescribeDestinations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "destinationNamePrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DescribeDestinations Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

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:nextToken:DescribeDestinations', describeDestinations_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

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

$sel:destinationNamePrefix:DescribeDestinations', describeDestinations_destinationNamePrefix - The prefix to match. If you don't specify a value, no prefix filter is applied.

Request Lenses

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

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

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

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

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

Destructuring the Response

data DescribeDestinationsResponse Source #

See: newDescribeDestinationsResponse smart constructor.

Constructors

DescribeDestinationsResponse' 

Fields

Instances

Instances details
Eq DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Read DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Show DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Generic DescribeDestinationsResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeDestinations

Associated Types

type Rep DescribeDestinationsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "DescribeDestinationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Destination])) :*: 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:nextToken:DescribeDestinations', describeDestinationsResponse_nextToken - Undocumented member.

$sel:destinations:DescribeDestinationsResponse', describeDestinationsResponse_destinations - The destinations.

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

Response Lenses