@aws-sdk/client-verifiedpermissions 3.682.0 → 3.686.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 +9 -1
- package/dist-cjs/index.js +165 -73
- package/dist-es/VerifiedPermissions.js +2 -0
- package/dist-es/commands/BatchGetPolicyCommand.js +23 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +76 -56
- package/dist-es/protocols/Aws_json1_0.js +54 -3
- package/dist-types/VerifiedPermissions.d.ts +7 -0
- package/dist-types/VerifiedPermissionsClient.d.ts +3 -2
- package/dist-types/commands/BatchGetPolicyCommand.d.ts +277 -0
- package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +8 -0
- package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +8 -0
- package/dist-types/commands/IsAuthorizedCommand.d.ts +4 -0
- package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +343 -158
- 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/BatchGetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +151 -74
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +35 -35
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
+
import { BatchGetPolicyCommandInput, BatchGetPolicyCommandOutput } from "../commands/BatchGetPolicyCommand";
|
|
3
4
|
import { BatchIsAuthorizedCommandInput, BatchIsAuthorizedCommandOutput } from "../commands/BatchIsAuthorizedCommand";
|
|
4
5
|
import { BatchIsAuthorizedWithTokenCommandInput, BatchIsAuthorizedWithTokenCommandOutput } from "../commands/BatchIsAuthorizedWithTokenCommand";
|
|
5
6
|
import { CreateIdentitySourceCommandInput, CreateIdentitySourceCommandOutput } from "../commands/CreateIdentitySourceCommand";
|
|
@@ -26,6 +27,10 @@ import { UpdateIdentitySourceCommandInput, UpdateIdentitySourceCommandOutput } f
|
|
|
26
27
|
import { UpdatePolicyCommandInput, UpdatePolicyCommandOutput } from "../commands/UpdatePolicyCommand";
|
|
27
28
|
import { UpdatePolicyStoreCommandInput, UpdatePolicyStoreCommandOutput } from "../commands/UpdatePolicyStoreCommand";
|
|
28
29
|
import { UpdatePolicyTemplateCommandInput, UpdatePolicyTemplateCommandOutput } from "../commands/UpdatePolicyTemplateCommand";
|
|
30
|
+
/**
|
|
31
|
+
* serializeAws_json1_0BatchGetPolicyCommand
|
|
32
|
+
*/
|
|
33
|
+
export declare const se_BatchGetPolicyCommand: (input: BatchGetPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
34
|
/**
|
|
30
35
|
* serializeAws_json1_0BatchIsAuthorizedCommand
|
|
31
36
|
*/
|
|
@@ -130,6 +135,10 @@ export declare const se_UpdatePolicyStoreCommand: (input: UpdatePolicyStoreComma
|
|
|
130
135
|
* serializeAws_json1_0UpdatePolicyTemplateCommand
|
|
131
136
|
*/
|
|
132
137
|
export declare const se_UpdatePolicyTemplateCommand: (input: UpdatePolicyTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
138
|
+
/**
|
|
139
|
+
* deserializeAws_json1_0BatchGetPolicyCommand
|
|
140
|
+
*/
|
|
141
|
+
export declare const de_BatchGetPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetPolicyCommandOutput>;
|
|
133
142
|
/**
|
|
134
143
|
* deserializeAws_json1_0BatchIsAuthorizedCommand
|
|
135
144
|
*/
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
BatchGetPolicyCommandInput,
|
|
4
|
+
BatchGetPolicyCommandOutput,
|
|
5
|
+
} from "./commands/BatchGetPolicyCommand";
|
|
2
6
|
import {
|
|
3
7
|
BatchIsAuthorizedCommandInput,
|
|
4
8
|
BatchIsAuthorizedCommandOutput,
|
|
@@ -105,6 +109,19 @@ import {
|
|
|
105
109
|
} from "./commands/UpdatePolicyTemplateCommand";
|
|
106
110
|
import { VerifiedPermissionsClient } from "./VerifiedPermissionsClient";
|
|
107
111
|
export interface VerifiedPermissions {
|
|
112
|
+
batchGetPolicy(
|
|
113
|
+
args: BatchGetPolicyCommandInput,
|
|
114
|
+
options?: __HttpHandlerOptions
|
|
115
|
+
): Promise<BatchGetPolicyCommandOutput>;
|
|
116
|
+
batchGetPolicy(
|
|
117
|
+
args: BatchGetPolicyCommandInput,
|
|
118
|
+
cb: (err: any, data?: BatchGetPolicyCommandOutput) => void
|
|
119
|
+
): void;
|
|
120
|
+
batchGetPolicy(
|
|
121
|
+
args: BatchGetPolicyCommandInput,
|
|
122
|
+
options: __HttpHandlerOptions,
|
|
123
|
+
cb: (err: any, data?: BatchGetPolicyCommandOutput) => void
|
|
124
|
+
): void;
|
|
108
125
|
batchIsAuthorized(
|
|
109
126
|
args: BatchIsAuthorizedCommandInput,
|
|
110
127
|
options?: __HttpHandlerOptions
|
|
@@ -45,6 +45,10 @@ import {
|
|
|
45
45
|
HttpAuthSchemeInputConfig,
|
|
46
46
|
HttpAuthSchemeResolvedConfig,
|
|
47
47
|
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
BatchGetPolicyCommandInput,
|
|
50
|
+
BatchGetPolicyCommandOutput,
|
|
51
|
+
} from "./commands/BatchGetPolicyCommand";
|
|
48
52
|
import {
|
|
49
53
|
BatchIsAuthorizedCommandInput,
|
|
50
54
|
BatchIsAuthorizedCommandOutput,
|
|
@@ -157,6 +161,7 @@ import {
|
|
|
157
161
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
158
162
|
export { __Client };
|
|
159
163
|
export type ServiceInputTypes =
|
|
164
|
+
| BatchGetPolicyCommandInput
|
|
160
165
|
| BatchIsAuthorizedCommandInput
|
|
161
166
|
| BatchIsAuthorizedWithTokenCommandInput
|
|
162
167
|
| CreateIdentitySourceCommandInput
|
|
@@ -184,6 +189,7 @@ export type ServiceInputTypes =
|
|
|
184
189
|
| UpdatePolicyStoreCommandInput
|
|
185
190
|
| UpdatePolicyTemplateCommandInput;
|
|
186
191
|
export type ServiceOutputTypes =
|
|
192
|
+
| BatchGetPolicyCommandOutput
|
|
187
193
|
| BatchIsAuthorizedCommandOutput
|
|
188
194
|
| BatchIsAuthorizedWithTokenCommandOutput
|
|
189
195
|
| CreateIdentitySourceCommandOutput
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BatchGetPolicyInput, BatchGetPolicyOutput } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
VerifiedPermissionsClientResolvedConfig,
|
|
8
|
+
} from "../VerifiedPermissionsClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface BatchGetPolicyCommandInput extends BatchGetPolicyInput {}
|
|
12
|
+
export interface BatchGetPolicyCommandOutput
|
|
13
|
+
extends BatchGetPolicyOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const BatchGetPolicyCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: BatchGetPolicyCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
BatchGetPolicyCommandInput,
|
|
20
|
+
BatchGetPolicyCommandOutput,
|
|
21
|
+
VerifiedPermissionsClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: BatchGetPolicyCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
BatchGetPolicyCommandInput,
|
|
29
|
+
BatchGetPolicyCommandOutput,
|
|
30
|
+
VerifiedPermissionsClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class BatchGetPolicyCommand extends BatchGetPolicyCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: BatchGetPolicyInput;
|
|
40
|
+
output: BatchGetPolicyOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: BatchGetPolicyCommandInput;
|
|
44
|
+
output: BatchGetPolicyCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -15,16 +15,77 @@ export interface EntityIdentifier {
|
|
|
15
15
|
entityType: string | undefined;
|
|
16
16
|
entityId: string | undefined;
|
|
17
17
|
}
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
export interface BatchGetPolicyInputItem {
|
|
19
|
+
policyStoreId: string | undefined;
|
|
20
|
+
policyId: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
export interface BatchGetPolicyInput {
|
|
23
|
+
requests: BatchGetPolicyInputItem[] | undefined;
|
|
24
|
+
}
|
|
25
|
+
export declare const BatchGetPolicyErrorCode: {
|
|
26
|
+
readonly POLICY_NOT_FOUND: "POLICY_NOT_FOUND";
|
|
27
|
+
readonly POLICY_STORE_NOT_FOUND: "POLICY_STORE_NOT_FOUND";
|
|
21
28
|
};
|
|
22
|
-
export type
|
|
23
|
-
|
|
29
|
+
export type BatchGetPolicyErrorCode =
|
|
30
|
+
(typeof BatchGetPolicyErrorCode)[keyof typeof BatchGetPolicyErrorCode];
|
|
31
|
+
export interface BatchGetPolicyErrorItem {
|
|
32
|
+
code: BatchGetPolicyErrorCode | undefined;
|
|
33
|
+
policyStoreId: string | undefined;
|
|
24
34
|
policyId: string | undefined;
|
|
35
|
+
message: string | undefined;
|
|
25
36
|
}
|
|
26
|
-
export interface
|
|
27
|
-
|
|
37
|
+
export interface StaticPolicyDefinitionDetail {
|
|
38
|
+
description?: string;
|
|
39
|
+
statement: string | undefined;
|
|
40
|
+
}
|
|
41
|
+
export interface TemplateLinkedPolicyDefinitionDetail {
|
|
42
|
+
policyTemplateId: string | undefined;
|
|
43
|
+
principal?: EntityIdentifier;
|
|
44
|
+
resource?: EntityIdentifier;
|
|
45
|
+
}
|
|
46
|
+
export type PolicyDefinitionDetail =
|
|
47
|
+
| PolicyDefinitionDetail.StaticMember
|
|
48
|
+
| PolicyDefinitionDetail.TemplateLinkedMember
|
|
49
|
+
| PolicyDefinitionDetail.$UnknownMember;
|
|
50
|
+
export declare namespace PolicyDefinitionDetail {
|
|
51
|
+
interface StaticMember {
|
|
52
|
+
static: StaticPolicyDefinitionDetail;
|
|
53
|
+
templateLinked?: never;
|
|
54
|
+
$unknown?: never;
|
|
55
|
+
}
|
|
56
|
+
interface TemplateLinkedMember {
|
|
57
|
+
static?: never;
|
|
58
|
+
templateLinked: TemplateLinkedPolicyDefinitionDetail;
|
|
59
|
+
$unknown?: never;
|
|
60
|
+
}
|
|
61
|
+
interface $UnknownMember {
|
|
62
|
+
static?: never;
|
|
63
|
+
templateLinked?: never;
|
|
64
|
+
$unknown: [string, any];
|
|
65
|
+
}
|
|
66
|
+
interface Visitor<T> {
|
|
67
|
+
static: (value: StaticPolicyDefinitionDetail) => T;
|
|
68
|
+
templateLinked: (value: TemplateLinkedPolicyDefinitionDetail) => T;
|
|
69
|
+
_: (name: string, value: any) => T;
|
|
70
|
+
}
|
|
71
|
+
const visit: <T>(value: PolicyDefinitionDetail, visitor: Visitor<T>) => T;
|
|
72
|
+
}
|
|
73
|
+
export declare const PolicyType: {
|
|
74
|
+
readonly STATIC: "STATIC";
|
|
75
|
+
readonly TEMPLATE_LINKED: "TEMPLATE_LINKED";
|
|
76
|
+
};
|
|
77
|
+
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
78
|
+
export interface BatchGetPolicyOutputItem {
|
|
79
|
+
policyStoreId: string | undefined;
|
|
80
|
+
policyId: string | undefined;
|
|
81
|
+
policyType: PolicyType | undefined;
|
|
82
|
+
definition: PolicyDefinitionDetail | undefined;
|
|
83
|
+
createdDate: Date | undefined;
|
|
84
|
+
lastUpdatedDate: Date | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface BatchGetPolicyOutput {
|
|
87
|
+
results: BatchGetPolicyOutputItem[] | undefined;
|
|
88
|
+
errors: BatchGetPolicyErrorItem[] | undefined;
|
|
28
89
|
}
|
|
29
90
|
export declare class InternalServerException extends __BaseException {
|
|
30
91
|
readonly name: "InternalServerException";
|
|
@@ -34,23 +95,6 @@ export declare class InternalServerException extends __BaseException {
|
|
|
34
95
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
35
96
|
);
|
|
36
97
|
}
|
|
37
|
-
export declare const ResourceType: {
|
|
38
|
-
readonly IDENTITY_SOURCE: "IDENTITY_SOURCE";
|
|
39
|
-
readonly POLICY: "POLICY";
|
|
40
|
-
readonly POLICY_STORE: "POLICY_STORE";
|
|
41
|
-
readonly POLICY_TEMPLATE: "POLICY_TEMPLATE";
|
|
42
|
-
readonly SCHEMA: "SCHEMA";
|
|
43
|
-
};
|
|
44
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
45
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
46
|
-
readonly name: "ResourceNotFoundException";
|
|
47
|
-
readonly $fault: "client";
|
|
48
|
-
resourceId: string | undefined;
|
|
49
|
-
resourceType: ResourceType | undefined;
|
|
50
|
-
constructor(
|
|
51
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
52
|
-
);
|
|
53
|
-
}
|
|
54
98
|
export declare class ThrottlingException extends __BaseException {
|
|
55
99
|
readonly name: "ThrottlingException";
|
|
56
100
|
readonly $fault: "client";
|
|
@@ -75,6 +119,34 @@ export declare class ValidationException extends __BaseException {
|
|
|
75
119
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
76
120
|
);
|
|
77
121
|
}
|
|
122
|
+
export declare const Decision: {
|
|
123
|
+
readonly ALLOW: "ALLOW";
|
|
124
|
+
readonly DENY: "DENY";
|
|
125
|
+
};
|
|
126
|
+
export type Decision = (typeof Decision)[keyof typeof Decision];
|
|
127
|
+
export interface DeterminingPolicyItem {
|
|
128
|
+
policyId: string | undefined;
|
|
129
|
+
}
|
|
130
|
+
export interface EvaluationErrorItem {
|
|
131
|
+
errorDescription: string | undefined;
|
|
132
|
+
}
|
|
133
|
+
export declare const ResourceType: {
|
|
134
|
+
readonly IDENTITY_SOURCE: "IDENTITY_SOURCE";
|
|
135
|
+
readonly POLICY: "POLICY";
|
|
136
|
+
readonly POLICY_STORE: "POLICY_STORE";
|
|
137
|
+
readonly POLICY_TEMPLATE: "POLICY_TEMPLATE";
|
|
138
|
+
readonly SCHEMA: "SCHEMA";
|
|
139
|
+
};
|
|
140
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
141
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
142
|
+
readonly name: "ResourceNotFoundException";
|
|
143
|
+
readonly $fault: "client";
|
|
144
|
+
resourceId: string | undefined;
|
|
145
|
+
resourceType: ResourceType | undefined;
|
|
146
|
+
constructor(
|
|
147
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
148
|
+
);
|
|
149
|
+
}
|
|
78
150
|
export interface CognitoGroupConfiguration {
|
|
79
151
|
groupEntityType: string | undefined;
|
|
80
152
|
}
|
|
@@ -413,11 +485,6 @@ export declare const PolicyEffect: {
|
|
|
413
485
|
readonly PERMIT: "Permit";
|
|
414
486
|
};
|
|
415
487
|
export type PolicyEffect = (typeof PolicyEffect)[keyof typeof PolicyEffect];
|
|
416
|
-
export declare const PolicyType: {
|
|
417
|
-
readonly STATIC: "STATIC";
|
|
418
|
-
readonly TEMPLATE_LINKED: "TEMPLATE_LINKED";
|
|
419
|
-
};
|
|
420
|
-
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
421
488
|
export interface CreatePolicyOutput {
|
|
422
489
|
policyStoreId: string | undefined;
|
|
423
490
|
policyId: string | undefined;
|
|
@@ -534,42 +601,6 @@ export interface GetPolicyInput {
|
|
|
534
601
|
policyStoreId: string | undefined;
|
|
535
602
|
policyId: string | undefined;
|
|
536
603
|
}
|
|
537
|
-
export interface StaticPolicyDefinitionDetail {
|
|
538
|
-
description?: string;
|
|
539
|
-
statement: string | undefined;
|
|
540
|
-
}
|
|
541
|
-
export interface TemplateLinkedPolicyDefinitionDetail {
|
|
542
|
-
policyTemplateId: string | undefined;
|
|
543
|
-
principal?: EntityIdentifier;
|
|
544
|
-
resource?: EntityIdentifier;
|
|
545
|
-
}
|
|
546
|
-
export type PolicyDefinitionDetail =
|
|
547
|
-
| PolicyDefinitionDetail.StaticMember
|
|
548
|
-
| PolicyDefinitionDetail.TemplateLinkedMember
|
|
549
|
-
| PolicyDefinitionDetail.$UnknownMember;
|
|
550
|
-
export declare namespace PolicyDefinitionDetail {
|
|
551
|
-
interface StaticMember {
|
|
552
|
-
static: StaticPolicyDefinitionDetail;
|
|
553
|
-
templateLinked?: never;
|
|
554
|
-
$unknown?: never;
|
|
555
|
-
}
|
|
556
|
-
interface TemplateLinkedMember {
|
|
557
|
-
static?: never;
|
|
558
|
-
templateLinked: TemplateLinkedPolicyDefinitionDetail;
|
|
559
|
-
$unknown?: never;
|
|
560
|
-
}
|
|
561
|
-
interface $UnknownMember {
|
|
562
|
-
static?: never;
|
|
563
|
-
templateLinked?: never;
|
|
564
|
-
$unknown: [string, any];
|
|
565
|
-
}
|
|
566
|
-
interface Visitor<T> {
|
|
567
|
-
static: (value: StaticPolicyDefinitionDetail) => T;
|
|
568
|
-
templateLinked: (value: TemplateLinkedPolicyDefinitionDetail) => T;
|
|
569
|
-
_: (name: string, value: any) => T;
|
|
570
|
-
}
|
|
571
|
-
const visit: <T>(value: PolicyDefinitionDetail, visitor: Visitor<T>) => T;
|
|
572
|
-
}
|
|
573
604
|
export interface GetPolicyOutput {
|
|
574
605
|
policyStoreId: string | undefined;
|
|
575
606
|
policyId: string | undefined;
|
|
@@ -938,7 +969,9 @@ export interface UpdatePolicyStoreOutput {
|
|
|
938
969
|
}
|
|
939
970
|
export type AttributeValue =
|
|
940
971
|
| AttributeValue.BooleanMember
|
|
972
|
+
| AttributeValue.DecimalMember
|
|
941
973
|
| AttributeValue.EntityIdentifierMember
|
|
974
|
+
| AttributeValue.IpaddrMember
|
|
942
975
|
| AttributeValue.LongMember
|
|
943
976
|
| AttributeValue.RecordMember
|
|
944
977
|
| AttributeValue.SetMember
|
|
@@ -952,6 +985,8 @@ export declare namespace AttributeValue {
|
|
|
952
985
|
string?: never;
|
|
953
986
|
set?: never;
|
|
954
987
|
record?: never;
|
|
988
|
+
ipaddr?: never;
|
|
989
|
+
decimal?: never;
|
|
955
990
|
$unknown?: never;
|
|
956
991
|
}
|
|
957
992
|
interface EntityIdentifierMember {
|
|
@@ -961,6 +996,8 @@ export declare namespace AttributeValue {
|
|
|
961
996
|
string?: never;
|
|
962
997
|
set?: never;
|
|
963
998
|
record?: never;
|
|
999
|
+
ipaddr?: never;
|
|
1000
|
+
decimal?: never;
|
|
964
1001
|
$unknown?: never;
|
|
965
1002
|
}
|
|
966
1003
|
interface LongMember {
|
|
@@ -970,6 +1007,8 @@ export declare namespace AttributeValue {
|
|
|
970
1007
|
string?: never;
|
|
971
1008
|
set?: never;
|
|
972
1009
|
record?: never;
|
|
1010
|
+
ipaddr?: never;
|
|
1011
|
+
decimal?: never;
|
|
973
1012
|
$unknown?: never;
|
|
974
1013
|
}
|
|
975
1014
|
interface StringMember {
|
|
@@ -979,6 +1018,8 @@ export declare namespace AttributeValue {
|
|
|
979
1018
|
string: string;
|
|
980
1019
|
set?: never;
|
|
981
1020
|
record?: never;
|
|
1021
|
+
ipaddr?: never;
|
|
1022
|
+
decimal?: never;
|
|
982
1023
|
$unknown?: never;
|
|
983
1024
|
}
|
|
984
1025
|
interface SetMember {
|
|
@@ -988,6 +1029,8 @@ export declare namespace AttributeValue {
|
|
|
988
1029
|
string?: never;
|
|
989
1030
|
set: AttributeValue[];
|
|
990
1031
|
record?: never;
|
|
1032
|
+
ipaddr?: never;
|
|
1033
|
+
decimal?: never;
|
|
991
1034
|
$unknown?: never;
|
|
992
1035
|
}
|
|
993
1036
|
interface RecordMember {
|
|
@@ -997,6 +1040,30 @@ export declare namespace AttributeValue {
|
|
|
997
1040
|
string?: never;
|
|
998
1041
|
set?: never;
|
|
999
1042
|
record: Record<string, AttributeValue>;
|
|
1043
|
+
ipaddr?: never;
|
|
1044
|
+
decimal?: never;
|
|
1045
|
+
$unknown?: never;
|
|
1046
|
+
}
|
|
1047
|
+
interface IpaddrMember {
|
|
1048
|
+
boolean?: never;
|
|
1049
|
+
entityIdentifier?: never;
|
|
1050
|
+
long?: never;
|
|
1051
|
+
string?: never;
|
|
1052
|
+
set?: never;
|
|
1053
|
+
record?: never;
|
|
1054
|
+
ipaddr: string;
|
|
1055
|
+
decimal?: never;
|
|
1056
|
+
$unknown?: never;
|
|
1057
|
+
}
|
|
1058
|
+
interface DecimalMember {
|
|
1059
|
+
boolean?: never;
|
|
1060
|
+
entityIdentifier?: never;
|
|
1061
|
+
long?: never;
|
|
1062
|
+
string?: never;
|
|
1063
|
+
set?: never;
|
|
1064
|
+
record?: never;
|
|
1065
|
+
ipaddr?: never;
|
|
1066
|
+
decimal: string;
|
|
1000
1067
|
$unknown?: never;
|
|
1001
1068
|
}
|
|
1002
1069
|
interface $UnknownMember {
|
|
@@ -1006,6 +1073,8 @@ export declare namespace AttributeValue {
|
|
|
1006
1073
|
string?: never;
|
|
1007
1074
|
set?: never;
|
|
1008
1075
|
record?: never;
|
|
1076
|
+
ipaddr?: never;
|
|
1077
|
+
decimal?: never;
|
|
1009
1078
|
$unknown: [string, any];
|
|
1010
1079
|
}
|
|
1011
1080
|
interface Visitor<T> {
|
|
@@ -1015,6 +1084,8 @@ export declare namespace AttributeValue {
|
|
|
1015
1084
|
string: (value: string) => T;
|
|
1016
1085
|
set: (value: AttributeValue[]) => T;
|
|
1017
1086
|
record: (value: Record<string, AttributeValue>) => T;
|
|
1087
|
+
ipaddr: (value: string) => T;
|
|
1088
|
+
decimal: (value: string) => T;
|
|
1018
1089
|
_: (name: string, value: any) => T;
|
|
1019
1090
|
}
|
|
1020
1091
|
const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
|
|
@@ -1125,6 +1196,21 @@ export declare const ActionIdentifierFilterSensitiveLog: (
|
|
|
1125
1196
|
export declare const EntityIdentifierFilterSensitiveLog: (
|
|
1126
1197
|
obj: EntityIdentifier
|
|
1127
1198
|
) => any;
|
|
1199
|
+
export declare const StaticPolicyDefinitionDetailFilterSensitiveLog: (
|
|
1200
|
+
obj: StaticPolicyDefinitionDetail
|
|
1201
|
+
) => any;
|
|
1202
|
+
export declare const TemplateLinkedPolicyDefinitionDetailFilterSensitiveLog: (
|
|
1203
|
+
obj: TemplateLinkedPolicyDefinitionDetail
|
|
1204
|
+
) => any;
|
|
1205
|
+
export declare const PolicyDefinitionDetailFilterSensitiveLog: (
|
|
1206
|
+
obj: PolicyDefinitionDetail
|
|
1207
|
+
) => any;
|
|
1208
|
+
export declare const BatchGetPolicyOutputItemFilterSensitiveLog: (
|
|
1209
|
+
obj: BatchGetPolicyOutputItem
|
|
1210
|
+
) => any;
|
|
1211
|
+
export declare const BatchGetPolicyOutputFilterSensitiveLog: (
|
|
1212
|
+
obj: BatchGetPolicyOutput
|
|
1213
|
+
) => any;
|
|
1128
1214
|
export declare const EvaluationErrorItemFilterSensitiveLog: (
|
|
1129
1215
|
obj: EvaluationErrorItem
|
|
1130
1216
|
) => any;
|
|
@@ -1233,15 +1319,6 @@ export declare const IdentitySourceDetailsFilterSensitiveLog: (
|
|
|
1233
1319
|
export declare const GetIdentitySourceOutputFilterSensitiveLog: (
|
|
1234
1320
|
obj: GetIdentitySourceOutput
|
|
1235
1321
|
) => any;
|
|
1236
|
-
export declare const StaticPolicyDefinitionDetailFilterSensitiveLog: (
|
|
1237
|
-
obj: StaticPolicyDefinitionDetail
|
|
1238
|
-
) => any;
|
|
1239
|
-
export declare const TemplateLinkedPolicyDefinitionDetailFilterSensitiveLog: (
|
|
1240
|
-
obj: TemplateLinkedPolicyDefinitionDetail
|
|
1241
|
-
) => any;
|
|
1242
|
-
export declare const PolicyDefinitionDetailFilterSensitiveLog: (
|
|
1243
|
-
obj: PolicyDefinitionDetail
|
|
1244
|
-
) => any;
|
|
1245
1322
|
export declare const GetPolicyOutputFilterSensitiveLog: (
|
|
1246
1323
|
obj: GetPolicyOutput
|
|
1247
1324
|
) => any;
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
BatchGetPolicyCommandInput,
|
|
8
|
+
BatchGetPolicyCommandOutput,
|
|
9
|
+
} from "../commands/BatchGetPolicyCommand";
|
|
6
10
|
import {
|
|
7
11
|
BatchIsAuthorizedCommandInput,
|
|
8
12
|
BatchIsAuthorizedCommandOutput,
|
|
@@ -107,6 +111,10 @@ import {
|
|
|
107
111
|
UpdatePolicyTemplateCommandInput,
|
|
108
112
|
UpdatePolicyTemplateCommandOutput,
|
|
109
113
|
} from "../commands/UpdatePolicyTemplateCommand";
|
|
114
|
+
export declare const se_BatchGetPolicyCommand: (
|
|
115
|
+
input: BatchGetPolicyCommandInput,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<__HttpRequest>;
|
|
110
118
|
export declare const se_BatchIsAuthorizedCommand: (
|
|
111
119
|
input: BatchIsAuthorizedCommandInput,
|
|
112
120
|
context: __SerdeContext
|
|
@@ -211,6 +219,10 @@ export declare const se_UpdatePolicyTemplateCommand: (
|
|
|
211
219
|
input: UpdatePolicyTemplateCommandInput,
|
|
212
220
|
context: __SerdeContext
|
|
213
221
|
) => Promise<__HttpRequest>;
|
|
222
|
+
export declare const de_BatchGetPolicyCommand: (
|
|
223
|
+
output: __HttpResponse,
|
|
224
|
+
context: __SerdeContext
|
|
225
|
+
) => Promise<BatchGetPolicyCommandOutput>;
|
|
214
226
|
export declare const de_BatchIsAuthorizedCommand: (
|
|
215
227
|
output: __HttpResponse,
|
|
216
228
|
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.686.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,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.1
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.2.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.686.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.686.0",
|
|
25
|
+
"@aws-sdk/core": "3.686.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.686.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.686.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
|
+
"@aws-sdk/types": "3.686.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.686.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.10",
|
|
37
|
+
"@smithy/core": "^2.5.1",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.0.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.8",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.8",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.10",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.25",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.8",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.8",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.9",
|
|
47
|
+
"@smithy/node-http-handler": "^3.2.5",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.5",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.2",
|
|
50
|
+
"@smithy/types": "^3.6.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.8",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.25",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.25",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.4",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.8",
|
|
59
|
+
"@smithy/util-retry": "^3.0.8",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"@types/uuid": "^9.0.1",
|
|
62
62
|
"tslib": "^2.6.2",
|