@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.
Files changed (33) hide show
  1. package/dist-cjs/index.js +198 -135
  2. package/dist-cjs/runtimeConfig.shared.js +7 -6
  3. package/dist-es/commands/CreatePerformanceAnalysisReportCommand.js +2 -2
  4. package/dist-es/commands/DeletePerformanceAnalysisReportCommand.js +2 -2
  5. package/dist-es/commands/DescribeDimensionKeysCommand.js +2 -2
  6. package/dist-es/commands/GetDimensionKeyDetailsCommand.js +2 -2
  7. package/dist-es/commands/GetPerformanceAnalysisReportCommand.js +2 -2
  8. package/dist-es/commands/GetResourceMetadataCommand.js +2 -2
  9. package/dist-es/commands/GetResourceMetricsCommand.js +2 -2
  10. package/dist-es/commands/ListAvailableResourceDimensionsCommand.js +2 -2
  11. package/dist-es/commands/ListAvailableResourceMetricsCommand.js +2 -2
  12. package/dist-es/commands/ListPerformanceAnalysisReportsCommand.js +2 -2
  13. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  14. package/dist-es/commands/TagResourceCommand.js +2 -2
  15. package/dist-es/commands/UntagResourceCommand.js +2 -2
  16. package/dist-es/index.js +1 -0
  17. package/dist-es/runtimeConfig.shared.js +7 -6
  18. package/dist-es/schemas/schemas_0.js +125 -125
  19. package/dist-types/PIClient.d.ts +1 -10
  20. package/dist-types/index.d.ts +1 -0
  21. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  22. package/dist-types/runtimeConfig.d.ts +6 -2
  23. package/dist-types/runtimeConfig.native.d.ts +6 -2
  24. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  25. package/dist-types/schemas/schemas_0.d.ts +64 -93
  26. package/dist-types/ts3.4/PIClient.d.ts +0 -4
  27. package/dist-types/ts3.4/index.d.ts +1 -0
  28. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  29. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  32. package/dist-types/ts3.4/schemas/schemas_0.d.ts +63 -95
  33. 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
- new protocols_1.AwsJson1_1Protocol({
31
- defaultNamespace: "com.amazonaws.pi",
32
- serviceTarget: "PerformanceInsightsv20180227",
33
- awsQueryCompatible: false,
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
@@ -1,6 +1,7 @@
1
1
  export * from "./PIClient";
2
2
  export * from "./PI";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,12 +23,13 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsJson1_1Protocol({
28
- defaultNamespace: "com.amazonaws.pi",
29
- serviceTarget: "PerformanceInsightsv20180227",
30
- awsQueryCompatible: false,
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,