Class: Aws::IoT::Types::RegisterCertificateRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass RegisterCertificateRequest data as a hash:

{
  certificate_pem: "CertificatePem", # required
  ca_certificate_pem: "CertificatePem",
  set_as_active: false,
  status: "ACTIVE", # accepts ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER, REGISTER_INACTIVE, PENDING_ACTIVATION
}

The input to the RegisterCertificate operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ca_certificate_pemString

The CA certificate used to sign the device certificate being registered.

Returns:

  • (String)


14850
14851
14852
14853
14854
14855
14856
14857
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14850

class RegisterCertificateRequest < Struct.new(
  :certificate_pem,
  :ca_certificate_pem,
  :set_as_active,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_pemString

The certificate data, in PEM format.

Returns:

  • (String)


14850
14851
14852
14853
14854
14855
14856
14857
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14850

class RegisterCertificateRequest < Struct.new(
  :certificate_pem,
  :ca_certificate_pem,
  :set_as_active,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#set_as_activeBoolean

A boolean value that specifies if the certificate is set to active.

Returns:

  • (Boolean)


14850
14851
14852
14853
14854
14855
14856
14857
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14850

class RegisterCertificateRequest < Struct.new(
  :certificate_pem,
  :ca_certificate_pem,
  :set_as_active,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the register certificate request.

Returns:

  • (String)


14850
14851
14852
14853
14854
14855
14856
14857
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14850

class RegisterCertificateRequest < Struct.new(
  :certificate_pem,
  :ca_certificate_pem,
  :set_as_active,
  :status)
  SENSITIVE = []
  include Aws::Structure
end