libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IAM.ListServiceSpecificCredentials

Description

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

Creating a Request

data ListServiceSpecificCredentials Source #

See: newListServiceSpecificCredentials smart constructor.

Constructors

ListServiceSpecificCredentials' 

Fields

  • userName :: Maybe Text

    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: _+=,.@-

  • serviceName :: Maybe Text

    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.

Instances

Instances details
Eq ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

Read ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

Show ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

Generic ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

Associated Types

type Rep ListServiceSpecificCredentials :: Type -> Type #

NFData ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

Hashable ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

AWSRequest ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

ToHeaders ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

ToPath ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

ToQuery ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

type Rep ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

type Rep ListServiceSpecificCredentials = D1 ('MetaData "ListServiceSpecificCredentials" "Amazonka.IAM.ListServiceSpecificCredentials" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ListServiceSpecificCredentials'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListServiceSpecificCredentials Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

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 #

Constructors

ListServiceSpecificCredentialsResponse' 

Fields

Instances

Instances details
Eq ListServiceSpecificCredentialsResponse Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

Read ListServiceSpecificCredentialsResponse Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

Show ListServiceSpecificCredentialsResponse Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

Generic ListServiceSpecificCredentialsResponse Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

NFData ListServiceSpecificCredentialsResponse Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

type Rep ListServiceSpecificCredentialsResponse Source # 
Instance details

Defined in Amazonka.IAM.ListServiceSpecificCredentials

type Rep ListServiceSpecificCredentialsResponse = D1 ('MetaData "ListServiceSpecificCredentialsResponse" "Amazonka.IAM.ListServiceSpecificCredentials" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ListServiceSpecificCredentialsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceSpecificCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServiceSpecificCredentialMetadata])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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