You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#ca_certificate_pemString

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

Returns:

  • (String)


2683
2684
2685
2686
2687
2688
2689
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2683

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

#certificate_pemString

The certificate data, in PEM format.

Returns:

  • (String)


2683
2684
2685
2686
2687
2688
2689
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2683

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

#set_as_activeBoolean

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

Returns:

  • (Boolean)


2683
2684
2685
2686
2687
2688
2689
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2683

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

#statusString

The status of the register certificate request.

Returns:

  • (String)


2683
2684
2685
2686
2687
2688
2689
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 2683

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