Module Values.S3ActionSource

Writes the MIME content of the email to an S3 bucket.

Sourcetype nonrec t = {
  1. actionFailurePolicy : ActionFailurePolicy.t option;
    (*

    A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified the bucket has been deleted.

    *)
  2. roleArn : IamRoleArn.t;
    (*

    The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3. This role must have access to the s3:PutObject, kms:Encrypt, and kms:GenerateDataKey APIs for the given bucket.

    *)
  3. s3Bucket : S3Bucket.t;
    (*

    The bucket name of the S3 bucket to write to.

    *)
  4. s3Prefix : S3Prefix.t option;
    (*

    The S3 prefix to use for the write to the s3 bucket.

    *)
  5. s3SseKmsKeyId : KmsKeyId.t option;
    (*

    The KMS Key ID to use to encrypt the message in S3.

    *)
}
Sourceval context_ : string
Sourceval make : ?actionFailurePolicy:??? -> ?s3Prefix:??? -> ?s3SseKmsKeyId:??? -> roleArn:IamRoleArn.t -> s3Bucket:S3Bucket.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of IamRoleArn.t ]) 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