Module Values_0.SnsActionSource

Describes an action to publish to an Amazon SNS topic.

Sourcetype nonrec t = {
  1. targetArn : AwsArn.t;
    (*

    The ARN of the SNS topic.

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

    The ARN of the IAM role that grants access.

    *)
  3. messageFormat : MessageFormat.t option;
    (*

    (Optional) The message format of the message to publish. Accepted values are "JSON" and "RAW". The default value of the attribute is "RAW". SNS uses this setting to determine if the payload should be parsed and relevant platform-specific bits of the payload should be extracted. To read more about SNS message formats, see https://docs.aws.amazon.com/sns/latest/dg/json-formats.html refer to their official documentation.

    *)
}
Sourceval context_ : string
Sourceval make : ?messageFormat:??? -> targetArn:AwsArn.t -> roleArn:AwsArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of AwsArn.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