Module Values.CreateAIGuardrailRequestSource

Creates an Amazon Q in Connect AI Guardrail.

Sourcetype nonrec t = {
  1. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..

    *)
  2. assistantId : UuidOrArn.t;
    (*

    The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
  3. name : Name.t;
    (*

    The name of the AI Guardrail.

    *)
  4. blockedInputMessaging : AIGuardrailBlockedMessaging.t;
    (*

    The message to return when the AI Guardrail blocks a prompt.

    *)
  5. blockedOutputsMessaging : AIGuardrailBlockedMessaging.t;
    (*

    The message to return when the AI Guardrail blocks a model response.

    *)
  6. visibilityStatus : VisibilityStatus.t;
    (*

    The visibility status of the AI Guardrail.

    *)
  7. description : AIGuardrailDescription.t option;
    (*

    A description of the AI Guardrail.

    *)
  8. topicPolicyConfig : AIGuardrailTopicPolicyConfig.t option;
    (*

    The topic policies to configure for the AI Guardrail.

    *)
  9. contentPolicyConfig : AIGuardrailContentPolicyConfig.t option;
    (*

    The content filter policies to configure for the AI Guardrail.

    *)
  10. wordPolicyConfig : AIGuardrailWordPolicyConfig.t option;
    (*

    The word policy you configure for the AI Guardrail.

    *)
  11. sensitiveInformationPolicyConfig : AIGuardrailSensitiveInformationPolicyConfig.t option;
    (*

    The sensitive information policy to configure for the AI Guardrail.

    *)
  12. contextualGroundingPolicyConfig : AIGuardrailContextualGroundingPolicyConfig.t option;
    (*

    The contextual grounding policy configuration used to create an AI Guardrail.

    *)
  13. tags : Tags.t option;
    (*

    The tags used to organize, track, or control access for this resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?description:??? -> ?topicPolicyConfig:??? -> ?contentPolicyConfig:??? -> ?wordPolicyConfig:??? -> ?sensitiveInformationPolicyConfig:??? -> ?contextualGroundingPolicyConfig:??? -> ?tags:??? -> assistantId:UuidOrArn.t -> name:Name.t -> blockedInputMessaging:AIGuardrailBlockedMessaging.t -> blockedOutputsMessaging:AIGuardrailBlockedMessaging.t -> visibilityStatus:VisibilityStatus.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 ClientToken.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Double of GuardrailContextualGroundingFilterThreshold.t | `Enum of string | `List of [> `String of GuardrailTopicExample.t ] list | `String of GuardrailTopicName.t ]) list ] list ]) 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