Module Values.GetAutomatedReasoningPolicyResponseSource

Retrieves details about an Automated Reasoning policy or policy version. Returns information including the policy definition, metadata, and timestamps.

Sourcetype nonrec t = {
  1. policyArn : AutomatedReasoningPolicyArn.t option;
    (*

    The Amazon Resource Name (ARN) of the policy.

    *)
  2. name : AutomatedReasoningPolicyName.t option;
    (*

    The name of the policy.

    *)
  3. version : AutomatedReasoningPolicyVersion.t option;
    (*

    The version of the policy.

    *)
  4. policyId : AutomatedReasoningPolicyId.t option;
    (*

    The unique identifier of the policy.

    *)
  5. description : AutomatedReasoningPolicyDescription.t option;
    (*

    The description of the policy.

    *)
  6. definitionHash : AutomatedReasoningPolicyHash.t option;
    (*

    The hash of the policy definition used as a concurrency token.

    *)
  7. kmsKeyArn : KmsKeyArn.t option;
    (*

    The Amazon Resource Name (ARN) of the KMS key used to encrypt the automated reasoning policy and its associated artifacts. If a KMS key is not provided during the initial CreateAutomatedReasoningPolicyRequest, the kmsKeyArn won't be included in the GetAutomatedReasoningPolicyResponse.

    *)
  8. createdAt : Timestamp.t option;
    (*

    The timestamp when the policy was created.

    *)
  9. updatedAt : Timestamp.t option;
    (*

    The timestamp when the policy was last updated.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?policyArn:??? -> ?name:??? -> ?version:??? -> ?policyId:??? -> ?description:??? -> ?definitionHash:??? -> ?kmsKeyArn:??? -> ?createdAt:??? -> ?updatedAt:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AutomatedReasoningPolicyArn.t | `Timestamp of Timestamp.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