@aws-sdk/client-application-signals 3.645.0 → 3.649.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.
@@ -26,8 +26,16 @@ export declare const ServiceLevelObjectiveBudgetStatus: {
26
26
  };
27
27
  export type ServiceLevelObjectiveBudgetStatus =
28
28
  (typeof ServiceLevelObjectiveBudgetStatus)[keyof typeof ServiceLevelObjectiveBudgetStatus];
29
+ export declare const EvaluationType: {
30
+ readonly PERIOD_BASED: "PeriodBased";
31
+ readonly REQUEST_BASED: "RequestBased";
32
+ };
33
+ export type EvaluationType =
34
+ (typeof EvaluationType)[keyof typeof EvaluationType];
29
35
  export declare const DurationUnit: {
30
36
  readonly DAY: "DAY";
37
+ readonly HOUR: "HOUR";
38
+ readonly MINUTE: "MINUTE";
31
39
  readonly MONTH: "MONTH";
32
40
  };
33
41
  export type DurationUnit = (typeof DurationUnit)[keyof typeof DurationUnit];
@@ -80,6 +88,12 @@ export declare const ServiceLevelIndicatorComparisonOperator: {
80
88
  };
81
89
  export type ServiceLevelIndicatorComparisonOperator =
82
90
  (typeof ServiceLevelIndicatorComparisonOperator)[keyof typeof ServiceLevelIndicatorComparisonOperator];
