Mengambil kebijakan privasi kustom.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eiam:GetCustomPrivacyPolicy |
get |
*CustomPrivacyPolicy
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| CustomPrivacyPolicyId |
string |
Yes |
ID kebijakan privasi kustom. |
pp_xxxxx |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| CustomPrivacyPolicy |
object |
Kebijakan privasi kustom. |
|
| CustomPrivacyPolicyId |
string |
ID kebijakan privasi kustom. |
pp_xxxxx |
| CustomPrivacyPolicyName |
string |
Nama kebijakan privasi kustom. |
Custom Privacy Policy Name |
| Status |
string |
Status kebijakan privasi kustom. Nilai valid:
Valid values:
|
enabled |
| DefaultLanguageCode |
string |
Bahasa kebijakan privasi kustom. Nilai diperoleh dari parameter LanguageCode yang dikembalikan oleh operasi ListLanguages. |
zh-Hans-CN |
| UserConsentType |
string |
Tipe persetujuan pengguna. Valid values:
|
implied_consent |
| CustomPrivacyPolicyContents |
array<object> |
Detail konten kebijakan privasi kustom. |
|
|
array<object> |
|||
| CustomPrivacyPolicyTip |
string |
The prompt for the custom privacy policy content. |
Please read and agree: |
| LanguageCode |
string |
The language of the custom privacy policy. The value is the LanguageCode returned by the ListLanguages operation. |
zh-Hans-CN |
| CustomPrivacyPolicyItems |
array<object> |
The items of the custom privacy policy. |
|
|
object |
|||
| CustomPrivacyPolicyItemName |
string |
The name of the custom privacy policy item. |
item name |
| CustomPrivacyPolicyItemUrl |
string |
The URL of the custom privacy policy item. The URL must start with https://. |
https://example.com |
| InstanceId |
string |
ID instans. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"CustomPrivacyPolicy": {
"CustomPrivacyPolicyId": "pp_xxxxx",
"CustomPrivacyPolicyName": "Custom Privacy Policy Name",
"Status": "enabled",
"DefaultLanguageCode": "zh-Hans-CN",
"UserConsentType": "implied_consent",
"CustomPrivacyPolicyContents": [
{
"CustomPrivacyPolicyTip": "Please read and agree:",
"LanguageCode": "zh-Hans-CN",
"CustomPrivacyPolicyItems": [
{
"CustomPrivacyPolicyItemName": "item name",
"CustomPrivacyPolicyItemUrl": "https://example.com"
}
]
}
],
"InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.