register_certificate_without_ca

register_certificate_without_ca(**kwargs)

Register a certificate that does not have a certificate authority (CA). For supported certificates, consult Certificate signing algorithms supported by IoT.

See also: AWS API Documentation

Request Syntax

response = client.register_certificate_without_ca(
    certificatePem='string',
    status='ACTIVE'|'INACTIVE'|'REVOKED'|'PENDING_TRANSFER'|'REGISTER_INACTIVE'|'PENDING_ACTIVATION'
)
Parameters
  • certificatePem (string) --

    [REQUIRED]

    The certificate data, in PEM format.

  • status (string) -- The status of the register certificate request.
Return type

dict

Returns

Response Syntax

{
    'certificateArn': 'string',
    'certificateId': 'string'
}

Response Structure

  • (dict) --

    • certificateArn (string) --

      The Amazon Resource Name (ARN) of the registered certificate.

    • certificateId (string) --

      The ID of the registered certificate. (The last part of the certificate ARN contains the certificate ID.

Exceptions

  • IoT.Client.exceptions.ResourceAlreadyExistsException
  • IoT.Client.exceptions.InvalidRequestException
  • IoT.Client.exceptions.CertificateStateException
  • IoT.Client.exceptions.CertificateValidationException
  • IoT.Client.exceptions.ThrottlingException
  • IoT.Client.exceptions.UnauthorizedException
  • IoT.Client.exceptions.ServiceUnavailableException
  • IoT.Client.exceptions.InternalFailureException