@aws-sdk/client-verifiedpermissions 3.774.0 → 3.777.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.
Files changed (34) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/VerifiedPermissionsClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/BatchGetPolicyCommand.d.ts +39 -39
  8. package/dist-types/commands/BatchIsAuthorizedCommand.d.ts +93 -93
  9. package/dist-types/commands/BatchIsAuthorizedWithTokenCommand.d.ts +74 -74
  10. package/dist-types/commands/CreateIdentitySourceCommand.d.ts +14 -14
  11. package/dist-types/commands/CreatePolicyCommand.d.ts +58 -60
  12. package/dist-types/commands/CreatePolicyStoreCommand.d.ts +10 -10
  13. package/dist-types/commands/CreatePolicyTemplateCommand.d.ts +19 -11
  14. package/dist-types/commands/DeleteIdentitySourceCommand.d.ts +8 -5
  15. package/dist-types/commands/DeletePolicyCommand.d.ts +8 -5
  16. package/dist-types/commands/DeletePolicyStoreCommand.d.ts +7 -4
  17. package/dist-types/commands/DeletePolicyTemplateCommand.d.ts +8 -5
  18. package/dist-types/commands/GetIdentitySourceCommand.d.ts +15 -15
  19. package/dist-types/commands/GetPolicyCommand.d.ts +17 -17
  20. package/dist-types/commands/GetPolicyStoreCommand.d.ts +10 -10
  21. package/dist-types/commands/GetPolicyTemplateCommand.d.ts +17 -11
  22. package/dist-types/commands/GetSchemaCommand.d.ts +34 -13
  23. package/dist-types/commands/IsAuthorizedCommand.d.ts +34 -35
  24. package/dist-types/commands/IsAuthorizedWithTokenCommand.d.ts +22 -22
  25. package/dist-types/commands/ListIdentitySourcesCommand.d.ts +15 -15
  26. package/dist-types/commands/ListPoliciesCommand.d.ts +90 -92
  27. package/dist-types/commands/ListPolicyStoresCommand.d.ts +11 -11
  28. package/dist-types/commands/ListPolicyTemplatesCommand.d.ts +15 -15
  29. package/dist-types/commands/PutSchemaCommand.d.ts +15 -15
  30. package/dist-types/commands/UpdateIdentitySourceCommand.d.ts +13 -13
  31. package/dist-types/commands/UpdatePolicyCommand.d.ts +16 -16
  32. package/dist-types/commands/UpdatePolicyStoreCommand.d.ts +10 -10
  33. package/dist-types/commands/UpdatePolicyTemplateCommand.d.ts +24 -16
  34. package/package.json +33 -33
