Module Values.GetManagedEndpointSessionCredentialsRequestSource

Generate a session token to connect to a managed endpoint.

Sourcetype nonrec t = {
  1. endpointIdentifier : String2048.t;
    (*

    The ARN of the managed endpoint for which the request is submitted.

    *)
  2. virtualClusterIdentifier : String2048.t;
    (*

    The ARN of the Virtual Cluster which the Managed Endpoint belongs to.

    *)
  3. executionRoleArn : IAMRoleArn.t;
    (*

    The IAM Execution Role ARN that will be used by the job run.

    *)
  4. credentialType : CredentialType.t;
    (*

    Type of the token requested. Currently supported and default value of this field is “TOKEN.”

    *)
  5. durationInSeconds : JavaInteger.t option;
    (*

    Duration in seconds for which the session token is valid. The default duration is 15 minutes and the maximum is 12 hours.

    *)
  6. logContext : LogContext.t option;
    (*

    String identifier used to separate sections of the execution logs uploaded to S3.

    *)
  7. clientToken : ClientToken.t option;
    (*

    The client idempotency token of the job run request.

    *)
}
Sourceval context_ : string
Sourceval make : ?durationInSeconds:??? -> ?logContext:??? -> ?clientToken:??? -> endpointIdentifier:String2048.t -> virtualClusterIdentifier:String2048.t -> executionRoleArn:IAMRoleArn.t -> credentialType:CredentialType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of JavaInteger.t | `String of String2048.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