Module Values.AwsIamAccessKeyDetailsSource

IAM access key details related to a finding.

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

    The user associated with the IAM access key related to a finding. The UserName parameter has been replaced with the PrincipalName parameter because access keys can also be assigned to principals that are not IAM users.

    *)
  2. status : AwsIamAccessKeyStatus.t option;
    (*

    The status of the IAM access key related to a finding.

    *)
  3. createdAt : NonEmptyString.t option;
    (*

    Indicates when the IAM access key was created. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

    *)
  4. principalId : NonEmptyString.t option;
    (*

    The ID of the principal associated with an access key.

    *)
  5. principalType : NonEmptyString.t option;
    (*

    The type of principal associated with an access key.

    *)
  6. principalName : NonEmptyString.t option;
    (*

    The name of the principal.

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

    The Amazon Web Services account ID of the account for the key.

    *)
  8. accessKeyId : NonEmptyString.t option;
    (*

    The identifier of the access key.

    *)
  9. sessionContext : AwsIamAccessKeySessionContext.t option;
    (*

    Information about the session that the key was used for.

    *)
}
Sourceval make : ?userName:??? -> ?status:??? -> ?createdAt:??? -> ?principalId:??? -> ?principalType:??? -> ?principalName:??? -> ?accountId:??? -> ?accessKeyId:??? -> ?sessionContext:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of NonEmptyString.t | `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `String of NonEmptyString.t ]) 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