Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.UpdateSigningCertificate C# (CSharp) Method

UpdateSigningCertificate() public method

Changes the status of the specified user signing certificate from active to disabled, or vice versa. This action can be used to disable an IAM user's signing certificate as part of a certificate rotation work flow.

If the UserName field is not specified, the UserName 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.

/// The request was rejected because it attempted to create resources beyond the current /// AWS account limits. The error message describes the limit exceeded. /// /// The request was rejected because it referenced an entity that does not exist. The /// error message describes the entity. /// /// The request processing has failed because of an unknown error, exception or failure. ///
public UpdateSigningCertificate ( UpdateSigningCertificateRequest request ) : UpdateSigningCertificateResponse
request UpdateSigningCertificateRequest Container for the necessary parameters to execute the UpdateSigningCertificate service method.
return UpdateSigningCertificateResponse
        public UpdateSigningCertificateResponse UpdateSigningCertificate(UpdateSigningCertificateRequest request)
        {
            var marshaller = new UpdateSigningCertificateRequestMarshaller();
            var unmarshaller = UpdateSigningCertificateResponseUnmarshaller.Instance;

            return Invoke<UpdateSigningCertificateRequest,UpdateSigningCertificateResponse>(request, marshaller, unmarshaller);
        }
AmazonIdentityManagementServiceClient