@aws-sdk/client-bcm-dashboards 3.934.0 → 3.936.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 +74 -73
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +73 -0
- package/dist-es/models/errors.js +73 -0
- package/dist-es/models/models_0.js +1 -146
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +137 -0
- package/dist-types/models/errors.d.ts +74 -0
- package/dist-types/models/models_0.d.ts +1 -211
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +82 -0
- package/dist-types/ts3.4/models/errors.d.ts +44 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -126
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BCMDashboardsServiceException as __BaseException } from "./BCMDashboardsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class InternalServerException extends __BaseException {
|
|
20
|
+
readonly name: "InternalServerException";
|
|
21
|
+
readonly $fault: "server";
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>The request would exceed service quotas. For example, attempting to create more than 20 widgets in a dashboard or exceeding the maximum number of dashboards per account.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
32
|
+
readonly name: "ServiceQuotaExceededException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class ThrottlingException extends __BaseException {
|
|
44
|
+
readonly name: "ThrottlingException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* <p>The input parameters do not satisfy the requirements. Check the error message for specific validation details.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export declare class ValidationException extends __BaseException {
|
|
56
|
+
readonly name: "ValidationException";
|
|
57
|
+
readonly $fault: "client";
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* <p>The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.</p>
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
68
|
+
readonly name: "ResourceNotFoundException";
|
|
69
|
+
readonly $fault: "client";
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
74
|
+
}
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BCMDashboardsServiceException as __BaseException } from "./BCMDashboardsServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You do not have sufficient permissions to perform this action. Verify your IAM permissions and any resource policies.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
1
|
+
import { DashboardType, DateTimeType, Dimension, Granularity, GroupDefinitionType, MatchOption, MetricName, VisualType } from "./enums";
|
|
15
2
|
/**
|
|
16
3
|
* <p>A key-value pair that can be attached to a dashboard for organization and management purposes.</p>
|
|
17
4
|
* @public
|
|
@@ -28,19 +15,6 @@ export interface ResourceTag {
|
|
|
28
15
|
*/
|
|
29
16
|
value: string | undefined;
|
|
30
17
|
}
|
|
31
|
-
/**
|
|
32
|
-
* @public
|
|
33
|
-
* @enum
|
|
34
|
-
*/
|
|
35
|
-
export declare const VisualType: {
|
|
36
|
-
readonly BAR: "BAR";
|
|
37
|
-
readonly LINE: "LINE";
|
|
38
|
-
readonly STACK: "STACK";
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* @public
|
|
42
|
-
*/
|
|
43
|
-
export type VisualType = (typeof VisualType)[keyof typeof VisualType];
|
|
44
18
|
/**
|
|
45
19
|
* <p>Defines the visual representation settings for widget data, including the visualization type, styling options, and display preferences for different metric types.</p>
|
|
46
20
|
* @public
|
|
@@ -103,24 +77,6 @@ export declare namespace DisplayConfig {
|
|
|
103
77
|
_: (name: string, value: any) => T;
|
|
104
78
|
}
|
|
105
79
|
}
|
|
106
|
-
/**
|
|
107
|
-
* @public
|
|
108
|
-
* @enum
|
|
109
|
-
*/
|
|
110
|
-
export declare const MatchOption: {
|
|
111
|
-
readonly ABSENT: "ABSENT";
|
|
112
|
-
readonly CASE_INSENSITIVE: "CASE_INSENSITIVE";
|
|
113
|
-
readonly CASE_SENSITIVE: "CASE_SENSITIVE";
|
|
114
|
-
readonly CONTAINS: "CONTAINS";
|
|
115
|
-
readonly ENDS_WITH: "ENDS_WITH";
|
|
116
|
-
readonly EQUALS: "EQUALS";
|
|
117
|
-
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
118
|
-
readonly STARTS_WITH: "STARTS_WITH";
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
* @public
|
|
122
|
-
*/
|
|
123
|
-
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
124
80
|
/**
|
|
125
81
|
* <p>Specifies the values and match options for cost category-based filtering in cost and usage queries.</p>
|
|
126
82
|
* @public
|
|
@@ -142,42 +98,6 @@ export interface CostCategoryValues {
|
|
|
142
98
|
*/
|
|
143
99
|
matchOptions?: MatchOption[] | undefined;
|
|
144
100
|
}
|
|
145
|
-
/**
|
|
146
|
-
* @public
|
|
147
|
-
* @enum
|
|
148
|
-
*/
|
|
149
|
-
export declare const Dimension: {
|
|
150
|
-
readonly AZ: "AZ";
|
|
151
|
-
readonly BILLING_ENTITY: "BILLING_ENTITY";
|
|
152
|
-
readonly CACHE_ENGINE: "CACHE_ENGINE";
|
|
153
|
-
readonly COST_CATEGORY_NAME: "COST_CATEGORY_NAME";
|
|
154
|
-
readonly DATABASE_ENGINE: "DATABASE_ENGINE";
|
|
155
|
-
readonly DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION";
|
|
156
|
-
readonly INSTANCE_TYPE: "INSTANCE_TYPE";
|
|
157
|
-
readonly INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY";
|
|
158
|
-
readonly LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME";
|
|
159
|
-
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
160
|
-
readonly OPERATING_SYSTEM: "OPERATING_SYSTEM";
|
|
161
|
-
readonly OPERATION: "OPERATION";
|
|
162
|
-
readonly PLATFORM: "PLATFORM";
|
|
163
|
-
readonly PURCHASE_TYPE: "PURCHASE_TYPE";
|
|
164
|
-
readonly RECORD_TYPE: "RECORD_TYPE";
|
|
165
|
-
readonly REGION: "REGION";
|
|
166
|
-
readonly RESERVATION_ID: "RESERVATION_ID";
|
|
167
|
-
readonly RESOURCE_ID: "RESOURCE_ID";
|
|
168
|
-
readonly SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE";
|
|
169
|
-
readonly SCOPE: "SCOPE";
|
|
170
|
-
readonly SERVICE: "SERVICE";
|
|
171
|
-
readonly SUBSCRIPTION_ID: "SUBSCRIPTION_ID";
|
|
172
|
-
readonly TAG_KEY: "TAG_KEY";
|
|
173
|
-
readonly TENANCY: "TENANCY";
|
|
174
|
-
readonly USAGE_TYPE: "USAGE_TYPE";
|
|
175
|
-
readonly USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP";
|
|
176
|
-
};
|
|
177
|
-
/**
|
|
178
|
-
* @public
|
|
179
|
-
*/
|
|
180
|
-
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
181
101
|
/**
|
|
182
102
|
* <p>Specifies the values and match options for dimension-based filtering in cost and usage queries.</p>
|
|
183
103
|
* @public
|
|
@@ -220,32 +140,6 @@ export interface TagValues {
|
|
|
220
140
|
*/
|
|
221
141
|
matchOptions?: MatchOption[] | undefined;
|
|
222
142
|
}
|
|
223
|
-
/**
|
|
224
|
-
* @public
|
|
225
|
-
* @enum
|
|
226
|
-
*/
|
|
227
|
-
export declare const Granularity: {
|
|
228
|
-
readonly DAILY: "DAILY";
|
|
229
|
-
readonly HOURLY: "HOURLY";
|
|
230
|
-
readonly MONTHLY: "MONTHLY";
|
|
231
|
-
};
|
|
232
|
-
/**
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
export type Granularity = (typeof Granularity)[keyof typeof Granularity];
|
|
236
|
-
/**
|
|
237
|
-
* @public
|
|
238
|
-
* @enum
|
|
239
|
-
*/
|
|
240
|
-
export declare const GroupDefinitionType: {
|
|
241
|
-
readonly COST_CATEGORY: "COST_CATEGORY";
|
|
242
|
-
readonly DIMENSION: "DIMENSION";
|
|
243
|
-
readonly TAG: "TAG";
|
|
244
|
-
};
|
|
245
|
-
/**
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
248
|
-
export type GroupDefinitionType = (typeof GroupDefinitionType)[keyof typeof GroupDefinitionType];
|
|
249
143
|
/**
|
|
250
144
|
* <p>Specifies how to group cost and usage data.</p>
|
|
251
145
|
* @public
|
|
@@ -262,39 +156,6 @@ export interface GroupDefinition {
|
|
|
262
156
|
*/
|
|
263
157
|
type?: GroupDefinitionType | undefined;
|
|
264
158
|
}
|
|
265
|
-
/**
|
|
266
|
-
* @public
|
|
267
|
-
* @enum
|
|
268
|
-
*/
|
|
269
|
-
export declare const MetricName: {
|
|
270
|
-
readonly AmortizedCost: "AmortizedCost";
|
|
271
|
-
readonly BlendedCost: "BlendedCost";
|
|
272
|
-
readonly Cost: "Cost";
|
|
273
|
-
readonly Hour: "Hour";
|
|
274
|
-
readonly NetAmortizedCost: "NetAmortizedCost";
|
|
275
|
-
readonly NetUnblendedCost: "NetUnblendedCost";
|
|
276
|
-
readonly NormalizedUsageAmount: "NormalizedUsageAmount";
|
|
277
|
-
readonly SpendCoveredBySavingsPlans: "SpendCoveredBySavingsPlans";
|
|
278
|
-
readonly UnblendedCost: "UnblendedCost";
|
|
279
|
-
readonly Unit: "Unit";
|
|
280
|
-
readonly UsageQuantity: "UsageQuantity";
|
|
281
|
-
};
|
|
282
|
-
/**
|
|
283
|
-
* @public
|
|
284
|
-
*/
|
|
285
|
-
export type MetricName = (typeof MetricName)[keyof typeof MetricName];
|
|
286
|
-
/**
|
|
287
|
-
* @public
|
|
288
|
-
* @enum
|
|
289
|
-
*/
|
|
290
|
-
export declare const DateTimeType: {
|
|
291
|
-
readonly ABSOLUTE: "ABSOLUTE";
|
|
292
|
-
readonly RELATIVE: "RELATIVE";
|
|
293
|
-
};
|
|
294
|
-
/**
|
|
295
|
-
* @public
|
|
296
|
-
*/
|
|
297
|
-
export type DateTimeType = (typeof DateTimeType)[keyof typeof DateTimeType];
|
|
298
159
|
/**
|
|
299
160
|
* <p>Represents a point in time that can be specified as either an absolute date (for example, "2025-07-01") or a relative time period using ISO 8601 duration format (for example, "-P3M" for three months ago).</p>
|
|
300
161
|
* @public
|
|
@@ -337,54 +198,6 @@ export interface CreateDashboardResponse {
|
|
|
337
198
|
*/
|
|
338
199
|
arn: string | undefined;
|
|
339
200
|
}
|
|
340
|
-
/**
|
|
341
|
-
* <p>An internal error occurred while processing the request. Retry your request. If the problem persists, contact Amazon Web Services Support.</p>
|
|
342
|
-
* @public
|
|
343
|
-
*/
|
|
344
|
-
export declare class InternalServerException extends __BaseException {
|
|
345
|
-
readonly name: "InternalServerException";
|
|
346
|
-
readonly $fault: "server";
|
|
347
|
-
/**
|
|
348
|
-
* @internal
|
|
349
|
-
*/
|
|
350
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
351
|
-
}
|
|
352
|
-
/**
|
|
353
|
-
* <p>The request would exceed service quotas. For example, attempting to create more than 20 widgets in a dashboard or exceeding the maximum number of dashboards per account.</p>
|
|
354
|
-
* @public
|
|
355
|
-
*/
|
|
356
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
357
|
-
readonly name: "ServiceQuotaExceededException";
|
|
358
|
-
readonly $fault: "client";
|
|
359
|
-
/**
|
|
360
|
-
* @internal
|
|
361
|
-
*/
|
|
362
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
363
|
-
}
|
|
364
|
-
/**
|
|
365
|
-
* <p>The request was denied due to request throttling. Reduce the frequency of requests and use exponential backoff.</p>
|
|
366
|
-
* @public
|
|
367
|
-
*/
|
|
368
|
-
export declare class ThrottlingException extends __BaseException {
|
|
369
|
-
readonly name: "ThrottlingException";
|
|
370
|
-
readonly $fault: "client";
|
|
371
|
-
/**
|
|
372
|
-
* @internal
|
|
373
|
-
*/
|
|
374
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
375
|
-
}
|
|
376
|
-
/**
|
|
377
|
-
* <p>The input parameters do not satisfy the requirements. Check the error message for specific validation details.</p>
|
|
378
|
-
* @public
|
|
379
|
-
*/
|
|
380
|
-
export declare class ValidationException extends __BaseException {
|
|
381
|
-
readonly name: "ValidationException";
|
|
382
|
-
readonly $fault: "client";
|
|
383
|
-
/**
|
|
384
|
-
* @internal
|
|
385
|
-
*/
|
|
386
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
387
|
-
}
|
|
388
201
|
/**
|
|
389
202
|
* @public
|
|
390
203
|
*/
|
|
@@ -415,29 +228,6 @@ export interface GetDashboardRequest {
|
|
|
415
228
|
*/
|
|
416
229
|
arn: string | undefined;
|
|
417
230
|
}
|
|
418
|
-
/**
|
|
419
|
-
* @public
|
|
420
|
-
* @enum
|
|
421
|
-
*/
|
|
422
|
-
export declare const DashboardType: {
|
|
423
|
-
readonly CUSTOM: "CUSTOM";
|
|
424
|
-
};
|
|
425
|
-
/**
|
|
426
|
-
* @public
|
|
427
|
-
*/
|
|
428
|
-
export type DashboardType = (typeof DashboardType)[keyof typeof DashboardType];
|
|
429
|
-
/**
|
|
430
|
-
* <p>The specified resource (dashboard, policy, or widget) was not found. Verify the ARN and try again.</p>
|
|
431
|
-
* @public
|
|
432
|
-
*/
|
|
433
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
434
|
-
readonly name: "ResourceNotFoundException";
|
|
435
|
-
readonly $fault: "client";
|
|
436
|
-
/**
|
|
437
|
-
* @internal
|
|
438
|
-
*/
|
|
439
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
440
|
-
}
|
|
441
231
|
/**
|
|
442
232
|
* @public
|
|
443
233
|
*/
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { BCMDashboardsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { BCMDashboardsServiceException } from "./models/BCMDashboardsServiceException";
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export declare const VisualType: {
|
|
2
|
+
readonly BAR: "BAR";
|
|
3
|
+
readonly LINE: "LINE";
|
|
4
|
+
readonly STACK: "STACK";
|
|
5
|
+
};
|
|
6
|
+
export type VisualType = (typeof VisualType)[keyof typeof VisualType];
|
|
7
|
+
export declare const MatchOption: {
|
|
8
|
+
readonly ABSENT: "ABSENT";
|
|
9
|
+
readonly CASE_INSENSITIVE: "CASE_INSENSITIVE";
|
|
10
|
+
readonly CASE_SENSITIVE: "CASE_SENSITIVE";
|
|
11
|
+
readonly CONTAINS: "CONTAINS";
|
|
12
|
+
readonly ENDS_WITH: "ENDS_WITH";
|
|
13
|
+
readonly EQUALS: "EQUALS";
|
|
14
|
+
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
15
|
+
readonly STARTS_WITH: "STARTS_WITH";
|
|
16
|
+
};
|
|
17
|
+
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
18
|
+
export declare const Dimension: {
|
|
19
|
+
readonly AZ: "AZ";
|
|
20
|
+
readonly BILLING_ENTITY: "BILLING_ENTITY";
|
|
21
|
+
readonly CACHE_ENGINE: "CACHE_ENGINE";
|
|
22
|
+
readonly COST_CATEGORY_NAME: "COST_CATEGORY_NAME";
|
|
23
|
+
readonly DATABASE_ENGINE: "DATABASE_ENGINE";
|
|
24
|
+
readonly DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION";
|
|
25
|
+
readonly INSTANCE_TYPE: "INSTANCE_TYPE";
|
|
26
|
+
readonly INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY";
|
|
27
|
+
readonly LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME";
|
|
28
|
+
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
29
|
+
readonly OPERATING_SYSTEM: "OPERATING_SYSTEM";
|
|
30
|
+
readonly OPERATION: "OPERATION";
|
|
31
|
+
readonly PLATFORM: "PLATFORM";
|
|
32
|
+
readonly PURCHASE_TYPE: "PURCHASE_TYPE";
|
|
33
|
+
readonly RECORD_TYPE: "RECORD_TYPE";
|
|
34
|
+
readonly REGION: "REGION";
|
|
35
|
+
readonly RESERVATION_ID: "RESERVATION_ID";
|
|
36
|
+
readonly RESOURCE_ID: "RESOURCE_ID";
|
|
37
|
+
readonly SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE";
|
|
38
|
+
readonly SCOPE: "SCOPE";
|
|
39
|
+
readonly SERVICE: "SERVICE";
|
|
40
|
+
readonly SUBSCRIPTION_ID: "SUBSCRIPTION_ID";
|
|
41
|
+
readonly TAG_KEY: "TAG_KEY";
|
|
42
|
+
readonly TENANCY: "TENANCY";
|
|
43
|
+
readonly USAGE_TYPE: "USAGE_TYPE";
|
|
44
|
+
readonly USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP";
|
|
45
|
+
};
|
|
46
|
+
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
47
|
+
export declare const Granularity: {
|
|
48
|
+
readonly DAILY: "DAILY";
|
|
49
|
+
readonly HOURLY: "HOURLY";
|
|
50
|
+
readonly MONTHLY: "MONTHLY";
|
|
51
|
+
};
|
|
52
|
+
export type Granularity = (typeof Granularity)[keyof typeof Granularity];
|
|
53
|
+
export declare const GroupDefinitionType: {
|
|
54
|
+
readonly COST_CATEGORY: "COST_CATEGORY";
|
|
55
|
+
readonly DIMENSION: "DIMENSION";
|
|
56
|
+
readonly TAG: "TAG";
|
|
57
|
+
};
|
|
58
|
+
export type GroupDefinitionType =
|
|
59
|
+
(typeof GroupDefinitionType)[keyof typeof GroupDefinitionType];
|
|
60
|
+
export declare const MetricName: {
|
|
61
|
+
readonly AmortizedCost: "AmortizedCost";
|
|
62
|
+
readonly BlendedCost: "BlendedCost";
|
|
63
|
+
readonly Cost: "Cost";
|
|
64
|
+
readonly Hour: "Hour";
|
|
65
|
+
readonly NetAmortizedCost: "NetAmortizedCost";
|
|
66
|
+
readonly NetUnblendedCost: "NetUnblendedCost";
|
|
67
|
+
readonly NormalizedUsageAmount: "NormalizedUsageAmount";
|
|
68
|
+
readonly SpendCoveredBySavingsPlans: "SpendCoveredBySavingsPlans";
|
|
69
|
+
readonly UnblendedCost: "UnblendedCost";
|
|
70
|
+
readonly Unit: "Unit";
|
|
71
|
+
readonly UsageQuantity: "UsageQuantity";
|
|
72
|
+
};
|
|
73
|
+
export type MetricName = (typeof MetricName)[keyof typeof MetricName];
|
|
74
|
+
export declare const DateTimeType: {
|
|
75
|
+
readonly ABSOLUTE: "ABSOLUTE";
|
|
76
|
+
readonly RELATIVE: "RELATIVE";
|
|
77
|
+
};
|
|
78
|
+
export type DateTimeType = (typeof DateTimeType)[keyof typeof DateTimeType];
|
|
79
|
+
export declare const DashboardType: {
|
|
80
|
+
readonly CUSTOM: "CUSTOM";
|
|
81
|
+
};
|
|
82
|
+
export type DashboardType = (typeof DashboardType)[keyof typeof DashboardType];
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BCMDashboardsServiceException as __BaseException } from "./BCMDashboardsServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class InternalServerException extends __BaseException {
|
|
11
|
+
readonly name: "InternalServerException";
|
|
12
|
+
readonly $fault: "server";
|
|
13
|
+
constructor(
|
|
14
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
18
|
+
readonly name: "ServiceQuotaExceededException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class ThrottlingException extends __BaseException {
|
|
25
|
+
readonly name: "ThrottlingException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export declare class ValidationException extends __BaseException {
|
|
32
|
+
readonly name: "ValidationException";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
39
|
+
readonly name: "ResourceNotFoundException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
constructor(
|
|
42
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import {
|
|
2
|
+
DashboardType,
|
|
3
|
+
DateTimeType,
|
|
4
|
+
Dimension,
|
|
5
|
+
Granularity,
|
|
6
|
+
GroupDefinitionType,
|
|
7
|
+
MatchOption,
|
|
8
|
+
MetricName,
|
|
9
|
+
VisualType,
|
|
10
|
+
} from "./enums";
|
|
10
11
|
export interface ResourceTag {
|
|
11
12
|
key: string | undefined;
|
|
12
13
|
value: string | undefined;
|
|
13
14
|
}
|
|
14
|
-
export declare const VisualType: {
|
|
15
|
-
readonly BAR: "BAR";
|
|
16
|
-
readonly LINE: "LINE";
|
|
17
|
-
readonly STACK: "STACK";
|
|
18
|
-
};
|
|
19
|
-
export type VisualType = (typeof VisualType)[keyof typeof VisualType];
|
|
20
15
|
export interface GraphDisplayConfig {
|
|
21
16
|
visualType: VisualType | undefined;
|
|
22
17
|
}
|
|
@@ -47,51 +42,11 @@ export declare namespace DisplayConfig {
|
|
|
47
42
|
_: (name: string, value: any) => T;
|
|
48
43
|
}
|
|
49
44
|
}
|
|
50
|
-
export declare const MatchOption: {
|
|
51
|
-
readonly ABSENT: "ABSENT";
|
|
52
|
-
readonly CASE_INSENSITIVE: "CASE_INSENSITIVE";
|
|
53
|
-
readonly CASE_SENSITIVE: "CASE_SENSITIVE";
|
|
54
|
-
readonly CONTAINS: "CONTAINS";
|
|
55
|
-
readonly ENDS_WITH: "ENDS_WITH";
|
|
56
|
-
readonly EQUALS: "EQUALS";
|
|
57
|
-
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
58
|
-
readonly STARTS_WITH: "STARTS_WITH";
|
|
59
|
-
};
|
|
60
|
-
export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
|
|
61
45
|
export interface CostCategoryValues {
|
|
62
46
|
key?: string | undefined;
|
|
63
47
|
values?: string[] | undefined;
|
|
64
48
|
matchOptions?: MatchOption[] | undefined;
|
|
65
49
|
}
|
|
66
|
-
export declare const Dimension: {
|
|
67
|
-
readonly AZ: "AZ";
|
|
68
|
-
readonly BILLING_ENTITY: "BILLING_ENTITY";
|
|
69
|
-
readonly CACHE_ENGINE: "CACHE_ENGINE";
|
|
70
|
-
readonly COST_CATEGORY_NAME: "COST_CATEGORY_NAME";
|
|
71
|
-
readonly DATABASE_ENGINE: "DATABASE_ENGINE";
|
|
72
|
-
readonly DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION";
|
|
73
|
-
readonly INSTANCE_TYPE: "INSTANCE_TYPE";
|
|
74
|
-
readonly INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY";
|
|
75
|
-
readonly LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME";
|
|
76
|
-
readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
|
|
77
|
-
readonly OPERATING_SYSTEM: "OPERATING_SYSTEM";
|
|
78
|
-
readonly OPERATION: "OPERATION";
|
|
79
|
-
readonly PLATFORM: "PLATFORM";
|
|
80
|
-
readonly PURCHASE_TYPE: "PURCHASE_TYPE";
|
|
81
|
-
readonly RECORD_TYPE: "RECORD_TYPE";
|
|
82
|
-
readonly REGION: "REGION";
|
|
83
|
-
readonly RESERVATION_ID: "RESERVATION_ID";
|
|
84
|
-
readonly RESOURCE_ID: "RESOURCE_ID";
|
|
85
|
-
readonly SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE";
|
|
86
|
-
readonly SCOPE: "SCOPE";
|
|
87
|
-
readonly SERVICE: "SERVICE";
|
|
88
|
-
readonly SUBSCRIPTION_ID: "SUBSCRIPTION_ID";
|
|
89
|
-
readonly TAG_KEY: "TAG_KEY";
|
|
90
|
-
readonly TENANCY: "TENANCY";
|
|
91
|
-
readonly USAGE_TYPE: "USAGE_TYPE";
|
|
92
|
-
readonly USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP";
|
|
93
|
-
};
|
|
94
|
-
export type Dimension = (typeof Dimension)[keyof typeof Dimension];
|
|
95
50
|
export interface DimensionValues {
|
|
96
51
|
key: Dimension | undefined;
|
|
97
52
|
values: string[] | undefined;
|
|
@@ -102,42 +57,10 @@ export interface TagValues {
|
|
|
102
57
|
values?: string[] | undefined;
|
|
103
58
|
matchOptions?: MatchOption[] | undefined;
|
|
104
59
|
}
|
|
105
|
-
export declare const Granularity: {
|
|
106
|
-
readonly DAILY: "DAILY";
|
|
107
|
-
readonly HOURLY: "HOURLY";
|
|
108
|
-
readonly MONTHLY: "MONTHLY";
|
|
109
|
-
};
|
|
110
|
-
export type Granularity = (typeof Granularity)[keyof typeof Granularity];
|
|
111
|
-
export declare const GroupDefinitionType: {
|
|
112
|
-
readonly COST_CATEGORY: "COST_CATEGORY";
|
|
113
|
-
readonly DIMENSION: "DIMENSION";
|
|
114
|
-
readonly TAG: "TAG";
|
|
115
|
-
};
|
|
116
|
-
export type GroupDefinitionType =
|
|
117
|
-
(typeof GroupDefinitionType)[keyof typeof GroupDefinitionType];
|
|
118
60
|
export interface GroupDefinition {
|
|
119
61
|
key: string | undefined;
|
|
120
62
|
type?: GroupDefinitionType | undefined;
|
|
121
63
|
}
|
|
122
|
-
export declare const MetricName: {
|
|
123
|
-
readonly AmortizedCost: "AmortizedCost";
|
|
124
|
-
readonly BlendedCost: "BlendedCost";
|
|
125
|
-
readonly Cost: "Cost";
|
|
126
|
-
readonly Hour: "Hour";
|
|
127
|
-
readonly NetAmortizedCost: "NetAmortizedCost";
|
|
128
|
-
readonly NetUnblendedCost: "NetUnblendedCost";
|
|
129
|
-
readonly NormalizedUsageAmount: "NormalizedUsageAmount";
|
|
130
|
-
readonly SpendCoveredBySavingsPlans: "SpendCoveredBySavingsPlans";
|
|
131
|
-
readonly UnblendedCost: "UnblendedCost";
|
|
132
|
-
readonly Unit: "Unit";
|
|
133
|
-
readonly UsageQuantity: "UsageQuantity";
|
|
134
|
-
};
|
|
135
|
-
export type MetricName = (typeof MetricName)[keyof typeof MetricName];
|
|
136
|
-
export declare const DateTimeType: {
|
|
137
|
-
readonly ABSOLUTE: "ABSOLUTE";
|
|
138
|
-
readonly RELATIVE: "RELATIVE";
|
|
139
|
-
};
|
|
140
|
-
export type DateTimeType = (typeof DateTimeType)[keyof typeof DateTimeType];
|
|
141
64
|
export interface DateTimeValue {
|
|
142
65
|
type: DateTimeType | undefined;
|
|
143
66
|
value: string | undefined;
|
|
@@ -149,34 +72,6 @@ export interface DateTimeRange {
|
|
|
149
72
|
export interface CreateDashboardResponse {
|
|
150
73
|
arn: string | undefined;
|
|
151
74
|
}
|
|
152
|
-
export declare class InternalServerException extends __BaseException {
|
|
153
|
-
readonly name: "InternalServerException";
|
|
154
|
-
readonly $fault: "server";
|
|
155
|
-
constructor(
|
|
156
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
160
|
-
readonly name: "ServiceQuotaExceededException";
|
|
161
|
-
readonly $fault: "client";
|
|
162
|
-
constructor(
|
|
163
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
164
|
-
);
|
|
165
|
-
}
|
|
166
|
-
export declare class ThrottlingException extends __BaseException {
|
|
167
|
-
readonly name: "ThrottlingException";
|
|
168
|
-
readonly $fault: "client";
|
|
169
|
-
constructor(
|
|
170
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
|
-
export declare class ValidationException extends __BaseException {
|
|
174
|
-
readonly name: "ValidationException";
|
|
175
|
-
readonly $fault: "client";
|
|
176
|
-
constructor(
|
|
177
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
178
|
-
);
|
|
179
|
-
}
|
|
180
75
|
export interface DeleteDashboardRequest {
|
|
181
76
|
arn: string | undefined;
|
|
182
77
|
}
|
|
@@ -186,17 +81,6 @@ export interface DeleteDashboardResponse {
|
|
|
186
81
|
export interface GetDashboardRequest {
|
|
187
82
|
arn: string | undefined;
|
|
188
83
|
}
|
|
189
|
-
export declare const DashboardType: {
|
|
190
|
-
readonly CUSTOM: "CUSTOM";
|
|
191
|
-
};
|
|
192
|
-
export type DashboardType = (typeof DashboardType)[keyof typeof DashboardType];
|
|
193
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
194
|
-
readonly name: "ResourceNotFoundException";
|
|
195
|
-
readonly $fault: "client";
|
|
196
|
-
constructor(
|
|
197
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
198
|
-
);
|
|
199
|
-
}
|
|
200
84
|
export interface GetResourcePolicyRequest {
|
|
201
85
|
resourceArn: string | undefined;
|
|
202
86
|
}
|