@@ -291,142 +291,142 @@ declare const BatchIsAuthorizedWithTokenCommand_base: {
291
291
  * @throws {@link VerifiedPermissionsServiceException}
292
292
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
293
293
  *
294
- * @public
294
+ *
295
295
  * @example Batch - Example 1
296
296
  * ```javascript
297
297
  * // The following example requests three authorization decisions for two resources and two actions in different photo albums.
298
298
  * const input = {
299
- * "entities": {
300
- * "entityList": [
299
+ * entities: {
300
+ * entityList: [
301
301
  * {
302
- * "identifier": {
303
- * "entityId": "VacationPhoto94.jpg",
304
- * "entityType": "PhotoFlash::Photo"
302
+ * identifier: {
303
+ * entityId: "VacationPhoto94.jpg",
304
+ * entityType: "PhotoFlash::Photo"
305
305
  * },
306
- * "parents": [
306
+ * parents: [
307
307
  * {
308
- * "entityId": "MyExampleAlbum1",
309
- * "entityType": "PhotoFlash::Album"
308
+ * entityId: "MyExampleAlbum1",
309
+ * entityType: "PhotoFlash::Album"
310
310
  * }
311
311
  * ]
312
312
  * },
313
313
  * {
314
- * "identifier": {
315
- * "entityId": "OfficePhoto94.jpg",
316
- * "entityType": "PhotoFlash::Photo"
314
+ * identifier: {
315
+ * entityId: "OfficePhoto94.jpg",
316
+ * entityType: "PhotoFlash::Photo"
317
317
  * },
318
- * "parents": [
318
+ * parents: [
319
319
  * {
320
- * "entityId": "MyExampleAlbum2",
321
- * "entityType": "PhotoFlash::Album"
320
+ * entityId: "MyExampleAlbum2",
321
+ * entityType: "PhotoFlash::Album"
322
322
  * }
323
323
  * ]
324
324
  * }
325
325
  * ]
326
326
  * },
327
- * "identityToken": "eyJra12345EXAMPLE",
328
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
329
- * "requests": [
327
+ * identityToken: "eyJra12345EXAMPLE",
328
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
329
+ * requests: [
330
330
  * {
331
- * "action": {
332
- * "actionId": "ViewPhoto",
333
- * "actionType": "PhotoFlash::Action"
331
+ * action: {
332
+ * actionId: "ViewPhoto",
333
+ * actionType: "PhotoFlash::Action"
334
334
  * },
335
- * "resource": {
336
- * "entityId": "VacationPhoto94.jpg",
337
- * "entityType": "PhotoFlash::Photo"
335
+ * resource: {
336
+ * entityId: "VacationPhoto94.jpg",
337
+ * entityType: "PhotoFlash::Photo"
338
338
  * }
339
339
  * },
340
340
  * {
341
- * "action": {
342
- * "actionId": "SharePhoto",
343
- * "actionType": "PhotoFlash::Action"
341
+ * action: {
342
+ * actionId: "SharePhoto",
343
+ * actionType: "PhotoFlash::Action"
344
344
  * },
345
- * "resource": {
346
- * "entityId": "VacationPhoto94.jpg",
347
- * "entityType": "PhotoFlash::Photo"
345
+ * resource: {
346
+ * entityId: "VacationPhoto94.jpg",
347
+ * entityType: "PhotoFlash::Photo"
348
348
  * }
349
349
  * },
350
350
  * {
351
- * "action": {
352
- * "actionId": "ViewPhoto",
353
- * "actionType": "PhotoFlash::Action"
351
+ * action: {
352
+ * actionId: "ViewPhoto",
353
+ * actionType: "PhotoFlash::Action"
354
354
  * },
355
- * "resource": {
356
- * "entityId": "OfficePhoto94.jpg",
357
- * "entityType": "PhotoFlash::Photo"
355
+ * resource: {
356
+ * entityId: "OfficePhoto94.jpg",
357
+ * entityType: "PhotoFlash::Photo"
358
358
  * }
359
359
  * }
360
360
  * ]
361
361
  * };
362
362
  * const command = new BatchIsAuthorizedWithTokenCommand(input);
363
363
  * const response = await client.send(command);
364
- * /* response ==
364
+ * /* response is
365
365
  * {
366
- * "principal": {
367
- * "entityId": "us-east-1_EXAMPLE|a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
368
- * "entityType": "PhotoFlash::User"
366
+ * principal: {
367
+ * entityId: "us-east-1_EXAMPLE|a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
368
+ * entityType: "PhotoFlash::User"
369
369
  * },
370
- * "results": [
370
+ * results: [
371
371
  * {
372
- * "errors": [],
373
- * "decision": "ALLOW",
374
- * "determiningPolicies": [
372
+ * decision: "ALLOW",
373
+ * determiningPolicies: [
375
374
  * {
376
- * "policyId": "9wYixMplbbZQb5fcZHyJhY"
375
+ * policyId: "9wYixMplbbZQb5fcZHyJhY"
377
376
  * }
378
377
  * ],
379
- * "request": {
380
- * "action": {
381
- * "actionId": "ViewPhoto",
382
- * "actionType": "PhotoFlash::Action"
378
+ * errors: [],
379
+ * request: {
380
+ * action: {
381
+ * actionId: "ViewPhoto",
382
+ * actionType: "PhotoFlash::Action"
383
383
  * },
384
- * "resource": {
385
- * "entityId": "VacationPhoto94.jpg",
386
- * "entityType": "PhotoFlash::Photo"
384
+ * resource: {
385
+ * entityId: "VacationPhoto94.jpg",
386
+ * entityType: "PhotoFlash::Photo"
387
387
  * }
388
388
  * }
389
389
  * },
390
390
  * {
391
- * "errors": [],
392
- * "decision": "ALLOW",
393
- * "determiningPolicies": [
391
+ * decision: "ALLOW",
392
+ * determiningPolicies: [
394
393
  * {
395
- * "policyId": "9wYixMplbbZQb5fcZHyJhY"
394
+ * policyId: "9wYixMplbbZQb5fcZHyJhY"
396
395
  * }
397
396
  * ],
398
- * "request": {
399
- * "action": {
400
- * "actionId": "SharePhoto",
401
- * "actionType": "PhotoFlash::Action"
397
+ * errors: [],
398
+ * request: {
399
+ * action: {
400
+ * actionId: "SharePhoto",
401
+ * actionType: "PhotoFlash::Action"
402
402
  * },
403
- * "resource": {
404
- * "entityId": "VacationPhoto94.jpg",
405
- * "entityType": "PhotoFlash::Photo"
403
+ * resource: {
404
+ * entityId: "VacationPhoto94.jpg",
405
+ * entityType: "PhotoFlash::Photo"
406
406
  * }
407
407
  * }
408
408
  * },
409
409
  * {
410
- * "errors": [],
411
- * "decision": "DENY",
412
- * "determiningPolicies": [],
413
- * "request": {
414
- * "action": {
415
- * "actionId": "ViewPhoto",
416
- * "actionType": "PhotoFlash::Action"
410
+ * decision: "DENY",
411
+ * determiningPolicies: [],
412
+ * errors: [],
413
+ * request: {
414
+ * action: {
415
+ * actionId: "ViewPhoto",
416
+ * actionType: "PhotoFlash::Action"
417
417
  * },
418
- * "resource": {
419
- * "entityId": "OfficePhoto94.jpg",
420
- * "entityType": "PhotoFlash::Photo"
418
+ * resource: {
419
+ * entityId: "OfficePhoto94.jpg",
420
+ * entityType: "PhotoFlash::Photo"
421
421
  * }
422
422
  * }
423
423
  * }
424
424
  * ]
425
425
  * }
426
426
  * *\/
427
- * // example id: example-1
428
427
  * ```
429
428
  *
429
+ * @public
430
430
  */
431
431
  export declare class BatchIsAuthorizedWithTokenCommand extends BatchIsAuthorizedWithTokenCommand_base {
432
432
  /** @internal type navigation helper, not in runtime. */
@@ -231,36 +231,36 @@ declare const CreateIdentitySourceCommand_base: {
231
231
  * @throws {@link VerifiedPermissionsServiceException}
232
232
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
233
233
  *
234
- * @public
234
+ *
235
235
  * @example To create an identity source
236
236
  * ```javascript
237
237
  * // The following ``create-identity-source`` example creates an identity source that lets you reference identities stored in the specified Amazon Cognito user pool. Those identities are available in Verified Permissions as entities of type ``User``.
238
238
  * const input = {
239
- * "clientToken": "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
240
- * "configuration": {
241
- * "cognitoUserPoolConfiguration": {
242
- * "clientIds": [
239
+ * clientToken: "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
240
+ * configuration: {
241
+ * cognitoUserPoolConfiguration: {
242
+ * clientIds: [
243
243
  * "a1b2c3d4e5f6g7h8i9j0kalbmc"
244
244
  * ],
245
- * "userPoolArn": "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
245
+ * userPoolArn: "arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5"
246
246
  * }
247
247
  * },
248
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
249
- * "principalEntityType": "User"
248
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
249
+ * principalEntityType: "User"
250
250
  * };
251
251
  * const command = new CreateIdentitySourceCommand(input);
252
252
  * const response = await client.send(command);
253
- * /* response ==
253
+ * /* response is
254
254
  * {
255
- * "createdDate": "2024-08-12T18:20:50.99Z",
256
- * "identitySourceId": "ISEXAMPLEabcdefg111111",
257
- * "lastUpdatedDate": "2024-08-12T18:20:50.99Z",
258
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
255
+ * createdDate: "2024-08-12T18:20:50.99Z",
256
+ * identitySourceId: "ISEXAMPLEabcdefg111111",
257
+ * lastUpdatedDate: "2024-08-12T18:20:50.99Z",
258
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
259
259
  * }
260
260
  * *\/
261
- * // example id: example-1
262
261
  * ```
263
262
  *
263
+ * @public
264
264
  */
265
265
  export declare class CreateIdentitySourceCommand extends CreateIdentitySourceCommand_base {
266
266
  /** @internal type navigation helper, not in runtime. */
@@ -220,115 +220,113 @@ declare const CreatePolicyCommand_base: {
220
220
  * @throws {@link VerifiedPermissionsServiceException}
221
221
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
222
222
  *
223
- * @public
223
+ *
224
224
  * @example To create a static policy
225
225
  * ```javascript
226
226
  * // The following example request creates a static policy with a policy scope that specifies both a principal and a resource. The response includes both the Principal and Resource elements because both were specified in the request policy scope.
227
227
  * const input = {
228
- * "clientToken": "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
229
- * "definition": {
230
- * "static": {
231
- * "description": "Grant members of janeFriends UserGroup access to the vacationFolder Album",
232
- * "statement": "permit( principal in UserGroup::\"janeFriends\", action, resource in Album::\"vacationFolder\" );"
228
+ * clientToken: "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
229
+ * definition: {
230
+ * static: {
231
+ * description: "Grant members of janeFriends UserGroup access to the vacationFolder Album",
232
+ * statement: `permit( principal in UserGroup::"janeFriends", action, resource in Album::"vacationFolder" );`
233
233
  * }
234
234
  * },
235
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
235
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
236
236
  * };
237
237
  * const command = new CreatePolicyCommand(input);
238
238
  * const response = await client.send(command);
239
- * /* response ==
239
+ * /* response is
240
240
  * {
241
- * "createdDate": "2024-08-12T18:20:50.99Z",
242
- * "lastUpdatedDate": "2024-08-12T18:20:50.99Z",
243
- * "policyId": "9wYxMpljbbZQb5fcZHyJhY",
244
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
245
- * "policyType": "STATIC",
246
- * "principal": {
247
- * "entityId": "janeFriends",
248
- * "entityType": "UserGroup"
241
+ * createdDate: "2024-08-12T18:20:50.99Z",
242
+ * lastUpdatedDate: "2024-08-12T18:20:50.99Z",
243
+ * policyId: "9wYxMpljbbZQb5fcZHyJhY",
244
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
245
+ * policyType: "STATIC",
246
+ * principal: {
247
+ * entityId: "janeFriends",
248
+ * entityType: "UserGroup"
249
249
  * },
250
- * "resource": {
251
- * "entityId": "vacationFolder",
252
- * "entityType": "Album"
250
+ * resource: {
251
+ * entityId: "vacationFolder",
252
+ * entityType: "Album"
253
253
  * }
254
254
  * }
255
255
  * *\/
256
- * // example id: example-1
257
256
  * ```
258
257
  *
259
258
  * @example To create a static policy
260
259
  * ```javascript
261
260
  * // The following example request creates a static policy with a policy scope that specifies both a principal and a resource. The response includes both the Principal and Resource elements because both were specified in the request policy scope.
262
261
  * const input = {
263
- * "clientToken": "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
264
- * "definition": {
265
- * "static": {
266
- * "description": "Grant members of janeFriends UserGroup access to the vacationFolder Album",
267
- * "statement": "permit( principal in UserGroup::\"janeFriends\", action, resource in Album::\"vacationFolder\" );"
262
+ * clientToken: "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
263
+ * definition: {
264
+ * static: {
265
+ * description: "Grant members of janeFriends UserGroup access to the vacationFolder Album",
266
+ * statement: `permit( principal in UserGroup::"janeFriends", action, resource in Album::"vacationFolder" );`
268
267
  * }
269
268
  * },
270
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
269
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
271
270
  * };
272
271
  * const command = new CreatePolicyCommand(input);
273
272
  * const response = await client.send(command);
274
- * /* response ==
273
+ * /* response is
275
274
  * {
276
- * "createdDate": "2024-08-12T18:20:50.99Z",
277
- * "lastUpdatedDate": "2024-08-12T18:20:50.99Z",
278
- * "policyId": "9wYxMpljbbZQb5fcZHyJhY",
279
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
280
- * "policyType": "STATIC",
281
- * "principal": {
282
- * "entityId": "janeFriends",
283
- * "entityType": "UserGroup"
275
+ * createdDate: "2024-08-12T18:20:50.99Z",
276
+ * lastUpdatedDate: "2024-08-12T18:20:50.99Z",
277
+ * policyId: "9wYxMpljbbZQb5fcZHyJhY",
278
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
279
+ * policyType: "STATIC",
280
+ * principal: {
281
+ * entityId: "janeFriends",
282
+ * entityType: "UserGroup"
284
283
  * },
285
- * "resource": {
286
- * "entityId": "vacationFolder",
287
- * "entityType": "Album"
284
+ * resource: {
285
+ * entityId: "vacationFolder",
286
+ * entityType: "Album"
288
287
  * }
289
288
  * }
290
289
  * *\/
291
- * // example id: example-2
292
290
  * ```
293
291
  *
294
292
  * @example To create a template-linked policy
295
293
  * ```javascript
296
294
  * // The following example creates a template-linked policy using the specified policy template and associates the specified principal to use with the new template-linked policy.
297
295
  * const input = {
298
- * "clientToken": "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
299
- * "definition": {
300
- * "templateLinked": {
301
- * "policyTemplateId": "PTEXAMPLEabcdefg111111",
302
- * "principal": {
303
- * "entityId": "alice",
304
- * "entityType": "User"
296
+ * clientToken: "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
297
+ * definition: {
298
+ * templateLinked: {
299
+ * policyTemplateId: "PTEXAMPLEabcdefg111111",
300
+ * principal: {
301
+ * entityId: "alice",
302
+ * entityType: "User"
305
303
  * }
306
304
  * }
307
305
  * },
308
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
306
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
309
307
  * };
310
308
  * const command = new CreatePolicyCommand(input);
311
309
  * const response = await client.send(command);
312
- * /* response ==
310
+ * /* response is
313
311
  * {
314
- * "createdDate": "2024-08-12T18:20:50.99Z",
315
- * "lastUpdatedDate": "2024-08-12T18:20:50.99Z",
316
- * "policyId": "Et9KxMplyaDdyurDw8TeFa",
317
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
318
- * "policyType": "TEMPLATE_LINKED",
319
- * "principal": {
320
- * "entityId": "alice",
321
- * "entityType": "User"
312
+ * createdDate: "2024-08-12T18:20:50.99Z",
313
+ * lastUpdatedDate: "2024-08-12T18:20:50.99Z",
314
+ * policyId: "Et9KxMplyaDdyurDw8TeFa",
315
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
316
+ * policyType: "TEMPLATE_LINKED",
317
+ * principal: {
318
+ * entityId: "alice",
319
+ * entityType: "User"
322
320
  * },
323
- * "resource": {
324
- * "entityId": "VacationPhoto94.jpg",
325
- * "entityType": "Photo"
321
+ * resource: {
322
+ * entityId: "VacationPhoto94.jpg",
323
+ * entityType: "Photo"
326
324
  * }
327
325
  * }
328
326
  * *\/
329
- * // example id: example-3
330
327
  * ```
331
328
  *
329
+ * @public
332
330
  */
333
331
  export declare class CreatePolicyCommand extends CreatePolicyCommand_base {
334
332
  /** @internal type navigation helper, not in runtime. */
@@ -171,29 +171,29 @@ declare const CreatePolicyStoreCommand_base: {
171
171
  * @throws {@link VerifiedPermissionsServiceException}
172
172
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
173
173
  *
174
- * @public
174
+ *
175
175
  * @example To create policy store
176
176
  * ```javascript
177
177
  * // The following example creates a new policy store with strict validation turned on.
178
178
  * const input = {
179
- * "clientToken": "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
180
- * "validationSettings": {
181
- * "mode": "STRICT"
179
+ * clientToken: "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
180
+ * validationSettings: {
181
+ * mode: "STRICT"
182
182
  * }
183
183
  * };
184
184
  * const command = new CreatePolicyStoreCommand(input);
185
185
  * const response = await client.send(command);
186
- * /* response ==
186
+ * /* response is
187
187
  * {
188
- * "arn": "arn:aws:verifiedpermissions::123456789012:policy-store/C7v5xMplfFH3i3e4Jrzb1a",
189
- * "createdDate": "2024-08-12T18:20:50.99Z",
190
- * "lastUpdatedDate": "2024-08-12T18:20:50.99Z",
191
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
188
+ * arn: "arn:aws:verifiedpermissions::123456789012:policy-store/C7v5xMplfFH3i3e4Jrzb1a",
189
+ * createdDate: "2024-08-12T18:20:50.99Z",
190
+ * lastUpdatedDate: "2024-08-12T18:20:50.99Z",
191
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
192
192
  * }
193
193
  * *\/
194
- * // example id: example-1
195
194
  * ```
196
195
  *
196
+ * @public
197
197
  */
198
198
  export declare class CreatePolicyStoreCommand extends CreatePolicyStoreCommand_base {
199
199
  /** @internal type navigation helper, not in runtime. */
@@ -175,29 +175,37 @@ declare const CreatePolicyTemplateCommand_base: {
175
175
  * @throws {@link VerifiedPermissionsServiceException}
176
176
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
177
177
  *
178
- * @public
178
+ *
179
179
  * @example To create a policy template
180
180
  * ```javascript
181
181
  * // The following example creates a policy template that has a placeholder for the principal.
182
182
  * const input = {
183
- * "clientToken": "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
184
- * "description": "Template for research dept",
185
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
186
- * "statement": "\"AccessVacation\"\npermit(\n principal in ?principal,\n action == Action::\"view\",\n resource == Photo::\"VacationPhoto94.jpg\"\n)\nwhen {\n principal has department && principal.department == \"research\"\n};"
183
+ * clientToken: "a1b2c3d4-e5f6-a1b2-c3d4-TOKEN1111111",
184
+ * description: "Template for research dept",
185
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
186
+ * statement: `"AccessVacation"
187
+ * permit(
188
+ * principal in ?principal,
189
+ * action == Action::"view",
190
+ * resource == Photo::"VacationPhoto94.jpg"
191
+ * )
192
+ * when {
193
+ * principal has department && principal.department == "research"
194
+ * };`
187
195
  * };
188
196
  * const command = new CreatePolicyTemplateCommand(input);
189
197
  * const response = await client.send(command);
190
- * /* response ==
198
+ * /* response is
191
199
  * {
192
- * "createdDate": "2024-08-12T18:20:50.99Z",
193
- * "lastUpdatedDate": "2024-08-12T18:20:50.99Z",
194
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
195
- * "policyTemplateId": "PTEXAMPLEabcdefg111111"
200
+ * createdDate: "2024-08-12T18:20:50.99Z",
201
+ * lastUpdatedDate: "2024-08-12T18:20:50.99Z",
202
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
203
+ * policyTemplateId: "PTEXAMPLEabcdefg111111"
196
204
  * }
197
205
  * *\/
198
- * // example id: example-1
199
206
  * ```
200
207
  *
208
+ * @public
201
209
  */
202
210
  export declare class CreatePolicyTemplateCommand extends CreatePolicyTemplateCommand_base {
203
211
  /** @internal type navigation helper, not in runtime. */
@@ -156,19 +156,22 @@ declare const DeleteIdentitySourceCommand_base: {
156
156
  * @throws {@link VerifiedPermissionsServiceException}
157
157
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
158
158
  *
159
- * @public
159
+ *
160
160
  * @example To delete an identity source
161
161
  * ```javascript
162
162
  * // The following example request deletes the specified identity source.
163
163
  * const input = {
164
- * "identitySourceId": "ISEXAMPLEabcdefg111111",
165
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
164
+ * identitySourceId: "ISEXAMPLEabcdefg111111",
165
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
166
166
  * };
167
167
  * const command = new DeleteIdentitySourceCommand(input);
168
- * await client.send(command);
169
- * // example id: example-1
168
+ * const response = await client.send(command);
169
+ * /* response is
170
+ * { /* empty *\/ }
171
+ * *\/
170
172
  * ```
171
173
  *
174
+ * @public
172
175
  */
173
176
  export declare class DeleteIdentitySourceCommand extends DeleteIdentitySourceCommand_base {
174
177
  /** @internal type navigation helper, not in runtime. */
@@ -155,19 +155,22 @@ declare const DeletePolicyCommand_base: {
155
155
  * @throws {@link VerifiedPermissionsServiceException}
156
156
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
157
157
  *
158
- * @public
158
+ *
159
159
  * @example To delete a policy
160
160
  * ```javascript
161
161
  * // The following example deletes the specified policy from its policy store.
162
162
  * const input = {
163
- * "policyId": "9wYxMpljbbZQb5fcZHyJhY",
164
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
163
+ * policyId: "9wYxMpljbbZQb5fcZHyJhY",
164
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
165
165
  * };
166
166
  * const command = new DeletePolicyCommand(input);
167
- * await client.send(command);
168
- * // example id: example-1
167
+ * const response = await client.send(command);
168
+ * /* response is
169
+ * { /* empty *\/ }
170
+ * *\/
169
171
  * ```
170
172
  *
173
+ * @public
171
174
  */
172
175
  export declare class DeletePolicyCommand extends DeletePolicyCommand_base {
173
176
  /** @internal type navigation helper, not in runtime. */
@@ -147,18 +147,21 @@ declare const DeletePolicyStoreCommand_base: {
147
147
  * @throws {@link VerifiedPermissionsServiceException}
148
148
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
149
149
  *
150
- * @public
150
+ *
151
151
  * @example To delete a policy store
152
152
  * ```javascript
153
153
  * // The following example deletes the specified policy store.
154
154
  * const input = {
155
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a"
155
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a"
156
156
  * };
157
157
  * const command = new DeletePolicyStoreCommand(input);
158
- * await client.send(command);
159
- * // example id: example-1
158
+ * const response = await client.send(command);
159
+ * /* response is
160
+ * { /* empty *\/ }
161
+ * *\/
160
162
  * ```
161
163
  *
164
+ * @public
162
165
  */
163
166
  export declare class DeletePolicyStoreCommand extends DeletePolicyStoreCommand_base {
164
167
  /** @internal type navigation helper, not in runtime. */
@@ -158,19 +158,22 @@ declare const DeletePolicyTemplateCommand_base: {
158
158
  * @throws {@link VerifiedPermissionsServiceException}
159
159
  * <p>Base exception class for all service exceptions from VerifiedPermissions service.</p>
160
160
  *
161
- * @public
161
+ *
162
162
  * @example To delete a policy template
163
163
  * ```javascript
164
164
  * // The following example deletes a policy template. Before you can perform this operation, you must first delete any template-linked policies that were instantiated from this policy template. To delete them, use DeletePolicy.
165
165
  * const input = {
166
- * "policyStoreId": "C7v5xMplfFH3i3e4Jrzb1a",
167
- * "policyTemplateId": "PTEXAMPLEabcdefg111111"
166
+ * policyStoreId: "C7v5xMplfFH3i3e4Jrzb1a",
167
+ * policyTemplateId: "PTEXAMPLEabcdefg111111"
168
168
  * };
169
169
  * const command = new DeletePolicyTemplateCommand(input);
170
- * await client.send(command);
171
- * // example id: example-1
170
+ * const response = await client.send(command);
171
+ * /* response is
172
+ * { /* empty *\/ }
173
+ * *\/
172
174
  * ```
173
175
  *
176
+ * @public
174
177
  */
175
178
  export declare class DeletePolicyTemplateCommand extends DeletePolicyTemplateCommand_base {
176
179
  /** @internal type navigation helper, not in runtime. */