Module Values.PutDataProtectionPolicyInputSource

Adds or updates an inline policy document that is stored in the specified Amazon SNS topic.

Sourcetype nonrec t = {
  1. resourceArn : TopicARN.t;
    (*

    The ARN of the topic whose DataProtectionPolicy you want to add or update. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

    *)
  2. dataProtectionPolicy : AttributeValue.t;
    (*

    The JSON serialization of the topic's DataProtectionPolicy. The DataProtectionPolicy must be in JSON string format. Length Constraints: Maximum length of 30,720.

    *)
}
Sourceval context_ : string
Sourceval make : resourceArn:TopicARN.t -> dataProtectionPolicy:AttributeValue.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of TopicARN.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