# Functions
WhenWasKeyUsed retrieves when an access key was last used, including the AWS Region and with which service Inputs: svc is an IAM service client keyID is the ID of an access key Output: If success, when the access key was last used and nil Otherwise, nil and an error from the call to GetAccessKeyLastUsed.