@aws-sdk/client-bcm-dashboards 3.987.0 → 3.989.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 +28 -540
- package/dist-cjs/models/BCMDashboardsServiceException.js +12 -0
- package/dist-cjs/models/errors.js +82 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +406 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +41 -35
- package/dist-types/schemas/schemas_0.d.ts +13 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -6
- package/package.json +13 -13
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const BCMDashboardsServiceException_1 = require("./BCMDashboardsServiceException");
|
|
5
|
+
class AccessDeniedException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class InternalServerException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
19
|
+
name = "InternalServerException";
|
|
20
|
+
$fault = "server";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InternalServerException",
|
|
24
|
+
$fault: "server",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.InternalServerException = InternalServerException;
|
|
31
|
+
class ServiceQuotaExceededException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
32
|
+
name = "ServiceQuotaExceededException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ServiceQuotaExceededException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
44
|
+
class ThrottlingException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
45
|
+
name = "ThrottlingException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ThrottlingException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.ThrottlingException = ThrottlingException;
|
|
57
|
+
class ValidationException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
58
|
+
name = "ValidationException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ValidationException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.ValidationException = ValidationException;
|
|
70
|
+
class ResourceNotFoundException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
71
|
+
name = "ResourceNotFoundException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceNotFoundException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2025-08-18",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.bcmdashboards",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2025-08-18",
|
|
33
35
|
serviceTarget: "AWSBCMDashboardsService",
|
|
34
36
|
},
|
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetResourcePolicy$ = exports.GetDashboard$ = exports.DeleteDashboard$ = exports.CreateDashboard$ = exports.QueryParameters$ = exports.DisplayConfig$ = exports.WidgetConfig$ = exports.Widget$ = exports.UpdateDashboardResponse$ = exports.UpdateDashboardRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagValues$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.TableDisplayConfigStruct$ = exports.SavingsPlansUtilizationQuery$ = exports.SavingsPlansCoverageQuery$ = exports.ResourceTag$ = exports.ReservationUtilizationQuery$ = exports.ReservationCoverageQuery$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListDashboardsResponse$ = exports.ListDashboardsRequest$ = exports.GroupDefinition$ = exports.GraphDisplayConfig$ = exports.GetResourcePolicyResponse$ = exports.GetResourcePolicyRequest$ = exports.GetDashboardResponse$ = exports.GetDashboardRequest$ = exports.Expression$ = exports.DimensionValues$ = exports.DeleteDashboardResponse$ = exports.DeleteDashboardRequest$ = exports.DateTimeValue$ = exports.DateTimeRange$ = exports.DashboardReference$ = exports.CreateDashboardResponse$ = exports.CreateDashboardRequest$ = exports.CostCategoryValues$ = exports.CostAndUsageQuery$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.BCMDashboardsServiceException$ = void 0;
|
|
4
|
+
exports.UpdateDashboard$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListDashboards$ = void 0;
|
|
5
|
+
const _ADE = "AccessDeniedException";
|
|
6
|
+
const _CAUQ = "CostAndUsageQuery";
|
|
7
|
+
const _CCV = "CostCategoryValues";
|
|
8
|
+
const _CD = "CreateDashboard";
|
|
9
|
+
const _CDR = "CreateDashboardRequest";
|
|
10
|
+
const _CDRr = "CreateDashboardResponse";
|
|
11
|
+
const _DC = "DisplayConfig";
|
|
12
|
+
const _DD = "DeleteDashboard";
|
|
13
|
+
const _DDR = "DeleteDashboardRequest";
|
|
14
|
+
const _DDRe = "DeleteDashboardResponse";
|
|
15
|
+
const _DR = "DashboardReference";
|
|
16
|
+
const _DRL = "DashboardReferenceList";
|
|
17
|
+
const _DTR = "DateTimeRange";
|
|
18
|
+
const _DTV = "DateTimeValue";
|
|
19
|
+
const _DV = "DimensionValues";
|
|
20
|
+
const _E = "Expression";
|
|
21
|
+
const _Ex = "Expressions";
|
|
22
|
+
const _GD = "GroupDefinition";
|
|
23
|
+
const _GDC = "GraphDisplayConfig";
|
|
24
|
+
const _GDCM = "GraphDisplayConfigMap";
|
|
25
|
+
const _GDR = "GetDashboardRequest";
|
|
26
|
+
const _GDRe = "GetDashboardResponse";
|
|
27
|
+
const _GDe = "GetDashboard";
|
|
28
|
+
const _GDr = "GroupDefinitions";
|
|
29
|
+
const _GRP = "GetResourcePolicy";
|
|
30
|
+
const _GRPR = "GetResourcePolicyRequest";
|
|
31
|
+
const _GRPRe = "GetResourcePolicyResponse";
|
|
32
|
+
const _ISE = "InternalServerException";
|
|
33
|
+
const _LD = "ListDashboards";
|
|
34
|
+
const _LDR = "ListDashboardsRequest";
|
|
35
|
+
const _LDRi = "ListDashboardsResponse";
|
|
36
|
+
const _LTFR = "ListTagsForResource";
|
|
37
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
38
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
39
|
+
const _QP = "QueryParameters";
|
|
40
|
+
const _RCQ = "ReservationCoverageQuery";
|
|
41
|
+
const _RNFE = "ResourceNotFoundException";
|
|
42
|
+
const _RT = "ResourceTag";
|
|
43
|
+
const _RTL = "ResourceTagList";
|
|
44
|
+
const _RUQ = "ReservationUtilizationQuery";
|
|
45
|
+
const _SPCQ = "SavingsPlansCoverageQuery";
|
|
46
|
+
const _SPUQ = "SavingsPlansUtilizationQuery";
|
|
47
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
48
|
+
const _TDCS = "TableDisplayConfigStruct";
|
|
49
|
+
const _TE = "ThrottlingException";
|
|
50
|
+
const _TR = "TagResource";
|
|
51
|
+
const _TRR = "TagResourceRequest";
|
|
52
|
+
const _TRRa = "TagResourceResponse";
|
|
53
|
+
const _TV = "TagValues";
|
|
54
|
+
const _UD = "UpdateDashboard";
|
|
55
|
+
const _UDR = "UpdateDashboardRequest";
|
|
56
|
+
const _UDRp = "UpdateDashboardResponse";
|
|
57
|
+
const _UR = "UntagResource";
|
|
58
|
+
const _URR = "UntagResourceRequest";
|
|
59
|
+
const _URRn = "UntagResourceResponse";
|
|
60
|
+
const _VE = "ValidationException";
|
|
61
|
+
const _W = "Widget";
|
|
62
|
+
const _WC = "WidgetConfig";
|
|
63
|
+
const _WCL = "WidgetConfigList";
|
|
64
|
+
const _WL = "WidgetList";
|
|
65
|
+
const _a = "arn";
|
|
66
|
+
const _an = "and";
|
|
67
|
+
const _c = "client";
|
|
68
|
+
const _cA = "createdAt";
|
|
69
|
+
const _cAU = "costAndUsage";
|
|
70
|
+
const _cC = "costCategories";
|
|
71
|
+
const _co = "configs";
|
|
72
|
+
const _d = "description";
|
|
73
|
+
const _dC = "displayConfig";
|
|
74
|
+
const _da = "dashboards";
|
|
75
|
+
const _di = "dimensions";
|
|
76
|
+
const _e = "error";
|
|
77
|
+
const _eT = "endTime";
|
|
78
|
+
const _f = "filter";
|
|
79
|
+
const _g = "granularity";
|
|
80
|
+
const _gB = "groupBy";
|
|
81
|
+
const _gr = "graph";
|
|
82
|
+
const _h = "height";
|
|
83
|
+
const _hE = "httpError";
|
|
84
|
+
const _hO = "horizontalOffset";
|
|
85
|
+
const _k = "key";
|
|
86
|
+
const _m = "message";
|
|
87
|
+
const _mO = "matchOptions";
|
|
88
|
+
const _mR = "maxResults";
|
|
89
|
+
const _me = "metrics";
|
|
90
|
+
const _n = "name";
|
|
91
|
+
const _nT = "nextToken";
|
|
92
|
+
const _no = "not";
|
|
93
|
+
const _o = "or";
|
|
94
|
+
const _pD = "policyDocument";
|
|
95
|
+
const _qP = "queryParameters";
|
|
96
|
+
const _rA = "resourceArn";
|
|
97
|
+
const _rC = "reservationCoverage";
|
|
98
|
+
const _rT = "resourceTags";
|
|
99
|
+
const _rTK = "resourceTagKeys";
|
|
100
|
+
const _rU = "reservationUtilization";
|
|
101
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bcmdashboards";
|
|
102
|
+
const _sPC = "savingsPlansCoverage";
|
|
103
|
+
const _sPU = "savingsPlansUtilization";
|
|
104
|
+
const _sT = "startTime";
|
|
105
|
+
const _se = "server";
|
|
106
|
+
const _t = "type";
|
|
107
|
+
const _tR = "timeRange";
|
|
108
|
+
const _ta = "tags";
|
|
109
|
+
const _tab = "table";
|
|
110
|
+
const _ti = "title";
|
|
111
|
+
const _uA = "updatedAt";
|
|
112
|
+
const _v = "values";
|
|
113
|
+
const _vT = "visualType";
|
|
114
|
+
const _va = "value";
|
|
115
|
+
const _w = "widgets";
|
|
116
|
+
const _wi = "width";
|
|
117
|
+
const n0 = "com.amazonaws.bcmdashboards";
|
|
118
|
+
const schema_1 = require("@smithy/core/schema");
|
|
119
|
+
const BCMDashboardsServiceException_1 = require("../models/BCMDashboardsServiceException");
|
|
120
|
+
const errors_1 = require("../models/errors");
|
|
121
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
122
|
+
exports.BCMDashboardsServiceException$ = [-3, _s, "BCMDashboardsServiceException", 0, [], []];
|
|
123
|
+
_s_registry.registerError(exports.BCMDashboardsServiceException$, BCMDashboardsServiceException_1.BCMDashboardsServiceException);
|
|
124
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
125
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
126
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
127
|
+
[_m],
|
|
128
|
+
[0], 1
|
|
129
|
+
];
|
|
130
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
131
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
132
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
133
|
+
[_m],
|
|
134
|
+
[0], 1
|
|
135
|
+
];
|
|
136
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
137
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
138
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
139
|
+
[_m],
|
|
140
|
+
[0], 1
|
|
141
|
+
];
|
|
142
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
143
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
144
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
145
|
+
[_m],
|
|
146
|
+
[0], 1
|
|
147
|
+
];
|
|
148
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
149
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
150
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
151
|
+
[_m],
|
|
152
|
+
[0], 1
|
|
153
|
+
];
|
|
154
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
155
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
156
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
157
|
+
[_m],
|
|
158
|
+
[0], 1
|
|
159
|
+
];
|
|
160
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
161
|
+
exports.errorTypeRegistries = [
|
|
162
|
+
_s_registry,
|
|
163
|
+
n0_registry,
|
|
164
|
+
];
|
|
165
|
+
exports.CostAndUsageQuery$ = [3, n0, _CAUQ,
|
|
166
|
+
0,
|
|
167
|
+
[_me, _tR, _g, _gB, _f],
|
|
168
|
+
[64 | 0, () => exports.DateTimeRange$, 0, () => GroupDefinitions, () => exports.Expression$], 3
|
|
169
|
+
];
|
|
170
|
+
exports.CostCategoryValues$ = [3, n0, _CCV,
|
|
171
|
+
0,
|
|
172
|
+
[_k, _v, _mO],
|
|
173
|
+
[0, 64 | 0, 64 | 0]
|
|
174
|
+
];
|
|
175
|
+
exports.CreateDashboardRequest$ = [3, n0, _CDR,
|
|
176
|
+
0,
|
|
177
|
+
[_n, _w, _d, _rT],
|
|
178
|
+
[0, () => WidgetList, 0, () => ResourceTagList], 2
|
|
179
|
+
];
|
|
180
|
+
exports.CreateDashboardResponse$ = [3, n0, _CDRr,
|
|
181
|
+
0,
|
|
182
|
+
[_a],
|
|
183
|
+
[0], 1
|
|
184
|
+
];
|
|
185
|
+
exports.DashboardReference$ = [3, n0, _DR,
|
|
186
|
+
0,
|
|
187
|
+
[_a, _n, _t, _cA, _uA, _d],
|
|
188
|
+
[0, 0, 0, 4, 4, 0], 5
|
|
189
|
+
];
|
|
190
|
+
exports.DateTimeRange$ = [3, n0, _DTR,
|
|
191
|
+
0,
|
|
192
|
+
[_sT, _eT],
|
|
193
|
+
[() => exports.DateTimeValue$, () => exports.DateTimeValue$], 2
|
|
194
|
+
];
|
|
195
|
+
exports.DateTimeValue$ = [3, n0, _DTV,
|
|
196
|
+
0,
|
|
197
|
+
[_t, _va],
|
|
198
|
+
[0, 0], 2
|
|
199
|
+
];
|
|
200
|
+
exports.DeleteDashboardRequest$ = [3, n0, _DDR,
|
|
201
|
+
0,
|
|
202
|
+
[_a],
|
|
203
|
+
[0], 1
|
|
204
|
+
];
|
|
205
|
+
exports.DeleteDashboardResponse$ = [3, n0, _DDRe,
|
|
206
|
+
0,
|
|
207
|
+
[_a],
|
|
208
|
+
[0], 1
|
|
209
|
+
];
|
|
210
|
+
exports.DimensionValues$ = [3, n0, _DV,
|
|
211
|
+
0,
|
|
212
|
+
[_k, _v, _mO],
|
|
213
|
+
[0, 64 | 0, 64 | 0], 2
|
|
214
|
+
];
|
|
215
|
+
exports.Expression$ = [3, n0, _E,
|
|
216
|
+
0,
|
|
217
|
+
[_o, _an, _no, _di, _ta, _cC],
|
|
218
|
+
[() => Expressions, () => Expressions, () => exports.Expression$, () => exports.DimensionValues$, () => exports.TagValues$, () => exports.CostCategoryValues$]
|
|
219
|
+
];
|
|
220
|
+
exports.GetDashboardRequest$ = [3, n0, _GDR,
|
|
221
|
+
0,
|
|
222
|
+
[_a],
|
|
223
|
+
[0], 1
|
|
224
|
+
];
|
|
225
|
+
exports.GetDashboardResponse$ = [3, n0, _GDRe,
|
|
226
|
+
0,
|
|
227
|
+
[_a, _n, _t, _w, _cA, _uA, _d],
|
|
228
|
+
[0, 0, 0, () => WidgetList, 4, 4, 0], 6
|
|
229
|
+
];
|
|
230
|
+
exports.GetResourcePolicyRequest$ = [3, n0, _GRPR,
|
|
231
|
+
0,
|
|
232
|
+
[_rA],
|
|
233
|
+
[0], 1
|
|
234
|
+
];
|
|
235
|
+
exports.GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
236
|
+
0,
|
|
237
|
+
[_rA, _pD],
|
|
238
|
+
[0, 0], 2
|
|
239
|
+
];
|
|
240
|
+
exports.GraphDisplayConfig$ = [3, n0, _GDC,
|
|
241
|
+
0,
|
|
242
|
+
[_vT],
|
|
243
|
+
[0], 1
|
|
244
|
+
];
|
|
245
|
+
exports.GroupDefinition$ = [3, n0, _GD,
|
|
246
|
+
0,
|
|
247
|
+
[_k, _t],
|
|
248
|
+
[0, 0], 1
|
|
249
|
+
];
|
|
250
|
+
exports.ListDashboardsRequest$ = [3, n0, _LDR,
|
|
251
|
+
0,
|
|
252
|
+
[_mR, _nT],
|
|
253
|
+
[1, 0]
|
|
254
|
+
];
|
|
255
|
+
exports.ListDashboardsResponse$ = [3, n0, _LDRi,
|
|
256
|
+
0,
|
|
257
|
+
[_da, _nT],
|
|
258
|
+
[() => DashboardReferenceList, 0], 1
|
|
259
|
+
];
|
|
260
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
261
|
+
0,
|
|
262
|
+
[_rA],
|
|
263
|
+
[0], 1
|
|
264
|
+
];
|
|
265
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
266
|
+
0,
|
|
267
|
+
[_rT],
|
|
268
|
+
[() => ResourceTagList]
|
|
269
|
+
];
|
|
270
|
+
exports.ReservationCoverageQuery$ = [3, n0, _RCQ,
|
|
271
|
+
0,
|
|
272
|
+
[_tR, _gB, _g, _f, _me],
|
|
273
|
+
[() => exports.DateTimeRange$, () => GroupDefinitions, 0, () => exports.Expression$, 64 | 0], 1
|
|
274
|
+
];
|
|
275
|
+
exports.ReservationUtilizationQuery$ = [3, n0, _RUQ,
|
|
276
|
+
0,
|
|
277
|
+
[_tR, _gB, _g, _f],
|
|
278
|
+
[() => exports.DateTimeRange$, () => GroupDefinitions, 0, () => exports.Expression$], 1
|
|
279
|
+
];
|
|
280
|
+
exports.ResourceTag$ = [3, n0, _RT,
|
|
281
|
+
0,
|
|
282
|
+
[_k, _va],
|
|
283
|
+
[0, 0], 2
|
|
284
|
+
];
|
|
285
|
+
exports.SavingsPlansCoverageQuery$ = [3, n0, _SPCQ,
|
|
286
|
+
0,
|
|
287
|
+
[_tR, _me, _g, _gB, _f],
|
|
288
|
+
[() => exports.DateTimeRange$, 64 | 0, 0, () => GroupDefinitions, () => exports.Expression$], 1
|
|
289
|
+
];
|
|
290
|
+
exports.SavingsPlansUtilizationQuery$ = [3, n0, _SPUQ,
|
|
291
|
+
0,
|
|
292
|
+
[_tR, _g, _f],
|
|
293
|
+
[() => exports.DateTimeRange$, 0, () => exports.Expression$], 1
|
|
294
|
+
];
|
|
295
|
+
exports.TableDisplayConfigStruct$ = [3, n0, _TDCS,
|
|
296
|
+
0,
|
|
297
|
+
[],
|
|
298
|
+
[]
|
|
299
|
+
];
|
|
300
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
301
|
+
0,
|
|
302
|
+
[_rA, _rT],
|
|
303
|
+
[0, () => ResourceTagList], 2
|
|
304
|
+
];
|
|
305
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
306
|
+
0,
|
|
307
|
+
[],
|
|
308
|
+
[]
|
|
309
|
+
];
|
|
310
|
+
exports.TagValues$ = [3, n0, _TV,
|
|
311
|
+
0,
|
|
312
|
+
[_k, _v, _mO],
|
|
313
|
+
[0, 64 | 0, 64 | 0]
|
|
314
|
+
];
|
|
315
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
316
|
+
0,
|
|
317
|
+
[_rA, _rTK],
|
|
318
|
+
[0, 64 | 0], 2
|
|
319
|
+
];
|
|
320
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
321
|
+
0,
|
|
322
|
+
[],
|
|
323
|
+
[]
|
|
324
|
+
];
|
|
325
|
+
exports.UpdateDashboardRequest$ = [3, n0, _UDR,
|
|
326
|
+
0,
|
|
327
|
+
[_a, _n, _d, _w],
|
|
328
|
+
[0, 0, 0, () => WidgetList], 1
|
|
329
|
+
];
|
|
330
|
+
exports.UpdateDashboardResponse$ = [3, n0, _UDRp,
|
|
331
|
+
0,
|
|
332
|
+
[_a],
|
|
333
|
+
[0], 1
|
|
334
|
+
];
|
|
335
|
+
exports.Widget$ = [3, n0, _W,
|
|
336
|
+
0,
|
|
337
|
+
[_ti, _co, _d, _wi, _h, _hO],
|
|
338
|
+
[0, () => WidgetConfigList, 0, 1, 1, 1], 2
|
|
339
|
+
];
|
|
340
|
+
exports.WidgetConfig$ = [3, n0, _WC,
|
|
341
|
+
0,
|
|
342
|
+
[_qP, _dC],
|
|
343
|
+
[() => exports.QueryParameters$, () => exports.DisplayConfig$], 2
|
|
344
|
+
];
|
|
345
|
+
var DashboardReferenceList = [1, n0, _DRL,
|
|
346
|
+
0, () => exports.DashboardReference$
|
|
347
|
+
];
|
|
348
|
+
var Expressions = [1, n0, _Ex,
|
|
349
|
+
0, () => exports.Expression$
|
|
350
|
+
];
|
|
351
|
+
var GroupDefinitions = [1, n0, _GDr,
|
|
352
|
+
0, () => exports.GroupDefinition$
|
|
353
|
+
];
|
|
354
|
+
var MatchOptions = 64 | 0;
|
|
355
|
+
var MetricNames = 64 | 0;
|
|
356
|
+
var ResourceTagKeyList = 64 | 0;
|
|
357
|
+
var ResourceTagList = [1, n0, _RTL,
|
|
358
|
+
0, () => exports.ResourceTag$
|
|
359
|
+
];
|
|
360
|
+
var StringList = 64 | 0;
|
|
361
|
+
var WidgetConfigList = [1, n0, _WCL,
|
|
362
|
+
0, () => exports.WidgetConfig$
|
|
363
|
+
];
|
|
364
|
+
var WidgetList = [1, n0, _WL,
|
|
365
|
+
0, () => exports.Widget$
|
|
366
|
+
];
|
|
367
|
+
var GraphDisplayConfigMap = [2, n0, _GDCM,
|
|
368
|
+
0, 0, () => exports.GraphDisplayConfig$
|
|
369
|
+
];
|
|
370
|
+
exports.DisplayConfig$ = [4, n0, _DC,
|
|
371
|
+
0,
|
|
372
|
+
[_gr, _tab],
|
|
373
|
+
[() => GraphDisplayConfigMap, () => exports.TableDisplayConfigStruct$]
|
|
374
|
+
];
|
|
375
|
+
exports.QueryParameters$ = [4, n0, _QP,
|
|
376
|
+
0,
|
|
377
|
+
[_cAU, _sPC, _sPU, _rC, _rU],
|
|
378
|
+
[() => exports.CostAndUsageQuery$, () => exports.SavingsPlansCoverageQuery$, () => exports.SavingsPlansUtilizationQuery$, () => exports.ReservationCoverageQuery$, () => exports.ReservationUtilizationQuery$]
|
|
379
|
+
];
|
|
380
|
+
exports.CreateDashboard$ = [9, n0, _CD,
|
|
381
|
+
0, () => exports.CreateDashboardRequest$, () => exports.CreateDashboardResponse$
|
|
382
|
+
];
|
|
383
|
+
exports.DeleteDashboard$ = [9, n0, _DD,
|
|
384
|
+
0, () => exports.DeleteDashboardRequest$, () => exports.DeleteDashboardResponse$
|
|
385
|
+
];
|
|
386
|
+
exports.GetDashboard$ = [9, n0, _GDe,
|
|
387
|
+
0, () => exports.GetDashboardRequest$, () => exports.GetDashboardResponse$
|
|
388
|
+
];
|
|
389
|
+
exports.GetResourcePolicy$ = [9, n0, _GRP,
|
|
390
|
+
0, () => exports.GetResourcePolicyRequest$, () => exports.GetResourcePolicyResponse$
|
|
391
|
+
];
|
|
392
|
+
exports.ListDashboards$ = [9, n0, _LD,
|
|
393
|
+
0, () => exports.ListDashboardsRequest$, () => exports.ListDashboardsResponse$
|
|
394
|
+
];
|
|
395
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
396
|
+
0, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
397
|
+
];
|
|
398
|
+
exports.TagResource$ = [9, n0, _TR,
|
|
399
|
+
0, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
400
|
+
];
|
|
401
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
402
|
+
0, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
403
|
+
];
|
|
404
|
+
exports.UpdateDashboard$ = [9, n0, _UD,
|
|
405
|
+
0, () => exports.UpdateDashboardRequest$, () => exports.UpdateDashboardResponse$
|
|
406
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultBCMDashboardsHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2025-08-18",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.bcmdashboards",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2025-08-18",
|
|
30
32
|
serviceTarget: "AWSBCMDashboardsService",
|
|
31
33
|
},
|
|
@@ -94,11 +94,11 @@ const _rC = "reservationCoverage";
|
|
|
94
94
|
const _rT = "resourceTags";
|
|
95
95
|
const _rTK = "resourceTagKeys";
|
|
96
96
|
const _rU = "reservationUtilization";
|
|
97
|
-
const _s = "
|
|
97
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bcmdashboards";
|
|
98
98
|
const _sPC = "savingsPlansCoverage";
|
|
99
99
|
const _sPU = "savingsPlansUtilization";
|
|
100
100
|
const _sT = "startTime";
|
|
101
|
-
const
|
|
101
|
+
const _se = "server";
|
|
102
102
|
const _t = "type";
|
|
103
103
|
const _tR = "timeRange";
|
|
104
104
|
const _ta = "tags";
|
|
@@ -114,12 +114,50 @@ const n0 = "com.amazonaws.bcmdashboards";
|
|
|
114
114
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
115
115
|
import { BCMDashboardsServiceException } from "../models/BCMDashboardsServiceException";
|
|
116
116
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
117
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
118
|
+
export var BCMDashboardsServiceException$ = [-3, _s, "BCMDashboardsServiceException", 0, [], []];
|
|
119
|
+
_s_registry.registerError(BCMDashboardsServiceException$, BCMDashboardsServiceException);
|
|
120
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
117
121
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
118
122
|
{ [_e]: _c, [_hE]: 403 },
|
|
119
123
|
[_m],
|
|
120
124
|
[0], 1
|
|
121
125
|
];
|
|
122
|
-
|
|
126
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
127
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
128
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
129
|
+
[_m],
|
|
130
|
+
[0], 1
|
|
131
|
+
];
|
|
132
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
133
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
134
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
135
|
+
[_m],
|
|
136
|
+
[0], 1
|
|
137
|
+
];
|
|
138
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
139
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
140
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
141
|
+
[_m],
|
|
142
|
+
[0], 1
|
|
143
|
+
];
|
|
144
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
145
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
146
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
147
|
+
[_m],
|
|
148
|
+
[0], 1
|
|
149
|
+
];
|
|
150
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
151
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
152
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
153
|
+
[_m],
|
|
154
|
+
[0], 1
|
|
155
|
+
];
|
|
156
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
157
|
+
export const errorTypeRegistries = [
|
|
158
|
+
_s_registry,
|
|
159
|
+
n0_registry,
|
|
160
|
+
];
|
|
123
161
|
export var CostAndUsageQuery$ = [3, n0, _CAUQ,
|
|
124
162
|
0,
|
|
125
163
|
[_me, _tR, _g, _gB, _f],
|
|
@@ -205,12 +243,6 @@ export var GroupDefinition$ = [3, n0, _GD,
|
|
|
205
243
|
[_k, _t],
|
|
206
244
|
[0, 0], 1
|
|
207
245
|
];
|
|
208
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
209
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
210
|
-
[_m],
|
|
211
|
-
[0], 1
|
|
212
|
-
];
|
|
213
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
214
246
|
export var ListDashboardsRequest$ = [3, n0, _LDR,
|
|
215
247
|
0,
|
|
216
248
|
[_mR, _nT],
|
|
@@ -241,12 +273,6 @@ export var ReservationUtilizationQuery$ = [3, n0, _RUQ,
|
|
|
241
273
|
[_tR, _gB, _g, _f],
|
|
242
274
|
[() => DateTimeRange$, () => GroupDefinitions, 0, () => Expression$], 1
|
|
243
275
|
];
|
|
244
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
245
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
246
|
-
[_m],
|
|
247
|
-
[0], 1
|
|
248
|
-
];
|
|
249
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
250
276
|
export var ResourceTag$ = [3, n0, _RT,
|
|
251
277
|
0,
|
|
252
278
|
[_k, _va],
|
|
@@ -262,12 +288,6 @@ export var SavingsPlansUtilizationQuery$ = [3, n0, _SPUQ,
|
|
|
262
288
|
[_tR, _g, _f],
|
|
263
289
|
[() => DateTimeRange$, 0, () => Expression$], 1
|
|
264
290
|
];
|
|
265
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
266
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
267
|
-
[_m],
|
|
268
|
-
[0], 1
|
|
269
|
-
];
|
|
270
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
271
291
|
export var TableDisplayConfigStruct$ = [3, n0, _TDCS,
|
|
272
292
|
0,
|
|
273
293
|
[],
|
|
@@ -288,12 +308,6 @@ export var TagValues$ = [3, n0, _TV,
|
|
|
288
308
|
[_k, _v, _mO],
|
|
289
309
|
[0, 64 | 0, 64 | 0]
|
|
290
310
|
];
|
|
291
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
292
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
293
|
-
[_m],
|
|
294
|
-
[0], 1
|
|
295
|
-
];
|
|
296
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
297
311
|
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
298
312
|
0,
|
|
299
313
|
[_rA, _rTK],
|
|
@@ -314,12 +328,6 @@ export var UpdateDashboardResponse$ = [3, n0, _UDRp,
|
|
|
314
328
|
[_a],
|
|
315
329
|
[0], 1
|
|
316
330
|
];
|
|
317
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
318
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
319
|
-
[_m],
|
|
320
|
-
[0], 1
|
|
321
|
-
];
|
|
322
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
323
331
|
export var Widget$ = [3, n0, _W,
|
|
324
332
|
0,
|
|
325
333
|
[_ti, _co, _d, _wi, _h, _hO],
|
|
@@ -330,8 +338,6 @@ export var WidgetConfig$ = [3, n0, _WC,
|
|
|
330
338
|
[_qP, _dC],
|
|
331
339
|
[() => QueryParameters$, () => DisplayConfig$], 2
|
|
332
340
|
];
|
|
333
|
-
export var BCMDashboardsServiceException$ = [-3, _sm, "BCMDashboardsServiceException", 0, [], []];
|
|
334
|
-
TypeRegistry.for(_sm).registerError(BCMDashboardsServiceException$, BCMDashboardsServiceException);
|
|
335
341
|
var DashboardReferenceList = [1, n0, _DRL,
|
|
336
342
|
0, () => DashboardReference$
|
|
337
343
|
];
|