Module Values.CreatePublishingDestinationRequestSource

Creates a publishing destination where you can export your GuardDuty findings. Before you start exporting the findings, the destination resource must exist.

Sourcetype nonrec t = {
  1. detectorId : DetectorId.t;
    (*

    The ID of the GuardDuty detector associated with the publishing destination. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

    *)
  2. destinationType : DestinationType.t;
    (*

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

    *)
  3. destinationProperties : DestinationProperties.t;
    (*

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

    *)
  4. clientToken : ClientToken.t option;
    (*

    The idempotency token for the request.

    *)
  5. tags : TagMap.t option;
    (*

    The tags to be added to a new publishing destination resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?tags:??? -> detectorId:DetectorId.t -> destinationType:DestinationType.t -> destinationProperties:DestinationProperties.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of DetectorId.t | `Structure of (string * [> `String of String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t