Class ListServiceSpecificCredentialsCommandProtected
Returns information about the service-specific credentials associated with the
specified IAM user. If none exists, the operation returns an empty list. The
service-specific credentials returned by this operation are used only for authenticating
the IAM user to a specific service. For more information about using service-specific
credentials to authenticate to an Amazon Web Services service, see Set up service-specific credentials
in the CodeCommit User Guide.
Example
Use a bare-bones client and the command you need to make an API call.
Returns information about the service-specific credentials associated with the specified IAM user. If none exists, the operation returns an empty list. The service-specific credentials returned by this operation are used only for authenticating the IAM user to a specific service. For more information about using service-specific credentials to authenticate to an Amazon Web Services service, see Set up service-specific credentials in the CodeCommit User Guide.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListServiceSpecificCredentialsCommandInput
Returns
ListServiceSpecificCredentialsCommandOutput
See
input
shape.response
shape.config
shape.Throws
NoSuchEntityException (client fault)
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
Throws
ServiceNotSupportedException (client fault)
The specified service does not support service-specific credentials.
Throws
IAMServiceException
Base exception class for all service exceptions from IAM service.