Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_UploadSigningCertificate.html
- data UploadSigningCertificate
- uploadSigningCertificate :: Text -> UploadSigningCertificate
- usc1CertificateBody :: Lens' UploadSigningCertificate Text
- usc1UserName :: Lens' UploadSigningCertificate (Maybe Text)
- data UploadSigningCertificateResponse
- uploadSigningCertificateResponse :: SigningCertificate -> UploadSigningCertificateResponse
- uscrCertificate :: Lens' UploadSigningCertificateResponse SigningCertificate
Request
data UploadSigningCertificate Source
Request constructor
uploadSigningCertificate Source
UploadSigningCertificate
constructor.
The fields accessible through corresponding lenses are:
Request lenses
usc1CertificateBody :: Lens' UploadSigningCertificate Text Source
The contents of the signing certificate.
usc1UserName :: Lens' UploadSigningCertificate (Maybe Text) Source
The name of the user the signing certificate is for.
Response
Response constructor
uploadSigningCertificateResponse Source
UploadSigningCertificateResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
uscrCertificate :: Lens' UploadSigningCertificateResponse SigningCertificate Source
Information about the certificate.