Describe the bug
The method StsClient::getCallerIdentity() MAY throw MissingAuthenticationToken.
This can happen when the current configuration is targeting SSO without any active session. The only place the MissingAuthenticationToken is documented is in ComputeOptimizer, which seems incorrect given that tokens are related to authentication.
Regression Issue
Expected Behavior
StsClient::getCallerIdentity() documents that MissingAuthenticationToken MAY be thrown.
Current Behavior
StsClient::getCallerIdentity() has no documentation of possible errors.
Reproduction Steps
Configure a profile with SSO authentication.
Ensure no active credentials with aws sso logout.
Execute a request to STS::getCallerIdentity().
Possible Solution
Add errors to the GetCallerIdentity API manifest.
Additional Information/Context
It appears that GetCallerIdentity is missing possible errors. The API documentation also does not list this error, but links to Common Errors, which also does not list this error, so this may be an upstream issue.
SDK version used
latest
Environment details (Version of PHP (php -v)? OS name and version, etc.)
not relevant
Describe the bug
The method
StsClient::getCallerIdentity()MAY throwMissingAuthenticationToken.This can happen when the current configuration is targeting SSO without any active session. The only place the
MissingAuthenticationTokenis documented is inComputeOptimizer, which seems incorrect given that tokens are related to authentication.Regression Issue
Expected Behavior
StsClient::getCallerIdentity()documents thatMissingAuthenticationTokenMAY be thrown.Current Behavior
StsClient::getCallerIdentity()has no documentation of possible errors.Reproduction Steps
Configure a profile with SSO authentication.
Ensure no active credentials with
aws sso logout.Execute a request to
STS::getCallerIdentity().Possible Solution
Add
errorsto the GetCallerIdentity API manifest.Additional Information/Context
It appears that GetCallerIdentity is missing possible errors. The API documentation also does not list this error, but links to Common Errors, which also does not list this error, so this may be an upstream issue.
SDK version used
latest
Environment details (Version of PHP (
php -v)? OS name and version, etc.)not relevant