91
+ export declare const ServiceLevelIndicatorMetricType: {
92
+ readonly AVAILABILITY: "AVAILABILITY";
93
+ readonly LATENCY: "LATENCY";
94
+ };
95
+ export type ServiceLevelIndicatorMetricType =
96
+ (typeof ServiceLevelIndicatorMetricType)[keyof typeof ServiceLevelIndicatorMetricType];
83
97
  export interface Dimension {
84
98
  Name: string | undefined;
85
99
  Value: string | undefined;
@@ -134,12 +148,50 @@ export interface MetricDataQuery {
134
148
  Period?: number;
135
149
  AccountId?: string;
136
150
  }
137
- export declare const ServiceLevelIndicatorMetricType: {
138
- readonly AVAILABILITY: "AVAILABILITY";
139
- readonly LATENCY: "LATENCY";
140
- };
141
- export type ServiceLevelIndicatorMetricType =
142
- (typeof ServiceLevelIndicatorMetricType)[keyof typeof ServiceLevelIndicatorMetricType];
151
+ export type MonitoredRequestCountMetricDataQueries =
152
+ | MonitoredRequestCountMetricDataQueries.BadCountMetricMember
153
+ | MonitoredRequestCountMetricDataQueries.GoodCountMetricMember
154
+ | MonitoredRequestCountMetricDataQueries.$UnknownMember;
155
+ export declare namespace MonitoredRequestCountMetricDataQueries {
156
+ interface GoodCountMetricMember {
157
+ GoodCountMetric: MetricDataQuery[];
158
+ BadCountMetric?: never;
159
+ $unknown?: never;
160
+ }
161
+ interface BadCountMetricMember {
162
+ GoodCountMetric?: never;
163
+ BadCountMetric: MetricDataQuery[];
164
+ $unknown?: never;
165
+ }
166
+ interface $UnknownMember {
167
+ GoodCountMetric?: never;
168
+ BadCountMetric?: never;
169
+ $unknown: [string, any];
170
+ }
171
+ interface Visitor<T> {
172
+ GoodCountMetric: (value: MetricDataQuery[]) => T;
173
+ BadCountMetric: (value: MetricDataQuery[]) => T;
174
+ _: (name: string, value: any) => T;
175
+ }
176
+ const visit: <T>(
177
+ value: MonitoredRequestCountMetricDataQueries,
178
+ visitor: Visitor<T>
179
+ ) => T;
180
+ }
181
+ export interface RequestBasedServiceLevelIndicatorMetric {
182
+ KeyAttributes?: Record<string, string>;
183
+ OperationName?: string;
184
+ MetricType?: ServiceLevelIndicatorMetricType;
185
+ TotalRequestCountMetric: MetricDataQuery[] | undefined;
186
+ MonitoredRequestCountMetric:
187
+ | MonitoredRequestCountMetricDataQueries
188
+ | undefined;
189
+ }
190
+ export interface RequestBasedServiceLevelIndicator {
191
+ RequestBasedSliMetric: RequestBasedServiceLevelIndicatorMetric | undefined;
192
+ MetricThreshold?: number;
193
+ ComparisonOperator?: ServiceLevelIndicatorComparisonOperator;
194
+ }
143
195
  export interface ServiceLevelIndicatorMetric {
144
196
  KeyAttributes?: Record<string, string>;
145
197
  OperationName?: string;
@@ -154,11 +206,15 @@ export interface ServiceLevelIndicator {
154
206
  export interface ServiceLevelObjectiveBudgetReport {
155
207
  Arn: string | undefined;
156
208
  Name: string | undefined;
209
+ EvaluationType?: EvaluationType;
157
210
  BudgetStatus: ServiceLevelObjectiveBudgetStatus | undefined;
158
211
  Attainment?: number;
159
212
  TotalBudgetSeconds?: number;
160
213
  BudgetSecondsRemaining?: number;
214
+ TotalBudgetRequests?: number;
215
+ BudgetRequestsRemaining?: number;
161
216
  Sli?: ServiceLevelIndicator;
217
+ RequestBasedSli?: RequestBasedServiceLevelIndicator;
162
218
  Goal?: Goal;
163
219
  }
164
220
  export interface BatchGetServiceLevelObjectiveBudgetReportOutput {
@@ -302,6 +358,20 @@ export declare class ConflictException extends __BaseException {
302
358
  Message: string | undefined;
303
359
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
304
360
  }
361
+ export interface RequestBasedServiceLevelIndicatorMetricConfig {
362
+ KeyAttributes?: Record<string, string>;
363
+ OperationName?: string;
364
+ MetricType?: ServiceLevelIndicatorMetricType;
365
+ TotalRequestCountMetric?: MetricDataQuery[];
366
+ MonitoredRequestCountMetric?: MonitoredRequestCountMetricDataQueries;
367
+ }
368
+ export interface RequestBasedServiceLevelIndicatorConfig {
369
+ RequestBasedSliMetricConfig:
370
+ | RequestBasedServiceLevelIndicatorMetricConfig
371
+ | undefined;
372
+ MetricThreshold?: number;
373
+ ComparisonOperator?: ServiceLevelIndicatorComparisonOperator;
374
+ }
305
375
  export interface ServiceLevelIndicatorMetricConfig {
306
376
  KeyAttributes?: Record<string, string>;
307
377
  OperationName?: string;
@@ -318,7 +388,8 @@ export interface ServiceLevelIndicatorConfig {
318
388
  export interface CreateServiceLevelObjectiveInput {
319
389
  Name: string | undefined;
320
390
  Description?: string;
321
- SliConfig: ServiceLevelIndicatorConfig | undefined;
391
+ SliConfig?: ServiceLevelIndicatorConfig;
392
+ RequestBasedSliConfig?: RequestBasedServiceLevelIndicatorConfig;
322
393
  Goal?: Goal;
323
394
  Tags?: Tag[];
324
395
  }
@@ -328,7 +399,9 @@ export interface ServiceLevelObjective {
328
399
  Description?: string;
329
400
  CreatedTime: Date | undefined;
330
401
  LastUpdatedTime: Date | undefined;
331
- Sli: ServiceLevelIndicator | undefined;
402
+ Sli?: ServiceLevelIndicator;
403
+ RequestBasedSli?: RequestBasedServiceLevelIndicator;
404
+ EvaluationType?: EvaluationType;
332
405
  Goal: Goal | undefined;
333
406
  }
334
407
  export interface CreateServiceLevelObjectiveOutput {
@@ -373,6 +446,7 @@ export interface UpdateServiceLevelObjectiveInput {
373
446
  Id: string | undefined;
374
447
  Description?: string;
375
448
  SliConfig?: ServiceLevelIndicatorConfig;
449
+ RequestBasedSliConfig?: RequestBasedServiceLevelIndicatorConfig;
376
450
  Goal?: Goal;
377
451
  }
378
452
  export interface UpdateServiceLevelObjectiveOutput {
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (
25
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  apiVersion: string;
28
+ cacheMiddleware?: boolean | undefined;
28
29
  urlParser: import("@smithy/types").UrlParser;
29
30
  base64Decoder: import("@smithy/types").Decoder;
30
31
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -63,6 +64,7 @@ export declare const getRuntimeConfig: (
63
64
  }
64
65
  ) => import("@smithy/types").EndpointV2;
65
66
  tls?: boolean | undefined;
67
+ serviceConfiguredEndpoint?: undefined;
66
68
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
67
69
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationSignalsHttpAuthSchemeProvider;
68
70
  credentials?:
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (
29
29
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
31
  apiVersion: string;
32
+ cacheMiddleware?: boolean | undefined;
32
33
  urlParser: import("@smithy/types").UrlParser;
33
34
  base64Decoder: import("@smithy/types").Decoder;
34
35
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -67,6 +68,7 @@ export declare const getRuntimeConfig: (
67
68
  }
68
69
  ) => import("@smithy/types").EndpointV2;
69
70
  tls?: boolean | undefined;
71
+ serviceConfiguredEndpoint?: undefined;
70
72
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
71
73
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationSignalsHttpAuthSchemeProvider;
72
74
  credentials?:
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (
11
11
  | import("@smithy/protocol-http").HttpHandler<any>
12
12
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
+ cacheMiddleware?: boolean | undefined;
14
15
  urlParser: import("@smithy/types").UrlParser;
15
16
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -57,6 +58,7 @@ export declare const getRuntimeConfig: (
57
58
  }
58
59
  ) => import("@smithy/types").EndpointV2;
59
60
  tls?: boolean | undefined;
61
+ serviceConfiguredEndpoint?: undefined;
60
62
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
61
63
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApplicationSignalsHttpAuthSchemeProvider;
62
64
  credentials?:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-application-signals",
3
3
  "description": "AWS SDK for JavaScript Application Signals Client for Node.js, Browser and React Native",
4
- "version": "3.645.0",
4
+ "version": "3.649.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -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.645.0",
24
- "@aws-sdk/client-sts": "3.645.0",
25
- "@aws-sdk/core": "3.635.0",
26
- "@aws-sdk/credential-provider-node": "3.645.0",
27
- "@aws-sdk/middleware-host-header": "3.620.0",
28
- "@aws-sdk/middleware-logger": "3.609.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.645.0",
31
- "@aws-sdk/region-config-resolver": "3.614.0",
32
- "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.645.0",
34
- "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.614.0",
36
- "@smithy/config-resolver": "^3.0.5",
37
- "@smithy/core": "^2.4.0",
38
- "@smithy/fetch-http-handler": "^3.2.4",
39
- "@smithy/hash-node": "^3.0.3",
40
- "@smithy/invalid-dependency": "^3.0.3",
41
- "@smithy/middleware-content-length": "^3.0.5",
42
- "@smithy/middleware-endpoint": "^3.1.0",
43
- "@smithy/middleware-retry": "^3.0.15",
44
- "@smithy/middleware-serde": "^3.0.3",
45
- "@smithy/middleware-stack": "^3.0.3",
46
- "@smithy/node-config-provider": "^3.1.4",
47
- "@smithy/node-http-handler": "^3.1.4",
48
- "@smithy/protocol-http": "^4.1.0",
49
- "@smithy/smithy-client": "^3.2.0",
50
- "@smithy/types": "^3.3.0",
51
- "@smithy/url-parser": "^3.0.3",
23
+ "@aws-sdk/client-sso-oidc": "3.649.0",
24
+ "@aws-sdk/client-sts": "3.649.0",
25
+ "@aws-sdk/core": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.649.0",
27
+ "@aws-sdk/middleware-host-header": "3.649.0",
28
+ "@aws-sdk/middleware-logger": "3.649.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.649.0",
30
+ "@aws-sdk/middleware-user-agent": "3.649.0",
31
+ "@aws-sdk/region-config-resolver": "3.649.0",
32
+ "@aws-sdk/types": "3.649.0",
33
+ "@aws-sdk/util-endpoints": "3.649.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.649.0",
35
+ "@aws-sdk/util-user-agent-node": "3.649.0",
36
+ "@smithy/config-resolver": "^3.0.6",
37
+ "@smithy/core": "^2.4.1",
38
+ "@smithy/fetch-http-handler": "^3.2.5",
39
+ "@smithy/hash-node": "^3.0.4",
40
+ "@smithy/invalid-dependency": "^3.0.4",
41
+ "@smithy/middleware-content-length": "^3.0.6",
42
+ "@smithy/middleware-endpoint": "^3.1.1",
43
+ "@smithy/middleware-retry": "^3.0.16",
44
+ "@smithy/middleware-serde": "^3.0.4",
45
+ "@smithy/middleware-stack": "^3.0.4",
46
+ "@smithy/node-config-provider": "^3.1.5",
47
+ "@smithy/node-http-handler": "^3.2.0",
48
+ "@smithy/protocol-http": "^4.1.1",
49
+ "@smithy/smithy-client": "^3.3.0",
50
+ "@smithy/types": "^3.4.0",
51
+ "@smithy/url-parser": "^3.0.4",
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.15",
56
- "@smithy/util-defaults-mode-node": "^3.0.15",
57
- "@smithy/util-endpoints": "^2.0.5",
58
- "@smithy/util-middleware": "^3.0.3",
59
- "@smithy/util-retry": "^3.0.3",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.16",
56
+ "@smithy/util-defaults-mode-node": "^3.0.16",
57
+ "@smithy/util-endpoints": "^2.1.0",
58
+ "@smithy/util-middleware": "^3.0.4",
59
+ "@smithy/util-retry": "^3.0.4",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },