Class: Aws::IoT::Types::UpdateCertificateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::UpdateCertificateRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass UpdateCertificateRequest data as a hash:
{
certificate_id: "CertificateId", # required
new_status: "ACTIVE", # required, accepts ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER, REGISTER_INACTIVE, PENDING_ACTIVATION
}
The input for the UpdateCertificate operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#certificate_id ⇒ String
The ID of the certificate.
-
#new_status ⇒ String
The new status.
Instance Attribute Details
#certificate_id ⇒ String
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
19063 19064 19065 19066 19067 19068 |
# File 'lib/aws-sdk-iot/types.rb', line 19063 class UpdateCertificateRequest < Struct.new( :certificate_id, :new_status) SENSITIVE = [] include Aws::Structure end |
#new_status ⇒ String
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 IoT. They are not intended for developer use.
*Note:* The status value REGISTER_INACTIVE is deprecated and should not be used.
19063 19064 19065 19066 19067 19068 |
# File 'lib/aws-sdk-iot/types.rb', line 19063 class UpdateCertificateRequest < Struct.new( :certificate_id, :new_status) SENSITIVE = [] include Aws::Structure end |