Skip to content

Commit

Permalink
feat(client-verifiedpermissions): Improving Amazon Verified Permissio…
Browse files Browse the repository at this point in the history
…ns Create experience
  • Loading branch information
awstools committed Oct 19, 2023
1 parent de46ff2 commit c86d343
Show file tree
Hide file tree
Showing 28 changed files with 164 additions and 127 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ export interface CreateIdentitySourceCommandOutput extends CreateIdentitySourceO
* @see {@link CreateIdentitySourceCommandOutput} for command's `response` shape.
* @see {@link VerifiedPermissionsClientResolvedConfig | config} for VerifiedPermissionsClient's `config` shape.
*
* @throws {@link ConflictException} (client fault)
* <p>The request failed because another request to modify a resource occurred at the
* same.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The request failed because it references a resource that doesn't exist.</p>
*
Expand Down Expand Up @@ -174,7 +178,7 @@ export interface CreateIdentitySourceCommandOutput extends CreateIdentitySourceO
* </p>
* <p>The policy attempts to access a record or entity attribute that isn't
* specified in the schema. Test for the existence of the attribute first before
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand All @@ -184,7 +188,7 @@ export interface CreateIdentitySourceCommandOutput extends CreateIdentitySourceO
* <p>The policy attempts to access a record or entity attribute that is optional
* and isn't guaranteed to be present. Test for the existence of the attribute
* first before attempting to access its value. For more information, see the
* <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ export interface CreatePolicyCommandOutput extends CreatePolicyOutput, __Metadat
* @see {@link CreatePolicyCommandOutput} for command's `response` shape.
* @see {@link VerifiedPermissionsClientResolvedConfig | config} for VerifiedPermissionsClient's `config` shape.
*
* @throws {@link ConflictException} (client fault)
* <p>The request failed because another request to modify a resource occurred at the
* same.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The request failed because it references a resource that doesn't exist.</p>
*
Expand Down Expand Up @@ -187,7 +191,7 @@ export interface CreatePolicyCommandOutput extends CreatePolicyOutput, __Metadat
* </p>
* <p>The policy attempts to access a record or entity attribute that isn't
* specified in the schema. Test for the existence of the attribute first before
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand All @@ -197,7 +201,7 @@ export interface CreatePolicyCommandOutput extends CreatePolicyOutput, __Metadat
* <p>The policy attempts to access a record or entity attribute that is optional
* and isn't guaranteed to be present. Test for the existence of the attribute
* first before attempting to access its value. For more information, see the
* <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ export interface CreatePolicyStoreCommandOutput extends CreatePolicyStoreOutput,
* @public
* <p>Creates a policy store. A policy store is a container for policy resources.</p>
* <note>
* <p>Although <a href="https://docs.cedarpolicy.com/schema.html#namespace">Cedar
* supports multiple namespaces</a>, Verified Permissions currently supports only one
* <p>Although <a href="https://docs.cedarpolicy.com/schema/schema.html#namespace">Cedar supports multiple namespaces</a>, Verified Permissions currently supports only one
* namespace per policy store.</p>
* </note>
* <note>
Expand Down Expand Up @@ -82,6 +81,10 @@ export interface CreatePolicyStoreCommandOutput extends CreatePolicyStoreOutput,
* @see {@link CreatePolicyStoreCommandOutput} for command's `response` shape.
* @see {@link VerifiedPermissionsClientResolvedConfig | config} for VerifiedPermissionsClient's `config` shape.
*
* @throws {@link ConflictException} (client fault)
* <p>The request failed because another request to modify a resource occurred at the
* same.</p>
*
* @throws {@link ServiceQuotaExceededException} (client fault)
* <p>The request failed because it would cause a service quota to be exceeded.</p>
*
Expand Down Expand Up @@ -140,7 +143,7 @@ export interface CreatePolicyStoreCommandOutput extends CreatePolicyStoreOutput,
* </p>
* <p>The policy attempts to access a record or entity attribute that isn't
* specified in the schema. Test for the existence of the attribute first before
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand All @@ -150,7 +153,7 @@ export interface CreatePolicyStoreCommandOutput extends CreatePolicyStoreOutput,
* <p>The policy attempts to access a record or entity attribute that is optional
* and isn't guaranteed to be present. Test for the existence of the attribute
* first before attempting to access its value. For more information, see the
* <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ export interface CreatePolicyTemplateCommandOutput extends CreatePolicyTemplateO
* @see {@link CreatePolicyTemplateCommandOutput} for command's `response` shape.
* @see {@link VerifiedPermissionsClientResolvedConfig | config} for VerifiedPermissionsClient's `config` shape.
*
* @throws {@link ConflictException} (client fault)
* <p>The request failed because another request to modify a resource occurred at the
* same.</p>
*
* @throws {@link ResourceNotFoundException} (client fault)
* <p>The request failed because it references a resource that doesn't exist.</p>
*
Expand Down Expand Up @@ -148,7 +152,7 @@ export interface CreatePolicyTemplateCommandOutput extends CreatePolicyTemplateO
* </p>
* <p>The policy attempts to access a record or entity attribute that isn't
* specified in the schema. Test for the existence of the attribute first before
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand All @@ -158,7 +162,7 @@ export interface CreatePolicyTemplateCommandOutput extends CreatePolicyTemplateO
* <p>The policy attempts to access a record or entity attribute that is optional
* and isn't guaranteed to be present. Test for the existence of the attribute
* first before attempting to access its value. For more information, see the
* <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export interface DeleteIdentitySourceCommandOutput extends DeleteIdentitySourceO
* </p>
* <p>The policy attempts to access a record or entity attribute that isn't
* specified in the schema. Test for the existence of the attribute first before
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand All @@ -139,7 +139,7 @@ export interface DeleteIdentitySourceCommandOutput extends DeleteIdentitySourceO
* <p>The policy attempts to access a record or entity attribute that is optional
* and isn't guaranteed to be present. Test for the existence of the attribute
* first before attempting to access its value. For more information, see the
* <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export interface DeletePolicyCommandOutput extends DeletePolicyOutput, __Metadat
* </p>
* <p>The policy attempts to access a record or entity attribute that isn't
* specified in the schema. Test for the existence of the attribute first before
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand All @@ -138,7 +138,7 @@ export interface DeletePolicyCommandOutput extends DeletePolicyOutput, __Metadat
* <p>The policy attempts to access a record or entity attribute that is optional
* and isn't guaranteed to be present. Test for the existence of the attribute
* first before attempting to access its value. For more information, see the
* <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export interface DeletePolicyStoreCommandOutput extends DeletePolicyStoreOutput,
* </p>
* <p>The policy attempts to access a record or entity attribute that isn't
* specified in the schema. Test for the existence of the attribute first before
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand All @@ -130,7 +130,7 @@ export interface DeletePolicyStoreCommandOutput extends DeletePolicyStoreOutput,
* <p>The policy attempts to access a record or entity attribute that is optional
* and isn't guaranteed to be present. Test for the existence of the attribute
* first before attempting to access its value. For more information, see the
* <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export interface DeletePolicyTemplateCommandOutput extends DeletePolicyTemplateO
* </p>
* <p>The policy attempts to access a record or entity attribute that isn't
* specified in the schema. Test for the existence of the attribute first before
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand All @@ -141,7 +141,7 @@ export interface DeletePolicyTemplateCommandOutput extends DeletePolicyTemplateO
* <p>The policy attempts to access a record or entity attribute that is optional
* and isn't guaranteed to be present. Test for the existence of the attribute
* first before attempting to access its value. For more information, see the
* <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export interface GetIdentitySourceCommandOutput extends GetIdentitySourceOutput,
* </p>
* <p>The policy attempts to access a record or entity attribute that isn't
* specified in the schema. Test for the existence of the attribute first before
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* attempting to access its value. For more information, see the <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand All @@ -150,7 +150,7 @@ export interface GetIdentitySourceCommandOutput extends GetIdentitySourceOutput,
* <p>The policy attempts to access a record or entity attribute that is optional
* and isn't guaranteed to be present. Test for the existence of the attribute
* first before attempting to access its value. For more information, see the
* <a href="https://docs.cedarpolicy.com/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <a href="https://docs.cedarpolicy.com/policies/syntax-operators.html#has-presence-of-attribute-test">has (presence of attribute test) operator</a> in the
* <i>Cedar Policy Language Guide</i>.</p>
* </li>
* <li>
Expand Down
Loading

0 comments on commit c86d343

Please sign in to comment.