@aws-sdk/client-bcm-dashboards 3.1027.0 → 3.1028.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/README.md +42 -0
- package/dist-cjs/index.js +108 -0
- package/dist-cjs/models/errors.js +14 -1
- package/dist-cjs/schemas/schemas_0.js +172 -3
- package/dist-es/BCMDashboards.js +14 -0
- package/dist-es/commands/CreateScheduledReportCommand.js +16 -0
- package/dist-es/commands/DeleteScheduledReportCommand.js +16 -0
- package/dist-es/commands/ExecuteScheduledReportCommand.js +16 -0
- package/dist-es/commands/GetScheduledReportCommand.js +16 -0
- package/dist-es/commands/ListScheduledReportsCommand.js +16 -0
- package/dist-es/commands/UpdateScheduledReportCommand.js +16 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/enums.js +17 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/pagination/ListScheduledReportsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +171 -2
- package/dist-types/BCMDashboards.d.ts +50 -0
- package/dist-types/BCMDashboardsClient.d.ts +8 -2
- package/dist-types/commands/CreateDashboardCommand.d.ts +1 -1
- package/dist-types/commands/CreateScheduledReportCommand.d.ts +126 -0
- package/dist-types/commands/DeleteScheduledReportCommand.d.ts +89 -0
- package/dist-types/commands/ExecuteScheduledReportCommand.d.ts +101 -0
- package/dist-types/commands/GetScheduledReportCommand.d.ts +127 -0
- package/dist-types/commands/ListScheduledReportsCommand.d.ts +107 -0
- package/dist-types/commands/UpdateDashboardCommand.d.ts +1 -1
- package/dist-types/commands/UpdateScheduledReportCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +41 -0
- package/dist-types/models/errors.d.ts +13 -1
- package/dist-types/models/models_0.d.ts +422 -6
- package/dist-types/pagination/ListScheduledReportsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +25 -0
- package/dist-types/ts3.4/BCMDashboards.d.ts +110 -0
- package/dist-types/ts3.4/BCMDashboardsClient.d.ts +38 -2
- package/dist-types/ts3.4/commands/CreateScheduledReportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteScheduledReportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ExecuteScheduledReportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetScheduledReportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListScheduledReportsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateScheduledReportCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +21 -0
- package/dist-types/ts3.4/models/errors.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +104 -1
- package/dist-types/ts3.4/pagination/ListScheduledReportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
- package/package.json +1 -1
package/dist-es/BCMDashboards.js
CHANGED
|
@@ -1,28 +1,42 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { BCMDashboardsClient } from "./BCMDashboardsClient";
|
|
3
3
|
import { CreateDashboardCommand, } from "./commands/CreateDashboardCommand";
|
|
4
|
+
import { CreateScheduledReportCommand, } from "./commands/CreateScheduledReportCommand";
|
|
4
5
|
import { DeleteDashboardCommand, } from "./commands/DeleteDashboardCommand";
|
|
6
|
+
import { DeleteScheduledReportCommand, } from "./commands/DeleteScheduledReportCommand";
|
|
7
|
+
import { ExecuteScheduledReportCommand, } from "./commands/ExecuteScheduledReportCommand";
|
|
5
8
|
import { GetDashboardCommand, } from "./commands/GetDashboardCommand";
|
|
6
9
|
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
10
|
+
import { GetScheduledReportCommand, } from "./commands/GetScheduledReportCommand";
|
|
7
11
|
import { ListDashboardsCommand, } from "./commands/ListDashboardsCommand";
|
|
12
|
+
import { ListScheduledReportsCommand, } from "./commands/ListScheduledReportsCommand";
|
|
8
13
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
9
14
|
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
10
15
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
11
16
|
import { UpdateDashboardCommand, } from "./commands/UpdateDashboardCommand";
|
|
17
|
+
import { UpdateScheduledReportCommand, } from "./commands/UpdateScheduledReportCommand";
|
|
12
18
|
import { paginateListDashboards } from "./pagination/ListDashboardsPaginator";
|
|
19
|
+
import { paginateListScheduledReports } from "./pagination/ListScheduledReportsPaginator";
|
|
13
20
|
const commands = {
|
|
14
21
|
CreateDashboardCommand,
|
|
22
|
+
CreateScheduledReportCommand,
|
|
15
23
|
DeleteDashboardCommand,
|
|
24
|
+
DeleteScheduledReportCommand,
|
|
25
|
+
ExecuteScheduledReportCommand,
|
|
16
26
|
GetDashboardCommand,
|
|
17
27
|
GetResourcePolicyCommand,
|
|
28
|
+
GetScheduledReportCommand,
|
|
18
29
|
ListDashboardsCommand,
|
|
30
|
+
ListScheduledReportsCommand,
|
|
19
31
|
ListTagsForResourceCommand,
|
|
20
32
|
TagResourceCommand,
|
|
21
33
|
UntagResourceCommand,
|
|
22
34
|
UpdateDashboardCommand,
|
|
35
|
+
UpdateScheduledReportCommand,
|
|
23
36
|
};
|
|
24
37
|
const paginators = {
|
|
25
38
|
paginateListDashboards,
|
|
39
|
+
paginateListScheduledReports,
|
|
26
40
|
};
|
|
27
41
|
export class BCMDashboards extends BCMDashboardsClient {
|
|
28
42
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { CreateScheduledReport$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateScheduledReportCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBCMDashboardsService", "CreateScheduledReport", {})
|
|
13
|
+
.n("BCMDashboardsClient", "CreateScheduledReportCommand")
|
|
14
|
+
.sc(CreateScheduledReport$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteScheduledReport$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteScheduledReportCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBCMDashboardsService", "DeleteScheduledReport", {})
|
|
13
|
+
.n("BCMDashboardsClient", "DeleteScheduledReportCommand")
|
|
14
|
+
.sc(DeleteScheduledReport$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ExecuteScheduledReport$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ExecuteScheduledReportCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBCMDashboardsService", "ExecuteScheduledReport", {})
|
|
13
|
+
.n("BCMDashboardsClient", "ExecuteScheduledReportCommand")
|
|
14
|
+
.sc(ExecuteScheduledReport$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetScheduledReport$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetScheduledReportCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBCMDashboardsService", "GetScheduledReport", {})
|
|
13
|
+
.n("BCMDashboardsClient", "GetScheduledReportCommand")
|
|
14
|
+
.sc(GetScheduledReport$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { ListScheduledReports$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListScheduledReportsCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBCMDashboardsService", "ListScheduledReports", {})
|
|
13
|
+
.n("BCMDashboardsClient", "ListScheduledReportsCommand")
|
|
14
|
+
.sc(ListScheduledReports$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { UpdateScheduledReport$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class UpdateScheduledReportCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AWSBCMDashboardsService", "UpdateScheduledReport", {})
|
|
13
|
+
.n("BCMDashboardsClient", "UpdateScheduledReportCommand")
|
|
14
|
+
.sc(UpdateScheduledReport$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export * from "./CreateDashboardCommand";
|
|
2
|
+
export * from "./CreateScheduledReportCommand";
|
|
2
3
|
export * from "./DeleteDashboardCommand";
|
|
4
|
+
export * from "./DeleteScheduledReportCommand";
|
|
5
|
+
export * from "./ExecuteScheduledReportCommand";
|
|
3
6
|
export * from "./GetDashboardCommand";
|
|
4
7
|
export * from "./GetResourcePolicyCommand";
|
|
8
|
+
export * from "./GetScheduledReportCommand";
|
|
5
9
|
export * from "./ListDashboardsCommand";
|
|
10
|
+
export * from "./ListScheduledReportsCommand";
|
|
6
11
|
export * from "./ListTagsForResourceCommand";
|
|
7
12
|
export * from "./TagResourceCommand";
|
|
8
13
|
export * from "./UntagResourceCommand";
|
|
9
14
|
export * from "./UpdateDashboardCommand";
|
|
15
|
+
export * from "./UpdateScheduledReportCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -68,6 +68,23 @@ export const DateTimeType = {
|
|
|
68
68
|
ABSOLUTE: "ABSOLUTE",
|
|
69
69
|
RELATIVE: "RELATIVE",
|
|
70
70
|
};
|
|
71
|
+
export const ScheduleState = {
|
|
72
|
+
DISABLED: "DISABLED",
|
|
73
|
+
ENABLED: "ENABLED",
|
|
74
|
+
};
|
|
75
|
+
export const HealthStatusCode = {
|
|
76
|
+
HEALTHY: "HEALTHY",
|
|
77
|
+
UNHEALTHY: "UNHEALTHY",
|
|
78
|
+
};
|
|
79
|
+
export const StatusReason = {
|
|
80
|
+
DASHBOARD_ACCESS_DENIED: "DASHBOARD_ACCESS_DENIED",
|
|
81
|
+
DASHBOARD_NOT_FOUND: "DASHBOARD_NOT_FOUND",
|
|
82
|
+
DATA_SOURCE_ACCESS_DENIED: "DATA_SOURCE_ACCESS_DENIED",
|
|
83
|
+
EXECUTION_ROLE_ASSUME_FAILED: "EXECUTION_ROLE_ASSUME_FAILED",
|
|
84
|
+
EXECUTION_ROLE_INSUFFICIENT_PERMISSIONS: "EXECUTION_ROLE_INSUFFICIENT_PERMISSIONS",
|
|
85
|
+
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
86
|
+
WIDGET_ID_NOT_FOUND: "WIDGET_ID_NOT_FOUND",
|
|
87
|
+
};
|
|
71
88
|
export const DashboardType = {
|
|
72
89
|
CUSTOM: "CUSTOM",
|
|
73
90
|
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -59,6 +59,18 @@ export class ValidationException extends __BaseException {
|
|
|
59
59
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
+
export class ConflictException extends __BaseException {
|
|
63
|
+
name = "ConflictException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "ConflictException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
62
74
|
export class ResourceNotFoundException extends __BaseException {
|
|
63
75
|
name = "ResourceNotFoundException";
|
|
64
76
|
$fault = "client";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { BCMDashboardsClient } from "../BCMDashboardsClient";
|
|
3
|
+
import { ListScheduledReportsCommand, } from "../commands/ListScheduledReportsCommand";
|
|
4
|
+
export const paginateListScheduledReports = createPaginator(BCMDashboardsClient, ListScheduledReportsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4,16 +4,26 @@ const _CCV = "CostCategoryValues";
|
|
|
4
4
|
const _CD = "CreateDashboard";
|
|
5
5
|
const _CDR = "CreateDashboardRequest";
|
|
6
6
|
const _CDRr = "CreateDashboardResponse";
|
|
7
|
+
const _CE = "ConflictException";
|
|
8
|
+
const _CSR = "CreateScheduledReport";
|
|
9
|
+
const _CSRR = "CreateScheduledReportRequest";
|
|
10
|
+
const _CSRRr = "CreateScheduledReportResponse";
|
|
7
11
|
const _DC = "DisplayConfig";
|
|
8
12
|
const _DD = "DeleteDashboard";
|
|
9
13
|
const _DDR = "DeleteDashboardRequest";
|
|
10
14
|
const _DDRe = "DeleteDashboardResponse";
|
|
11
15
|
const _DR = "DashboardReference";
|
|
12
16
|
const _DRL = "DashboardReferenceList";
|
|
17
|
+
const _DSR = "DeleteScheduledReport";
|
|
18
|
+
const _DSRR = "DeleteScheduledReportRequest";
|
|
19
|
+
const _DSRRe = "DeleteScheduledReportResponse";
|
|
13
20
|
const _DTR = "DateTimeRange";
|
|
14
21
|
const _DTV = "DateTimeValue";
|
|
15
22
|
const _DV = "DimensionValues";
|
|
16
23
|
const _E = "Expression";
|
|
24
|
+
const _ESR = "ExecuteScheduledReport";
|
|
25
|
+
const _ESRR = "ExecuteScheduledReportRequest";
|
|
26
|
+
const _ESRRx = "ExecuteScheduledReportResponse";
|
|
17
27
|
const _Ex = "Expressions";
|
|
18
28
|
const _GD = "GroupDefinition";
|
|
19
29
|
const _GDC = "GraphDisplayConfig";
|
|
@@ -25,10 +35,17 @@ const _GDr = "GroupDefinitions";
|
|
|
25
35
|
const _GRP = "GetResourcePolicy";
|
|
26
36
|
const _GRPR = "GetResourcePolicyRequest";
|
|
27
37
|
const _GRPRe = "GetResourcePolicyResponse";
|
|
38
|
+
const _GSR = "GetScheduledReport";
|
|
39
|
+
const _GSRR = "GetScheduledReportRequest";
|
|
40
|
+
const _GSRRe = "GetScheduledReportResponse";
|
|
41
|
+
const _HS = "HealthStatus";
|
|
28
42
|
const _ISE = "InternalServerException";
|
|
29
43
|
const _LD = "ListDashboards";
|
|
30
44
|
const _LDR = "ListDashboardsRequest";
|
|
31
45
|
const _LDRi = "ListDashboardsResponse";
|
|
46
|
+
const _LSR = "ListScheduledReports";
|
|
47
|
+
const _LSRR = "ListScheduledReportsRequest";
|
|
48
|
+
const _LSRRi = "ListScheduledReportsResponse";
|
|
32
49
|
const _LTFR = "ListTagsForResource";
|
|
33
50
|
const _LTFRR = "ListTagsForResourceRequest";
|
|
34
51
|
const _LTFRRi = "ListTagsForResourceResponse";
|
|
@@ -38,9 +55,15 @@ const _RNFE = "ResourceNotFoundException";
|
|
|
38
55
|
const _RT = "ResourceTag";
|
|
39
56
|
const _RTL = "ResourceTagList";
|
|
40
57
|
const _RUQ = "ReservationUtilizationQuery";
|
|
58
|
+
const _SC = "ScheduleConfig";
|
|
59
|
+
const _SP = "SchedulePeriod";
|
|
41
60
|
const _SPCQ = "SavingsPlansCoverageQuery";
|
|
42
61
|
const _SPUQ = "SavingsPlansUtilizationQuery";
|
|
43
62
|
const _SQEE = "ServiceQuotaExceededException";
|
|
63
|
+
const _SR = "ScheduledReport";
|
|
64
|
+
const _SRI = "ScheduledReportInput";
|
|
65
|
+
const _SRS = "ScheduledReportSummary";
|
|
66
|
+
const _SRSL = "ScheduledReportSummaryList";
|
|
44
67
|
const _TDCS = "TableDisplayConfigStruct";
|
|
45
68
|
const _TE = "ThrottlingException";
|
|
46
69
|
const _TR = "TagResource";
|
|
@@ -53,33 +76,48 @@ const _UDRp = "UpdateDashboardResponse";
|
|
|
53
76
|
const _UR = "UntagResource";
|
|
54
77
|
const _URR = "UntagResourceRequest";
|
|
55
78
|
const _URRn = "UntagResourceResponse";
|
|
79
|
+
const _USR = "UpdateScheduledReport";
|
|
80
|
+
const _USRR = "UpdateScheduledReportRequest";
|
|
81
|
+
const _USRRp = "UpdateScheduledReportResponse";
|
|
56
82
|
const _VE = "ValidationException";
|
|
57
83
|
const _W = "Widget";
|
|
58
84
|
const _WC = "WidgetConfig";
|
|
59
85
|
const _WCL = "WidgetConfigList";
|
|
60
86
|
const _WL = "WidgetList";
|
|
87
|
+
const _XACT = "X-Amzn-Client-Token";
|
|
61
88
|
const _a = "arn";
|
|
62
89
|
const _an = "and";
|
|
63
90
|
const _c = "client";
|
|
64
91
|
const _cA = "createdAt";
|
|
65
92
|
const _cAU = "costAndUsage";
|
|
66
93
|
const _cC = "costCategories";
|
|
94
|
+
const _cT = "clientToken";
|
|
95
|
+
const _cWDRO = "clearWidgetDateRangeOverride";
|
|
96
|
+
const _cWI = "clearWidgetIds";
|
|
67
97
|
const _co = "configs";
|
|
68
98
|
const _d = "description";
|
|
99
|
+
const _dA = "dashboardArn";
|
|
69
100
|
const _dC = "displayConfig";
|
|
101
|
+
const _dR = "dryRun";
|
|
70
102
|
const _da = "dashboards";
|
|
71
103
|
const _di = "dimensions";
|
|
72
104
|
const _e = "error";
|
|
73
105
|
const _eT = "endTime";
|
|
106
|
+
const _eTx = "executionTriggered";
|
|
74
107
|
const _f = "filter";
|
|
75
108
|
const _g = "granularity";
|
|
76
109
|
const _gB = "groupBy";
|
|
77
110
|
const _gr = "graph";
|
|
78
111
|
const _h = "height";
|
|
79
112
|
const _hE = "httpError";
|
|
113
|
+
const _hH = "httpHeader";
|
|
80
114
|
const _hO = "horizontalOffset";
|
|
115
|
+
const _hS = "healthStatus";
|
|
81
116
|
const _i = "id";
|
|
117
|
+
const _iT = "idempotencyToken";
|
|
82
118
|
const _k = "key";
|
|
119
|
+
const _lEA = "lastExecutionAt";
|
|
120
|
+
const _lRA = "lastRefreshedAt";
|
|
83
121
|
const _m = "message";
|
|
84
122
|
const _mO = "matchOptions";
|
|
85
123
|
const _mR = "maxResults";
|
|
@@ -96,10 +134,20 @@ const _rT = "resourceTags";
|
|
|
96
134
|
const _rTK = "resourceTagKeys";
|
|
97
135
|
const _rU = "reservationUtilization";
|
|
98
136
|
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.bcmdashboards";
|
|
137
|
+
const _sC = "statusCode";
|
|
138
|
+
const _sCc = "scheduleConfig";
|
|
139
|
+
const _sE = "scheduleExpression";
|
|
140
|
+
const _sETZ = "scheduleExpressionTimeZone";
|
|
141
|
+
const _sP = "schedulePeriod";
|
|
99
142
|
const _sPC = "savingsPlansCoverage";
|
|
100
143
|
const _sPU = "savingsPlansUtilization";
|
|
144
|
+
const _sR = "scheduledReport";
|
|
145
|
+
const _sRERA = "scheduledReportExecutionRoleArn";
|
|
146
|
+
const _sRc = "scheduledReports";
|
|
147
|
+
const _sRt = "statusReasons";
|
|
101
148
|
const _sT = "startTime";
|
|
102
149
|
const _se = "server";
|
|
150
|
+
const _st = "state";
|
|
103
151
|
const _t = "type";
|
|
104
152
|
const _tR = "timeRange";
|
|
105
153
|
const _ta = "tags";
|
|
@@ -110,11 +158,13 @@ const _v = "values";
|
|
|
110
158
|
const _vT = "visualType";
|
|
111
159
|
const _va = "value";
|
|
112
160
|
const _w = "widgets";
|
|
161
|
+
const _wDRO = "widgetDateRangeOverride";
|
|
162
|
+
const _wI = "widgetIds";
|
|
113
163
|
const _wi = "width";
|
|
114
164
|
const n0 = "com.amazonaws.bcmdashboards";
|
|
115
165
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
116
166
|
import { BCMDashboardsServiceException } from "../models/BCMDashboardsServiceException";
|
|
117
|
-
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
167
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
118
168
|
const _s_registry = TypeRegistry.for(_s);
|
|
119
169
|
export var BCMDashboardsServiceException$ = [-3, _s, "BCMDashboardsServiceException", 0, [], []];
|
|
120
170
|
_s_registry.registerError(BCMDashboardsServiceException$, BCMDashboardsServiceException);
|
|
@@ -125,6 +175,12 @@ export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
|
125
175
|
[0], 1
|
|
126
176
|
];
|
|
127
177
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
178
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
179
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
180
|
+
[_m],
|
|
181
|
+
[0], 1
|
|
182
|
+
];
|
|
183
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
128
184
|
export var InternalServerException$ = [-3, n0, _ISE,
|
|
129
185
|
{ [_e]: _se, [_hE]: 500 },
|
|
130
186
|
[_m],
|
|
@@ -179,6 +235,16 @@ export var CreateDashboardResponse$ = [3, n0, _CDRr,
|
|
|
179
235
|
[_a],
|
|
180
236
|
[0], 1
|
|
181
237
|
];
|
|
238
|
+
export var CreateScheduledReportRequest$ = [3, n0, _CSRR,
|
|
239
|
+
0,
|
|
240
|
+
[_sR, _rT, _cT],
|
|
241
|
+
[() => ScheduledReportInput$, () => ResourceTagList, [0, { [_hH]: _XACT, [_iT]: 1 }]], 1
|
|
242
|
+
];
|
|
243
|
+
export var CreateScheduledReportResponse$ = [3, n0, _CSRRr,
|
|
244
|
+
0,
|
|
245
|
+
[_a],
|
|
246
|
+
[0], 1
|
|
247
|
+
];
|
|
182
248
|
export var DashboardReference$ = [3, n0, _DR,
|
|
183
249
|
0,
|
|
184
250
|
[_a, _n, _t, _cA, _uA, _d],
|
|
@@ -204,11 +270,31 @@ export var DeleteDashboardResponse$ = [3, n0, _DDRe,
|
|
|
204
270
|
[_a],
|
|
205
271
|
[0], 1
|
|
206
272
|
];
|
|
273
|
+
export var DeleteScheduledReportRequest$ = [3, n0, _DSRR,
|
|
274
|
+
0,
|
|
275
|
+
[_a],
|
|
276
|
+
[0], 1
|
|
277
|
+
];
|
|
278
|
+
export var DeleteScheduledReportResponse$ = [3, n0, _DSRRe,
|
|
279
|
+
0,
|
|
280
|
+
[_a],
|
|
281
|
+
[0], 1
|
|
282
|
+
];
|
|
207
283
|
export var DimensionValues$ = [3, n0, _DV,
|
|
208
284
|
0,
|
|
209
285
|
[_k, _v, _mO],
|
|
210
286
|
[0, 64 | 0, 64 | 0], 2
|
|
211
287
|
];
|
|
288
|
+
export var ExecuteScheduledReportRequest$ = [3, n0, _ESRR,
|
|
289
|
+
0,
|
|
290
|
+
[_a, _cT, _dR],
|
|
291
|
+
[0, [0, { [_hH]: _XACT, [_iT]: 1 }], 2], 1
|
|
292
|
+
];
|
|
293
|
+
export var ExecuteScheduledReportResponse$ = [3, n0, _ESRRx,
|
|
294
|
+
0,
|
|
295
|
+
[_hS, _eTx],
|
|
296
|
+
[() => HealthStatus$, 2]
|
|
297
|
+
];
|
|
212
298
|
export var Expression$ = [3, n0, _E,
|
|
213
299
|
0,
|
|
214
300
|
[_o, _an, _no, _di, _ta, _cC],
|
|
@@ -234,6 +320,16 @@ export var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
|
|
|
234
320
|
[_rA, _pD],
|
|
235
321
|
[0, 0], 2
|
|
236
322
|
];
|
|
323
|
+
export var GetScheduledReportRequest$ = [3, n0, _GSRR,
|
|
324
|
+
0,
|
|
325
|
+
[_a],
|
|
326
|
+
[0], 1
|
|
327
|
+
];
|
|
328
|
+
export var GetScheduledReportResponse$ = [3, n0, _GSRRe,
|
|
329
|
+
0,
|
|
330
|
+
[_sR],
|
|
331
|
+
[() => ScheduledReport$], 1
|
|
332
|
+
];
|
|
237
333
|
export var GraphDisplayConfig$ = [3, n0, _GDC,
|
|
238
334
|
0,
|
|
239
335
|
[_vT],
|
|
@@ -244,6 +340,11 @@ export var GroupDefinition$ = [3, n0, _GD,
|
|
|
244
340
|
[_k, _t],
|
|
245
341
|
[0, 0], 1
|
|
246
342
|
];
|
|
343
|
+
export var HealthStatus$ = [3, n0, _HS,
|
|
344
|
+
0,
|
|
345
|
+
[_sC, _lRA, _sRt],
|
|
346
|
+
[0, 4, 64 | 0], 1
|
|
347
|
+
];
|
|
247
348
|
export var ListDashboardsRequest$ = [3, n0, _LDR,
|
|
248
349
|
0,
|
|
249
350
|
[_mR, _nT],
|
|
@@ -254,6 +355,16 @@ export var ListDashboardsResponse$ = [3, n0, _LDRi,
|
|
|
254
355
|
[_da, _nT],
|
|
255
356
|
[() => DashboardReferenceList, 0], 1
|
|
256
357
|
];
|
|
358
|
+
export var ListScheduledReportsRequest$ = [3, n0, _LSRR,
|
|
359
|
+
0,
|
|
360
|
+
[_nT, _mR],
|
|
361
|
+
[0, 1]
|
|
362
|
+
];
|
|
363
|
+
export var ListScheduledReportsResponse$ = [3, n0, _LSRRi,
|
|
364
|
+
0,
|
|
365
|
+
[_sRc, _nT],
|
|
366
|
+
[() => ScheduledReportSummaryList, 0], 1
|
|
367
|
+
];
|
|
257
368
|
export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
258
369
|
0,
|
|
259
370
|
[_rA],
|
|
@@ -289,6 +400,31 @@ export var SavingsPlansUtilizationQuery$ = [3, n0, _SPUQ,
|
|
|
289
400
|
[_tR, _g, _f],
|
|
290
401
|
[() => DateTimeRange$, 0, () => Expression$], 1
|
|
291
402
|
];
|
|
403
|
+
export var ScheduleConfig$ = [3, n0, _SC,
|
|
404
|
+
0,
|
|
405
|
+
[_sE, _sETZ, _sP, _st],
|
|
406
|
+
[0, 0, () => SchedulePeriod$, 0]
|
|
407
|
+
];
|
|
408
|
+
export var ScheduledReport$ = [3, n0, _SR,
|
|
409
|
+
0,
|
|
410
|
+
[_n, _dA, _sRERA, _sCc, _a, _d, _wI, _wDRO, _cA, _uA, _lEA, _hS],
|
|
411
|
+
[0, 0, 0, () => ScheduleConfig$, 0, 0, 64 | 0, () => DateTimeRange$, 4, 4, 4, () => HealthStatus$], 4
|
|
412
|
+
];
|
|
413
|
+
export var ScheduledReportInput$ = [3, n0, _SRI,
|
|
414
|
+
0,
|
|
415
|
+
[_n, _dA, _sRERA, _sCc, _d, _wI, _wDRO],
|
|
416
|
+
[0, 0, 0, () => ScheduleConfig$, 0, 64 | 0, () => DateTimeRange$], 4
|
|
417
|
+
];
|
|
418
|
+
export var ScheduledReportSummary$ = [3, n0, _SRS,
|
|
419
|
+
0,
|
|
420
|
+
[_a, _n, _dA, _sE, _st, _hS, _sETZ, _wI],
|
|
421
|
+
[0, 0, 0, 0, 0, () => HealthStatus$, 0, 64 | 0], 6
|
|
422
|
+
];
|
|
423
|
+
export var SchedulePeriod$ = [3, n0, _SP,
|
|
424
|
+
0,
|
|
425
|
+
[_sT, _eT],
|
|
426
|
+
[4, 4]
|
|
427
|
+
];
|
|
292
428
|
export var TableDisplayConfigStruct$ = [3, n0, _TDCS,
|
|
293
429
|
0,
|
|
294
430
|
[],
|
|
@@ -322,13 +458,23 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
|
|
|
322
458
|
export var UpdateDashboardRequest$ = [3, n0, _UDR,
|
|
323
459
|
0,
|
|
324
460
|
[_a, _n, _d, _w],
|
|
325
|
-
[0, 0, 0, () => WidgetList],
|
|
461
|
+
[0, 0, 0, () => WidgetList], 2
|
|
326
462
|
];
|
|
327
463
|
export var UpdateDashboardResponse$ = [3, n0, _UDRp,
|
|
328
464
|
0,
|
|
329
465
|
[_a],
|
|
330
466
|
[0], 1
|
|
331
467
|
];
|
|
468
|
+
export var UpdateScheduledReportRequest$ = [3, n0, _USRR,
|
|
469
|
+
0,
|
|
470
|
+
[_a, _n, _d, _dA, _sRERA, _sCc, _wI, _wDRO, _cWI, _cWDRO],
|
|
471
|
+
[0, 0, 0, 0, 0, () => ScheduleConfig$, 64 | 0, () => DateTimeRange$, 2, 2], 1
|
|
472
|
+
];
|
|
473
|
+
export var UpdateScheduledReportResponse$ = [3, n0, _USRRp,
|
|
474
|
+
0,
|
|
475
|
+
[_a],
|
|
476
|
+
[0], 1
|
|
477
|
+
];
|
|
332
478
|
export var Widget$ = [3, n0, _W,
|
|
333
479
|
0,
|
|
334
480
|
[_ti, _co, _i, _d, _wi, _h, _hO],
|
|
@@ -354,10 +500,15 @@ var ResourceTagKeyList = 64 | 0;
|
|
|
354
500
|
var ResourceTagList = [1, n0, _RTL,
|
|
355
501
|
0, () => ResourceTag$
|
|
356
502
|
];
|
|
503
|
+
var ScheduledReportSummaryList = [1, n0, _SRSL,
|
|
504
|
+
0, () => ScheduledReportSummary$
|
|
505
|
+
];
|
|
506
|
+
var StatusReasonList = 64 | 0;
|
|
357
507
|
var StringList = 64 | 0;
|
|
358
508
|
var WidgetConfigList = [1, n0, _WCL,
|
|
359
509
|
0, () => WidgetConfig$
|
|
360
510
|
];
|
|
511
|
+
var WidgetIdList = 64 | 0;
|
|
361
512
|
var WidgetList = [1, n0, _WL,
|
|
362
513
|
0, () => Widget$
|
|
363
514
|
];
|
|
@@ -377,18 +528,33 @@ export var QueryParameters$ = [4, n0, _QP,
|
|
|
377
528
|
export var CreateDashboard$ = [9, n0, _CD,
|
|
378
529
|
0, () => CreateDashboardRequest$, () => CreateDashboardResponse$
|
|
379
530
|
];
|
|
531
|
+
export var CreateScheduledReport$ = [9, n0, _CSR,
|
|
532
|
+
0, () => CreateScheduledReportRequest$, () => CreateScheduledReportResponse$
|
|
533
|
+
];
|
|
380
534
|
export var DeleteDashboard$ = [9, n0, _DD,
|
|
381
535
|
0, () => DeleteDashboardRequest$, () => DeleteDashboardResponse$
|
|
382
536
|
];
|
|
537
|
+
export var DeleteScheduledReport$ = [9, n0, _DSR,
|
|
538
|
+
0, () => DeleteScheduledReportRequest$, () => DeleteScheduledReportResponse$
|
|
539
|
+
];
|
|
540
|
+
export var ExecuteScheduledReport$ = [9, n0, _ESR,
|
|
541
|
+
0, () => ExecuteScheduledReportRequest$, () => ExecuteScheduledReportResponse$
|
|
542
|
+
];
|
|
383
543
|
export var GetDashboard$ = [9, n0, _GDe,
|
|
384
544
|
0, () => GetDashboardRequest$, () => GetDashboardResponse$
|
|
385
545
|
];
|
|
386
546
|
export var GetResourcePolicy$ = [9, n0, _GRP,
|
|
387
547
|
0, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
|
|
388
548
|
];
|
|
549
|
+
export var GetScheduledReport$ = [9, n0, _GSR,
|
|
550
|
+
0, () => GetScheduledReportRequest$, () => GetScheduledReportResponse$
|
|
551
|
+
];
|
|
389
552
|
export var ListDashboards$ = [9, n0, _LD,
|
|
390
553
|
0, () => ListDashboardsRequest$, () => ListDashboardsResponse$
|
|
391
554
|
];
|
|
555
|
+
export var ListScheduledReports$ = [9, n0, _LSR,
|
|
556
|
+
0, () => ListScheduledReportsRequest$, () => ListScheduledReportsResponse$
|
|
557
|
+
];
|
|
392
558
|
export var ListTagsForResource$ = [9, n0, _LTFR,
|
|
393
559
|
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
394
560
|
];
|
|
@@ -401,3 +567,6 @@ export var UntagResource$ = [9, n0, _UR,
|
|
|
401
567
|
export var UpdateDashboard$ = [9, n0, _UD,
|
|
402
568
|
0, () => UpdateDashboardRequest$, () => UpdateDashboardResponse$
|
|
403
569
|
];
|
|
570
|
+
export var UpdateScheduledReport$ = [9, n0, _USR,
|
|
571
|
+
0, () => UpdateScheduledReportRequest$, () => UpdateScheduledReportResponse$
|
|
572
|
+
];
|