expiration

val expiration: ERROR CLASS: Symbol not found for aws.smithy.kotlin.runtime.time.Instant

Temporary security credentials expire after a specified interval. After temporary credentials expire, any calls that you make with those credentials will fail. So you must generate a new set of temporary credentials. Temporary credentials cannot be extended or refreshed beyond the original specified interval.