@aws-sdk/client-pi 3.489.0 → 3.495.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 (32) hide show
  1. package/dist-cjs/PI.js +1 -37
  2. package/dist-cjs/PIClient.js +1 -43
  3. package/dist-cjs/commands/CreatePerformanceAnalysisReportCommand.js +1 -28
  4. package/dist-cjs/commands/DeletePerformanceAnalysisReportCommand.js +1 -28
  5. package/dist-cjs/commands/DescribeDimensionKeysCommand.js +1 -28
  6. package/dist-cjs/commands/GetDimensionKeyDetailsCommand.js +1 -28
  7. package/dist-cjs/commands/GetPerformanceAnalysisReportCommand.js +1 -29
  8. package/dist-cjs/commands/GetResourceMetadataCommand.js +1 -28
  9. package/dist-cjs/commands/GetResourceMetricsCommand.js +1 -28
  10. package/dist-cjs/commands/ListAvailableResourceDimensionsCommand.js +1 -28
  11. package/dist-cjs/commands/ListAvailableResourceMetricsCommand.js +1 -28
  12. package/dist-cjs/commands/ListPerformanceAnalysisReportsCommand.js +1 -28
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  14. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  15. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  16. package/dist-cjs/commands/index.js +1 -16
  17. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  18. package/dist-cjs/extensionConfiguration.js +1 -2
  19. package/dist-cjs/index.js +1462 -11
  20. package/dist-cjs/models/PIServiceException.js +1 -12
  21. package/dist-cjs/models/index.js +1 -4
  22. package/dist-cjs/models/models_0.js +1 -115
  23. package/dist-cjs/pagination/DescribeDimensionKeysPaginator.js +1 -7
  24. package/dist-cjs/pagination/GetResourceMetricsPaginator.js +1 -7
  25. package/dist-cjs/pagination/Interfaces.js +1 -2
  26. package/dist-cjs/pagination/ListAvailableResourceDimensionsPaginator.js +1 -7
  27. package/dist-cjs/pagination/ListAvailableResourceMetricsPaginator.js +1 -7
  28. package/dist-cjs/pagination/ListPerformanceAnalysisReportsPaginator.js +1 -7
  29. package/dist-cjs/pagination/index.js +1 -9
  30. package/dist-cjs/protocols/Aws_json1_1.js +1 -906
  31. package/dist-cjs/runtimeExtensions.js +1 -22
  32. package/package.json +40 -40
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PIServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class PIServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, PIServiceException.prototype);
10
- }
11
- }
12
- exports.PIServiceException = PIServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,115 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetPerformanceAnalysisReportResponseFilterSensitiveLog = exports.AnalysisReportFilterSensitiveLog = exports.InsightFilterSensitiveLog = exports.RecommendationFilterSensitiveLog = exports.PeriodAlignment = exports.TextFormat = exports.FeatureStatus = exports.DetailStatus = exports.NotAuthorizedException = exports.InvalidArgumentException = exports.InternalServiceError = exports.AnalysisStatus = exports.ServiceType = exports.Severity = exports.ContextType = exports.AcceptLanguage = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const PIServiceException_1 = require("./PIServiceException");
6
- exports.AcceptLanguage = {
7
- EN_US: "EN_US",
8
- };
9
- exports.ContextType = {
10
- CAUSAL: "CAUSAL",
11
- CONTEXTUAL: "CONTEXTUAL",
12
- };
13
- exports.Severity = {
14
- HIGH: "HIGH",
15
- LOW: "LOW",
16
- MEDIUM: "MEDIUM",
17
- };
18
- exports.ServiceType = {
19
- DOCDB: "DOCDB",
20
- RDS: "RDS",
21
- };
22
- exports.AnalysisStatus = {
23
- FAILED: "FAILED",
24
- RUNNING: "RUNNING",
25
- SUCCEEDED: "SUCCEEDED",
26
- };
27
- class InternalServiceError extends PIServiceException_1.PIServiceException {
28
- constructor(opts) {
29
- super({
30
- name: "InternalServiceError",
31
- $fault: "server",
32
- ...opts,
33
- });
34
- this.name = "InternalServiceError";
35
- this.$fault = "server";
36
- Object.setPrototypeOf(this, InternalServiceError.prototype);
37
- this.Message = opts.Message;
38
- }
39
- }
40
- exports.InternalServiceError = InternalServiceError;
41
- class InvalidArgumentException extends PIServiceException_1.PIServiceException {
42
- constructor(opts) {
43
- super({
44
- name: "InvalidArgumentException",
45
- $fault: "client",
46
- ...opts,
47
- });
48
- this.name = "InvalidArgumentException";
49
- this.$fault = "client";
50
- Object.setPrototypeOf(this, InvalidArgumentException.prototype);
51
- this.Message = opts.Message;
52
- }
53
- }
54
- exports.InvalidArgumentException = InvalidArgumentException;
55
- class NotAuthorizedException extends PIServiceException_1.PIServiceException {
56
- constructor(opts) {
57
- super({
58
- name: "NotAuthorizedException",
59
- $fault: "client",
60
- ...opts,
61
- });
62
- this.name = "NotAuthorizedException";
63
- this.$fault = "client";
64
- Object.setPrototypeOf(this, NotAuthorizedException.prototype);
65
- this.Message = opts.Message;
66
- }
67
- }
68
- exports.NotAuthorizedException = NotAuthorizedException;
69
- exports.DetailStatus = {
70
- AVAILABLE: "AVAILABLE",
71
- PROCESSING: "PROCESSING",
72
- UNAVAILABLE: "UNAVAILABLE",
73
- };
74
- exports.FeatureStatus = {
75
- DISABLED: "DISABLED",
76
- DISABLED_PENDING_REBOOT: "DISABLED_PENDING_REBOOT",
77
- ENABLED: "ENABLED",
78
- ENABLED_PENDING_REBOOT: "ENABLED_PENDING_REBOOT",
79
- UNKNOWN: "UNKNOWN",
80
- UNSUPPORTED: "UNSUPPORTED",
81
- };
82
- exports.TextFormat = {
83
- MARKDOWN: "MARKDOWN",
84
- PLAIN_TEXT: "PLAIN_TEXT",
85
- };
86
- exports.PeriodAlignment = {
87
- END_TIME: "END_TIME",
88
- START_TIME: "START_TIME",
89
- };
90
- const RecommendationFilterSensitiveLog = (obj) => ({
91
- ...obj,
92
- ...(obj.RecommendationDescription && { RecommendationDescription: smithy_client_1.SENSITIVE_STRING }),
93
- });
94
- exports.RecommendationFilterSensitiveLog = RecommendationFilterSensitiveLog;
95
- const InsightFilterSensitiveLog = (obj) => ({
96
- ...obj,
97
- ...(obj.SupportingInsights && {
98
- SupportingInsights: obj.SupportingInsights.map((item) => (0, exports.InsightFilterSensitiveLog)(item)),
99
- }),
100
- ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }),
101
- ...(obj.Recommendations && {
102
- Recommendations: obj.Recommendations.map((item) => (0, exports.RecommendationFilterSensitiveLog)(item)),
103
- }),
104
- });
105
- exports.InsightFilterSensitiveLog = InsightFilterSensitiveLog;
106
- const AnalysisReportFilterSensitiveLog = (obj) => ({
107
- ...obj,
108
- ...(obj.Insights && { Insights: obj.Insights.map((item) => (0, exports.InsightFilterSensitiveLog)(item)) }),
109
- });
110
- exports.AnalysisReportFilterSensitiveLog = AnalysisReportFilterSensitiveLog;
111
- const GetPerformanceAnalysisReportResponseFilterSensitiveLog = (obj) => ({
112
- ...obj,
113
- ...(obj.AnalysisReport && { AnalysisReport: (0, exports.AnalysisReportFilterSensitiveLog)(obj.AnalysisReport) }),
114
- });
115
- exports.GetPerformanceAnalysisReportResponseFilterSensitiveLog = GetPerformanceAnalysisReportResponseFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateDescribeDimensionKeys = void 0;
4
- const core_1 = require("@smithy/core");
5
- const DescribeDimensionKeysCommand_1 = require("../commands/DescribeDimensionKeysCommand");
6
- const PIClient_1 = require("../PIClient");
7
- exports.paginateDescribeDimensionKeys = (0, core_1.createPaginator)(PIClient_1.PIClient, DescribeDimensionKeysCommand_1.DescribeDimensionKeysCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateGetResourceMetrics = void 0;
4
- const core_1 = require("@smithy/core");
5
- const GetResourceMetricsCommand_1 = require("../commands/GetResourceMetricsCommand");
6
- const PIClient_1 = require("../PIClient");
7
- exports.paginateGetResourceMetrics = (0, core_1.createPaginator)(PIClient_1.PIClient, GetResourceMetricsCommand_1.GetResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAvailableResourceDimensions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAvailableResourceDimensionsCommand_1 = require("../commands/ListAvailableResourceDimensionsCommand");
6
- const PIClient_1 = require("../PIClient");
7
- exports.paginateListAvailableResourceDimensions = (0, core_1.createPaginator)(PIClient_1.PIClient, ListAvailableResourceDimensionsCommand_1.ListAvailableResourceDimensionsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListAvailableResourceMetrics = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListAvailableResourceMetricsCommand_1 = require("../commands/ListAvailableResourceMetricsCommand");
6
- const PIClient_1 = require("../PIClient");
7
- exports.paginateListAvailableResourceMetrics = (0, core_1.createPaginator)(PIClient_1.PIClient, ListAvailableResourceMetricsCommand_1.ListAvailableResourceMetricsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListPerformanceAnalysisReports = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListPerformanceAnalysisReportsCommand_1 = require("../commands/ListPerformanceAnalysisReportsCommand");
6
- const PIClient_1 = require("../PIClient");
7
- exports.paginateListPerformanceAnalysisReports = (0, core_1.createPaginator)(PIClient_1.PIClient, ListPerformanceAnalysisReportsCommand_1.ListPerformanceAnalysisReportsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./DescribeDimensionKeysPaginator"), exports);
5
- tslib_1.__exportStar(require("./GetResourceMetricsPaginator"), exports);
6
- tslib_1.__exportStar(require("./Interfaces"), exports);
7
- tslib_1.__exportStar(require("./ListAvailableResourceDimensionsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListAvailableResourceMetricsPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListPerformanceAnalysisReportsPaginator"), exports);
1
+ module.exports = require("../index.js");