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

Description

Returns information about the publishing destination specified by the provided destinationId.

Synopsis

Creating a Request

data DescribePublishingDestination Source #

See: newDescribePublishingDestination smart constructor.

Constructors

DescribePublishingDestination' 

Fields

  • detectorId :: Text

    The unique ID of the detector associated with the publishing destination to retrieve.

  • destinationId :: Text

    The ID of the publishing destination to retrieve.

Instances

Instances details
Eq DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

Read DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

Show DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

Generic DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

Associated Types

type Rep DescribePublishingDestination :: Type -> Type #

NFData DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

Hashable DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

AWSRequest DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

ToHeaders DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

ToPath DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

ToQuery DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

type Rep DescribePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

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

Defined in Amazonka.GuardDuty.DescribePublishingDestination

newDescribePublishingDestination Source #

Create a value of DescribePublishingDestination 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:detectorId:DescribePublishingDestination', describePublishingDestination_detectorId - The unique ID of the detector associated with the publishing destination to retrieve.

$sel:destinationId:DescribePublishingDestination', describePublishingDestination_destinationId - The ID of the publishing destination to retrieve.

Request Lenses

describePublishingDestination_detectorId :: Lens' DescribePublishingDestination Text Source #

The unique ID of the detector associated with the publishing destination to retrieve.

Destructuring the Response

data DescribePublishingDestinationResponse Source #

Constructors

DescribePublishingDestinationResponse' 

Fields

Instances

Instances details
Eq DescribePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

Read DescribePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

Show DescribePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

Generic DescribePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

NFData DescribePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

type Rep DescribePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.DescribePublishingDestination

type Rep DescribePublishingDestinationResponse = D1 ('MetaData "DescribePublishingDestinationResponse" "Amazonka.GuardDuty.DescribePublishingDestination" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "DescribePublishingDestinationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "destinationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "destinationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DestinationType))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PublishingStatus) :*: (S1 ('MetaSel ('Just "publishingFailureStartTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "destinationProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DestinationProperties)))))

newDescribePublishingDestinationResponse Source #

Create a value of DescribePublishingDestinationResponse 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:httpStatus:DescribePublishingDestinationResponse', describePublishingDestinationResponse_httpStatus - The response's http status code.

$sel:destinationId:DescribePublishingDestination', describePublishingDestinationResponse_destinationId - The ID of the publishing destination.

$sel:destinationType:DescribePublishingDestinationResponse', describePublishingDestinationResponse_destinationType - The type of publishing destination. Currently, only Amazon S3 buckets are supported.

$sel:status:DescribePublishingDestinationResponse', describePublishingDestinationResponse_status - The status of the publishing destination.

$sel:publishingFailureStartTimestamp:DescribePublishingDestinationResponse', describePublishingDestinationResponse_publishingFailureStartTimestamp - The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.

$sel:destinationProperties:DescribePublishingDestinationResponse', describePublishingDestinationResponse_destinationProperties - A DestinationProperties object that includes the DestinationArn and KmsKeyArn of the publishing destination.

Response Lenses

describePublishingDestinationResponse_destinationType :: Lens' DescribePublishingDestinationResponse DestinationType Source #

The type of publishing destination. Currently, only Amazon S3 buckets are supported.

describePublishingDestinationResponse_publishingFailureStartTimestamp :: Lens' DescribePublishingDestinationResponse Integer Source #

The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.

describePublishingDestinationResponse_destinationProperties :: Lens' DescribePublishingDestinationResponse DestinationProperties Source #

A DestinationProperties object that includes the DestinationArn and KmsKeyArn of the publishing destination.