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

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

Network.AWS.IAM.UploadSigningCertificate

Contents

Description

Uploads an X.509 signing certificate and associates it with the specified user. Some AWS services use X.509 signing certificates to validate requests that are signed with a corresponding private key. When you upload the certificate, its default status is Active.

If the UserName field is not specified, the user name is determined implicitly based on the AWS access key ID used to sign the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated users.

Because the body of a X.509 certificate can be large, you should use POST rather than GET when calling UploadSigningCertificate. For information about setting up signatures and authorization through the API, go to Signing AWS API Requests in the AWS General Reference. For general information about using the Query API with IAM, go to Making Query Requests in the Using IAMguide.

Synopsis

Creating a Request

uploadSigningCertificate Source #

Creates a value of UploadSigningCertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UploadSigningCertificate Source #

See: uploadSigningCertificate smart constructor.

Instances

Eq UploadSigningCertificate Source # 
Data UploadSigningCertificate Source # 

Methods

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

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

toConstr :: UploadSigningCertificate -> Constr #

dataTypeOf :: UploadSigningCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

uplUserName :: Lens' UploadSigningCertificate (Maybe Text) Source #

The name of the user the signing certificate is for.

uplCertificateBody :: Lens' UploadSigningCertificate Text Source #

The contents of the signing certificate.

Destructuring the Response

uploadSigningCertificateResponse Source #

Creates a value of UploadSigningCertificateResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UploadSigningCertificateResponse Source #

Contains the response to a successful UploadSigningCertificate request.

See: uploadSigningCertificateResponse smart constructor.

Instances

Eq UploadSigningCertificateResponse Source # 
Data UploadSigningCertificateResponse Source # 

Methods

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

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

toConstr :: UploadSigningCertificateResponse -> Constr #

dataTypeOf :: UploadSigningCertificateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UploadSigningCertificateResponse Source # 
Show UploadSigningCertificateResponse Source # 
Generic UploadSigningCertificateResponse Source # 
NFData UploadSigningCertificateResponse Source # 
type Rep UploadSigningCertificateResponse Source # 
type Rep UploadSigningCertificateResponse = D1 (MetaData "UploadSigningCertificateResponse" "Network.AWS.IAM.UploadSigningCertificate" "amazonka-iam-1.4.3-KkHaDC3pmsZLURksVtoSGT" False) (C1 (MetaCons "UploadSigningCertificateResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_uscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_uscrsCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SigningCertificate))))

Response Lenses