@aws-sdk/client-verifiedpermissions 3.358.0 → 3.359.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist-types/VerifiedPermissions.d.ts +6 -6
- package/dist-types/VerifiedPermissionsClient.d.ts +6 -6
- package/dist-types/commands/CreatePolicyStoreCommand.d.ts +5 -0
- package/dist-types/index.d.ts +6 -6
- package/dist-types/models/models_0.d.ts +15 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -59,16 +59,16 @@ in a different operation. To help you understand the purpose of each, the follow
|
|
|
59
59
|
naming convention is used for the structures:</p>
|
|
60
60
|
<ul>
|
|
61
61
|
<li>
|
|
62
|
-
<p>
|
|
63
|
-
operations.</p>
|
|
62
|
+
<p>Parameter type structures that end in <code>Detail</code> are used in
|
|
63
|
+
<code>Get</code> operations.</p>
|
|
64
64
|
</li>
|
|
65
65
|
<li>
|
|
66
|
-
<p>
|
|
67
|
-
operations.</p>
|
|
66
|
+
<p>Parameter type structures that end in <code>Item</code> are used in
|
|
67
|
+
<code>List</code> operations.</p>
|
|
68
68
|
</li>
|
|
69
69
|
<li>
|
|
70
|
-
<p>
|
|
71
|
-
update) operations.</p>
|
|
70
|
+
<p>Parameter type structures that use neither suffix are used in the mutating
|
|
71
|
+
(create and update) operations.</p>
|
|
72
72
|
</li>
|
|
73
73
|
</ul>
|
|
74
74
|
|
|
@@ -225,16 +225,16 @@ export interface VerifiedPermissions {
|
|
|
225
225
|
* naming convention is used for the structures:</p>
|
|
226
226
|
* <ul>
|
|
227
227
|
* <li>
|
|
228
|
-
* <p>
|
|
229
|
-
*
|
|
228
|
+
* <p>Parameter type structures that end in <code>Detail</code> are used in
|
|
229
|
+
* <code>Get</code> operations.</p>
|
|
230
230
|
* </li>
|
|
231
231
|
* <li>
|
|
232
|
-
* <p>
|
|
233
|
-
*
|
|
232
|
+
* <p>Parameter type structures that end in <code>Item</code> are used in
|
|
233
|
+
* <code>List</code> operations.</p>
|
|
234
234
|
* </li>
|
|
235
235
|
* <li>
|
|
236
|
-
* <p>
|
|
237
|
-
* update) operations.</p>
|
|
236
|
+
* <p>Parameter type structures that use neither suffix are used in the mutating
|
|
237
|
+
* (create and update) operations.</p>
|
|
238
238
|
* </li>
|
|
239
239
|
* </ul>
|
|
240
240
|
*/
|
|
@@ -222,16 +222,16 @@ export interface VerifiedPermissionsClientResolvedConfig extends VerifiedPermiss
|
|
|
222
222
|
* naming convention is used for the structures:</p>
|
|
223
223
|
* <ul>
|
|
224
224
|
* <li>
|
|
225
|
-
* <p>
|
|
226
|
-
*
|
|
225
|
+
* <p>Parameter type structures that end in <code>Detail</code> are used in
|
|
226
|
+
* <code>Get</code> operations.</p>
|
|
227
227
|
* </li>
|
|
228
228
|
* <li>
|
|
229
|
-
* <p>
|
|
230
|
-
*
|
|
229
|
+
* <p>Parameter type structures that end in <code>Item</code> are used in
|
|
230
|
+
* <code>List</code> operations.</p>
|
|
231
231
|
* </li>
|
|
232
232
|
* <li>
|
|
233
|
-
* <p>
|
|
234
|
-
* update) operations.</p>
|
|
233
|
+
* <p>Parameter type structures that use neither suffix are used in the mutating
|
|
234
|
+
* (create and update) operations.</p>
|
|
235
235
|
* </li>
|
|
236
236
|
* </ul>
|
|
237
237
|
*/
|
|
@@ -24,6 +24,11 @@ export interface CreatePolicyStoreCommandOutput extends CreatePolicyStoreOutput,
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Creates a policy store. A policy store is a container for policy resources.</p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>Although <a href="https://docs.cedarpolicy.com/schema.html#namespace">Cedar
|
|
29
|
+
* supports multiple namespaces</a>, Verified Permissions currently supports only one
|
|
30
|
+
* namespace per policy store.</p>
|
|
31
|
+
* </note>
|
|
27
32
|
* @example
|
|
28
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
34
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
* naming convention is used for the structures:</p>
|
|
53
53
|
* <ul>
|
|
54
54
|
* <li>
|
|
55
|
-
* <p>
|
|
56
|
-
*
|
|
55
|
+
* <p>Parameter type structures that end in <code>Detail</code> are used in
|
|
56
|
+
* <code>Get</code> operations.</p>
|
|
57
57
|
* </li>
|
|
58
58
|
* <li>
|
|
59
|
-
* <p>
|
|
60
|
-
*
|
|
59
|
+
* <p>Parameter type structures that end in <code>Item</code> are used in
|
|
60
|
+
* <code>List</code> operations.</p>
|
|
61
61
|
* </li>
|
|
62
62
|
* <li>
|
|
63
|
-
* <p>
|
|
64
|
-
* update) operations.</p>
|
|
63
|
+
* <p>Parameter type structures that use neither suffix are used in the mutating
|
|
64
|
+
* (create and update) operations.</p>
|
|
65
65
|
* </li>
|
|
66
66
|
* </ul>
|
|
67
67
|
*
|
|
@@ -62,7 +62,7 @@ export interface EntityIdentifier {
|
|
|
62
62
|
* as an identity provider for Verified Permissions.</p>
|
|
63
63
|
* <p>This data type is used as a field that is part of an <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_Configuration.html">Configuration</a> structure that is
|
|
64
64
|
* used as a parameter to the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_Configuration.html">Configuration</a>.</p>
|
|
65
|
-
* <p>Example:<code>"CognitoUserPoolConfiguration":\{"UserPoolArn":"cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
|
65
|
+
* <p>Example:<code>"CognitoUserPoolConfiguration":\{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds":
|
|
66
66
|
* ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}</code>
|
|
67
67
|
* </p>
|
|
68
68
|
*/
|
|
@@ -71,7 +71,7 @@ export interface CognitoUserPoolConfiguration {
|
|
|
71
71
|
* <p>The <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of the Amazon Cognito user pool that contains the identities to be
|
|
72
72
|
* authorized.</p>
|
|
73
73
|
* <p>Example: <code>"UserPoolArn":
|
|
74
|
-
* "cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"</code>
|
|
74
|
+
* "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"</code>
|
|
75
75
|
* </p>
|
|
76
76
|
*/
|
|
77
77
|
userPoolArn: string | undefined;
|
|
@@ -105,7 +105,7 @@ export declare namespace Configuration {
|
|
|
105
105
|
* authenticated identities as entities. It specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> of a Amazon Cognito user pool
|
|
106
106
|
* and one or more application client IDs.</p>
|
|
107
107
|
* <p>Example:
|
|
108
|
-
* <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
|
108
|
+
* <code>"configuration":\{"cognitoUserPoolConfiguration":\{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
|
|
109
109
|
* ["a1b2c3d4e5f6g7h8i9j0kalbmc"]\}\}</code>
|
|
110
110
|
* </p>
|
|
111
111
|
*/
|
|
@@ -2405,8 +2405,12 @@ export interface IsAuthorizedInput {
|
|
|
2405
2405
|
*/
|
|
2406
2406
|
context?: ContextDefinition;
|
|
2407
2407
|
/**
|
|
2408
|
-
* <p>Specifies the list of
|
|
2409
|
-
* when evaluating the policies
|
|
2408
|
+
* <p>Specifies the list of resources and principals and their associated attributes that
|
|
2409
|
+
* Verified Permissions can examine when evaluating the policies. </p>
|
|
2410
|
+
* <note>
|
|
2411
|
+
* <p>You can include only principal and resource entities in this parameter; you can't
|
|
2412
|
+
* include actions. You must specify actions in the schema.</p>
|
|
2413
|
+
* </note>
|
|
2410
2414
|
*/
|
|
2411
2415
|
entities?: EntitiesDefinition;
|
|
2412
2416
|
}
|
|
@@ -2449,8 +2453,12 @@ export interface IsAuthorizedWithTokenInput {
|
|
|
2449
2453
|
*/
|
|
2450
2454
|
context?: ContextDefinition;
|
|
2451
2455
|
/**
|
|
2452
|
-
* <p>Specifies the list of
|
|
2453
|
-
* when evaluating the policies
|
|
2456
|
+
* <p>Specifies the list of resources and principals and their associated attributes that
|
|
2457
|
+
* Verified Permissions can examine when evaluating the policies. </p>
|
|
2458
|
+
* <note>
|
|
2459
|
+
* <p>You can include only principal and resource entities in this parameter; you can't
|
|
2460
|
+
* include actions. You must specify actions in the schema.</p>
|
|
2461
|
+
* </note>
|
|
2454
2462
|
*/
|
|
2455
2463
|
entities?: EntitiesDefinition;
|
|
2456
2464
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-verifiedpermissions",
|
|
3
3
|
"description": "AWS SDK for JavaScript Verifiedpermissions Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.359.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.359.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.358.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.357.0",
|