Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns information about the service-specific credentials associated with the specified IAM user. If there are none, 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 AWS service, see Set Up service-specific credentials in the AWS CodeCommit User Guide.
- listServiceSpecificCredentials :: ListServiceSpecificCredentials
- data ListServiceSpecificCredentials
- lsscUserName :: Lens' ListServiceSpecificCredentials (Maybe Text)
- lsscServiceName :: Lens' ListServiceSpecificCredentials (Maybe Text)
- listServiceSpecificCredentialsResponse :: Int -> ListServiceSpecificCredentialsResponse
- data ListServiceSpecificCredentialsResponse
- lsscrsServiceSpecificCredentials :: Lens' ListServiceSpecificCredentialsResponse [ServiceSpecificCredentialMetadata]
- lsscrsResponseStatus :: Lens' ListServiceSpecificCredentialsResponse Int
Creating a Request
listServiceSpecificCredentials :: ListServiceSpecificCredentials Source #
Creates a value of ListServiceSpecificCredentials
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsscUserName
- The name of the user whose service-specific credentials you want information about. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-lsscServiceName
- Filters the returned results to only those for the specified AWS service. If not specified, then AWS returns service-specific credentials for all services.
data ListServiceSpecificCredentials Source #
See: listServiceSpecificCredentials
smart constructor.
Request Lenses
lsscUserName :: Lens' ListServiceSpecificCredentials (Maybe Text) Source #
The name of the user whose service-specific credentials you want information about. If this value is not specified, then the operation assumes the user whose credentials are used to call the operation. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
lsscServiceName :: Lens' ListServiceSpecificCredentials (Maybe Text) Source #
Filters the returned results to only those for the specified AWS service. If not specified, then AWS returns service-specific credentials for all services.
Destructuring the Response
listServiceSpecificCredentialsResponse Source #
Creates a value of ListServiceSpecificCredentialsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsscrsServiceSpecificCredentials
- A list of structures that each contain details about a service-specific credential.lsscrsResponseStatus
- -- | The response status code.
data ListServiceSpecificCredentialsResponse Source #
See: listServiceSpecificCredentialsResponse
smart constructor.
Response Lenses
lsscrsServiceSpecificCredentials :: Lens' ListServiceSpecificCredentialsResponse [ServiceSpecificCredentialMetadata] Source #
A list of structures that each contain details about a service-specific credential.
lsscrsResponseStatus :: Lens' ListServiceSpecificCredentialsResponse Int Source #
- - | The response status code.