Module Values_1.DataSourceCredentialsSource

Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

Sourcetype nonrec t = {
  1. credentialPair : CredentialPair.t option;
    (*

    Credential pair. For more information, see CredentialPair .

    *)
  2. copySourceArn : CopySourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

    *)
  3. secretArn : SecretArn.t option;
    (*

    The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

    *)
  4. keyPairCredentials : KeyPairCredentials.t option;
    (*

    The credentials for connecting using key-pair.

    *)
  5. webProxyCredentials : WebProxyCredentials.t option;
    (*

    The credentials for connecting through a web proxy server.

    *)
  6. oAuthClientCredentials : OAuthClientCredentials.t option;
    (*

    The OAuth client credentials for connecting to a data source using OAuth 2.0 client credentials (2LO) authentication. For more information, see OAuthClientCredentials .

    *)
}
Sourceval make : ?credentialPair:??? -> ?copySourceArn:??? -> ?secretArn:??? -> ?keyPairCredentials:??? -> ?webProxyCredentials:??? -> ?oAuthClientCredentials:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CopySourceArn.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Port.t | `String of string | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `List of [> `String of DatabaseGroup.t ] list | `String of Values_0.RoleArn.t | `Structure of (string * [> `String of Values_0.Arn.t ]) list ]) list ]) list ]) list ] list | `String of DbUsername.t ]) 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