@aws-sdk/client-bcm-dashboards 3.870.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 (127) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +277 -0
  3. package/dist-cjs/BCMDashboards.js +29 -0
  4. package/dist-cjs/BCMDashboardsClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateDashboardCommand.js +26 -0
  8. package/dist-cjs/commands/DeleteDashboardCommand.js +26 -0
  9. package/dist-cjs/commands/GetDashboardCommand.js +26 -0
  10. package/dist-cjs/commands/GetResourcePolicyCommand.js +26 -0
  11. package/dist-cjs/commands/ListDashboardsCommand.js +26 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  13. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  14. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  15. package/dist-cjs/commands/UpdateDashboardCommand.js +26 -0
  16. package/dist-cjs/commands/index.js +12 -0
  17. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  18. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  19. package/dist-cjs/endpoint/ruleset.js +7 -0
  20. package/dist-cjs/extensionConfiguration.js +2 -0
  21. package/dist-cjs/index.js +11 -0
  22. package/dist-cjs/models/BCMDashboardsServiceException.js +12 -0
  23. package/dist-cjs/models/index.js +4 -0
  24. package/dist-cjs/models/models_0.js +181 -0
  25. package/dist-cjs/pagination/Interfaces.js +2 -0
  26. package/dist-cjs/pagination/ListDashboardsPaginator.js +7 -0
  27. package/dist-cjs/pagination/index.js +5 -0
  28. package/dist-cjs/protocols/Aws_json1_0.js +587 -0
  29. package/dist-cjs/runtimeConfig.browser.js +39 -0
  30. package/dist-cjs/runtimeConfig.js +56 -0
  31. package/dist-cjs/runtimeConfig.native.js +15 -0
  32. package/dist-cjs/runtimeConfig.shared.js +34 -0
  33. package/dist-cjs/runtimeExtensions.js +13 -0
  34. package/dist-es/BCMDashboards.js +25 -0
  35. package/dist-es/BCMDashboardsClient.js +48 -0
  36. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  37. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  38. package/dist-es/commands/CreateDashboardCommand.js +22 -0
  39. package/dist-es/commands/DeleteDashboardCommand.js +22 -0
  40. package/dist-es/commands/GetDashboardCommand.js +22 -0
  41. package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
  42. package/dist-es/commands/ListDashboardsCommand.js +22 -0
  43. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  44. package/dist-es/commands/TagResourceCommand.js +22 -0
  45. package/dist-es/commands/UntagResourceCommand.js +22 -0
  46. package/dist-es/commands/UpdateDashboardCommand.js +22 -0
  47. package/dist-es/commands/index.js +9 -0
  48. package/dist-es/endpoint/EndpointParameters.js +11 -0
  49. package/dist-es/endpoint/endpointResolver.js +14 -0
  50. package/dist-es/endpoint/ruleset.js +4 -0
  51. package/dist-es/extensionConfiguration.js +1 -0
  52. package/dist-es/index.js +6 -0
  53. package/dist-es/models/BCMDashboardsServiceException.js +8 -0
  54. package/dist-es/models/index.js +1 -0
  55. package/dist-es/models/models_0.js +172 -0
  56. package/dist-es/pagination/Interfaces.js +1 -0
  57. package/dist-es/pagination/ListDashboardsPaginator.js +4 -0
  58. package/dist-es/pagination/index.js +2 -0
  59. package/dist-es/protocols/Aws_json1_0.js +566 -0
  60. package/dist-es/runtimeConfig.browser.js +34 -0
  61. package/dist-es/runtimeConfig.js +51 -0
  62. package/dist-es/runtimeConfig.native.js +11 -0
  63. package/dist-es/runtimeConfig.shared.js +30 -0
  64. package/dist-es/runtimeExtensions.js +9 -0
  65. package/dist-types/BCMDashboards.d.ts +74 -0
  66. package/dist-types/BCMDashboardsClient.d.ts +196 -0
  67. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  68. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  69. package/dist-types/commands/CreateDashboardCommand.d.ts +328 -0
  70. package/dist-types/commands/DeleteDashboardCommand.d.ts +99 -0
  71. package/dist-types/commands/GetDashboardCommand.d.ts +332 -0
  72. package/dist-types/commands/GetResourcePolicyCommand.d.ts +104 -0
  73. package/dist-types/commands/ListDashboardsCommand.d.ts +117 -0
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +113 -0
  75. package/dist-types/commands/TagResourceCommand.d.ts +107 -0
  76. package/dist-types/commands/UntagResourceCommand.d.ts +101 -0
  77. package/dist-types/commands/UpdateDashboardCommand.d.ts +324 -0
  78. package/dist-types/commands/index.d.ts +9 -0
  79. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  80. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  81. package/dist-types/endpoint/ruleset.d.ts +2 -0
  82. package/dist-types/extensionConfiguration.d.ts +9 -0
  83. package/dist-types/index.d.ts +14 -0
  84. package/dist-types/models/BCMDashboardsServiceException.d.ts +14 -0
  85. package/dist-types/models/index.d.ts +1 -0
  86. package/dist-types/models/models_0.d.ts +1006 -0
  87. package/dist-types/pagination/Interfaces.d.ts +8 -0
  88. package/dist-types/pagination/ListDashboardsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/index.d.ts +2 -0
  90. package/dist-types/protocols/Aws_json1_0.d.ts +83 -0
  91. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  92. package/dist-types/runtimeConfig.d.ts +50 -0
  93. package/dist-types/runtimeConfig.native.d.ts +49 -0
  94. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  95. package/dist-types/runtimeExtensions.d.ts +17 -0
  96. package/dist-types/ts3.4/BCMDashboards.d.ts +161 -0
  97. package/dist-types/ts3.4/BCMDashboardsClient.d.ts +174 -0
  98. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  99. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  100. package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +50 -0
  101. package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +50 -0
  102. package/dist-types/ts3.4/commands/GetDashboardCommand.d.ts +47 -0
  103. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +50 -0
  105. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  107. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  108. package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +50 -0
  109. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  110. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  111. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  112. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  113. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  114. package/dist-types/ts3.4/index.d.ts +9 -0
  115. package/dist-types/ts3.4/models/BCMDashboardsServiceException.d.ts +9 -0
  116. package/dist-types/ts3.4/models/index.d.ts +1 -0
  117. package/dist-types/ts3.4/models/models_0.d.ts +381 -0
  118. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  119. package/dist-types/ts3.4/pagination/ListDashboardsPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  121. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +113 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +95 -0
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  126. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  127. package/package.json +99 -0
@@ -0,0 +1,381 @@
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 interface ResourceTag {
11
+ key: string | undefined;
12
+ value: string | undefined;
13
+ }
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
+ export interface GraphDisplayConfig {
21
+ visualType: VisualType | undefined;
22
+ }
23
+ export interface TableDisplayConfigStruct {}
24
+ export type DisplayConfig =
25
+ | DisplayConfig.GraphMember
26
+ | DisplayConfig.TableMember
27
+ | DisplayConfig.$UnknownMember;
28
+ export declare namespace DisplayConfig {
29
+ interface GraphMember {
30
+ graph: Record<string, GraphDisplayConfig>;
31
+ table?: never;
32
+ $unknown?: never;
33
+ }
34
+ interface TableMember {
35
+ graph?: never;
36
+ table: TableDisplayConfigStruct;
37
+ $unknown?: never;
38
+ }
39
+ interface $UnknownMember {
40
+ graph?: never;
41
+ table?: never;
42
+ $unknown: [string, any];
43
+ }
44
+ interface Visitor<T> {
45
+ graph: (value: Record<string, GraphDisplayConfig>) => T;
46
+ table: (value: TableDisplayConfigStruct) => T;
47
+ _: (name: string, value: any) => T;
48
+ }
49
+ const visit: <T>(value: DisplayConfig, visitor: Visitor<T>) => T;
50
+ }
51
+ export declare const MatchOption: {
52
+ readonly ABSENT: "ABSENT";
53
+ readonly CASE_INSENSITIVE: "CASE_INSENSITIVE";
54
+ readonly CASE_SENSITIVE: "CASE_SENSITIVE";
55
+ readonly CONTAINS: "CONTAINS";
56
+ readonly ENDS_WITH: "ENDS_WITH";
57
+ readonly EQUALS: "EQUALS";
58
+ readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
59
+ readonly STARTS_WITH: "STARTS_WITH";
60
+ };
61
+ export type MatchOption = (typeof MatchOption)[keyof typeof MatchOption];
62
+ export interface CostCategoryValues {
63
+ key?: string | undefined;
64
+ values?: string[] | undefined;
65
+ matchOptions?: MatchOption[] | undefined;
66
+ }
67
+ export declare const Dimension: {
68
+ readonly AZ: "AZ";
69
+ readonly BILLING_ENTITY: "BILLING_ENTITY";
70
+ readonly CACHE_ENGINE: "CACHE_ENGINE";
71
+ readonly COST_CATEGORY_NAME: "COST_CATEGORY_NAME";
72
+ readonly DATABASE_ENGINE: "DATABASE_ENGINE";
73
+ readonly DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION";
74
+ readonly INSTANCE_TYPE: "INSTANCE_TYPE";
75
+ readonly INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY";
76
+ readonly LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME";
77
+ readonly LINKED_ACCOUNT: "LINKED_ACCOUNT";
78
+ readonly OPERATING_SYSTEM: "OPERATING_SYSTEM";
79
+ readonly OPERATION: "OPERATION";
80
+ readonly PLATFORM: "PLATFORM";
81
+ readonly PURCHASE_TYPE: "PURCHASE_TYPE";
82
+ readonly RECORD_TYPE: "RECORD_TYPE";
83
+ readonly REGION: "REGION";
84
+ readonly RESERVATION_ID: "RESERVATION_ID";
85
+ readonly RESOURCE_ID: "RESOURCE_ID";
86
+ readonly SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE";
87
+ readonly SCOPE: "SCOPE";
88
+ readonly SERVICE: "SERVICE";
89
+ readonly SUBSCRIPTION_ID: "SUBSCRIPTION_ID";
90
+ readonly TAG_KEY: "TAG_KEY";
91
+ readonly TENANCY: "TENANCY";
92
+ readonly USAGE_TYPE: "USAGE_TYPE";
93
+ readonly USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP";
94
+ };
95
+ export type Dimension = (typeof Dimension)[keyof typeof Dimension];
96
+ export interface DimensionValues {
97
+ key: Dimension | undefined;
98
+ values: string[] | undefined;
99
+ matchOptions?: MatchOption[] | undefined;
100
+ }
101
+ export interface TagValues {
102
+ key?: string | undefined;
103
+ values?: string[] | undefined;
104
+ matchOptions?: MatchOption[] | undefined;
105
+ }
106
+ export declare const Granularity: {
107
+ readonly DAILY: "DAILY";
108
+ readonly HOURLY: "HOURLY";
109
+ readonly MONTHLY: "MONTHLY";
110
+ };
111
+ export type Granularity = (typeof Granularity)[keyof typeof Granularity];
112
+ export declare const GroupDefinitionType: {
113
+ readonly COST_CATEGORY: "COST_CATEGORY";
114
+ readonly DIMENSION: "DIMENSION";
115
+ readonly TAG: "TAG";
116
+ };
117
+ export type GroupDefinitionType =
118
+ (typeof GroupDefinitionType)[keyof typeof GroupDefinitionType];
119
+ export interface GroupDefinition {
120
+ key: string | undefined;
121
+ type?: GroupDefinitionType | undefined;
122
+ }
123
+ export declare const MetricName: {
124
+ readonly AmortizedCost: "AmortizedCost";
125
+ readonly BlendedCost: "BlendedCost";
126
+ readonly Cost: "Cost";
127
+ readonly Hour: "Hour";
128
+ readonly NetAmortizedCost: "NetAmortizedCost";
129
+ readonly NetUnblendedCost: "NetUnblendedCost";
130
+ readonly NormalizedUsageAmount: "NormalizedUsageAmount";
131
+ readonly SpendCoveredBySavingsPlans: "SpendCoveredBySavingsPlans";
132
+ readonly UnblendedCost: "UnblendedCost";
133
+ readonly Unit: "Unit";
134
+ readonly UsageQuantity: "UsageQuantity";
135
+ };
136
+ export type MetricName = (typeof MetricName)[keyof typeof MetricName];
137
+ export declare const DateTimeType: {
138
+ readonly ABSOLUTE: "ABSOLUTE";
139
+ readonly RELATIVE: "RELATIVE";
140
+ };
141
+ export type DateTimeType = (typeof DateTimeType)[keyof typeof DateTimeType];
142
+ export interface DateTimeValue {
143
+ type: DateTimeType | undefined;
144
+ value: string | undefined;
145
+ }
146
+ export interface DateTimeRange {
147
+ startTime: DateTimeValue | undefined;
148
+ endTime: DateTimeValue | undefined;
149
+ }
150
+ export interface CreateDashboardResponse {
151
+ arn: string | undefined;
152
+ }
153
+ export declare class InternalServerException extends __BaseException {
154
+ readonly name: "InternalServerException";
155
+ readonly $fault: "server";
156
+ constructor(
157
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
158
+ );
159
+ }
160
+ export declare class ServiceQuotaExceededException extends __BaseException {
161
+ readonly name: "ServiceQuotaExceededException";
162
+ readonly $fault: "client";
163
+ constructor(
164
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
165
+ );
166
+ }
167
+ export declare class ThrottlingException extends __BaseException {
168
+ readonly name: "ThrottlingException";
169
+ readonly $fault: "client";
170
+ constructor(
171
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
172
+ );
173
+ }
174
+ export declare class ValidationException extends __BaseException {
175
+ readonly name: "ValidationException";
176
+ readonly $fault: "client";
177
+ constructor(
178
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
179
+ );
180
+ }
181
+ export interface DeleteDashboardRequest {
182
+ arn: string | undefined;
183
+ }
184
+ export interface DeleteDashboardResponse {
185
+ arn: string | undefined;
186
+ }
187
+ export interface GetDashboardRequest {
188
+ arn: string | undefined;
189
+ }
190
+ export declare const DashboardType: {
191
+ readonly CUSTOM: "CUSTOM";
192
+ };
193
+ export type DashboardType = (typeof DashboardType)[keyof typeof DashboardType];
194
+ export declare class ResourceNotFoundException extends __BaseException {
195
+ readonly name: "ResourceNotFoundException";
196
+ readonly $fault: "client";
197
+ constructor(
198
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
199
+ );
200
+ }
201
+ export interface GetResourcePolicyRequest {
202
+ resourceArn: string | undefined;
203
+ }
204
+ export interface GetResourcePolicyResponse {
205
+ resourceArn: string | undefined;
206
+ policyDocument: string | undefined;
207
+ }
208
+ export interface ListDashboardsRequest {
209
+ maxResults?: number | undefined;
210
+ nextToken?: string | undefined;
211
+ }
212
+ export interface DashboardReference {
213
+ arn: string | undefined;
214
+ name: string | undefined;
215
+ description?: string | undefined;
216
+ type: DashboardType | undefined;
217
+ createdAt: Date | undefined;
218
+ updatedAt: Date | undefined;
219
+ }
220
+ export interface ListDashboardsResponse {
221
+ dashboards: DashboardReference[] | undefined;
222
+ nextToken?: string | undefined;
223
+ }
224
+ export interface ListTagsForResourceRequest {
225
+ resourceArn: string | undefined;
226
+ }
227
+ export interface ListTagsForResourceResponse {
228
+ resourceTags?: ResourceTag[] | undefined;
229
+ }
230
+ export interface TagResourceRequest {
231
+ resourceArn: string | undefined;
232
+ resourceTags: ResourceTag[] | undefined;
233
+ }
234
+ export interface TagResourceResponse {}
235
+ export interface UntagResourceRequest {
236
+ resourceArn: string | undefined;
237
+ resourceTagKeys: string[] | undefined;
238
+ }
239
+ export interface UntagResourceResponse {}
240
+ export interface UpdateDashboardResponse {
241
+ arn: string | undefined;
242
+ }
243
+ export interface Expression {
244
+ or?: Expression[] | undefined;
245
+ and?: Expression[] | undefined;
246
+ not?: Expression | undefined;
247
+ dimensions?: DimensionValues | undefined;
248
+ tags?: TagValues | undefined;
249
+ costCategories?: CostCategoryValues | undefined;
250
+ }
251
+ export interface CostAndUsageQuery {
252
+ metrics: MetricName[] | undefined;
253
+ timeRange: DateTimeRange | undefined;
254
+ granularity: Granularity | undefined;
255
+ groupBy?: GroupDefinition[] | undefined;
256
+ filter?: Expression | undefined;
257
+ }
258
+ export interface ReservationCoverageQuery {
259
+ timeRange: DateTimeRange | undefined;
260
+ groupBy?: GroupDefinition[] | undefined;
261
+ granularity?: Granularity | undefined;
262
+ filter?: Expression | undefined;
263
+ metrics?: MetricName[] | undefined;
264
+ }
265
+ export interface ReservationUtilizationQuery {
266
+ timeRange: DateTimeRange | undefined;
267
+ groupBy?: GroupDefinition[] | undefined;
268
+ granularity?: Granularity | undefined;
269
+ filter?: Expression | undefined;
270
+ }
271
+ export interface SavingsPlansCoverageQuery {
272
+ timeRange: DateTimeRange | undefined;
273
+ metrics?: MetricName[] | undefined;
274
+ granularity?: Granularity | undefined;
275
+ groupBy?: GroupDefinition[] | undefined;
276
+ filter?: Expression | undefined;
277
+ }
278
+ export interface SavingsPlansUtilizationQuery {
279
+ timeRange: DateTimeRange | undefined;
280
+ granularity?: Granularity | undefined;
281
+ filter?: Expression | undefined;
282
+ }
283
+ export type QueryParameters =
284
+ | QueryParameters.CostAndUsageMember
285
+ | QueryParameters.ReservationCoverageMember
286
+ | QueryParameters.ReservationUtilizationMember
287
+ | QueryParameters.SavingsPlansCoverageMember
288
+ | QueryParameters.SavingsPlansUtilizationMember
289
+ | QueryParameters.$UnknownMember;
290
+ export declare namespace QueryParameters {
291
+ interface CostAndUsageMember {
292
+ costAndUsage: CostAndUsageQuery;
293
+ savingsPlansCoverage?: never;
294
+ savingsPlansUtilization?: never;
295
+ reservationCoverage?: never;
296
+ reservationUtilization?: never;
297
+ $unknown?: never;
298
+ }
299
+ interface SavingsPlansCoverageMember {
300
+ costAndUsage?: never;
301
+ savingsPlansCoverage: SavingsPlansCoverageQuery;
302
+ savingsPlansUtilization?: never;
303
+ reservationCoverage?: never;
304
+ reservationUtilization?: never;
305
+ $unknown?: never;
306
+ }
307
+ interface SavingsPlansUtilizationMember {
308
+ costAndUsage?: never;
309
+ savingsPlansCoverage?: never;
310
+ savingsPlansUtilization: SavingsPlansUtilizationQuery;
311
+ reservationCoverage?: never;
312
+ reservationUtilization?: never;
313
+ $unknown?: never;
314
+ }
315
+ interface ReservationCoverageMember {
316
+ costAndUsage?: never;
317
+ savingsPlansCoverage?: never;
318
+ savingsPlansUtilization?: never;
319
+ reservationCoverage: ReservationCoverageQuery;
320
+ reservationUtilization?: never;
321
+ $unknown?: never;
322
+ }
323
+ interface ReservationUtilizationMember {
324
+ costAndUsage?: never;
325
+ savingsPlansCoverage?: never;
326
+ savingsPlansUtilization?: never;
327
+ reservationCoverage?: never;
328
+ reservationUtilization: ReservationUtilizationQuery;
329
+ $unknown?: never;
330
+ }
331
+ interface $UnknownMember {
332
+ costAndUsage?: never;
333
+ savingsPlansCoverage?: never;
334
+ savingsPlansUtilization?: never;
335
+ reservationCoverage?: never;
336
+ reservationUtilization?: never;
337
+ $unknown: [string, any];
338
+ }
339
+ interface Visitor<T> {
340
+ costAndUsage: (value: CostAndUsageQuery) => T;
341
+ savingsPlansCoverage: (value: SavingsPlansCoverageQuery) => T;
342
+ savingsPlansUtilization: (value: SavingsPlansUtilizationQuery) => T;
343
+ reservationCoverage: (value: ReservationCoverageQuery) => T;
344
+ reservationUtilization: (value: ReservationUtilizationQuery) => T;
345
+ _: (name: string, value: any) => T;
346
+ }
347
+ const visit: <T>(value: QueryParameters, visitor: Visitor<T>) => T;
348
+ }
349
+ export interface WidgetConfig {
350
+ queryParameters: QueryParameters | undefined;
351
+ displayConfig: DisplayConfig | undefined;
352
+ }
353
+ export interface Widget {
354
+ title: string | undefined;
355
+ description?: string | undefined;
356
+ width?: number | undefined;
357
+ height?: number | undefined;
358
+ horizontalOffset?: number | undefined;
359
+ configs: WidgetConfig[] | undefined;
360
+ }
361
+ export interface CreateDashboardRequest {
362
+ name: string | undefined;
363
+ description?: string | undefined;
364
+ widgets: Widget[] | undefined;
365
+ resourceTags?: ResourceTag[] | undefined;
366
+ }
367
+ export interface GetDashboardResponse {
368
+ arn: string | undefined;
369
+ name: string | undefined;
370
+ description?: string | undefined;
371
+ type: DashboardType | undefined;
372
+ widgets: Widget[] | undefined;
373
+ createdAt: Date | undefined;
374
+ updatedAt: Date | undefined;
375
+ }
376
+ export interface UpdateDashboardRequest {
377
+ arn: string | undefined;
378
+ name?: string | undefined;
379
+ description?: string | undefined;
380
+ widgets?: Widget[] | undefined;
381
+ }
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { BCMDashboardsClient } from "../BCMDashboardsClient";
3
+ export interface BCMDashboardsPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: BCMDashboardsClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListDashboardsCommandInput,
4
+ ListDashboardsCommandOutput,
5
+ } from "../commands/ListDashboardsCommand";
6
+ import { BCMDashboardsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListDashboards: (
8
+ config: BCMDashboardsPaginationConfiguration,
9
+ input: ListDashboardsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListDashboardsCommandOutput>;
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListDashboardsPaginator";
@@ -0,0 +1,113 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ CreateDashboardCommandInput,
8
+ CreateDashboardCommandOutput,
9
+ } from "../commands/CreateDashboardCommand";
10
+ import {
11
+ DeleteDashboardCommandInput,
12
+ DeleteDashboardCommandOutput,
13
+ } from "../commands/DeleteDashboardCommand";
14
+ import {
15
+ GetDashboardCommandInput,
16
+ GetDashboardCommandOutput,
17
+ } from "../commands/GetDashboardCommand";
18
+ import {
19
+ GetResourcePolicyCommandInput,
20
+ GetResourcePolicyCommandOutput,
21
+ } from "../commands/GetResourcePolicyCommand";
22
+ import {
23
+ ListDashboardsCommandInput,
24
+ ListDashboardsCommandOutput,
25
+ } from "../commands/ListDashboardsCommand";
26
+ import {
27
+ ListTagsForResourceCommandInput,
28
+ ListTagsForResourceCommandOutput,
29
+ } from "../commands/ListTagsForResourceCommand";
30
+ import {
31
+ TagResourceCommandInput,
32
+ TagResourceCommandOutput,
33
+ } from "../commands/TagResourceCommand";
34
+ import {
35
+ UntagResourceCommandInput,
36
+ UntagResourceCommandOutput,
37
+ } from "../commands/UntagResourceCommand";
38
+ import {
39
+ UpdateDashboardCommandInput,
40
+ UpdateDashboardCommandOutput,
41
+ } from "../commands/UpdateDashboardCommand";
42
+ export declare const se_CreateDashboardCommand: (
43
+ input: CreateDashboardCommandInput,
44
+ context: __SerdeContext
45
+ ) => Promise<__HttpRequest>;
46
+ export declare const se_DeleteDashboardCommand: (
47
+ input: DeleteDashboardCommandInput,
48
+ context: __SerdeContext
49
+ ) => Promise<__HttpRequest>;
50
+ export declare const se_GetDashboardCommand: (
51
+ input: GetDashboardCommandInput,
52
+ context: __SerdeContext
53
+ ) => Promise<__HttpRequest>;
54
+ export declare const se_GetResourcePolicyCommand: (
55
+ input: GetResourcePolicyCommandInput,
56
+ context: __SerdeContext
57
+ ) => Promise<__HttpRequest>;
58
+ export declare const se_ListDashboardsCommand: (
59
+ input: ListDashboardsCommandInput,
60
+ context: __SerdeContext
61
+ ) => Promise<__HttpRequest>;
62
+ export declare const se_ListTagsForResourceCommand: (
63
+ input: ListTagsForResourceCommandInput,
64
+ context: __SerdeContext
65
+ ) => Promise<__HttpRequest>;
66
+ export declare const se_TagResourceCommand: (
67
+ input: TagResourceCommandInput,
68
+ context: __SerdeContext
69
+ ) => Promise<__HttpRequest>;
70
+ export declare const se_UntagResourceCommand: (
71
+ input: UntagResourceCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
74
+ export declare const se_UpdateDashboardCommand: (
75
+ input: UpdateDashboardCommandInput,
76
+ context: __SerdeContext
77
+ ) => Promise<__HttpRequest>;
78
+ export declare const de_CreateDashboardCommand: (
79
+ output: __HttpResponse,
80
+ context: __SerdeContext
81
+ ) => Promise<CreateDashboardCommandOutput>;
82
+ export declare const de_DeleteDashboardCommand: (
83
+ output: __HttpResponse,
84
+ context: __SerdeContext
85
+ ) => Promise<DeleteDashboardCommandOutput>;
86
+ export declare const de_GetDashboardCommand: (
87
+ output: __HttpResponse,
88
+ context: __SerdeContext
89
+ ) => Promise<GetDashboardCommandOutput>;
90
+ export declare const de_GetResourcePolicyCommand: (
91
+ output: __HttpResponse,
92
+ context: __SerdeContext
93
+ ) => Promise<GetResourcePolicyCommandOutput>;
94
+ export declare const de_ListDashboardsCommand: (
95
+ output: __HttpResponse,
96
+ context: __SerdeContext
97
+ ) => Promise<ListDashboardsCommandOutput>;
98
+ export declare const de_ListTagsForResourceCommand: (
99
+ output: __HttpResponse,
100
+ context: __SerdeContext
101
+ ) => Promise<ListTagsForResourceCommandOutput>;
102
+ export declare const de_TagResourceCommand: (
103
+ output: __HttpResponse,
104
+ context: __SerdeContext
105
+ ) => Promise<TagResourceCommandOutput>;
106
+ export declare const de_UntagResourceCommand: (
107
+ output: __HttpResponse,
108
+ context: __SerdeContext
109
+ ) => Promise<UntagResourceCommandOutput>;
110
+ export declare const de_UpdateDashboardCommand: (
111
+ output: __HttpResponse,
112
+ context: __SerdeContext
113
+ ) => Promise<UpdateDashboardCommandOutput>;
@@ -0,0 +1,91 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { BCMDashboardsClientConfig } from "./BCMDashboardsClient";
3
+ export declare const getRuntimeConfig: (config: BCMDashboardsClientConfig) => {
4
+ runtime: string;
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
+ >;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
+ defaultUserAgentProvider: (
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
16
+ ) => Promise<import("@smithy/types").UserAgent>;
17
+ maxAttempts: number | import("@smithy/types").Provider<number>;
18
+ region: string | import("@smithy/types").Provider<any>;
19
+ requestHandler:
20
+ | import("@smithy/protocol-http").HttpHandler<any>
21
+ | RequestHandler;
22
+ retryMode: string | import("@smithy/types").Provider<string>;
23
+ sha256: import("@smithy/types").HashConstructor;
24
+ streamCollector: import("@smithy/types").StreamCollector;
25
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
26
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
27
+ (boolean | import("@smithy/types").Provider<boolean | undefined>);
28
+ apiVersion: string;
29
+ cacheMiddleware?: boolean | undefined;
30
+ urlParser: import("@smithy/types").UrlParser;
31
+ base64Decoder: import("@smithy/types").Decoder;
32
+ base64Encoder: (_input: Uint8Array | string) => string;
33
+ utf8Decoder: import("@smithy/types").Decoder;
34
+ utf8Encoder: (input: Uint8Array | string) => string;
35
+ disableHostPrefix: boolean;
36
+ serviceId: string;
37
+ profile?: string;
38
+ logger: import("@smithy/types").Logger;
39
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
40
+ customUserAgent?: string | import("@smithy/types").UserAgent;
41
+ userAgentAppId?:
42
+ | string
43
+ | undefined
44
+ | import("@smithy/types").Provider<string | undefined>;
45
+ retryStrategy?:
46
+ | import("@smithy/types").RetryStrategy
47
+ | import("@smithy/types").RetryStrategyV2;
48
+ endpoint?:
49
+ | ((
50
+ | string
51
+ | import("@smithy/types").Endpoint
52
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
53
+ | import("@smithy/types").EndpointV2
54
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ ) &
56
+ (
57
+ | string
58
+ | import("@smithy/types").Provider<string>
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ))
64
+ | undefined;
65
+ endpointProvider: (
66
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
67
+ context?: {
68
+ logger?: import("@smithy/types").Logger;
69
+ }
70
+ ) => import("@smithy/types").EndpointV2;
71
+ tls?: boolean;
72
+ serviceConfiguredEndpoint?: never;
73
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
74
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
75
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BCMDashboardsHttpAuthSchemeProvider;
76
+ credentials?:
77
+ | import("@smithy/types").AwsCredentialIdentity
78
+ | import("@smithy/types").AwsCredentialIdentityProvider;
79
+ signer?:
80
+ | import("@smithy/types").RequestSigner
81
+ | ((
82
+ authScheme?: import("@smithy/types").AuthScheme
83
+ ) => Promise<import("@smithy/types").RequestSigner>);
84
+ signingEscapePath?: boolean;
85
+ systemClockOffset?: number;
86
+ signingRegion?: string;
87
+ signerConstructor?: new (
88
+ options: import("@smithy/signature-v4").SignatureV4Init &
89
+ import("@smithy/signature-v4").SignatureV4CryptoInit
90
+ ) => import("@smithy/types").RequestSigner;
91
+ };