Module Values.GetPolicyOutputSource

Retrieves information about the specified policy.

Sourcetype nonrec t = {
  1. policyStoreId : PolicyStoreId.t option;
    (*

    The ID of the policy store that contains the policy that you want information about.

    *)
  2. policyId : PolicyId.t option;
    (*

    The unique ID of the policy that you want information about.

    *)
  3. policyType : PolicyType.t option;
    (*

    The type of the policy.

    *)
  4. principal : EntityIdentifier.t option;
    (*

    The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.

    *)
  5. resource : EntityIdentifier.t option;
    (*

    The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.

    *)
  6. actions : ActionIdentifierList.t option;
    (*

    The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.

    *)
  7. definition : PolicyDefinitionDetail.t option;
    (*

    The definition of the requested policy.

    *)
  8. createdDate : TimestampFormat.t option;
    (*

    The date and time that the policy was originally created.

    *)
  9. lastUpdatedDate : TimestampFormat.t option;
    (*

    The date and time that the policy was last updated.

    *)
  10. effect_ : PolicyEffect.t option;
    (*

    The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".

    *)
  11. name : PolicyName.t option;
    (*

    The name of the policy, if one was assigned when the policy was created or 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 : ?policyStoreId:??? -> ?policyId:??? -> ?policyType:??? -> ?principal:??? -> ?resource:??? -> ?actions:??? -> ?definition:??? -> ?createdDate:??? -> ?lastUpdatedDate:??? -> ?effect_:??? -> ?name:??? -> 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 * [> `Enum of string | `List of [> `Structure of (string * [> `String of ActionType.t ]) list ] list | `String of PolicyStoreId.t | `Structure of (string * [> `String of EntityType.t | `Structure of (string * [> `String of StaticPolicyDescription.t | `Structure of (string * [> `String of EntityType.t ]) list ]) list ]) list | `Timestamp of TimestampFormat.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