@aws-sdk/client-verifiedpermissions 3.428.0 → 3.429.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.
|
@@ -162,7 +162,7 @@ export interface ResourceConflict {
|
|
|
162
162
|
* @public
|
|
163
163
|
* <p>The type of the resource involved in a conflict.</p>
|
|
164
164
|
*/
|
|
165
|
-
resourceType: ResourceType |
|
|
165
|
+
resourceType: ResourceType | undefined;
|
|
166
166
|
}
|
|
167
167
|
/**
|
|
168
168
|
* @public
|
|
@@ -281,7 +281,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
281
281
|
* @public
|
|
282
282
|
* <p>The resource type of the resource referenced in the failed request.</p>
|
|
283
283
|
*/
|
|
284
|
-
resourceType: ResourceType |
|
|
284
|
+
resourceType: ResourceType | undefined;
|
|
285
285
|
/**
|
|
286
286
|
* @internal
|
|
287
287
|
*/
|
|
@@ -303,7 +303,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
303
303
|
* @public
|
|
304
304
|
* <p>The resource type of the resource referenced in the failed request.</p>
|
|
305
305
|
*/
|
|
306
|
-
resourceType: ResourceType |
|
|
306
|
+
resourceType: ResourceType | undefined;
|
|
307
307
|
/**
|
|
308
308
|
* @public
|
|
309
309
|
* <p>The code for the Amazon Web Service that owns the quota.</p>
|
|
@@ -615,7 +615,7 @@ export interface CreatePolicyOutput {
|
|
|
615
615
|
* @public
|
|
616
616
|
* <p>The policy type of the new policy.</p>
|
|
617
617
|
*/
|
|
618
|
-
policyType: PolicyType |
|
|
618
|
+
policyType: PolicyType | undefined;
|
|
619
619
|
/**
|
|
620
620
|
* @public
|
|
621
621
|
* <p>The principal specified in the new policy's scope. This response element isn't present
|
|
@@ -683,7 +683,7 @@ export interface ValidationSettings {
|
|
|
683
683
|
* <p>To submit a static policy or policy template without a schema, you must turn off validation.</p>
|
|
684
684
|
* </important>
|
|
685
685
|
*/
|
|
686
|
-
mode: ValidationMode |
|
|
686
|
+
mode: ValidationMode | undefined;
|
|
687
687
|
}
|
|
688
688
|
/**
|
|
689
689
|
* @public
|
|
@@ -1029,7 +1029,7 @@ export interface IdentitySourceDetails {
|
|
|
1029
1029
|
* <p>A string that identifies the type of OIDC service represented by this identity source. </p>
|
|
1030
1030
|
* <p>At this time, the only valid value is <code>cognito</code>.</p>
|
|
1031
1031
|
*/
|
|
1032
|
-
openIdIssuer?: OpenIdIssuer
|
|
1032
|
+
openIdIssuer?: OpenIdIssuer;
|
|
1033
1033
|
}
|
|
1034
1034
|
/**
|
|
1035
1035
|
* @public
|
|
@@ -1192,7 +1192,7 @@ export interface GetPolicyOutput {
|
|
|
1192
1192
|
* @public
|
|
1193
1193
|
* <p>The type of the policy.</p>
|
|
1194
1194
|
*/
|
|
1195
|
-
policyType: PolicyType |
|
|
1195
|
+
policyType: PolicyType | undefined;
|
|
1196
1196
|
/**
|
|
1197
1197
|
* @public
|
|
1198
1198
|
* <p>The principal specified in the policy's scope. This element isn't included in the
|
|
@@ -1435,7 +1435,7 @@ export interface IdentitySourceItemDetails {
|
|
|
1435
1435
|
* <p>A string that identifies the type of OIDC service represented by this identity source. </p>
|
|
1436
1436
|
* <p>At this time, the only valid value is <code>cognito</code>.</p>
|
|
1437
1437
|
*/
|
|
1438
|
-
openIdIssuer?: OpenIdIssuer
|
|
1438
|
+
openIdIssuer?: OpenIdIssuer;
|
|
1439
1439
|
}
|
|
1440
1440
|
/**
|
|
1441
1441
|
* @public
|
|
@@ -1617,7 +1617,7 @@ export interface IsAuthorizedOutput {
|
|
|
1617
1617
|
* <p>An authorization decision that indicates if the authorization request should be
|
|
1618
1618
|
* allowed or denied.</p>
|
|
1619
1619
|
*/
|
|
1620
|
-
decision: Decision |
|
|
1620
|
+
decision: Decision | undefined;
|
|
1621
1621
|
/**
|
|
1622
1622
|
* @public
|
|
1623
1623
|
* <p>The list of determining policies used to make the authorization decision. For example,
|
|
@@ -1644,7 +1644,7 @@ export interface IsAuthorizedWithTokenOutput {
|
|
|
1644
1644
|
* <p>An authorization decision that indicates if the authorization request should be
|
|
1645
1645
|
* allowed or denied.</p>
|
|
1646
1646
|
*/
|
|
1647
|
-
decision: Decision |
|
|
1647
|
+
decision: Decision | undefined;
|
|
1648
1648
|
/**
|
|
1649
1649
|
* @public
|
|
1650
1650
|
* <p>The list of determining policies used to make the authorization decision. For example,
|
|
@@ -1682,7 +1682,7 @@ export interface PolicyFilter {
|
|
|
1682
1682
|
* @public
|
|
1683
1683
|
* <p>Filters the output to only policies of the specified type.</p>
|
|
1684
1684
|
*/
|
|
1685
|
-
policyType?: PolicyType
|
|
1685
|
+
policyType?: PolicyType;
|
|
1686
1686
|
/**
|
|
1687
1687
|
* @public
|
|
1688
1688
|
* <p>Filters the output to only template-linked policies that were instantiated from the specified
|
|
@@ -1849,7 +1849,7 @@ export interface PolicyItem {
|
|
|
1849
1849
|
* </li>
|
|
1850
1850
|
* </ul>
|
|
1851
1851
|
*/
|
|
1852
|
-
policyType: PolicyType |
|
|
1852
|
+
policyType: PolicyType | undefined;
|
|
1853
1853
|
/**
|
|
1854
1854
|
* @public
|
|
1855
1855
|
* <p>The principal associated with the policy.</p>
|
|
@@ -2192,7 +2192,7 @@ export interface UpdatePolicyOutput {
|
|
|
2192
2192
|
* @public
|
|
2193
2193
|
* <p>The type of the policy that was updated.</p>
|
|
2194
2194
|
*/
|
|
2195
|
-
policyType: PolicyType |
|
|
2195
|
+
policyType: PolicyType | undefined;
|
|
2196
2196
|
/**
|
|
2197
2197
|
* @public
|
|
2198
2198
|
* <p>The principal specified in the policy's scope. This element isn't included in the
|
|
@@ -47,7 +47,7 @@ export declare const ResourceType: {
|
|
|
47
47
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
48
48
|
export interface ResourceConflict {
|
|
49
49
|
resourceId: string | undefined;
|
|
50
|
-
resourceType: ResourceType |
|
|
50
|
+
resourceType: ResourceType | undefined;
|
|
51
51
|
}
|
|
52
52
|
export declare class ConflictException extends __BaseException {
|
|
53
53
|
readonly name: "ConflictException";
|
|
@@ -79,7 +79,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
79
79
|
readonly name: "ResourceNotFoundException";
|
|
80
80
|
readonly $fault: "client";
|
|
81
81
|
resourceId: string | undefined;
|
|
82
|
-
resourceType: ResourceType |
|
|
82
|
+
resourceType: ResourceType | undefined;
|
|
83
83
|
constructor(
|
|
84
84
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
85
85
|
);
|
|
@@ -88,7 +88,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
88
88
|
readonly name: "ServiceQuotaExceededException";
|
|
89
89
|
readonly $fault: "client";
|
|
90
90
|
resourceId?: string;
|
|
91
|
-
resourceType: ResourceType |
|
|
91
|
+
resourceType: ResourceType | undefined;
|
|
92
92
|
serviceCode?: string;
|
|
93
93
|
quotaCode?: string;
|
|
94
94
|
constructor(
|
|
@@ -168,7 +168,7 @@ export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
|
168
168
|
export interface CreatePolicyOutput {
|
|
169
169
|
policyStoreId: string | undefined;
|
|
170
170
|
policyId: string | undefined;
|
|
171
|
-
policyType: PolicyType |
|
|
171
|
+
policyType: PolicyType | undefined;
|
|
172
172
|
principal?: EntityIdentifier;
|
|
173
173
|
resource?: EntityIdentifier;
|
|
174
174
|
createdDate: Date | undefined;
|
|
@@ -181,7 +181,7 @@ export declare const ValidationMode: {
|
|
|
181
181
|
export type ValidationMode =
|
|
182
182
|
(typeof ValidationMode)[keyof typeof ValidationMode];
|
|
183
183
|
export interface ValidationSettings {
|
|
184
|
-
mode: ValidationMode |
|
|
184
|
+
mode: ValidationMode | undefined;
|
|
185
185
|
}
|
|
186
186
|
export interface CreatePolicyStoreInput {
|
|
187
187
|
clientToken?: string;
|
|
@@ -274,7 +274,7 @@ export interface IdentitySourceDetails {
|
|
|
274
274
|
clientIds?: string[];
|
|
275
275
|
userPoolArn?: string;
|
|
276
276
|
discoveryUrl?: string;
|
|
277
|
-
openIdIssuer?: OpenIdIssuer
|
|
277
|
+
openIdIssuer?: OpenIdIssuer;
|
|
278
278
|
}
|
|
279
279
|
export interface GetIdentitySourceOutput {
|
|
280
280
|
createdDate: Date | undefined;
|
|
@@ -327,7 +327,7 @@ export declare namespace PolicyDefinitionDetail {
|
|
|
327
327
|
export interface GetPolicyOutput {
|
|
328
328
|
policyStoreId: string | undefined;
|
|
329
329
|
policyId: string | undefined;
|
|
330
|
-
policyType: PolicyType |
|
|
330
|
+
policyType: PolicyType | undefined;
|
|
331
331
|
principal?: EntityIdentifier;
|
|
332
332
|
resource?: EntityIdentifier;
|
|
333
333
|
definition: PolicyDefinitionDetail | undefined;
|
|
@@ -378,7 +378,7 @@ export interface IdentitySourceItemDetails {
|
|
|
378
378
|
clientIds?: string[];
|
|
379
379
|
userPoolArn?: string;
|
|
380
380
|
discoveryUrl?: string;
|
|
381
|
-
openIdIssuer?: OpenIdIssuer
|
|
381
|
+
openIdIssuer?: OpenIdIssuer;
|
|
382
382
|
}
|
|
383
383
|
export interface IdentitySourceItem {
|
|
384
384
|
createdDate: Date | undefined;
|
|
@@ -429,19 +429,19 @@ export interface UpdateIdentitySourceOutput {
|
|
|
429
429
|
policyStoreId: string | undefined;
|
|
430
430
|
}
|
|
431
431
|
export interface IsAuthorizedOutput {
|
|
432
|
-
decision: Decision |
|
|
432
|
+
decision: Decision | undefined;
|
|
433
433
|
determiningPolicies: DeterminingPolicyItem[] | undefined;
|
|
434
434
|
errors: EvaluationErrorItem[] | undefined;
|
|
435
435
|
}
|
|
436
436
|
export interface IsAuthorizedWithTokenOutput {
|
|
437
|
-
decision: Decision |
|
|
437
|
+
decision: Decision | undefined;
|
|
438
438
|
determiningPolicies: DeterminingPolicyItem[] | undefined;
|
|
439
439
|
errors: EvaluationErrorItem[] | undefined;
|
|
440
440
|
}
|
|
441
441
|
export interface PolicyFilter {
|
|
442
442
|
principal?: EntityReference;
|
|
443
443
|
resource?: EntityReference;
|
|
444
|
-
policyType?: PolicyType
|
|
444
|
+
policyType?: PolicyType;
|
|
445
445
|
policyTemplateId?: string;
|
|
446
446
|
}
|
|
447
447
|
export interface ListPoliciesInput {
|
|
@@ -488,7 +488,7 @@ export declare namespace PolicyDefinitionItem {
|
|
|
488
488
|
export interface PolicyItem {
|
|
489
489
|
policyStoreId: string | undefined;
|
|
490
490
|
policyId: string | undefined;
|
|
491
|
-
policyType: PolicyType |
|
|
491
|
+
policyType: PolicyType | undefined;
|
|
492
492
|
principal?: EntityIdentifier;
|
|
493
493
|
resource?: EntityIdentifier;
|
|
494
494
|
definition: PolicyDefinitionItem | undefined;
|
|
@@ -558,7 +558,7 @@ export interface UpdatePolicyInput {
|
|
|
558
558
|
export interface UpdatePolicyOutput {
|
|
559
559
|
policyStoreId: string | undefined;
|
|
560
560
|
policyId: string | undefined;
|
|
561
|
-
policyType: PolicyType |
|
|
561
|
+
policyType: PolicyType | undefined;
|
|
562
562
|
principal?: EntityIdentifier;
|
|
563
563
|
resource?: EntityIdentifier;
|
|
564
564
|
createdDate: Date | undefined;
|
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.429.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,9 +21,9 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
42
|
"@smithy/middleware-retry": "^2.0.16",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|