libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.ListPublishingDestinations

Description

Returns a list of publishing destinations associated with the specified dectectorId.

Synopsis

Creating a Request

data ListPublishingDestinations Source #

See: newListPublishingDestinations smart constructor.

Constructors

ListPublishingDestinations' 

Fields

  • nextToken :: Maybe Text

    A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the response.

  • detectorId :: Text

    The ID of the detector to retrieve publishing destinations for.

Instances

Instances details
Eq ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

Read ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

Show ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

Generic ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

Associated Types

type Rep ListPublishingDestinations :: Type -> Type #

NFData ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

Hashable ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

AWSRequest ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

ToHeaders ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

ToPath ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

ToQuery ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

type Rep ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

type Rep ListPublishingDestinations = D1 ('MetaData "ListPublishingDestinations" "Amazonka.GuardDuty.ListPublishingDestinations" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "ListPublishingDestinations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListPublishingDestinations Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

newListPublishingDestinations Source #

Create a value of ListPublishingDestinations 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:ListPublishingDestinations', listPublishingDestinations_nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

$sel:maxResults:ListPublishingDestinations', listPublishingDestinations_maxResults - The maximum number of results to return in the response.

$sel:detectorId:ListPublishingDestinations', listPublishingDestinations_detectorId - The ID of the detector to retrieve publishing destinations for.

Request Lenses

listPublishingDestinations_nextToken :: Lens' ListPublishingDestinations (Maybe Text) Source #

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

listPublishingDestinations_maxResults :: Lens' ListPublishingDestinations (Maybe Natural) Source #

The maximum number of results to return in the response.

listPublishingDestinations_detectorId :: Lens' ListPublishingDestinations Text Source #

The ID of the detector to retrieve publishing destinations for.

Destructuring the Response

data ListPublishingDestinationsResponse Source #

Constructors

ListPublishingDestinationsResponse' 

Fields

  • nextToken :: Maybe Text

    A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

  • httpStatus :: Int

    The response's http status code.

  • destinations :: [Destination]

    A Destinations object that includes information about each publishing destination returned.

Instances

Instances details
Eq ListPublishingDestinationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

Read ListPublishingDestinationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

Show ListPublishingDestinationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

Generic ListPublishingDestinationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

Associated Types

type Rep ListPublishingDestinationsResponse :: Type -> Type #

NFData ListPublishingDestinationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

type Rep ListPublishingDestinationsResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.ListPublishingDestinations

type Rep ListPublishingDestinationsResponse = D1 ('MetaData "ListPublishingDestinationsResponse" "Amazonka.GuardDuty.ListPublishingDestinations" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "ListPublishingDestinationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Destination]))))

newListPublishingDestinationsResponse Source #

Create a value of ListPublishingDestinationsResponse 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:ListPublishingDestinations', listPublishingDestinationsResponse_nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

$sel:httpStatus:ListPublishingDestinationsResponse', listPublishingDestinationsResponse_httpStatus - The response's http status code.

$sel:destinations:ListPublishingDestinationsResponse', listPublishingDestinationsResponse_destinations - A Destinations object that includes information about each publishing destination returned.

Response Lenses

listPublishingDestinationsResponse_nextToken :: Lens' ListPublishingDestinationsResponse (Maybe Text) Source #

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

listPublishingDestinationsResponse_destinations :: Lens' ListPublishingDestinationsResponse [Destination] Source #

A Destinations object that includes information about each publishing destination returned.