Binds an existing alias to a different customer master key (CMK) ID.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| KeyId | string | Yes | The ID of the CMK. The ID must be globally unique. | 1234abcd-12ab-34cd-56ef-12345678**** |
| AliasName | string | Yes | The alias that you want to bind. The value must be 1 to 255 characters in length and must include the alias/ prefix. | alias/example |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "1d2baaf3-d357-46c2-832e-13560c2bd9cd"
}Error codes
For a list of error codes, visit the Service error codes.
