AWSIoTUpdateCertificateRequest

Objective-C

@interface AWSIoTUpdateCertificateRequest

Swift

class AWSIoTUpdateCertificateRequest

The input for the UpdateCertificate operation.

Required parameters: [certificateId, newStatus]

  • The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable certificateId;

    Swift

    var certificateId: String? { get set }
  • The new status.

    Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by AWS IoT. They are not intended for developer use.

    Note: The status value REGISTER_INACTIVE is deprecated and should not be used.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTCertificateStatus latestStatus;

    Swift

    var latestStatus: AWSIoTCertificateStatus { get set }