Copyright | (c) 2013-2021 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 |
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.
Synopsis
- data ListServiceSpecificCredentials = ListServiceSpecificCredentials' {}
- newListServiceSpecificCredentials :: ListServiceSpecificCredentials
- listServiceSpecificCredentials_userName :: Lens' ListServiceSpecificCredentials (Maybe Text)
- listServiceSpecificCredentials_serviceName :: Lens' ListServiceSpecificCredentials (Maybe Text)
- data ListServiceSpecificCredentialsResponse = ListServiceSpecificCredentialsResponse' {}
- newListServiceSpecificCredentialsResponse :: Int -> ListServiceSpecificCredentialsResponse
- listServiceSpecificCredentialsResponse_serviceSpecificCredentials :: Lens' ListServiceSpecificCredentialsResponse (Maybe [ServiceSpecificCredentialMetadata])
- listServiceSpecificCredentialsResponse_httpStatus :: Lens' ListServiceSpecificCredentialsResponse Int
Creating a Request
data ListServiceSpecificCredentials Source #
See: newListServiceSpecificCredentials
smart constructor.
ListServiceSpecificCredentials' | |
|
Instances
newListServiceSpecificCredentials :: ListServiceSpecificCredentials Source #
Create a value of ListServiceSpecificCredentials
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:userName:ListServiceSpecificCredentials'
, listServiceSpecificCredentials_userName
- 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 (through 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: _+=,.@-
$sel:serviceName:ListServiceSpecificCredentials'
, listServiceSpecificCredentials_serviceName
- Filters the returned results to only those for the specified Amazon Web
Services service. If not specified, then Amazon Web Services returns
service-specific credentials for all services.
Request Lenses
listServiceSpecificCredentials_userName :: 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 (through 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: _+=,.@-
listServiceSpecificCredentials_serviceName :: Lens' ListServiceSpecificCredentials (Maybe Text) Source #
Filters the returned results to only those for the specified Amazon Web Services service. If not specified, then Amazon Web Services returns service-specific credentials for all services.
Destructuring the Response
data ListServiceSpecificCredentialsResponse Source #
See: newListServiceSpecificCredentialsResponse
smart constructor.
ListServiceSpecificCredentialsResponse' | |
|
Instances
newListServiceSpecificCredentialsResponse Source #
Create a value of ListServiceSpecificCredentialsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:serviceSpecificCredentials:ListServiceSpecificCredentialsResponse'
, listServiceSpecificCredentialsResponse_serviceSpecificCredentials
- A list of structures that each contain details about a service-specific
credential.
$sel:httpStatus:ListServiceSpecificCredentialsResponse'
, listServiceSpecificCredentialsResponse_httpStatus
- The response's http status code.
Response Lenses
listServiceSpecificCredentialsResponse_serviceSpecificCredentials :: Lens' ListServiceSpecificCredentialsResponse (Maybe [ServiceSpecificCredentialMetadata]) Source #
A list of structures that each contain details about a service-specific credential.
listServiceSpecificCredentialsResponse_httpStatus :: Lens' ListServiceSpecificCredentialsResponse Int Source #
The response's http status code.