Binds an existing alias to a different CMK.
Operation description
For information about the RAM permissions required 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**** |
| AliasName |
string |
Yes |
The alias to bind to the specified CMK. The value must be 1 to 255 characters in length and include the |
alias/example |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
1d2baaf3-d357-46c2-832e-13560c2bd9cd |
Examples
Success response
JSON format
{
"RequestId": "1d2baaf3-d357-46c2-832e-13560c2bd9cd"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.