Module Values.StartConfigurationPolicyAssociationResponseSource

Associates a target account, organizational unit, or the root with a specified configuration. The target can be associated with a configuration policy or self-managed behavior. Only the Security Hub CSPM delegated administrator can invoke this operation from the home Region.

Sourcetype nonrec t = {
  1. configurationPolicyId : NonEmptyString.t option;
    (*

    The UUID of the configuration policy.

    *)
  2. targetId : NonEmptyString.t option;
    (*

    The identifier of the target account, organizational unit, or the organization root with which the configuration is associated.

    *)
  3. targetType : TargetType.t option;
    (*

    Indicates whether the target is an Amazon Web Services account, organizational unit, or the organization root.

    *)
  4. associationType : AssociationType.t option;
    (*

    Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub CSPM delegated administrator or inherited from a parent.

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

    The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.

    *)
  6. associationStatus : ConfigurationPolicyAssociationStatus.t option;
    (*

    The current status of the association between the specified target and the configuration.

    *)
  7. associationStatusMessage : NonEmptyString.t option;
    (*

    An explanation for a FAILED value for AssociationStatus.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalException of InternalException.t
  3. | `InvalidAccessException of InvalidAccessException.t
  4. | `InvalidInputException of InvalidInputException.t
  5. | `LimitExceededException of LimitExceededException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?configurationPolicyId:??? -> ?targetId:??? -> ?targetType:??? -> ?associationType:??? -> ?updatedAt:??? -> ?associationStatus:??? -> ?associationStatusMessage:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalException of InternalException.t | `InvalidAccessException of InvalidAccessException.t | `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalException of InternalException.t | `InvalidAccessException of InvalidAccessException.t | `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of NonEmptyString.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