@aws-sdk/client-verifiedpermissions 3.929.0 → 3.930.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/dist-cjs/index.js +0 -208
- package/dist-es/models/models_0.js +0 -208
- package/dist-types/models/models_0.d.ts +72 -18
- package/dist-types/ts3.4/models/models_0.d.ts +0 -30
- package/package.json +33 -33
package/dist-cjs/index.js
CHANGED
|
@@ -133,16 +133,6 @@ const BatchGetPolicyErrorCode = {
|
|
|
133
133
|
POLICY_NOT_FOUND: "POLICY_NOT_FOUND",
|
|
134
134
|
POLICY_STORE_NOT_FOUND: "POLICY_STORE_NOT_FOUND",
|
|
135
135
|
};
|
|
136
|
-
exports.PolicyDefinitionDetail = void 0;
|
|
137
|
-
(function (PolicyDefinitionDetail) {
|
|
138
|
-
PolicyDefinitionDetail.visit = (value, visitor) => {
|
|
139
|
-
if (value.static !== undefined)
|
|
140
|
-
return visitor.static(value.static);
|
|
141
|
-
if (value.templateLinked !== undefined)
|
|
142
|
-
return visitor.templateLinked(value.templateLinked);
|
|
143
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
144
|
-
};
|
|
145
|
-
})(exports.PolicyDefinitionDetail || (exports.PolicyDefinitionDetail = {}));
|
|
146
136
|
const PolicyType = {
|
|
147
137
|
STATIC: "STATIC",
|
|
148
138
|
TEMPLATE_LINKED: "TEMPLATE_LINKED",
|
|
@@ -224,66 +214,6 @@ const CedarVersion = {
|
|
|
224
214
|
CEDAR_2: "CEDAR_2",
|
|
225
215
|
CEDAR_4: "CEDAR_4",
|
|
226
216
|
};
|
|
227
|
-
exports.OpenIdConnectTokenSelection = void 0;
|
|
228
|
-
(function (OpenIdConnectTokenSelection) {
|
|
229
|
-
OpenIdConnectTokenSelection.visit = (value, visitor) => {
|
|
230
|
-
if (value.accessTokenOnly !== undefined)
|
|
231
|
-
return visitor.accessTokenOnly(value.accessTokenOnly);
|
|
232
|
-
if (value.identityTokenOnly !== undefined)
|
|
233
|
-
return visitor.identityTokenOnly(value.identityTokenOnly);
|
|
234
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
235
|
-
};
|
|
236
|
-
})(exports.OpenIdConnectTokenSelection || (exports.OpenIdConnectTokenSelection = {}));
|
|
237
|
-
exports.Configuration = void 0;
|
|
238
|
-
(function (Configuration) {
|
|
239
|
-
Configuration.visit = (value, visitor) => {
|
|
240
|
-
if (value.cognitoUserPoolConfiguration !== undefined)
|
|
241
|
-
return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
|
|
242
|
-
if (value.openIdConnectConfiguration !== undefined)
|
|
243
|
-
return visitor.openIdConnectConfiguration(value.openIdConnectConfiguration);
|
|
244
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
245
|
-
};
|
|
246
|
-
})(exports.Configuration || (exports.Configuration = {}));
|
|
247
|
-
exports.OpenIdConnectTokenSelectionDetail = void 0;
|
|
248
|
-
(function (OpenIdConnectTokenSelectionDetail) {
|
|
249
|
-
OpenIdConnectTokenSelectionDetail.visit = (value, visitor) => {
|
|
250
|
-
if (value.accessTokenOnly !== undefined)
|
|
251
|
-
return visitor.accessTokenOnly(value.accessTokenOnly);
|
|
252
|
-
if (value.identityTokenOnly !== undefined)
|
|
253
|
-
return visitor.identityTokenOnly(value.identityTokenOnly);
|
|
254
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
255
|
-
};
|
|
256
|
-
})(exports.OpenIdConnectTokenSelectionDetail || (exports.OpenIdConnectTokenSelectionDetail = {}));
|
|
257
|
-
exports.ConfigurationDetail = void 0;
|
|
258
|
-
(function (ConfigurationDetail) {
|
|
259
|
-
ConfigurationDetail.visit = (value, visitor) => {
|
|
260
|
-
if (value.cognitoUserPoolConfiguration !== undefined)
|
|
261
|
-
return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
|
|
262
|
-
if (value.openIdConnectConfiguration !== undefined)
|
|
263
|
-
return visitor.openIdConnectConfiguration(value.openIdConnectConfiguration);
|
|
264
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
265
|
-
};
|
|
266
|
-
})(exports.ConfigurationDetail || (exports.ConfigurationDetail = {}));
|
|
267
|
-
exports.OpenIdConnectTokenSelectionItem = void 0;
|
|
268
|
-
(function (OpenIdConnectTokenSelectionItem) {
|
|
269
|
-
OpenIdConnectTokenSelectionItem.visit = (value, visitor) => {
|
|
270
|
-
if (value.accessTokenOnly !== undefined)
|
|
271
|
-
return visitor.accessTokenOnly(value.accessTokenOnly);
|
|
272
|
-
if (value.identityTokenOnly !== undefined)
|
|
273
|
-
return visitor.identityTokenOnly(value.identityTokenOnly);
|
|
274
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
275
|
-
};
|
|
276
|
-
})(exports.OpenIdConnectTokenSelectionItem || (exports.OpenIdConnectTokenSelectionItem = {}));
|
|
277
|
-
exports.ConfigurationItem = void 0;
|
|
278
|
-
(function (ConfigurationItem) {
|
|
279
|
-
ConfigurationItem.visit = (value, visitor) => {
|
|
280
|
-
if (value.cognitoUserPoolConfiguration !== undefined)
|
|
281
|
-
return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
|
|
282
|
-
if (value.openIdConnectConfiguration !== undefined)
|
|
283
|
-
return visitor.openIdConnectConfiguration(value.openIdConnectConfiguration);
|
|
284
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
285
|
-
};
|
|
286
|
-
})(exports.ConfigurationItem || (exports.ConfigurationItem = {}));
|
|
287
217
|
let ConflictException$1 = class ConflictException extends VerifiedPermissionsServiceException$1 {
|
|
288
218
|
name = "ConflictException";
|
|
289
219
|
$fault = "client";
|
|
@@ -318,16 +248,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
318
248
|
this.quotaCode = opts.quotaCode;
|
|
319
249
|
}
|
|
320
250
|
};
|
|
321
|
-
exports.PolicyDefinition = void 0;
|
|
322
|
-
(function (PolicyDefinition) {
|
|
323
|
-
PolicyDefinition.visit = (value, visitor) => {
|
|
324
|
-
if (value.static !== undefined)
|
|
325
|
-
return visitor.static(value.static);
|
|
326
|
-
if (value.templateLinked !== undefined)
|
|
327
|
-
return visitor.templateLinked(value.templateLinked);
|
|
328
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
329
|
-
};
|
|
330
|
-
})(exports.PolicyDefinition || (exports.PolicyDefinition = {}));
|
|
331
251
|
const PolicyEffect = {
|
|
332
252
|
FORBID: "Forbid",
|
|
333
253
|
PERMIT: "Permit",
|
|
@@ -352,65 +272,9 @@ let InvalidStateException$1 = class InvalidStateException extends VerifiedPermis
|
|
|
352
272
|
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
353
273
|
}
|
|
354
274
|
};
|
|
355
|
-
exports.EntityReference = void 0;
|
|
356
|
-
(function (EntityReference) {
|
|
357
|
-
EntityReference.visit = (value, visitor) => {
|
|
358
|
-
if (value.unspecified !== undefined)
|
|
359
|
-
return visitor.unspecified(value.unspecified);
|
|
360
|
-
if (value.identifier !== undefined)
|
|
361
|
-
return visitor.identifier(value.identifier);
|
|
362
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
363
|
-
};
|
|
364
|
-
})(exports.EntityReference || (exports.EntityReference = {}));
|
|
365
275
|
const OpenIdIssuer = {
|
|
366
276
|
COGNITO: "COGNITO",
|
|
367
277
|
};
|
|
368
|
-
exports.UpdateOpenIdConnectTokenSelection = void 0;
|
|
369
|
-
(function (UpdateOpenIdConnectTokenSelection) {
|
|
370
|
-
UpdateOpenIdConnectTokenSelection.visit = (value, visitor) => {
|
|
371
|
-
if (value.accessTokenOnly !== undefined)
|
|
372
|
-
return visitor.accessTokenOnly(value.accessTokenOnly);
|
|
373
|
-
if (value.identityTokenOnly !== undefined)
|
|
374
|
-
return visitor.identityTokenOnly(value.identityTokenOnly);
|
|
375
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
376
|
-
};
|
|
377
|
-
})(exports.UpdateOpenIdConnectTokenSelection || (exports.UpdateOpenIdConnectTokenSelection = {}));
|
|
378
|
-
exports.UpdateConfiguration = void 0;
|
|
379
|
-
(function (UpdateConfiguration) {
|
|
380
|
-
UpdateConfiguration.visit = (value, visitor) => {
|
|
381
|
-
if (value.cognitoUserPoolConfiguration !== undefined)
|
|
382
|
-
return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
|
|
383
|
-
if (value.openIdConnectConfiguration !== undefined)
|
|
384
|
-
return visitor.openIdConnectConfiguration(value.openIdConnectConfiguration);
|
|
385
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
386
|
-
};
|
|
387
|
-
})(exports.UpdateConfiguration || (exports.UpdateConfiguration = {}));
|
|
388
|
-
exports.PolicyDefinitionItem = void 0;
|
|
389
|
-
(function (PolicyDefinitionItem) {
|
|
390
|
-
PolicyDefinitionItem.visit = (value, visitor) => {
|
|
391
|
-
if (value.static !== undefined)
|
|
392
|
-
return visitor.static(value.static);
|
|
393
|
-
if (value.templateLinked !== undefined)
|
|
394
|
-
return visitor.templateLinked(value.templateLinked);
|
|
395
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
396
|
-
};
|
|
397
|
-
})(exports.PolicyDefinitionItem || (exports.PolicyDefinitionItem = {}));
|
|
398
|
-
exports.UpdatePolicyDefinition = void 0;
|
|
399
|
-
(function (UpdatePolicyDefinition) {
|
|
400
|
-
UpdatePolicyDefinition.visit = (value, visitor) => {
|
|
401
|
-
if (value.static !== undefined)
|
|
402
|
-
return visitor.static(value.static);
|
|
403
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
404
|
-
};
|
|
405
|
-
})(exports.UpdatePolicyDefinition || (exports.UpdatePolicyDefinition = {}));
|
|
406
|
-
exports.SchemaDefinition = void 0;
|
|
407
|
-
(function (SchemaDefinition) {
|
|
408
|
-
SchemaDefinition.visit = (value, visitor) => {
|
|
409
|
-
if (value.cedarJson !== undefined)
|
|
410
|
-
return visitor.cedarJson(value.cedarJson);
|
|
411
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
412
|
-
};
|
|
413
|
-
})(exports.SchemaDefinition || (exports.SchemaDefinition = {}));
|
|
414
278
|
let TooManyTagsException$1 = class TooManyTagsException extends VerifiedPermissionsServiceException$1 {
|
|
415
279
|
name = "TooManyTagsException";
|
|
416
280
|
$fault = "client";
|
|
@@ -425,78 +289,6 @@ let TooManyTagsException$1 = class TooManyTagsException extends VerifiedPermissi
|
|
|
425
289
|
this.resourceName = opts.resourceName;
|
|
426
290
|
}
|
|
427
291
|
};
|
|
428
|
-
exports.AttributeValue = void 0;
|
|
429
|
-
(function (AttributeValue) {
|
|
430
|
-
AttributeValue.visit = (value, visitor) => {
|
|
431
|
-
if (value.boolean !== undefined)
|
|
432
|
-
return visitor.boolean(value.boolean);
|
|
433
|
-
if (value.entityIdentifier !== undefined)
|
|
434
|
-
return visitor.entityIdentifier(value.entityIdentifier);
|
|
435
|
-
if (value.long !== undefined)
|
|
436
|
-
return visitor.long(value.long);
|
|
437
|
-
if (value.string !== undefined)
|
|
438
|
-
return visitor.string(value.string);
|
|
439
|
-
if (value.set !== undefined)
|
|
440
|
-
return visitor.set(value.set);
|
|
441
|
-
if (value.record !== undefined)
|
|
442
|
-
return visitor.record(value.record);
|
|
443
|
-
if (value.ipaddr !== undefined)
|
|
444
|
-
return visitor.ipaddr(value.ipaddr);
|
|
445
|
-
if (value.decimal !== undefined)
|
|
446
|
-
return visitor.decimal(value.decimal);
|
|
447
|
-
if (value.datetime !== undefined)
|
|
448
|
-
return visitor.datetime(value.datetime);
|
|
449
|
-
if (value.duration !== undefined)
|
|
450
|
-
return visitor.duration(value.duration);
|
|
451
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
452
|
-
};
|
|
453
|
-
})(exports.AttributeValue || (exports.AttributeValue = {}));
|
|
454
|
-
exports.CedarTagValue = void 0;
|
|
455
|
-
(function (CedarTagValue) {
|
|
456
|
-
CedarTagValue.visit = (value, visitor) => {
|
|
457
|
-
if (value.boolean !== undefined)
|
|
458
|
-
return visitor.boolean(value.boolean);
|
|
459
|
-
if (value.entityIdentifier !== undefined)
|
|
460
|
-
return visitor.entityIdentifier(value.entityIdentifier);
|
|
461
|
-
if (value.long !== undefined)
|
|
462
|
-
return visitor.long(value.long);
|
|
463
|
-
if (value.string !== undefined)
|
|
464
|
-
return visitor.string(value.string);
|
|
465
|
-
if (value.set !== undefined)
|
|
466
|
-
return visitor.set(value.set);
|
|
467
|
-
if (value.record !== undefined)
|
|
468
|
-
return visitor.record(value.record);
|
|
469
|
-
if (value.ipaddr !== undefined)
|
|
470
|
-
return visitor.ipaddr(value.ipaddr);
|
|
471
|
-
if (value.decimal !== undefined)
|
|
472
|
-
return visitor.decimal(value.decimal);
|
|
473
|
-
if (value.datetime !== undefined)
|
|
474
|
-
return visitor.datetime(value.datetime);
|
|
475
|
-
if (value.duration !== undefined)
|
|
476
|
-
return visitor.duration(value.duration);
|
|
477
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
478
|
-
};
|
|
479
|
-
})(exports.CedarTagValue || (exports.CedarTagValue = {}));
|
|
480
|
-
exports.ContextDefinition = void 0;
|
|
481
|
-
(function (ContextDefinition) {
|
|
482
|
-
ContextDefinition.visit = (value, visitor) => {
|
|
483
|
-
if (value.contextMap !== undefined)
|
|
484
|
-
return visitor.contextMap(value.contextMap);
|
|
485
|
-
if (value.cedarJson !== undefined)
|
|
486
|
-
return visitor.cedarJson(value.cedarJson);
|
|
487
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
488
|
-
};
|
|
489
|
-
})(exports.ContextDefinition || (exports.ContextDefinition = {}));
|
|
490
|
-
exports.EntitiesDefinition = void 0;
|
|
491
|
-
(function (EntitiesDefinition) {
|
|
492
|
-
EntitiesDefinition.visit = (value, visitor) => {
|
|
493
|
-
if (value.entityList !== undefined)
|
|
494
|
-
return visitor.entityList(value.entityList);
|
|
495
|
-
if (value.cedarJson !== undefined)
|
|
496
|
-
return visitor.cedarJson(value.cedarJson);
|
|
497
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
498
|
-
};
|
|
499
|
-
})(exports.EntitiesDefinition || (exports.EntitiesDefinition = {}));
|
|
500
292
|
|
|
501
293
|
const _ADE = "AccessDeniedException";
|
|
502
294
|
const _AI = "ActionId";
|
|
@@ -15,16 +15,6 @@ export const BatchGetPolicyErrorCode = {
|
|
|
15
15
|
POLICY_NOT_FOUND: "POLICY_NOT_FOUND",
|
|
16
16
|
POLICY_STORE_NOT_FOUND: "POLICY_STORE_NOT_FOUND",
|
|
17
17
|
};
|
|
18
|
-
export var PolicyDefinitionDetail;
|
|
19
|
-
(function (PolicyDefinitionDetail) {
|
|
20
|
-
PolicyDefinitionDetail.visit = (value, visitor) => {
|
|
21
|
-
if (value.static !== undefined)
|
|
22
|
-
return visitor.static(value.static);
|
|
23
|
-
if (value.templateLinked !== undefined)
|
|
24
|
-
return visitor.templateLinked(value.templateLinked);
|
|
25
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
26
|
-
};
|
|
27
|
-
})(PolicyDefinitionDetail || (PolicyDefinitionDetail = {}));
|
|
28
18
|
export const PolicyType = {
|
|
29
19
|
STATIC: "STATIC",
|
|
30
20
|
TEMPLATE_LINKED: "TEMPLATE_LINKED",
|
|
@@ -106,66 +96,6 @@ export const CedarVersion = {
|
|
|
106
96
|
CEDAR_2: "CEDAR_2",
|
|
107
97
|
CEDAR_4: "CEDAR_4",
|
|
108
98
|
};
|
|
109
|
-
export var OpenIdConnectTokenSelection;
|
|
110
|
-
(function (OpenIdConnectTokenSelection) {
|
|
111
|
-
OpenIdConnectTokenSelection.visit = (value, visitor) => {
|
|
112
|
-
if (value.accessTokenOnly !== undefined)
|
|
113
|
-
return visitor.accessTokenOnly(value.accessTokenOnly);
|
|
114
|
-
if (value.identityTokenOnly !== undefined)
|
|
115
|
-
return visitor.identityTokenOnly(value.identityTokenOnly);
|
|
116
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
117
|
-
};
|
|
118
|
-
})(OpenIdConnectTokenSelection || (OpenIdConnectTokenSelection = {}));
|
|
119
|
-
export var Configuration;
|
|
120
|
-
(function (Configuration) {
|
|
121
|
-
Configuration.visit = (value, visitor) => {
|
|
122
|
-
if (value.cognitoUserPoolConfiguration !== undefined)
|
|
123
|
-
return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
|
|
124
|
-
if (value.openIdConnectConfiguration !== undefined)
|
|
125
|
-
return visitor.openIdConnectConfiguration(value.openIdConnectConfiguration);
|
|
126
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
127
|
-
};
|
|
128
|
-
})(Configuration || (Configuration = {}));
|
|
129
|
-
export var OpenIdConnectTokenSelectionDetail;
|
|
130
|
-
(function (OpenIdConnectTokenSelectionDetail) {
|
|
131
|
-
OpenIdConnectTokenSelectionDetail.visit = (value, visitor) => {
|
|
132
|
-
if (value.accessTokenOnly !== undefined)
|
|
133
|
-
return visitor.accessTokenOnly(value.accessTokenOnly);
|
|
134
|
-
if (value.identityTokenOnly !== undefined)
|
|
135
|
-
return visitor.identityTokenOnly(value.identityTokenOnly);
|
|
136
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
137
|
-
};
|
|
138
|
-
})(OpenIdConnectTokenSelectionDetail || (OpenIdConnectTokenSelectionDetail = {}));
|
|
139
|
-
export var ConfigurationDetail;
|
|
140
|
-
(function (ConfigurationDetail) {
|
|
141
|
-
ConfigurationDetail.visit = (value, visitor) => {
|
|
142
|
-
if (value.cognitoUserPoolConfiguration !== undefined)
|
|
143
|
-
return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
|
|
144
|
-
if (value.openIdConnectConfiguration !== undefined)
|
|
145
|
-
return visitor.openIdConnectConfiguration(value.openIdConnectConfiguration);
|
|
146
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
147
|
-
};
|
|
148
|
-
})(ConfigurationDetail || (ConfigurationDetail = {}));
|
|
149
|
-
export var OpenIdConnectTokenSelectionItem;
|
|
150
|
-
(function (OpenIdConnectTokenSelectionItem) {
|
|
151
|
-
OpenIdConnectTokenSelectionItem.visit = (value, visitor) => {
|
|
152
|
-
if (value.accessTokenOnly !== undefined)
|
|
153
|
-
return visitor.accessTokenOnly(value.accessTokenOnly);
|
|
154
|
-
if (value.identityTokenOnly !== undefined)
|
|
155
|
-
return visitor.identityTokenOnly(value.identityTokenOnly);
|
|
156
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
157
|
-
};
|
|
158
|
-
})(OpenIdConnectTokenSelectionItem || (OpenIdConnectTokenSelectionItem = {}));
|
|
159
|
-
export var ConfigurationItem;
|
|
160
|
-
(function (ConfigurationItem) {
|
|
161
|
-
ConfigurationItem.visit = (value, visitor) => {
|
|
162
|
-
if (value.cognitoUserPoolConfiguration !== undefined)
|
|
163
|
-
return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
|
|
164
|
-
if (value.openIdConnectConfiguration !== undefined)
|
|
165
|
-
return visitor.openIdConnectConfiguration(value.openIdConnectConfiguration);
|
|
166
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
167
|
-
};
|
|
168
|
-
})(ConfigurationItem || (ConfigurationItem = {}));
|
|
169
99
|
export class ConflictException extends __BaseException {
|
|
170
100
|
name = "ConflictException";
|
|
171
101
|
$fault = "client";
|
|
@@ -200,16 +130,6 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
200
130
|
this.quotaCode = opts.quotaCode;
|
|
201
131
|
}
|
|
202
132
|
}
|
|
203
|
-
export var PolicyDefinition;
|
|
204
|
-
(function (PolicyDefinition) {
|
|
205
|
-
PolicyDefinition.visit = (value, visitor) => {
|
|
206
|
-
if (value.static !== undefined)
|
|
207
|
-
return visitor.static(value.static);
|
|
208
|
-
if (value.templateLinked !== undefined)
|
|
209
|
-
return visitor.templateLinked(value.templateLinked);
|
|
210
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
211
|
-
};
|
|
212
|
-
})(PolicyDefinition || (PolicyDefinition = {}));
|
|
213
133
|
export const PolicyEffect = {
|
|
214
134
|
FORBID: "Forbid",
|
|
215
135
|
PERMIT: "Permit",
|
|
@@ -234,65 +154,9 @@ export class InvalidStateException extends __BaseException {
|
|
|
234
154
|
Object.setPrototypeOf(this, InvalidStateException.prototype);
|
|
235
155
|
}
|
|
236
156
|
}
|
|
237
|
-
export var EntityReference;
|
|
238
|
-
(function (EntityReference) {
|
|
239
|
-
EntityReference.visit = (value, visitor) => {
|
|
240
|
-
if (value.unspecified !== undefined)
|
|
241
|
-
return visitor.unspecified(value.unspecified);
|
|
242
|
-
if (value.identifier !== undefined)
|
|
243
|
-
return visitor.identifier(value.identifier);
|
|
244
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
245
|
-
};
|
|
246
|
-
})(EntityReference || (EntityReference = {}));
|
|
247
157
|
export const OpenIdIssuer = {
|
|
248
158
|
COGNITO: "COGNITO",
|
|
249
159
|
};
|
|
250
|
-
export var UpdateOpenIdConnectTokenSelection;
|
|
251
|
-
(function (UpdateOpenIdConnectTokenSelection) {
|
|
252
|
-
UpdateOpenIdConnectTokenSelection.visit = (value, visitor) => {
|
|
253
|
-
if (value.accessTokenOnly !== undefined)
|
|
254
|
-
return visitor.accessTokenOnly(value.accessTokenOnly);
|
|
255
|
-
if (value.identityTokenOnly !== undefined)
|
|
256
|
-
return visitor.identityTokenOnly(value.identityTokenOnly);
|
|
257
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
258
|
-
};
|
|
259
|
-
})(UpdateOpenIdConnectTokenSelection || (UpdateOpenIdConnectTokenSelection = {}));
|
|
260
|
-
export var UpdateConfiguration;
|
|
261
|
-
(function (UpdateConfiguration) {
|
|
262
|
-
UpdateConfiguration.visit = (value, visitor) => {
|
|
263
|
-
if (value.cognitoUserPoolConfiguration !== undefined)
|
|
264
|
-
return visitor.cognitoUserPoolConfiguration(value.cognitoUserPoolConfiguration);
|
|
265
|
-
if (value.openIdConnectConfiguration !== undefined)
|
|
266
|
-
return visitor.openIdConnectConfiguration(value.openIdConnectConfiguration);
|
|
267
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
268
|
-
};
|
|
269
|
-
})(UpdateConfiguration || (UpdateConfiguration = {}));
|
|
270
|
-
export var PolicyDefinitionItem;
|
|
271
|
-
(function (PolicyDefinitionItem) {
|
|
272
|
-
PolicyDefinitionItem.visit = (value, visitor) => {
|
|
273
|
-
if (value.static !== undefined)
|
|
274
|
-
return visitor.static(value.static);
|
|
275
|
-
if (value.templateLinked !== undefined)
|
|
276
|
-
return visitor.templateLinked(value.templateLinked);
|
|
277
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
278
|
-
};
|
|
279
|
-
})(PolicyDefinitionItem || (PolicyDefinitionItem = {}));
|
|
280
|
-
export var UpdatePolicyDefinition;
|
|
281
|
-
(function (UpdatePolicyDefinition) {
|
|
282
|
-
UpdatePolicyDefinition.visit = (value, visitor) => {
|
|
283
|
-
if (value.static !== undefined)
|
|
284
|
-
return visitor.static(value.static);
|
|
285
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
286
|
-
};
|
|
287
|
-
})(UpdatePolicyDefinition || (UpdatePolicyDefinition = {}));
|
|
288
|
-
export var SchemaDefinition;
|
|
289
|
-
(function (SchemaDefinition) {
|
|
290
|
-
SchemaDefinition.visit = (value, visitor) => {
|
|
291
|
-
if (value.cedarJson !== undefined)
|
|
292
|
-
return visitor.cedarJson(value.cedarJson);
|
|
293
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
294
|
-
};
|
|
295
|
-
})(SchemaDefinition || (SchemaDefinition = {}));
|
|
296
160
|
export class TooManyTagsException extends __BaseException {
|
|
297
161
|
name = "TooManyTagsException";
|
|
298
162
|
$fault = "client";
|
|
@@ -307,75 +171,3 @@ export class TooManyTagsException extends __BaseException {
|
|
|
307
171
|
this.resourceName = opts.resourceName;
|
|
308
172
|
}
|
|
309
173
|
}
|
|
310
|
-
export var AttributeValue;
|
|
311
|
-
(function (AttributeValue) {
|
|
312
|
-
AttributeValue.visit = (value, visitor) => {
|
|
313
|
-
if (value.boolean !== undefined)
|
|
314
|
-
return visitor.boolean(value.boolean);
|
|
315
|
-
if (value.entityIdentifier !== undefined)
|
|
316
|
-
return visitor.entityIdentifier(value.entityIdentifier);
|
|
317
|
-
if (value.long !== undefined)
|
|
318
|
-
return visitor.long(value.long);
|
|
319
|
-
if (value.string !== undefined)
|
|
320
|
-
return visitor.string(value.string);
|
|
321
|
-
if (value.set !== undefined)
|
|
322
|
-
return visitor.set(value.set);
|
|
323
|
-
if (value.record !== undefined)
|
|
324
|
-
return visitor.record(value.record);
|
|
325
|
-
if (value.ipaddr !== undefined)
|
|
326
|
-
return visitor.ipaddr(value.ipaddr);
|
|
327
|
-
if (value.decimal !== undefined)
|
|
328
|
-
return visitor.decimal(value.decimal);
|
|
329
|
-
if (value.datetime !== undefined)
|
|
330
|
-
return visitor.datetime(value.datetime);
|
|
331
|
-
if (value.duration !== undefined)
|
|
332
|
-
return visitor.duration(value.duration);
|
|
333
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
334
|
-
};
|
|
335
|
-
})(AttributeValue || (AttributeValue = {}));
|
|
336
|
-
export var CedarTagValue;
|
|
337
|
-
(function (CedarTagValue) {
|
|
338
|
-
CedarTagValue.visit = (value, visitor) => {
|
|
339
|
-
if (value.boolean !== undefined)
|
|
340
|
-
return visitor.boolean(value.boolean);
|
|
341
|
-
if (value.entityIdentifier !== undefined)
|
|
342
|
-
return visitor.entityIdentifier(value.entityIdentifier);
|
|
343
|
-
if (value.long !== undefined)
|
|
344
|
-
return visitor.long(value.long);
|
|
345
|
-
if (value.string !== undefined)
|
|
346
|
-
return visitor.string(value.string);
|
|
347
|
-
if (value.set !== undefined)
|
|
348
|
-
return visitor.set(value.set);
|
|
349
|
-
if (value.record !== undefined)
|
|
350
|
-
return visitor.record(value.record);
|
|
351
|
-
if (value.ipaddr !== undefined)
|
|
352
|
-
return visitor.ipaddr(value.ipaddr);
|
|
353
|
-
if (value.decimal !== undefined)
|
|
354
|
-
return visitor.decimal(value.decimal);
|
|
355
|
-
if (value.datetime !== undefined)
|
|
356
|
-
return visitor.datetime(value.datetime);
|
|
357
|
-
if (value.duration !== undefined)
|
|
358
|
-
return visitor.duration(value.duration);
|
|
359
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
360
|
-
};
|
|
361
|
-
})(CedarTagValue || (CedarTagValue = {}));
|
|
362
|
-
export var ContextDefinition;
|
|
363
|
-
(function (ContextDefinition) {
|
|
364
|
-
ContextDefinition.visit = (value, visitor) => {
|
|
365
|
-
if (value.contextMap !== undefined)
|
|
366
|
-
return visitor.contextMap(value.contextMap);
|
|
367
|
-
if (value.cedarJson !== undefined)
|
|
368
|
-
return visitor.cedarJson(value.cedarJson);
|
|
369
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
370
|
-
};
|
|
371
|
-
})(ContextDefinition || (ContextDefinition = {}));
|
|
372
|
-
export var EntitiesDefinition;
|
|
373
|
-
(function (EntitiesDefinition) {
|
|
374
|
-
EntitiesDefinition.visit = (value, visitor) => {
|
|
375
|
-
if (value.entityList !== undefined)
|
|
376
|
-
return visitor.entityList(value.entityList);
|
|
377
|
-
if (value.cedarJson !== undefined)
|
|
378
|
-
return visitor.cedarJson(value.cedarJson);
|
|
379
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
380
|
-
};
|
|
381
|
-
})(EntitiesDefinition || (EntitiesDefinition = {}));
|
|
@@ -180,12 +180,15 @@ export declare namespace PolicyDefinitionDetail {
|
|
|
180
180
|
templateLinked?: never;
|
|
181
181
|
$unknown: [string, any];
|
|
182
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* @deprecated unused in schema-serde mode.
|
|
185
|
+
*
|
|
186
|
+
*/
|
|
183
187
|
interface Visitor<T> {
|
|
184
188
|
static: (value: StaticPolicyDefinitionDetail) => T;
|
|
185
189
|
templateLinked: (value: TemplateLinkedPolicyDefinitionDetail) => T;
|
|
186
190
|
_: (name: string, value: any) => T;
|
|
187
191
|
}
|
|
188
|
-
const visit: <T>(value: PolicyDefinitionDetail, visitor: Visitor<T>) => T;
|
|
189
192
|
}
|
|
190
193
|
/**
|
|
191
194
|
* @public
|
|
@@ -593,12 +596,15 @@ export declare namespace OpenIdConnectTokenSelection {
|
|
|
593
596
|
identityTokenOnly?: never;
|
|
594
597
|
$unknown: [string, any];
|
|
595
598
|
}
|
|
599
|
+
/**
|
|
600
|
+
* @deprecated unused in schema-serde mode.
|
|
601
|
+
*
|
|
602
|
+
*/
|
|
596
603
|
interface Visitor<T> {
|
|
597
604
|
accessTokenOnly: (value: OpenIdConnectAccessTokenConfiguration) => T;
|
|
598
605
|
identityTokenOnly: (value: OpenIdConnectIdentityTokenConfiguration) => T;
|
|
599
606
|
_: (name: string, value: any) => T;
|
|
600
607
|
}
|
|
601
|
-
const visit: <T>(value: OpenIdConnectTokenSelection, visitor: Visitor<T>) => T;
|
|
602
608
|
}
|
|
603
609
|
/**
|
|
604
610
|
* <p>Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.</p> <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_Configuration.html">Configuration</a> structure, which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreateIdentitySource.html">CreateIdentitySource</a>.</p>
|
|
@@ -661,12 +667,15 @@ export declare namespace Configuration {
|
|
|
661
667
|
openIdConnectConfiguration?: never;
|
|
662
668
|
$unknown: [string, any];
|
|
663
669
|
}
|
|
670
|
+
/**
|
|
671
|
+
* @deprecated unused in schema-serde mode.
|
|
672
|
+
*
|
|
673
|
+
*/
|
|
664
674
|
interface Visitor<T> {
|
|
665
675
|
cognitoUserPoolConfiguration: (value: CognitoUserPoolConfiguration) => T;
|
|
666
676
|
openIdConnectConfiguration: (value: OpenIdConnectConfiguration) => T;
|
|
667
677
|
_: (name: string, value: any) => T;
|
|
668
678
|
}
|
|
669
|
-
const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
|
|
670
679
|
}
|
|
671
680
|
/**
|
|
672
681
|
* <p>The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a <code>groups</code> claim to <code>MyCorp::UserGroup</code>.</p> <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_OpenIdConnectConfigurationDetail.html">OpenIdConnectConfigurationDetail</a> structure, which is a parameter of <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
|
|
@@ -751,12 +760,15 @@ export declare namespace OpenIdConnectTokenSelectionDetail {
|
|
|
751
760
|
identityTokenOnly?: never;
|
|
752
761
|
$unknown: [string, any];
|
|
753
762
|
}
|
|
763
|
+
/**
|
|
764
|
+
* @deprecated unused in schema-serde mode.
|
|
765
|
+
*
|
|
766
|
+
*/
|
|
754
767
|
interface Visitor<T> {
|
|
755
768
|
accessTokenOnly: (value: OpenIdConnectAccessTokenConfigurationDetail) => T;
|
|
756
769
|
identityTokenOnly: (value: OpenIdConnectIdentityTokenConfigurationDetail) => T;
|
|
757
770
|
_: (name: string, value: any) => T;
|
|
758
771
|
}
|
|
759
|
-
const visit: <T>(value: OpenIdConnectTokenSelectionDetail, visitor: Visitor<T>) => T;
|
|
760
772
|
}
|
|
761
773
|
/**
|
|
762
774
|
* <p>Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.</p> <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationDetail</a> structure, which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetIdentitySource.html">GetIdentitySource</a>.</p>
|
|
@@ -819,12 +831,15 @@ export declare namespace ConfigurationDetail {
|
|
|
819
831
|
openIdConnectConfiguration?: never;
|
|
820
832
|
$unknown: [string, any];
|
|
821
833
|
}
|
|
834
|
+
/**
|
|
835
|
+
* @deprecated unused in schema-serde mode.
|
|
836
|
+
*
|
|
837
|
+
*/
|
|
822
838
|
interface Visitor<T> {
|
|
823
839
|
cognitoUserPoolConfiguration: (value: CognitoUserPoolConfigurationDetail) => T;
|
|
824
840
|
openIdConnectConfiguration: (value: OpenIdConnectConfigurationDetail) => T;
|
|
825
841
|
_: (name: string, value: any) => T;
|
|
826
842
|
}
|
|
827
|
-
const visit: <T>(value: ConfigurationDetail, visitor: Visitor<T>) => T;
|
|
828
843
|
}
|
|
829
844
|
/**
|
|
830
845
|
* <p>The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to. For example, this object can map the contents of a <code>groups</code> claim to <code>MyCorp::UserGroup</code>.</p> <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_OpenIdConnectConfigurationItem.html">OpenIdConnectConfigurationItem</a> structure, which is a parameter of <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySourcea</a>.</p>
|
|
@@ -909,12 +924,15 @@ export declare namespace OpenIdConnectTokenSelectionItem {
|
|
|
909
924
|
identityTokenOnly?: never;
|
|
910
925
|
$unknown: [string, any];
|
|
911
926
|
}
|
|
927
|
+
/**
|
|
928
|
+
* @deprecated unused in schema-serde mode.
|
|
929
|
+
*
|
|
930
|
+
*/
|
|
912
931
|
interface Visitor<T> {
|
|
913
932
|
accessTokenOnly: (value: OpenIdConnectAccessTokenConfigurationItem) => T;
|
|
914
933
|
identityTokenOnly: (value: OpenIdConnectIdentityTokenConfigurationItem) => T;
|
|
915
934
|
_: (name: string, value: any) => T;
|
|
916
935
|
}
|
|
917
|
-
const visit: <T>(value: OpenIdConnectTokenSelectionItem, visitor: Visitor<T>) => T;
|
|
918
936
|
}
|
|
919
937
|
/**
|
|
920
938
|
* <p>Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.</p> <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ConfigurationDetail.html">ConfigurationItem</a> structure, which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListIdentitySources.html">ListIdentitySources</a>.</p>
|
|
@@ -977,12 +995,15 @@ export declare namespace ConfigurationItem {
|
|
|
977
995
|
openIdConnectConfiguration?: never;
|
|
978
996
|
$unknown: [string, any];
|
|
979
997
|
}
|
|
998
|
+
/**
|
|
999
|
+
* @deprecated unused in schema-serde mode.
|
|
1000
|
+
*
|
|
1001
|
+
*/
|
|
980
1002
|
interface Visitor<T> {
|
|
981
1003
|
cognitoUserPoolConfiguration: (value: CognitoUserPoolConfigurationItem) => T;
|
|
982
1004
|
openIdConnectConfiguration: (value: OpenIdConnectConfigurationItem) => T;
|
|
983
1005
|
_: (name: string, value: any) => T;
|
|
984
1006
|
}
|
|
985
|
-
const visit: <T>(value: ConfigurationItem, visitor: Visitor<T>) => T;
|
|
986
1007
|
}
|
|
987
1008
|
/**
|
|
988
1009
|
* <p>Contains information about a resource conflict.</p>
|
|
@@ -1171,12 +1192,15 @@ export declare namespace PolicyDefinition {
|
|
|
1171
1192
|
templateLinked?: never;
|
|
1172
1193
|
$unknown: [string, any];
|
|
1173
1194
|
}
|
|
1195
|
+
/**
|
|
1196
|
+
* @deprecated unused in schema-serde mode.
|
|
1197
|
+
*
|
|
1198
|
+
*/
|
|
1174
1199
|
interface Visitor<T> {
|
|
1175
1200
|
static: (value: StaticPolicyDefinition) => T;
|
|
1176
1201
|
templateLinked: (value: TemplateLinkedPolicyDefinition) => T;
|
|
1177
1202
|
_: (name: string, value: any) => T;
|
|
1178
1203
|
}
|
|
1179
|
-
const visit: <T>(value: PolicyDefinition, visitor: Visitor<T>) => T;
|
|
1180
1204
|
}
|
|
1181
1205
|
/**
|
|
1182
1206
|
* @public
|
|
@@ -1522,12 +1546,15 @@ export declare namespace EntityReference {
|
|
|
1522
1546
|
identifier?: never;
|
|
1523
1547
|
$unknown: [string, any];
|
|
1524
1548
|
}
|
|
1549
|
+
/**
|
|
1550
|
+
* @deprecated unused in schema-serde mode.
|
|
1551
|
+
*
|
|
1552
|
+
*/
|
|
1525
1553
|
interface Visitor<T> {
|
|
1526
1554
|
unspecified: (value: boolean) => T;
|
|
1527
1555
|
identifier: (value: EntityIdentifier) => T;
|
|
1528
1556
|
_: (name: string, value: any) => T;
|
|
1529
1557
|
}
|
|
1530
|
-
const visit: <T>(value: EntityReference, visitor: Visitor<T>) => T;
|
|
1531
1558
|
}
|
|
1532
1559
|
/**
|
|
1533
1560
|
* @public
|
|
@@ -2103,12 +2130,15 @@ export declare namespace UpdateOpenIdConnectTokenSelection {
|
|
|
2103
2130
|
identityTokenOnly?: never;
|
|
2104
2131
|
$unknown: [string, any];
|
|
2105
2132
|
}
|
|
2133
|
+
/**
|
|
2134
|
+
* @deprecated unused in schema-serde mode.
|
|
2135
|
+
*
|
|
2136
|
+
*/
|
|
2106
2137
|
interface Visitor<T> {
|
|
2107
2138
|
accessTokenOnly: (value: UpdateOpenIdConnectAccessTokenConfiguration) => T;
|
|
2108
2139
|
identityTokenOnly: (value: UpdateOpenIdConnectIdentityTokenConfiguration) => T;
|
|
2109
2140
|
_: (name: string, value: any) => T;
|
|
2110
2141
|
}
|
|
2111
|
-
const visit: <T>(value: UpdateOpenIdConnectTokenSelection, visitor: Visitor<T>) => T;
|
|
2112
2142
|
}
|
|
2113
2143
|
/**
|
|
2114
2144
|
* <p>Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities. It specifies the issuer URL, token type that you want to use, and policy store entity details.</p> <p>This data type is part of a <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateConfiguration.html">UpdateConfiguration</a> structure, which is a parameter to <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdateIdentitySource.html">UpdateIdentitySource</a>.</p>
|
|
@@ -2171,12 +2201,15 @@ export declare namespace UpdateConfiguration {
|
|
|
2171
2201
|
openIdConnectConfiguration?: never;
|
|
2172
2202
|
$unknown: [string, any];
|
|
2173
2203
|
}
|
|
2204
|
+
/**
|
|
2205
|
+
* @deprecated unused in schema-serde mode.
|
|
2206
|
+
*
|
|
2207
|
+
*/
|
|
2174
2208
|
interface Visitor<T> {
|
|
2175
2209
|
cognitoUserPoolConfiguration: (value: UpdateCognitoUserPoolConfiguration) => T;
|
|
2176
2210
|
openIdConnectConfiguration: (value: UpdateOpenIdConnectConfiguration) => T;
|
|
2177
2211
|
_: (name: string, value: any) => T;
|
|
2178
2212
|
}
|
|
2179
|
-
const visit: <T>(value: UpdateConfiguration, visitor: Visitor<T>) => T;
|
|
2180
2213
|
}
|
|
2181
2214
|
/**
|
|
2182
2215
|
* @public
|
|
@@ -2391,12 +2424,15 @@ export declare namespace PolicyDefinitionItem {
|
|
|
2391
2424
|
templateLinked?: never;
|
|
2392
2425
|
$unknown: [string, any];
|
|
2393
2426
|
}
|
|
2427
|
+
/**
|
|
2428
|
+
* @deprecated unused in schema-serde mode.
|
|
2429
|
+
*
|
|
2430
|
+
*/
|
|
2394
2431
|
interface Visitor<T> {
|
|
2395
2432
|
static: (value: StaticPolicyDefinitionItem) => T;
|
|
2396
2433
|
templateLinked: (value: TemplateLinkedPolicyDefinitionItem) => T;
|
|
2397
2434
|
_: (name: string, value: any) => T;
|
|
2398
2435
|
}
|
|
2399
|
-
const visit: <T>(value: PolicyDefinitionItem, visitor: Visitor<T>) => T;
|
|
2400
2436
|
}
|
|
2401
2437
|
/**
|
|
2402
2438
|
* <p>Contains information about a policy.</p> <p>This data type is used as a response parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListPolicies.html">ListPolicies</a> operation.</p>
|
|
@@ -2656,11 +2692,14 @@ export declare namespace UpdatePolicyDefinition {
|
|
|
2656
2692
|
static?: never;
|
|
2657
2693
|
$unknown: [string, any];
|
|
2658
2694
|
}
|
|
2695
|
+
/**
|
|
2696
|
+
* @deprecated unused in schema-serde mode.
|
|
2697
|
+
*
|
|
2698
|
+
*/
|
|
2659
2699
|
interface Visitor<T> {
|
|
2660
2700
|
static: (value: UpdateStaticPolicyDefinition) => T;
|
|
2661
2701
|
_: (name: string, value: any) => T;
|
|
2662
2702
|
}
|
|
2663
|
-
const visit: <T>(value: UpdatePolicyDefinition, visitor: Visitor<T>) => T;
|
|
2664
2703
|
}
|
|
2665
2704
|
/**
|
|
2666
2705
|
* @public
|
|
@@ -2806,11 +2845,14 @@ export declare namespace SchemaDefinition {
|
|
|
2806
2845
|
cedarJson?: never;
|
|
2807
2846
|
$unknown: [string, any];
|
|
2808
2847
|
}
|
|
2848
|
+
/**
|
|
2849
|
+
* @deprecated unused in schema-serde mode.
|
|
2850
|
+
*
|
|
2851
|
+
*/
|
|
2809
2852
|
interface Visitor<T> {
|
|
2810
2853
|
cedarJson: (value: string) => T;
|
|
2811
2854
|
_: (name: string, value: any) => T;
|
|
2812
2855
|
}
|
|
2813
|
-
const visit: <T>(value: SchemaDefinition, visitor: Visitor<T>) => T;
|
|
2814
2856
|
}
|
|
2815
2857
|
/**
|
|
2816
2858
|
* @public
|
|
@@ -3154,6 +3196,10 @@ export declare namespace AttributeValue {
|
|
|
3154
3196
|
duration?: never;
|
|
3155
3197
|
$unknown: [string, any];
|
|
3156
3198
|
}
|
|
3199
|
+
/**
|
|
3200
|
+
* @deprecated unused in schema-serde mode.
|
|
3201
|
+
*
|
|
3202
|
+
*/
|
|
3157
3203
|
interface Visitor<T> {
|
|
3158
3204
|
boolean: (value: boolean) => T;
|
|
3159
3205
|
entityIdentifier: (value: EntityIdentifier) => T;
|
|
@@ -3167,7 +3213,6 @@ export declare namespace AttributeValue {
|
|
|
3167
3213
|
duration: (value: string) => T;
|
|
3168
3214
|
_: (name: string, value: any) => T;
|
|
3169
3215
|
}
|
|
3170
|
-
const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
|
|
3171
3216
|
}
|
|
3172
3217
|
/**
|
|
3173
3218
|
* <p>The value of an entity's Cedar tag.</p> <p>This data type is used as a member of the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_EntityItem.html">EntityItem</a> structure that forms the body of the <code>Entities</code> request parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html">IsAuthorized</a>, <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_BatchIsAuthorized.html">BatchIsAuthorized</a>, <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html">IsAuthorizedWithToken</a>, and <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_BatchIsAuthorizedWithToken.html">BatchIsAuthorizedWithToken</a> operations.</p>
|
|
@@ -3364,6 +3409,10 @@ export declare namespace CedarTagValue {
|
|
|
3364
3409
|
duration?: never;
|
|
3365
3410
|
$unknown: [string, any];
|
|
3366
3411
|
}
|
|
3412
|
+
/**
|
|
3413
|
+
* @deprecated unused in schema-serde mode.
|
|
3414
|
+
*
|
|
3415
|
+
*/
|
|
3367
3416
|
interface Visitor<T> {
|
|
3368
3417
|
boolean: (value: boolean) => T;
|
|
3369
3418
|
entityIdentifier: (value: EntityIdentifier) => T;
|
|
@@ -3377,7 +3426,6 @@ export declare namespace CedarTagValue {
|
|
|
3377
3426
|
duration: (value: string) => T;
|
|
3378
3427
|
_: (name: string, value: any) => T;
|
|
3379
3428
|
}
|
|
3380
|
-
const visit: <T>(value: CedarTagValue, visitor: Visitor<T>) => T;
|
|
3381
3429
|
}
|
|
3382
3430
|
/**
|
|
3383
3431
|
* <p>Contains additional details about the context of the request. Verified Permissions evaluates this information in an authorization request as part of the <code>when</code> and <code>unless</code> clauses in a policy.</p> <p>This data type is used as a request parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html">IsAuthorized</a>, <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_BatchIsAuthorized.html">BatchIsAuthorized</a>, and <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html">IsAuthorizedWithToken</a> operations.</p> <p>If you're passing context as part of the request, exactly one instance of <code>context</code> must be passed. If you don't want to pass context, omit the <code>context</code> parameter from your request rather than sending <code>context \{\}</code>.</p> <p>Example: <code>"context":\{"contextMap":\{"<KeyName1>":\{"boolean":true\},"<KeyName2>":\{"long":1234\}\}\}</code> </p>
|
|
@@ -3414,12 +3462,15 @@ export declare namespace ContextDefinition {
|
|
|
3414
3462
|
cedarJson?: never;
|
|
3415
3463
|
$unknown: [string, any];
|
|
3416
3464
|
}
|
|
3465
|
+
/**
|
|
3466
|
+
* @deprecated unused in schema-serde mode.
|
|
3467
|
+
*
|
|
3468
|
+
*/
|
|
3417
3469
|
interface Visitor<T> {
|
|
3418
3470
|
contextMap: (value: Record<string, AttributeValue>) => T;
|
|
3419
3471
|
cedarJson: (value: string) => T;
|
|
3420
3472
|
_: (name: string, value: any) => T;
|
|
3421
3473
|
}
|
|
3422
|
-
const visit: <T>(value: ContextDefinition, visitor: Visitor<T>) => T;
|
|
3423
3474
|
}
|
|
3424
3475
|
/**
|
|
3425
3476
|
* <p>An authorization request that you include in a <code>BatchIsAuthorized</code> API request.</p>
|
|
@@ -3606,12 +3657,15 @@ export declare namespace EntitiesDefinition {
|
|
|
3606
3657
|
cedarJson?: never;
|
|
3607
3658
|
$unknown: [string, any];
|
|
3608
3659
|
}
|
|
3660
|
+
/**
|
|
3661
|
+
* @deprecated unused in schema-serde mode.
|
|
3662
|
+
*
|
|
3663
|
+
*/
|
|
3609
3664
|
interface Visitor<T> {
|
|
3610
3665
|
entityList: (value: EntityItem[]) => T;
|
|
3611
3666
|
cedarJson: (value: string) => T;
|
|
3612
3667
|
_: (name: string, value: any) => T;
|
|
3613
3668
|
}
|
|
3614
|
-
const visit: <T>(value: EntitiesDefinition, visitor: Visitor<T>) => T;
|
|
3615
3669
|
}
|
|
3616
3670
|
/**
|
|
3617
3671
|
* @public
|
|
@@ -68,7 +68,6 @@ export declare namespace PolicyDefinitionDetail {
|
|
|
68
68
|
templateLinked: (value: TemplateLinkedPolicyDefinitionDetail) => T;
|
|
69
69
|
_: (name: string, value: any) => T;
|
|
70
70
|
}
|
|
71
|
-
const visit: <T>(value: PolicyDefinitionDetail, visitor: Visitor<T>) => T;
|
|
72
71
|
}
|
|
73
72
|
export declare const PolicyType: {
|
|
74
73
|
readonly STATIC: "STATIC";
|
|
@@ -215,10 +214,6 @@ export declare namespace OpenIdConnectTokenSelection {
|
|
|
215
214
|
identityTokenOnly: (value: OpenIdConnectIdentityTokenConfiguration) => T;
|
|
216
215
|
_: (name: string, value: any) => T;
|
|
217
216
|
}
|
|
218
|
-
const visit: <T>(
|
|
219
|
-
value: OpenIdConnectTokenSelection,
|
|
220
|
-
visitor: Visitor<T>
|
|
221
|
-
) => T;
|
|
222
217
|
}
|
|
223
218
|
export interface OpenIdConnectConfiguration {
|
|
224
219
|
issuer: string | undefined;
|
|
@@ -251,7 +246,6 @@ export declare namespace Configuration {
|
|
|
251
246
|
openIdConnectConfiguration: (value: OpenIdConnectConfiguration) => T;
|
|
252
247
|
_: (name: string, value: any) => T;
|
|
253
248
|
}
|
|
254
|
-
const visit: <T>(value: Configuration, visitor: Visitor<T>) => T;
|
|
255
249
|
}
|
|
256
250
|
export interface OpenIdConnectGroupConfigurationDetail {
|
|
257
251
|
groupClaim: string | undefined;
|
|
@@ -292,10 +286,6 @@ export declare namespace OpenIdConnectTokenSelectionDetail {
|
|
|
292
286
|
) => T;
|
|
293
287
|
_: (name: string, value: any) => T;
|
|
294
288
|
}
|
|
295
|
-
const visit: <T>(
|
|
296
|
-
value: OpenIdConnectTokenSelectionDetail,
|
|
297
|
-
visitor: Visitor<T>
|
|
298
|
-
) => T;
|
|
299
289
|
}
|
|
300
290
|
export interface OpenIdConnectConfigurationDetail {
|
|
301
291
|
issuer: string | undefined;
|
|
@@ -330,7 +320,6 @@ export declare namespace ConfigurationDetail {
|
|
|
330
320
|
openIdConnectConfiguration: (value: OpenIdConnectConfigurationDetail) => T;
|
|
331
321
|
_: (name: string, value: any) => T;
|
|
332
322
|
}
|
|
333
|
-
const visit: <T>(value: ConfigurationDetail, visitor: Visitor<T>) => T;
|
|
334
323
|
}
|
|
335
324
|
export interface OpenIdConnectGroupConfigurationItem {
|
|
336
325
|
groupClaim: string | undefined;
|
|
@@ -371,10 +360,6 @@ export declare namespace OpenIdConnectTokenSelectionItem {
|
|
|
371
360
|
) => T;
|
|
372
361
|
_: (name: string, value: any) => T;
|
|
373
362
|
}
|
|
374
|
-
const visit: <T>(
|
|
375
|
-
value: OpenIdConnectTokenSelectionItem,
|
|
376
|
-
visitor: Visitor<T>
|
|
377
|
-
) => T;
|
|
378
363
|
}
|
|
379
364
|
export interface OpenIdConnectConfigurationItem {
|
|
380
365
|
issuer: string | undefined;
|
|
@@ -409,7 +394,6 @@ export declare namespace ConfigurationItem {
|
|
|
409
394
|
openIdConnectConfiguration: (value: OpenIdConnectConfigurationItem) => T;
|
|
410
395
|
_: (name: string, value: any) => T;
|
|
411
396
|
}
|
|
412
|
-
const visit: <T>(value: ConfigurationItem, visitor: Visitor<T>) => T;
|
|
413
397
|
}
|
|
414
398
|
export interface ResourceConflict {
|
|
415
399
|
resourceId: string | undefined;
|
|
@@ -478,7 +462,6 @@ export declare namespace PolicyDefinition {
|
|
|
478
462
|
templateLinked: (value: TemplateLinkedPolicyDefinition) => T;
|
|
479
463
|
_: (name: string, value: any) => T;
|
|
480
464
|
}
|
|
481
|
-
const visit: <T>(value: PolicyDefinition, visitor: Visitor<T>) => T;
|
|
482
465
|
}
|
|
483
466
|
export interface CreatePolicyInput {
|
|
484
467
|
clientToken?: string | undefined;
|
|
@@ -592,7 +575,6 @@ export declare namespace EntityReference {
|
|
|
592
575
|
identifier: (value: EntityIdentifier) => T;
|
|
593
576
|
_: (name: string, value: any) => T;
|
|
594
577
|
}
|
|
595
|
-
const visit: <T>(value: EntityReference, visitor: Visitor<T>) => T;
|
|
596
578
|
}
|
|
597
579
|
export interface GetIdentitySourceInput {
|
|
598
580
|
policyStoreId: string | undefined;
|
|
@@ -745,10 +727,6 @@ export declare namespace UpdateOpenIdConnectTokenSelection {
|
|
|
745
727
|
) => T;
|
|
746
728
|
_: (name: string, value: any) => T;
|
|
747
729
|
}
|
|
748
|
-
const visit: <T>(
|
|
749
|
-
value: UpdateOpenIdConnectTokenSelection,
|
|
750
|
-
visitor: Visitor<T>
|
|
751
|
-
) => T;
|
|
752
730
|
}
|
|
753
731
|
export interface UpdateOpenIdConnectConfiguration {
|
|
754
732
|
issuer: string | undefined;
|
|
@@ -783,7 +761,6 @@ export declare namespace UpdateConfiguration {
|
|
|
783
761
|
openIdConnectConfiguration: (value: UpdateOpenIdConnectConfiguration) => T;
|
|
784
762
|
_: (name: string, value: any) => T;
|
|
785
763
|
}
|
|
786
|
-
const visit: <T>(value: UpdateConfiguration, visitor: Visitor<T>) => T;
|
|
787
764
|
}
|
|
788
765
|
export interface UpdateIdentitySourceInput {
|
|
789
766
|
policyStoreId: string | undefined;
|
|
@@ -853,7 +830,6 @@ export declare namespace PolicyDefinitionItem {
|
|
|
853
830
|
templateLinked: (value: TemplateLinkedPolicyDefinitionItem) => T;
|
|
854
831
|
_: (name: string, value: any) => T;
|
|
855
832
|
}
|
|
856
|
-
const visit: <T>(value: PolicyDefinitionItem, visitor: Visitor<T>) => T;
|
|
857
833
|
}
|
|
858
834
|
export interface PolicyItem {
|
|
859
835
|
policyStoreId: string | undefined;
|
|
@@ -928,7 +904,6 @@ export declare namespace UpdatePolicyDefinition {
|
|
|
928
904
|
static: (value: UpdateStaticPolicyDefinition) => T;
|
|
929
905
|
_: (name: string, value: any) => T;
|
|
930
906
|
}
|
|
931
|
-
const visit: <T>(value: UpdatePolicyDefinition, visitor: Visitor<T>) => T;
|
|
932
907
|
}
|
|
933
908
|
export interface UpdatePolicyInput {
|
|
934
909
|
policyStoreId: string | undefined;
|
|
@@ -974,7 +949,6 @@ export declare namespace SchemaDefinition {
|
|
|
974
949
|
cedarJson: (value: string) => T;
|
|
975
950
|
_: (name: string, value: any) => T;
|
|
976
951
|
}
|
|
977
|
-
const visit: <T>(value: SchemaDefinition, visitor: Visitor<T>) => T;
|
|
978
952
|
}
|
|
979
953
|
export interface PutSchemaInput {
|
|
980
954
|
policyStoreId: string | undefined;
|
|
@@ -1185,7 +1159,6 @@ export declare namespace AttributeValue {
|
|
|
1185
1159
|
duration: (value: string) => T;
|
|
1186
1160
|
_: (name: string, value: any) => T;
|
|
1187
1161
|
}
|
|
1188
|
-
const visit: <T>(value: AttributeValue, visitor: Visitor<T>) => T;
|
|
1189
1162
|
}
|
|
1190
1163
|
export type CedarTagValue =
|
|
1191
1164
|
| CedarTagValue.BooleanMember
|
|
@@ -1356,7 +1329,6 @@ export declare namespace CedarTagValue {
|
|
|
1356
1329
|
duration: (value: string) => T;
|
|
1357
1330
|
_: (name: string, value: any) => T;
|
|
1358
1331
|
}
|
|
1359
|
-
const visit: <T>(value: CedarTagValue, visitor: Visitor<T>) => T;
|
|
1360
1332
|
}
|
|
1361
1333
|
export type ContextDefinition =
|
|
1362
1334
|
| ContextDefinition.CedarJsonMember
|
|
@@ -1383,7 +1355,6 @@ export declare namespace ContextDefinition {
|
|
|
1383
1355
|
cedarJson: (value: string) => T;
|
|
1384
1356
|
_: (name: string, value: any) => T;
|
|
1385
1357
|
}
|
|
1386
|
-
const visit: <T>(value: ContextDefinition, visitor: Visitor<T>) => T;
|
|
1387
1358
|
}
|
|
1388
1359
|
export interface BatchIsAuthorizedInputItem {
|
|
1389
1360
|
principal?: EntityIdentifier | undefined;
|
|
@@ -1446,7 +1417,6 @@ export declare namespace EntitiesDefinition {
|
|
|
1446
1417
|
cedarJson: (value: string) => T;
|
|
1447
1418
|
_: (name: string, value: any) => T;
|
|
1448
1419
|
}
|
|
1449
|
-
const visit: <T>(value: EntitiesDefinition, visitor: Visitor<T>) => T;
|
|
1450
1420
|
}
|
|
1451
1421
|
export interface IsAuthorizedInput {
|
|
1452
1422
|
policyStoreId: string | 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.930.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,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.930.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.930.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.930.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.930.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
+
"@smithy/core": "^3.18.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
|
+
"@smithy/hash-node": "^4.2.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
48
|
+
"@smithy/types": "^4.9.0",
|
|
49
|
+
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
57
|
+
"@smithy/util-retry": "^4.2.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|