amazonka-iam-1.6.0: Amazon Identity and Access Management SDK.

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

Network.AWS.IAM.ListServiceSpecificCredentials

Contents

Description

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.

Synopsis

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.

Instances

Eq ListServiceSpecificCredentials Source # 
Data ListServiceSpecificCredentials Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListServiceSpecificCredentials -> c ListServiceSpecificCredentials #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListServiceSpecificCredentials #

toConstr :: ListServiceSpecificCredentials -> Constr #

dataTypeOf :: ListServiceSpecificCredentials -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListServiceSpecificCredentials) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListServiceSpecificCredentials) #

gmapT :: (forall b. Data b => b -> b) -> ListServiceSpecificCredentials -> ListServiceSpecificCredentials #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListServiceSpecificCredentials -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListServiceSpecificCredentials -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListServiceSpecificCredentials -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListServiceSpecificCredentials -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListServiceSpecificCredentials -> m ListServiceSpecificCredentials #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListServiceSpecificCredentials -> m ListServiceSpecificCredentials #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListServiceSpecificCredentials -> m ListServiceSpecificCredentials #

Read ListServiceSpecificCredentials Source # 
Show ListServiceSpecificCredentials Source # 
Generic ListServiceSpecificCredentials Source # 
Hashable ListServiceSpecificCredentials Source # 
NFData ListServiceSpecificCredentials Source # 
AWSRequest ListServiceSpecificCredentials Source # 
ToHeaders ListServiceSpecificCredentials Source # 
ToPath ListServiceSpecificCredentials Source # 
ToQuery ListServiceSpecificCredentials Source # 
type Rep ListServiceSpecificCredentials Source # 
type Rep ListServiceSpecificCredentials = D1 * (MetaData "ListServiceSpecificCredentials" "Network.AWS.IAM.ListServiceSpecificCredentials" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "ListServiceSpecificCredentials'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsscUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lsscServiceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))
type Rs ListServiceSpecificCredentials Source # 

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:

data ListServiceSpecificCredentialsResponse Source #

Instances

Eq ListServiceSpecificCredentialsResponse Source # 
Data ListServiceSpecificCredentialsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListServiceSpecificCredentialsResponse -> c ListServiceSpecificCredentialsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListServiceSpecificCredentialsResponse #

toConstr :: ListServiceSpecificCredentialsResponse -> Constr #

dataTypeOf :: ListServiceSpecificCredentialsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListServiceSpecificCredentialsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListServiceSpecificCredentialsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListServiceSpecificCredentialsResponse -> ListServiceSpecificCredentialsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListServiceSpecificCredentialsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListServiceSpecificCredentialsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListServiceSpecificCredentialsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListServiceSpecificCredentialsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListServiceSpecificCredentialsResponse -> m ListServiceSpecificCredentialsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListServiceSpecificCredentialsResponse -> m ListServiceSpecificCredentialsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListServiceSpecificCredentialsResponse -> m ListServiceSpecificCredentialsResponse #

Read ListServiceSpecificCredentialsResponse Source # 
Show ListServiceSpecificCredentialsResponse Source # 
Generic ListServiceSpecificCredentialsResponse Source # 
NFData ListServiceSpecificCredentialsResponse Source # 
type Rep ListServiceSpecificCredentialsResponse Source # 
type Rep ListServiceSpecificCredentialsResponse = D1 * (MetaData "ListServiceSpecificCredentialsResponse" "Network.AWS.IAM.ListServiceSpecificCredentials" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "ListServiceSpecificCredentialsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lsscrsServiceSpecificCredentials") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ServiceSpecificCredentialMetadata]))) (S1 * (MetaSel (Just Symbol "_lsscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

lsscrsServiceSpecificCredentials :: Lens' ListServiceSpecificCredentialsResponse [ServiceSpecificCredentialMetadata] Source #

A list of structures that each contain details about a service-specific credential.