presignGetCallerIdentity
suspend fun StsClient.presignGetCallerIdentity(input: GetCallerIdentityRequest, duration: Duration): HttpRequest
Presign a GetCallerIdentityRequest using the configuration of this StsClient.
Return
An HttpRequest which can be invoked within the specified time window
Parameters
input
The GetCallerIdentityRequest to presign
duration
The amount of time from signing for which the request is valid
suspend fun StsClient.presignGetCallerIdentity(input: GetCallerIdentityRequest, signer: AwsSigner = DefaultAwsSigner, configBlock: AwsSigningConfig.Builder.() -> Unit): HttpRequest
Presign a GetCallerIdentityRequest using the configuration of this StsClient.
Return
An HttpRequest which can be invoked within the specified time window
Parameters
input
The GetCallerIdentityRequest to presign
signer
The specific implementation of AWS signer to use. Defaults to DefaultAwsSigner.
configBlock
A builder block for setting custom signing parameters. At a minimum the expiresAfter field must be set.