Re-enables a disabled CMK for cryptographic operations.
Operation description
For the access policies required for RAM users or RAM roles to call this operation, see Resource Access Management.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
|
KeyId |
string |
Yes |
The globally unique ID of the CMK. |
1234abcd-12ab-34cd-56ef-12345678**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|
||
|
RequestId |
string |
The request ID. |
efb1cbbd-a093-4278-bc03-639dd4fcc207 |
Examples
Success response
JSON format
{
"RequestId": "efb1cbbd-a093-4278-bc03-639dd4fcc207"
}
Error response
JSON format
//xml response
efb1cbbd-a093-4278-bc03-639dd4fcc207
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|
400 |
InvalidParameter |
The specified parameter is not valid. |
An invalid value is specified for the parameter. |
|
404 |
InvalidAccessKeyId.NotFound |
The Access Key ID provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.