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

Description

Creates a publishing destination to export findings to. The resource to export findings to must exist before you use this operation.

Synopsis

Creating a Request

data CreatePublishingDestination Source #

See: newCreatePublishingDestination smart constructor.

Constructors

CreatePublishingDestination' 

Fields

Instances

Instances details
Eq CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

Read CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

Show CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

Generic CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

Associated Types

type Rep CreatePublishingDestination :: Type -> Type #

NFData CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

Hashable CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

ToJSON CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

AWSRequest CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

ToHeaders CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

ToPath CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

ToQuery CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

type Rep CreatePublishingDestination Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

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

Defined in Amazonka.GuardDuty.CreatePublishingDestination

newCreatePublishingDestination Source #

Create a value of CreatePublishingDestination 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:clientToken:CreatePublishingDestination', createPublishingDestination_clientToken - The idempotency token for the request.

$sel:detectorId:CreatePublishingDestination', createPublishingDestination_detectorId - The ID of the GuardDuty detector associated with the publishing destination.

$sel:destinationType:CreatePublishingDestination', createPublishingDestination_destinationType - The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.

$sel:destinationProperties:CreatePublishingDestination', createPublishingDestination_destinationProperties - The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.

Request Lenses

createPublishingDestination_detectorId :: Lens' CreatePublishingDestination Text Source #

The ID of the GuardDuty detector associated with the publishing destination.

createPublishingDestination_destinationType :: Lens' CreatePublishingDestination DestinationType Source #

The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.

createPublishingDestination_destinationProperties :: Lens' CreatePublishingDestination DestinationProperties Source #

The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.

Destructuring the Response

data CreatePublishingDestinationResponse Source #

Constructors

CreatePublishingDestinationResponse' 

Fields

Instances

Instances details
Eq CreatePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

Read CreatePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

Show CreatePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

Generic CreatePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

NFData CreatePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

type Rep CreatePublishingDestinationResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.CreatePublishingDestination

type Rep CreatePublishingDestinationResponse = D1 ('MetaData "CreatePublishingDestinationResponse" "Amazonka.GuardDuty.CreatePublishingDestination" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "CreatePublishingDestinationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "destinationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreatePublishingDestinationResponse Source #

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

$sel:destinationId:CreatePublishingDestinationResponse', createPublishingDestinationResponse_destinationId - The ID of the publishing destination that is created.

Response Lenses