Queries the Key Management Service (KMS) key used by the Account-level Elastic Block Storage (EBS) Default Encryption feature in a region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DescribeDiskDefaultKMSKeyId |
get |
*DiskEncryptionDefaultConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
| KMSKeyId |
string |
The ID of the KMS key. |
0e478b7a-4262-4802-b8cb-00d3fb40**** |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"KMSKeyId": "0e478b7a-4262-4802-b8cb-00d3fb40****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | InvalidParameter.RegionIdNotExists | The specified region does not exists. | The region does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.