@aws-sdk/client-pi 3.948.0 → 3.953.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 +198 -135
- package/dist-cjs/runtimeConfig.shared.js +7 -6
- package/dist-es/commands/CreatePerformanceAnalysisReportCommand.js +2 -2
- package/dist-es/commands/DeletePerformanceAnalysisReportCommand.js +2 -2
- package/dist-es/commands/DescribeDimensionKeysCommand.js +2 -2
- package/dist-es/commands/GetDimensionKeyDetailsCommand.js +2 -2
- package/dist-es/commands/GetPerformanceAnalysisReportCommand.js +2 -2
- package/dist-es/commands/GetResourceMetadataCommand.js +2 -2
- package/dist-es/commands/GetResourceMetricsCommand.js +2 -2
- package/dist-es/commands/ListAvailableResourceDimensionsCommand.js +2 -2
- package/dist-es/commands/ListAvailableResourceMetricsCommand.js +2 -2
- package/dist-es/commands/ListPerformanceAnalysisReportsCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +7 -6
- package/dist-es/schemas/schemas_0.js +125 -125
- package/dist-types/PIClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +64 -93
- package/dist-types/ts3.4/PIClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +63 -95
- package/package.json +34 -34
|
@@ -26,12 +26,13 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.pi",
|
|
32
|
+
xmlNamespace: "http://pi.amazonaws.com/doc/2018-02-27/",
|
|
33
|
+
version: "2018-02-27",
|
|
34
|
+
serviceTarget: "PerformanceInsightsv20180227",
|
|
35
|
+
},
|
|
35
36
|
serviceId: config?.serviceId ?? "PI",
|
|
36
37
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
37
38
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreatePerformanceAnalysisReport } from "../schemas/schemas_0";
|
|
4
|
+
import { CreatePerformanceAnalysisReport$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreatePerformanceAnalysisReportCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreatePerformanceAnalysisReportCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "CreatePerformanceAnalysisReport", {})
|
|
13
13
|
.n("PIClient", "CreatePerformanceAnalysisReportCommand")
|
|
14
|
-
.sc(CreatePerformanceAnalysisReport)
|
|
14
|
+
.sc(CreatePerformanceAnalysisReport$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeletePerformanceAnalysisReport } from "../schemas/schemas_0";
|
|
4
|
+
import { DeletePerformanceAnalysisReport$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DeletePerformanceAnalysisReportCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DeletePerformanceAnalysisReportCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "DeletePerformanceAnalysisReport", {})
|
|
13
13
|
.n("PIClient", "DeletePerformanceAnalysisReportCommand")
|
|
14
|
-
.sc(DeletePerformanceAnalysisReport)
|
|
14
|
+
.sc(DeletePerformanceAnalysisReport$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeDimensionKeys } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeDimensionKeys$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeDimensionKeysCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeDimensionKeysCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "DescribeDimensionKeys", {})
|
|
13
13
|
.n("PIClient", "DescribeDimensionKeysCommand")
|
|
14
|
-
.sc(DescribeDimensionKeys)
|
|
14
|
+
.sc(DescribeDimensionKeys$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetDimensionKeyDetails } from "../schemas/schemas_0";
|
|
4
|
+
import { GetDimensionKeyDetails$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetDimensionKeyDetailsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetDimensionKeyDetailsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "GetDimensionKeyDetails", {})
|
|
13
13
|
.n("PIClient", "GetDimensionKeyDetailsCommand")
|
|
14
|
-
.sc(GetDimensionKeyDetails)
|
|
14
|
+
.sc(GetDimensionKeyDetails$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetPerformanceAnalysisReport } from "../schemas/schemas_0";
|
|
4
|
+
import { GetPerformanceAnalysisReport$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetPerformanceAnalysisReportCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetPerformanceAnalysisReportCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "GetPerformanceAnalysisReport", {})
|
|
13
13
|
.n("PIClient", "GetPerformanceAnalysisReportCommand")
|
|
14
|
-
.sc(GetPerformanceAnalysisReport)
|
|
14
|
+
.sc(GetPerformanceAnalysisReport$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetResourceMetadata } from "../schemas/schemas_0";
|
|
4
|
+
import { GetResourceMetadata$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetResourceMetadataCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetResourceMetadataCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "GetResourceMetadata", {})
|
|
13
13
|
.n("PIClient", "GetResourceMetadataCommand")
|
|
14
|
-
.sc(GetResourceMetadata)
|
|
14
|
+
.sc(GetResourceMetadata$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetResourceMetrics } from "../schemas/schemas_0";
|
|
4
|
+
import { GetResourceMetrics$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetResourceMetricsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetResourceMetricsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "GetResourceMetrics", {})
|
|
13
13
|
.n("PIClient", "GetResourceMetricsCommand")
|
|
14
|
-
.sc(GetResourceMetrics)
|
|
14
|
+
.sc(GetResourceMetrics$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListAvailableResourceDimensions } from "../schemas/schemas_0";
|
|
4
|
+
import { ListAvailableResourceDimensions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListAvailableResourceDimensionsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListAvailableResourceDimensionsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "ListAvailableResourceDimensions", {})
|
|
13
13
|
.n("PIClient", "ListAvailableResourceDimensionsCommand")
|
|
14
|
-
.sc(ListAvailableResourceDimensions)
|
|
14
|
+
.sc(ListAvailableResourceDimensions$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListAvailableResourceMetrics } from "../schemas/schemas_0";
|
|
4
|
+
import { ListAvailableResourceMetrics$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListAvailableResourceMetricsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListAvailableResourceMetricsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "ListAvailableResourceMetrics", {})
|
|
13
13
|
.n("PIClient", "ListAvailableResourceMetricsCommand")
|
|
14
|
-
.sc(ListAvailableResourceMetrics)
|
|
14
|
+
.sc(ListAvailableResourceMetrics$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListPerformanceAnalysisReports } from "../schemas/schemas_0";
|
|
4
|
+
import { ListPerformanceAnalysisReports$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListPerformanceAnalysisReportsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListPerformanceAnalysisReportsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "ListPerformanceAnalysisReports", {})
|
|
13
13
|
.n("PIClient", "ListPerformanceAnalysisReportsCommand")
|
|
14
|
-
.sc(ListPerformanceAnalysisReports)
|
|
14
|
+
.sc(ListPerformanceAnalysisReports$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "ListTagsForResource", {})
|
|
13
13
|
.n("PIClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "TagResource", {})
|
|
13
13
|
.n("PIClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("PerformanceInsightsv20180227", "UntagResource", {})
|
|
13
13
|
.n("PIClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.pi",
|
|
29
|
+
xmlNamespace: "http://pi.amazonaws.com/doc/2018-02-27/",
|
|
30
|
+
version: "2018-02-27",
|
|
31
|
+
serviceTarget: "PerformanceInsightsv20180227",
|
|
32
|
+
},
|
|
32
33
|
serviceId: config?.serviceId ?? "PI",
|
|
33
34
|
urlParser: config?.urlParser ?? parseUrl,
|
|
34
35
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|