Module Values.GetCentralizationRuleForOrganizationOutputSource

Retrieves the details of a specific organization centralization rule. This operation can only be called by the organization's management account or a delegated administrator account.

Sourcetype nonrec t = {
  1. ruleName : RuleName.t option;
    (*

    The name of the organization centralization rule.

    *)
  2. ruleArn : ResourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the organization centralization rule.

    *)
  3. creatorAccountId : String_.t option;
    (*

    The Amazon Web Services Account that created the organization centralization rule.

    *)
  4. createdTimeStamp : Long.t option;
    (*

    The timestamp when the organization centralization rule was created.

    *)
  5. createdRegion : Region.t option;
    (*

    The Amazon Web Services region where the organization centralization rule was created.

    *)
  6. lastUpdateTimeStamp : Long.t option;
    (*

    The timestamp when the organization centralization rule was last updated.

    *)
  7. ruleHealth : RuleHealth.t option;
    (*

    The health status of the organization centralization rule.

    *)
  8. failureReason : CentralizationFailureReason.t option;
    (*

    The reason why an organization centralization rule is marked UNHEALTHY.

    *)
  9. centralizationRule : CentralizationRule.t option;
    (*

    The configuration details for the organization centralization rule.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?ruleName:??? -> ?ruleArn:??? -> ?creatorAccountId:??? -> ?createdTimeStamp:??? -> ?createdRegion:??? -> ?lastUpdateTimeStamp:??? -> ?ruleHealth:??? -> ?failureReason:??? -> ?centralizationRule:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.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 | `TooManyRequestsException of TooManyRequestsException.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 | `Long of Long.t | `String of RuleName.t | `Structure of (string * [> `Structure of (string * [> `List of [> `String of Region.t ] list | `String of SourceFilterString.t | `Structure of (string * [> `Enum of string | `String of LogsFilterString.t | `Structure of (string * [> `Enum of string | `String of ResourceArn.t ]) list ]) 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