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.UploadSigningCertificate

Contents

Description

Uploads an X.509 signing certificate and associates it with the specified IAM 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 IAM user name is determined implicitly based on the AWS access key ID used to sign the request. Because this operation works for access keys under the AWS account, you can use this operation to manage AWS account root user credentials even if the AWS account has no associated users.

Synopsis

Creating a Request

uploadSigningCertificate #

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:

  • uplUserName - The name of the user the signing certificate is for. 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: _+=,.@-
  • uplCertificateBody - The contents of the signing certificate. The regex pattern used to validate this parameter is a string of characters consisting of the following: * Any printable ASCII character ranging from the space character (u0020) through the end of the ASCII character range * The printable characters in the Basic Latin and Latin-1 Supplement character set (through u00FF) * The special characters tab (u0009), line feed (u000A), and carriage return (u000D)

data UploadSigningCertificate #

See: uploadSigningCertificate smart constructor.

Instances
Eq UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Data UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

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 # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Show UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Generic UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Associated Types

type Rep UploadSigningCertificate :: * -> * #

Hashable UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

AWSRequest UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Associated Types

type Rs UploadSigningCertificate :: * #

ToHeaders UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

ToPath UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

ToQuery UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

NFData UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

type Rep UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

type Rep UploadSigningCertificate = D1 (MetaData "UploadSigningCertificate" "Network.AWS.IAM.UploadSigningCertificate" "amazonka-iam-1.6.0-KLHg33OPBsA2oss7MTCyZq" False) (C1 (MetaCons "UploadSigningCertificate'" PrefixI True) (S1 (MetaSel (Just "_uplUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uplCertificateBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs UploadSigningCertificate # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Request Lenses

uplUserName :: Lens' UploadSigningCertificate (Maybe Text) #

The name of the user the signing certificate is for. 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: _+=,.@-

uplCertificateBody :: Lens' UploadSigningCertificate Text #

The contents of the signing certificate. The regex pattern used to validate this parameter is a string of characters consisting of the following: * Any printable ASCII character ranging from the space character (u0020) through the end of the ASCII character range * The printable characters in the Basic Latin and Latin-1 Supplement character set (through u00FF) * The special characters tab (u0009), line feed (u000A), and carriage return (u000D)

Destructuring the Response

uploadSigningCertificateResponse #

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 #

Contains the response to a successful UploadSigningCertificate request.

See: uploadSigningCertificateResponse smart constructor.

Instances
Eq UploadSigningCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Data UploadSigningCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

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 # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Show UploadSigningCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Generic UploadSigningCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

Associated Types

type Rep UploadSigningCertificateResponse :: * -> * #

NFData UploadSigningCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

type Rep UploadSigningCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.UploadSigningCertificate

type Rep UploadSigningCertificateResponse = D1 (MetaData "UploadSigningCertificateResponse" "Network.AWS.IAM.UploadSigningCertificate" "amazonka-iam-1.6.0-KLHg33OPBsA2oss7MTCyZq" False) (C1 (MetaCons "UploadSigningCertificateResponse'" PrefixI True) (S1 (MetaSel (Just "_uscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_uscrsCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SigningCertificate)))

Response Lenses