Module Values.DeleteResourcePolicyRequestSource

Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.

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

    The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached.

    *)
  2. expectedRevisionId : RevisionId.t option;
    (*

    The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception If you don't specify a revision ID, Amazon Lex will delete the current policy.

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