@stacksjs/ts-cloud 0.5.15 → 0.5.17

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.
@@ -30,4 +30,9 @@ export declare class CostExplorerClient {
30
30
  end: string;
31
31
  granularity?: 'DAILY' | 'MONTHLY';
32
32
  }): Promise<ServiceCost[]>;
33
+ /** Total unblended cost per day over a window (for the spend trend chart). */
34
+ getDailyTotals(params: {
35
+ start: string;
36
+ end: string;
37
+ }): Promise<number[]>;
33
38
  }
@@ -0,0 +1,21 @@
1
+ export interface WebAclSummary {
2
+ Name?: string;
3
+ Id?: string;
4
+ ARN?: string;
5
+ }
6
+ export interface WafRule {
7
+ Name?: string;
8
+ Priority?: number;
9
+ Action?: string;
10
+ }
11
+ /** Minimal WAFv2 client (JSON API) — enough to list a web ACL's rules. */
12
+ export declare class WAFv2Client {
13
+ private client;
14
+ private region;
15
+ constructor(region?: string);
16
+ private call;
17
+ /** List regional web ACLs. */
18
+ listWebACLs(scope?: 'REGIONAL' | 'CLOUDFRONT'): Promise<WebAclSummary[]>;
19
+ /** Get a web ACL's rules (action label flattened from the rule's Action map). */
20
+ getWebACLRules(name: string, id: string, scope?: 'REGIONAL' | 'CLOUDFRONT'): Promise<WafRule[]>;
21
+ }