@@ -25,7 +25,7 @@ Contains methods and attributes valid for Guardrails either created with CDK or
25
25
26
26
### Constructor
27
27
28
- > ** new GuardrailBase** (` scope ` , ` id ` , ` props ` ? ): ` GuardrailBase `
28
+ > ** new GuardrailBase** (` scope ` , ` id ` , ` props? ` ): ` GuardrailBase `
29
29
30
30
#### Parameters
31
31
@@ -373,7 +373,7 @@ Grant the given identity permissions to apply the guardrail.
373
373
374
374
### metric()
375
375
376
- > ** metric** (` metricName ` , ` props ` ? ): ` Metric `
376
+ > ** metric** (` metricName ` , ` props? ` ): ` Metric `
377
377
378
378
Return the given named metric for this guardrail.
379
379
@@ -402,7 +402,7 @@ You can customize this by using the `statistic` and `period` properties.
402
402
403
403
### metricInvocationClientErrors()
404
404
405
- > ** metricInvocationClientErrors** (` props ` ? ): ` Metric `
405
+ > ** metricInvocationClientErrors** (` props? ` ): ` Metric `
406
406
407
407
Return the invocation client errors metric for this guardrail.
408
408
@@ -424,7 +424,7 @@ Return the invocation client errors metric for this guardrail.
424
424
425
425
### metricInvocationLatency()
426
426
427
- > ** metricInvocationLatency** (` props ` ? ): ` Metric `
427
+ > ** metricInvocationLatency** (` props? ` ): ` Metric `
428
428
429
429
Return the invocation latency metric for this guardrail.
430
430
@@ -446,7 +446,7 @@ Return the invocation latency metric for this guardrail.
446
446
447
447
### metricInvocations()
448
448
449
- > ** metricInvocations** (` props ` ? ): ` Metric `
449
+ > ** metricInvocations** (` props? ` ): ` Metric `
450
450
451
451
Return the invocations metric for this guardrail.
452
452
@@ -468,7 +468,7 @@ Return the invocations metric for this guardrail.
468
468
469
469
### metricInvocationServerErrors()
470
470
471
- > ** metricInvocationServerErrors** (` props ` ? ): ` Metric `
471
+ > ** metricInvocationServerErrors** (` props? ` ): ` Metric `
472
472
473
473
Return the invocation server errors metric for this guardrail.
474
474
@@ -490,7 +490,7 @@ Return the invocation server errors metric for this guardrail.
490
490
491
491
### metricInvocationsIntervened()
492
492
493
- > ** metricInvocationsIntervened** (` props ` ? ): ` Metric `
493
+ > ** metricInvocationsIntervened** (` props? ` ): ` Metric `
494
494
495
495
Return the invocations intervened metric for this guardrail.
496
496
@@ -512,7 +512,7 @@ Return the invocations intervened metric for this guardrail.
512
512
513
513
### metricInvocationThrottles()
514
514
515
- > ** metricInvocationThrottles** (` props ` ? ): ` Metric `
515
+ > ** metricInvocationThrottles** (` props? ` ): ` Metric `
516
516
517
517
Return the invocation throttles metric for this guardrail.
518
518
@@ -534,7 +534,7 @@ Return the invocation throttles metric for this guardrail.
534
534
535
535
### metricTextUnitCount()
536
536
537
- > ** metricTextUnitCount** (` props ` ? ): ` Metric `
537
+ > ** metricTextUnitCount** (` props? ` ): ` Metric `
538
538
539
539
Return the text unit count metric for this guardrail.
540
540
@@ -656,7 +656,7 @@ Check whether the given construct is a Resource
656
656
657
657
### metricAll()
658
658
659
- > ` static ` ** metricAll** (` metricName ` , ` props ` ? ): ` Metric `
659
+ > ` static ` ** metricAll** (` metricName ` , ` props? ` ): ` Metric `
660
660
661
661
Return the given named metric for all guardrails.
662
662
@@ -681,7 +681,7 @@ You can customize this by using the `statistic` and `period` properties.
681
681
682
682
### metricAllInvocationLatency()
683
683
684
- > ` static ` ** metricAllInvocationLatency** (` props ` ? ): ` Metric `
684
+ > ` static ` ** metricAllInvocationLatency** (` props? ` ): ` Metric `
685
685
686
686
Return the invocation latency metric for all guardrails.
687
687
@@ -699,7 +699,7 @@ Return the invocation latency metric for all guardrails.
699
699
700
700
### metricAllInvocations()
701
701
702
- > ` static ` ** metricAllInvocations** (` props ` ? ): ` Metric `
702
+ > ` static ` ** metricAllInvocations** (` props? ` ): ` Metric `
703
703
704
704
Return the invocations metric for all guardrails.
705
705
@@ -717,7 +717,7 @@ Return the invocations metric for all guardrails.
717
717
718
718
### metricAllInvocationsIntervened()
719
719
720
- > ` static ` ** metricAllInvocationsIntervened** (` props ` ? ): ` Metric `
720
+ > ` static ` ** metricAllInvocationsIntervened** (` props? ` ): ` Metric `
721
721
722
722
Return the invocations intervened metric for all guardrails.
723
723
@@ -735,7 +735,7 @@ Return the invocations intervened metric for all guardrails.
735
735
736
736
### metricAllTextUnitCount()
737
737
738
- > ` static ` ** metricAllTextUnitCount** (` props ` ? ): ` Metric `
738
+ > ` static ` ** metricAllTextUnitCount** (` props? ` ): ` Metric `
739
739
740
740
Return the text unit count metric for all guardrails.
741
741
0 commit comments