@aws-sdk/client-verifiedpermissions 3.540.0 → 3.550.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 +8 -0
- package/dist-cjs/index.js +165 -6
- package/dist-es/VerifiedPermissions.js +2 -0
- package/dist-es/commands/BatchIsAuthorizedWithTokenCommand.js +25 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +56 -0
- package/dist-es/protocols/Aws_json1_0.js +71 -0
- package/dist-types/VerifiedPermissions.d.ts +7 -0
- package/dist-types/VerifiedPermissionsClient.d.ts +3 -2
- package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +285 -0
- package/dist-types/commands/CreateIdentitySourceCommand.d.ts +3 -0
- package/dist-types/commands/GetIdentitySourceCommand.d.ts +3 -0
- package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +4 -9
- package/dist-types/commands/ListIdentitySourcesCommand.d.ts +3 -0
- package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +267 -12
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/VerifiedPermissions.d.ts +17 -0
- package/dist-types/ts3.4/VerifiedPermissionsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/BatchIsAuthorizedWithTokenCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +6 -6
|
@@ -75,19 +75,31 @@ export declare class ValidationException extends __BaseException {
|
|
|
75
75
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
76
76
|
);
|
|
77
77
|
}
|
|
78
|
+
export interface CognitoGroupConfiguration {
|
|
79
|
+
groupEntityType: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface CognitoGroupConfigurationDetail {
|
|
82
|
+
groupEntityType?: string;
|
|
83
|
+
}
|
|
84
|
+
export interface CognitoGroupConfigurationItem {
|
|
85
|
+
groupEntityType?: string;
|
|
86
|
+
}
|
|
78
87
|
export interface CognitoUserPoolConfiguration {
|
|
79
88
|
userPoolArn: string | undefined;
|
|
80
89
|
clientIds?: string[];
|
|
90
|
+
groupConfiguration?: CognitoGroupConfiguration;
|
|
81
91
|
}
|
|
82
92
|
export interface CognitoUserPoolConfigurationDetail {
|
|
83
93
|
userPoolArn: string | undefined;
|
|
84
94
|
clientIds: string[] | undefined;
|
|
85
95
|
issuer: string | undefined;
|
|
96
|
+
groupConfiguration?: CognitoGroupConfigurationDetail;
|
|
86
97
|
}
|
|
87
98
|
export interface CognitoUserPoolConfigurationItem {
|
|
88
99
|
userPoolArn: string | undefined;
|
|
89
100
|
clientIds: string[] | undefined;
|
|
90
101
|
issuer: string | undefined;
|
|
102
|
+
groupConfiguration?: CognitoGroupConfigurationItem;
|
|
91
103
|
}
|
|
92
104
|
export type Configuration =
|
|
93
105
|
| Configuration.CognitoUserPoolConfigurationMember
|
|
@@ -447,9 +459,13 @@ export interface ListIdentitySourcesOutput {
|
|
|
447
459
|
nextToken?: string;
|
|
448
460
|
identitySources: IdentitySourceItem[] | undefined;
|
|
449
461
|
}
|
|
462
|
+
export interface UpdateCognitoGroupConfiguration {
|
|
463
|
+
groupEntityType: string | undefined;
|
|
464
|
+
}
|
|
450
465
|
export interface UpdateCognitoUserPoolConfiguration {
|
|
451
466
|
userPoolArn: string | undefined;
|
|
452
467
|
clientIds?: string[];
|
|
468
|
+
groupConfiguration?: UpdateCognitoGroupConfiguration;
|
|
453
469
|
}
|
|
454
470
|
export type UpdateConfiguration =
|
|
455
471
|
| UpdateConfiguration.CognitoUserPoolConfigurationMember
|
|
@@ -492,6 +508,7 @@ export interface IsAuthorizedWithTokenOutput {
|
|
|
492
508
|
decision: Decision | undefined;
|
|
493
509
|
determiningPolicies: DeterminingPolicyItem[] | undefined;
|
|
494
510
|
errors: EvaluationErrorItem[] | undefined;
|
|
511
|
+
principal?: EntityIdentifier;
|
|
495
512
|
}
|
|
496
513
|
export interface PolicyFilter {
|
|
497
514
|
principal?: EntityReference;
|
|
@@ -784,12 +801,23 @@ export interface BatchIsAuthorizedInputItem {
|
|
|
784
801
|
resource?: EntityIdentifier;
|
|
785
802
|
context?: ContextDefinition;
|
|
786
803
|
}
|
|
804
|
+
export interface BatchIsAuthorizedWithTokenInputItem {
|
|
805
|
+
action?: ActionIdentifier;
|
|
806
|
+
resource?: EntityIdentifier;
|
|
807
|
+
context?: ContextDefinition;
|
|
808
|
+
}
|
|
787
809
|
export interface BatchIsAuthorizedOutputItem {
|
|
788
810
|
request: BatchIsAuthorizedInputItem | undefined;
|
|
789
811
|
decision: Decision | undefined;
|
|
790
812
|
determiningPolicies: DeterminingPolicyItem[] | undefined;
|
|
791
813
|
errors: EvaluationErrorItem[] | undefined;
|
|
792
814
|
}
|
|
815
|
+
export interface BatchIsAuthorizedWithTokenOutputItem {
|
|
816
|
+
request: BatchIsAuthorizedWithTokenInputItem | undefined;
|
|
817
|
+
decision: Decision | undefined;
|
|
818
|
+
determiningPolicies: DeterminingPolicyItem[] | undefined;
|
|
819
|
+
errors: EvaluationErrorItem[] | undefined;
|
|
820
|
+
}
|
|
793
821
|
export type EntitiesDefinition =
|
|
794
822
|
| EntitiesDefinition.EntityListMember
|
|
795
823
|
| EntitiesDefinition.$UnknownMember;
|
|
@@ -811,6 +839,10 @@ export declare namespace EntitiesDefinition {
|
|
|
811
839
|
export interface BatchIsAuthorizedOutput {
|
|
812
840
|
results: BatchIsAuthorizedOutputItem[] | undefined;
|
|
813
841
|
}
|
|
842
|
+
export interface BatchIsAuthorizedWithTokenOutput {
|
|
843
|
+
principal?: EntityIdentifier;
|
|
844
|
+
results: BatchIsAuthorizedWithTokenOutputItem[] | undefined;
|
|
845
|
+
}
|
|
814
846
|
export interface IsAuthorizedInput {
|
|
815
847
|
policyStoreId: string | undefined;
|
|
816
848
|
principal?: EntityIdentifier;
|
|
@@ -833,6 +865,13 @@ export interface BatchIsAuthorizedInput {
|
|
|
833
865
|
entities?: EntitiesDefinition;
|
|
834
866
|
requests: BatchIsAuthorizedInputItem[] | undefined;
|
|
835
867
|
}
|
|
868
|
+
export interface BatchIsAuthorizedWithTokenInput {
|
|
869
|
+
policyStoreId: string | undefined;
|
|
870
|
+
identityToken?: string;
|
|
871
|
+
accessToken?: string;
|
|
872
|
+
entities?: EntitiesDefinition;
|
|
873
|
+
requests: BatchIsAuthorizedWithTokenInputItem[] | undefined;
|
|
874
|
+
}
|
|
836
875
|
export declare const ActionIdentifierFilterSensitiveLog: (
|
|
837
876
|
obj: ActionIdentifier
|
|
838
877
|
) => any;
|
|
@@ -842,6 +881,15 @@ export declare const EntityIdentifierFilterSensitiveLog: (
|
|
|
842
881
|
export declare const EvaluationErrorItemFilterSensitiveLog: (
|
|
843
882
|
obj: EvaluationErrorItem
|
|
844
883
|
) => any;
|
|
884
|
+
export declare const CognitoGroupConfigurationFilterSensitiveLog: (
|
|
885
|
+
obj: CognitoGroupConfiguration
|
|
886
|
+
) => any;
|
|
887
|
+
export declare const CognitoGroupConfigurationDetailFilterSensitiveLog: (
|
|
888
|
+
obj: CognitoGroupConfigurationDetail
|
|
889
|
+
) => any;
|
|
890
|
+
export declare const CognitoGroupConfigurationItemFilterSensitiveLog: (
|
|
891
|
+
obj: CognitoGroupConfigurationItem
|
|
892
|
+
) => any;
|
|
845
893
|
export declare const CognitoUserPoolConfigurationFilterSensitiveLog: (
|
|
846
894
|
obj: CognitoUserPoolConfiguration
|
|
847
895
|
) => any;
|
|
@@ -929,6 +977,9 @@ export declare const IdentitySourceItemFilterSensitiveLog: (
|
|
|
929
977
|
export declare const ListIdentitySourcesOutputFilterSensitiveLog: (
|
|
930
978
|
obj: ListIdentitySourcesOutput
|
|
931
979
|
) => any;
|
|
980
|
+
export declare const UpdateCognitoGroupConfigurationFilterSensitiveLog: (
|
|
981
|
+
obj: UpdateCognitoGroupConfiguration
|
|
982
|
+
) => any;
|
|
932
983
|
export declare const UpdateCognitoUserPoolConfigurationFilterSensitiveLog: (
|
|
933
984
|
obj: UpdateCognitoUserPoolConfiguration
|
|
934
985
|
) => any;
|
|
@@ -1010,15 +1061,24 @@ export declare const EntityItemFilterSensitiveLog: (obj: EntityItem) => any;
|
|
|
1010
1061
|
export declare const BatchIsAuthorizedInputItemFilterSensitiveLog: (
|
|
1011
1062
|
obj: BatchIsAuthorizedInputItem
|
|
1012
1063
|
) => any;
|
|
1064
|
+
export declare const BatchIsAuthorizedWithTokenInputItemFilterSensitiveLog: (
|
|
1065
|
+
obj: BatchIsAuthorizedWithTokenInputItem
|
|
1066
|
+
) => any;
|
|
1013
1067
|
export declare const BatchIsAuthorizedOutputItemFilterSensitiveLog: (
|
|
1014
1068
|
obj: BatchIsAuthorizedOutputItem
|
|
1015
1069
|
) => any;
|
|
1070
|
+
export declare const BatchIsAuthorizedWithTokenOutputItemFilterSensitiveLog: (
|
|
1071
|
+
obj: BatchIsAuthorizedWithTokenOutputItem
|
|
1072
|
+
) => any;
|
|
1016
1073
|
export declare const EntitiesDefinitionFilterSensitiveLog: (
|
|
1017
1074
|
obj: EntitiesDefinition
|
|
1018
1075
|
) => any;
|
|
1019
1076
|
export declare const BatchIsAuthorizedOutputFilterSensitiveLog: (
|
|
1020
1077
|
obj: BatchIsAuthorizedOutput
|
|
1021
1078
|
) => any;
|
|
1079
|
+
export declare const BatchIsAuthorizedWithTokenOutputFilterSensitiveLog: (
|
|
1080
|
+
obj: BatchIsAuthorizedWithTokenOutput
|
|
1081
|
+
) => any;
|
|
1022
1082
|
export declare const IsAuthorizedInputFilterSensitiveLog: (
|
|
1023
1083
|
obj: IsAuthorizedInput
|
|
1024
1084
|
) => any;
|
|
@@ -1028,3 +1088,6 @@ export declare const IsAuthorizedWithTokenInputFilterSensitiveLog: (
|
|
|
1028
1088
|
export declare const BatchIsAuthorizedInputFilterSensitiveLog: (
|
|
1029
1089
|
obj: BatchIsAuthorizedInput
|
|
1030
1090
|
) => any;
|
|
1091
|
+
export declare const BatchIsAuthorizedWithTokenInputFilterSensitiveLog: (
|
|
1092
|
+
obj: BatchIsAuthorizedWithTokenInput
|
|
1093
|
+
) => any;
|
|
@@ -7,6 +7,10 @@ import {
|
|
|
7
7
|
BatchIsAuthorizedCommandInput,
|
|
8
8
|
BatchIsAuthorizedCommandOutput,
|
|
9
9
|
} from "../commands/BatchIsAuthorizedCommand";
|
|
10
|
+
import {
|
|
11
|
+
BatchIsAuthorizedWithTokenCommandInput,
|
|
12
|
+
BatchIsAuthorizedWithTokenCommandOutput,
|
|
13
|
+
} from "../commands/BatchIsAuthorizedWithTokenCommand";
|
|
10
14
|
import {
|
|
11
15
|
CreateIdentitySourceCommandInput,
|
|
12
16
|
CreateIdentitySourceCommandOutput,
|
|
@@ -107,6 +111,10 @@ export declare const se_BatchIsAuthorizedCommand: (
|
|
|
107
111
|
input: BatchIsAuthorizedCommandInput,
|
|
108
112
|
context: __SerdeContext
|
|
109
113
|
) => Promise<__HttpRequest>;
|
|
114
|
+
export declare const se_BatchIsAuthorizedWithTokenCommand: (
|
|
115
|
+
input: BatchIsAuthorizedWithTokenCommandInput,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<__HttpRequest>;
|
|
110
118
|
export declare const se_CreateIdentitySourceCommand: (
|
|
111
119
|
input: CreateIdentitySourceCommandInput,
|
|
112
120
|
context: __SerdeContext
|
|
@@ -207,6 +215,10 @@ export declare const de_BatchIsAuthorizedCommand: (
|
|
|
207
215
|
output: __HttpResponse,
|
|
208
216
|
context: __SerdeContext
|
|
209
217
|
) => Promise<BatchIsAuthorizedCommandOutput>;
|
|
218
|
+
export declare const de_BatchIsAuthorizedWithTokenCommand: (
|
|
219
|
+
output: __HttpResponse,
|
|
220
|
+
context: __SerdeContext
|
|
221
|
+
) => Promise<BatchIsAuthorizedWithTokenCommandOutput>;
|
|
210
222
|
export declare const de_CreateIdentitySourceCommand: (
|
|
211
223
|
output: __HttpResponse,
|
|
212
224
|
context: __SerdeContext
|
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.550.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-verifiedpermissions",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.549.0",
|
|
24
|
+
"@aws-sdk/core": "3.549.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.549.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
-
"@smithy/core": "^1.4.
|
|
36
|
+
"@smithy/core": "^1.4.1",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
38
|
"@smithy/hash-node": "^2.2.0",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
41
|
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
42
|
+
"@smithy/middleware-retry": "^2.3.0",
|
|
43
43
|
"@smithy/middleware-serde": "^2.3.0",
|
|
44
44
|
"@smithy/middleware-stack": "^2.2.0",
|
|
45
45
|
"@smithy/node-config-provider": "^2.3.0",
|