|
192 | 192 | "output":{"shape":"DeletePolicyStoreOutput"},
|
193 | 193 | "errors":[
|
194 | 194 | {"shape":"ValidationException"},
|
| 195 | + {"shape":"InvalidStateException"}, |
195 | 196 | {"shape":"AccessDeniedException"},
|
196 | 197 | {"shape":"ThrottlingException"},
|
197 | 198 | {"shape":"InternalServerException"}
|
|
1274 | 1275 | "description":{
|
1275 | 1276 | "shape":"PolicyStoreDescription",
|
1276 | 1277 | "documentation":"<p>Descriptive text that you can provide to help with identification of the current policy store.</p>"
|
| 1278 | + }, |
| 1279 | + "deletionProtection":{ |
| 1280 | + "shape":"DeletionProtection", |
| 1281 | + "documentation":"<p>Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.</p> <p>The default state is <code>DISABLED</code>.</p>" |
1277 | 1282 | }
|
1278 | 1283 | }
|
1279 | 1284 | },
|
|
1452 | 1457 | "members":{
|
1453 | 1458 | }
|
1454 | 1459 | },
|
| 1460 | + "DeletionProtection":{ |
| 1461 | + "type":"string", |
| 1462 | + "enum":[ |
| 1463 | + "ENABLED", |
| 1464 | + "DISABLED" |
| 1465 | + ] |
| 1466 | + }, |
1455 | 1467 | "DeterminingPolicyItem":{
|
1456 | 1468 | "type":"structure",
|
1457 | 1469 | "required":["policyId"],
|
|
1757 | 1769 | "description":{
|
1758 | 1770 | "shape":"PolicyStoreDescription",
|
1759 | 1771 | "documentation":"<p>Descriptive text that you can provide to help with identification of the current policy store.</p>"
|
| 1772 | + }, |
| 1773 | + "deletionProtection":{ |
| 1774 | + "shape":"DeletionProtection", |
| 1775 | + "documentation":"<p>Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.</p> <p>The default state is <code>DISABLED</code>.</p>" |
1760 | 1776 | }
|
1761 | 1777 | }
|
1762 | 1778 | },
|
|
2011 | 2027 | "fault":true,
|
2012 | 2028 | "retryable":{"throttling":false}
|
2013 | 2029 | },
|
| 2030 | + "InvalidStateException":{ |
| 2031 | + "type":"structure", |
| 2032 | + "required":["message"], |
| 2033 | + "members":{ |
| 2034 | + "message":{"shape":"String"} |
| 2035 | + }, |
| 2036 | + "documentation":"<p>The policy store can't be deleted because deletion protection is enabled. To delete this policy store, disable deletion protection.</p>", |
| 2037 | + "exception":true |
| 2038 | + }, |
2014 | 2039 | "IpAddr":{
|
2015 | 2040 | "type":"string",
|
2016 | 2041 | "max":44,
|
|
3395 | 3420 | "shape":"ValidationSettings",
|
3396 | 3421 | "documentation":"<p>A structure that defines the validation settings that want to enable for the policy store.</p>"
|
3397 | 3422 | },
|
| 3423 | + "deletionProtection":{ |
| 3424 | + "shape":"DeletionProtection", |
| 3425 | + "documentation":"<p>Specifies whether the policy store can be deleted. If enabled, the policy store can't be deleted.</p> <p>When you call <code>UpdatePolicyStore</code>, this parameter is unchanged unless explicitly included in the call.</p>" |
| 3426 | + }, |
3398 | 3427 | "description":{
|
3399 | 3428 | "shape":"PolicyStoreDescription",
|
3400 | 3429 | "documentation":"<p>Descriptive text that you can provide to help with identification of the current policy store.</p>"
|
|
0 commit comments