@aws-sdk/client-bcm-dashboards 3.891.0 → 3.894.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 +1164 -10
- package/package.json +19 -19
- package/dist-cjs/BCMDashboards.js +0 -29
- package/dist-cjs/BCMDashboardsClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CreateDashboardCommand.js +0 -26
- package/dist-cjs/commands/DeleteDashboardCommand.js +0 -26
- package/dist-cjs/commands/GetDashboardCommand.js +0 -26
- package/dist-cjs/commands/GetResourcePolicyCommand.js +0 -26
- package/dist-cjs/commands/ListDashboardsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateDashboardCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -12
- package/dist-cjs/endpoint/EndpointParameters.js +0 -15
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/BCMDashboardsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -181
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListDashboardsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -5
- package/dist-cjs/protocols/Aws_json1_0.js +0 -587
- package/dist-cjs/runtimeExtensions.js +0 -13
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryParameters = exports.ResourceNotFoundException = exports.DashboardType = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.DateTimeType = exports.MetricName = exports.GroupDefinitionType = exports.Granularity = exports.Dimension = exports.MatchOption = exports.DisplayConfig = exports.VisualType = 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
|
-
exports.VisualType = {
|
|
19
|
-
BAR: "BAR",
|
|
20
|
-
LINE: "LINE",
|
|
21
|
-
STACK: "STACK",
|
|
22
|
-
};
|
|
23
|
-
var DisplayConfig;
|
|
24
|
-
(function (DisplayConfig) {
|
|
25
|
-
DisplayConfig.visit = (value, visitor) => {
|
|
26
|
-
if (value.graph !== undefined)
|
|
27
|
-
return visitor.graph(value.graph);
|
|
28
|
-
if (value.table !== undefined)
|
|
29
|
-
return visitor.table(value.table);
|
|
30
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
31
|
-
};
|
|
32
|
-
})(DisplayConfig || (exports.DisplayConfig = DisplayConfig = {}));
|
|
33
|
-
exports.MatchOption = {
|
|
34
|
-
ABSENT: "ABSENT",
|
|
35
|
-
CASE_INSENSITIVE: "CASE_INSENSITIVE",
|
|
36
|
-
CASE_SENSITIVE: "CASE_SENSITIVE",
|
|
37
|
-
CONTAINS: "CONTAINS",
|
|
38
|
-
ENDS_WITH: "ENDS_WITH",
|
|
39
|
-
EQUALS: "EQUALS",
|
|
40
|
-
GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
|
|
41
|
-
STARTS_WITH: "STARTS_WITH",
|
|
42
|
-
};
|
|
43
|
-
exports.Dimension = {
|
|
44
|
-
AZ: "AZ",
|
|
45
|
-
BILLING_ENTITY: "BILLING_ENTITY",
|
|
46
|
-
CACHE_ENGINE: "CACHE_ENGINE",
|
|
47
|
-
COST_CATEGORY_NAME: "COST_CATEGORY_NAME",
|
|
48
|
-
DATABASE_ENGINE: "DATABASE_ENGINE",
|
|
49
|
-
DEPLOYMENT_OPTION: "DEPLOYMENT_OPTION",
|
|
50
|
-
INSTANCE_TYPE: "INSTANCE_TYPE",
|
|
51
|
-
INSTANCE_TYPE_FAMILY: "INSTANCE_TYPE_FAMILY",
|
|
52
|
-
LEGAL_ENTITY_NAME: "LEGAL_ENTITY_NAME",
|
|
53
|
-
LINKED_ACCOUNT: "LINKED_ACCOUNT",
|
|
54
|
-
OPERATING_SYSTEM: "OPERATING_SYSTEM",
|
|
55
|
-
OPERATION: "OPERATION",
|
|
56
|
-
PLATFORM: "PLATFORM",
|
|
57
|
-
PURCHASE_TYPE: "PURCHASE_TYPE",
|
|
58
|
-
RECORD_TYPE: "RECORD_TYPE",
|
|
59
|
-
REGION: "REGION",
|
|
60
|
-
RESERVATION_ID: "RESERVATION_ID",
|
|
61
|
-
RESOURCE_ID: "RESOURCE_ID",
|
|
62
|
-
SAVINGS_PLANS_TYPE: "SAVINGS_PLANS_TYPE",
|
|
63
|
-
SCOPE: "SCOPE",
|
|
64
|
-
SERVICE: "SERVICE",
|
|
65
|
-
SUBSCRIPTION_ID: "SUBSCRIPTION_ID",
|
|
66
|
-
TAG_KEY: "TAG_KEY",
|
|
67
|
-
TENANCY: "TENANCY",
|
|
68
|
-
USAGE_TYPE: "USAGE_TYPE",
|
|
69
|
-
USAGE_TYPE_GROUP: "USAGE_TYPE_GROUP",
|
|
70
|
-
};
|
|
71
|
-
exports.Granularity = {
|
|
72
|
-
DAILY: "DAILY",
|
|
73
|
-
HOURLY: "HOURLY",
|
|
74
|
-
MONTHLY: "MONTHLY",
|
|
75
|
-
};
|
|
76
|
-
exports.GroupDefinitionType = {
|
|
77
|
-
COST_CATEGORY: "COST_CATEGORY",
|
|
78
|
-
DIMENSION: "DIMENSION",
|
|
79
|
-
TAG: "TAG",
|
|
80
|
-
};
|
|
81
|
-
exports.MetricName = {
|
|
82
|
-
AmortizedCost: "AmortizedCost",
|
|
83
|
-
BlendedCost: "BlendedCost",
|
|
84
|
-
Cost: "Cost",
|
|
85
|
-
Hour: "Hour",
|
|
86
|
-
NetAmortizedCost: "NetAmortizedCost",
|
|
87
|
-
NetUnblendedCost: "NetUnblendedCost",
|
|
88
|
-
NormalizedUsageAmount: "NormalizedUsageAmount",
|
|
89
|
-
SpendCoveredBySavingsPlans: "SpendCoveredBySavingsPlans",
|
|
90
|
-
UnblendedCost: "UnblendedCost",
|
|
91
|
-
Unit: "Unit",
|
|
92
|
-
UsageQuantity: "UsageQuantity",
|
|
93
|
-
};
|
|
94
|
-
exports.DateTimeType = {
|
|
95
|
-
ABSOLUTE: "ABSOLUTE",
|
|
96
|
-
RELATIVE: "RELATIVE",
|
|
97
|
-
};
|
|
98
|
-
class InternalServerException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
99
|
-
name = "InternalServerException";
|
|
100
|
-
$fault = "server";
|
|
101
|
-
constructor(opts) {
|
|
102
|
-
super({
|
|
103
|
-
name: "InternalServerException",
|
|
104
|
-
$fault: "server",
|
|
105
|
-
...opts,
|
|
106
|
-
});
|
|
107
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
exports.InternalServerException = InternalServerException;
|
|
111
|
-
class ServiceQuotaExceededException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
112
|
-
name = "ServiceQuotaExceededException";
|
|
113
|
-
$fault = "client";
|
|
114
|
-
constructor(opts) {
|
|
115
|
-
super({
|
|
116
|
-
name: "ServiceQuotaExceededException",
|
|
117
|
-
$fault: "client",
|
|
118
|
-
...opts,
|
|
119
|
-
});
|
|
120
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
124
|
-
class ThrottlingException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
125
|
-
name = "ThrottlingException";
|
|
126
|
-
$fault = "client";
|
|
127
|
-
constructor(opts) {
|
|
128
|
-
super({
|
|
129
|
-
name: "ThrottlingException",
|
|
130
|
-
$fault: "client",
|
|
131
|
-
...opts,
|
|
132
|
-
});
|
|
133
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
exports.ThrottlingException = ThrottlingException;
|
|
137
|
-
class ValidationException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
138
|
-
name = "ValidationException";
|
|
139
|
-
$fault = "client";
|
|
140
|
-
constructor(opts) {
|
|
141
|
-
super({
|
|
142
|
-
name: "ValidationException",
|
|
143
|
-
$fault: "client",
|
|
144
|
-
...opts,
|
|
145
|
-
});
|
|
146
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
exports.ValidationException = ValidationException;
|
|
150
|
-
exports.DashboardType = {
|
|
151
|
-
CUSTOM: "CUSTOM",
|
|
152
|
-
};
|
|
153
|
-
class ResourceNotFoundException extends BCMDashboardsServiceException_1.BCMDashboardsServiceException {
|
|
154
|
-
name = "ResourceNotFoundException";
|
|
155
|
-
$fault = "client";
|
|
156
|
-
constructor(opts) {
|
|
157
|
-
super({
|
|
158
|
-
name: "ResourceNotFoundException",
|
|
159
|
-
$fault: "client",
|
|
160
|
-
...opts,
|
|
161
|
-
});
|
|
162
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
166
|
-
var QueryParameters;
|
|
167
|
-
(function (QueryParameters) {
|
|
168
|
-
QueryParameters.visit = (value, visitor) => {
|
|
169
|
-
if (value.costAndUsage !== undefined)
|
|
170
|
-
return visitor.costAndUsage(value.costAndUsage);
|
|
171
|
-
if (value.savingsPlansCoverage !== undefined)
|
|
172
|
-
return visitor.savingsPlansCoverage(value.savingsPlansCoverage);
|
|
173
|
-
if (value.savingsPlansUtilization !== undefined)
|
|
174
|
-
return visitor.savingsPlansUtilization(value.savingsPlansUtilization);
|
|
175
|
-
if (value.reservationCoverage !== undefined)
|
|
176
|
-
return visitor.reservationCoverage(value.reservationCoverage);
|
|
177
|
-
if (value.reservationUtilization !== undefined)
|
|
178
|
-
return visitor.reservationUtilization(value.reservationUtilization);
|
|
179
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
180
|
-
};
|
|
181
|
-
})(QueryParameters || (exports.QueryParameters = QueryParameters = {}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListDashboards = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BCMDashboardsClient_1 = require("../BCMDashboardsClient");
|
|
6
|
-
const ListDashboardsCommand_1 = require("../commands/ListDashboardsCommand");
|
|
7
|
-
exports.paginateListDashboards = (0, core_1.createPaginator)(BCMDashboardsClient_1.BCMDashboardsClient, ListDashboardsCommand_1.ListDashboardsCommand, "nextToken", "nextToken", "maxResults");
|