@aws-sdk/client-pi 3.649.0 → 3.650.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 CHANGED
@@ -877,9 +877,7 @@ function sharedHeaders(operation) {
877
877
  __name(sharedHeaders, "sharedHeaders");
878
878
 
879
879
  // src/commands/CreatePerformanceAnalysisReportCommand.ts
880
- var _CreatePerformanceAnalysisReportCommand = class _CreatePerformanceAnalysisReportCommand extends import_smithy_client.Command.classBuilder().ep({
881
- ...commonParams
882
- }).m(function(Command, cs, config, o) {
880
+ var _CreatePerformanceAnalysisReportCommand = class _CreatePerformanceAnalysisReportCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
883
881
  return [
884
882
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
885
883
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -893,9 +891,7 @@ var CreatePerformanceAnalysisReportCommand = _CreatePerformanceAnalysisReportCom
893
891
 
894
892
 
895
893
 
896
- var _DeletePerformanceAnalysisReportCommand = class _DeletePerformanceAnalysisReportCommand extends import_smithy_client.Command.classBuilder().ep({
897
- ...commonParams
898
- }).m(function(Command, cs, config, o) {
894
+ var _DeletePerformanceAnalysisReportCommand = class _DeletePerformanceAnalysisReportCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
899
895
  return [
900
896
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
901
897
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -909,9 +905,7 @@ var DeletePerformanceAnalysisReportCommand = _DeletePerformanceAnalysisReportCom
909
905
 
910
906
 
911
907
 
912
- var _DescribeDimensionKeysCommand = class _DescribeDimensionKeysCommand extends import_smithy_client.Command.classBuilder().ep({
913
- ...commonParams
914
- }).m(function(Command, cs, config, o) {
908
+ var _DescribeDimensionKeysCommand = class _DescribeDimensionKeysCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
915
909
  return [
916
910
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
917
911
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -925,9 +919,7 @@ var DescribeDimensionKeysCommand = _DescribeDimensionKeysCommand;
925
919
 
926
920
 
927
921
 
928
- var _GetDimensionKeyDetailsCommand = class _GetDimensionKeyDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
929
- ...commonParams
930
- }).m(function(Command, cs, config, o) {
922
+ var _GetDimensionKeyDetailsCommand = class _GetDimensionKeyDetailsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
931
923
  return [
932
924
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
933
925
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -941,9 +933,7 @@ var GetDimensionKeyDetailsCommand = _GetDimensionKeyDetailsCommand;
941
933
 
942
934
 
943
935
 
944
- var _GetPerformanceAnalysisReportCommand = class _GetPerformanceAnalysisReportCommand extends import_smithy_client.Command.classBuilder().ep({
945
- ...commonParams
946
- }).m(function(Command, cs, config, o) {
936
+ var _GetPerformanceAnalysisReportCommand = class _GetPerformanceAnalysisReportCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
947
937
  return [
948
938
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
949
939
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -957,9 +947,7 @@ var GetPerformanceAnalysisReportCommand = _GetPerformanceAnalysisReportCommand;
957
947
 
958
948
 
959
949
 
960
- var _GetResourceMetadataCommand = class _GetResourceMetadataCommand extends import_smithy_client.Command.classBuilder().ep({
961
- ...commonParams
962
- }).m(function(Command, cs, config, o) {
950
+ var _GetResourceMetadataCommand = class _GetResourceMetadataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
963
951
  return [
964
952
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
965
953
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -973,9 +961,7 @@ var GetResourceMetadataCommand = _GetResourceMetadataCommand;
973
961
 
974
962
 
975
963
 
976
- var _GetResourceMetricsCommand = class _GetResourceMetricsCommand extends import_smithy_client.Command.classBuilder().ep({
977
- ...commonParams
978
- }).m(function(Command, cs, config, o) {
964
+ var _GetResourceMetricsCommand = class _GetResourceMetricsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
979
965
  return [
980
966
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
981
967
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -989,9 +975,7 @@ var GetResourceMetricsCommand = _GetResourceMetricsCommand;
989
975
 
990
976
 
991
977
 
992
- var _ListAvailableResourceDimensionsCommand = class _ListAvailableResourceDimensionsCommand extends import_smithy_client.Command.classBuilder().ep({
993
- ...commonParams
994
- }).m(function(Command, cs, config, o) {
978
+ var _ListAvailableResourceDimensionsCommand = class _ListAvailableResourceDimensionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
995
979
  return [
996
980
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
997
981
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1005,9 +989,7 @@ var ListAvailableResourceDimensionsCommand = _ListAvailableResourceDimensionsCom
1005
989
 
1006
990
 
1007
991
 
1008
- var _ListAvailableResourceMetricsCommand = class _ListAvailableResourceMetricsCommand extends import_smithy_client.Command.classBuilder().ep({
1009
- ...commonParams
1010
- }).m(function(Command, cs, config, o) {
992
+ var _ListAvailableResourceMetricsCommand = class _ListAvailableResourceMetricsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1011
993
  return [
1012
994
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1013
995
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1021,9 +1003,7 @@ var ListAvailableResourceMetricsCommand = _ListAvailableResourceMetricsCommand;
1021
1003
 
1022
1004
 
1023
1005
 
1024
- var _ListPerformanceAnalysisReportsCommand = class _ListPerformanceAnalysisReportsCommand extends import_smithy_client.Command.classBuilder().ep({
1025
- ...commonParams
1026
- }).m(function(Command, cs, config, o) {
1006
+ var _ListPerformanceAnalysisReportsCommand = class _ListPerformanceAnalysisReportsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1027
1007
  return [
1028
1008
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1029
1009
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1037,9 +1017,7 @@ var ListPerformanceAnalysisReportsCommand = _ListPerformanceAnalysisReportsComma
1037
1017
 
1038
1018
 
1039
1019
 
1040
- var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1041
- ...commonParams
1042
- }).m(function(Command, cs, config, o) {
1020
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1043
1021
  return [
1044
1022
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1045
1023
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1053,9 +1031,7 @@ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
1053
1031
 
1054
1032
 
1055
1033
 
1056
- var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1057
- ...commonParams
1058
- }).m(function(Command, cs, config, o) {
1034
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1059
1035
  return [
1060
1036
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1061
1037
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -1069,9 +1045,7 @@ var TagResourceCommand = _TagResourceCommand;
1069
1045
 
1070
1046
 
1071
1047
 
1072
- var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
1073
- ...commonParams
1074
- }).m(function(Command, cs, config, o) {
1048
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1075
1049
  return [
1076
1050
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1077
1051
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
@@ -6,9 +6,7 @@ import { de_CreatePerformanceAnalysisReportCommand, se_CreatePerformanceAnalysis
6
6
  export { $Command };
7
7
  export class CreatePerformanceAnalysisReportCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DeletePerformanceAnalysisReportCommand, se_DeletePerformanceAnalysis
6
6
  export { $Command };
7
7
  export class DeletePerformanceAnalysisReportCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_DescribeDimensionKeysCommand, se_DescribeDimensionKeysCommand } from
6
6
  export { $Command };
7
7
  export class DescribeDimensionKeysCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetDimensionKeyDetailsCommand, se_GetDimensionKeyDetailsCommand } fr
6
6
  export { $Command };
7
7
  export class GetDimensionKeyDetailsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -7,9 +7,7 @@ import { de_GetPerformanceAnalysisReportCommand, se_GetPerformanceAnalysisReport
7
7
  export { $Command };
8
8
  export class GetPerformanceAnalysisReportCommand extends $Command
9
9
  .classBuilder()
10
- .ep({
11
- ...commonParams,
12
- })
10
+ .ep(commonParams)
13
11
  .m(function (Command, cs, config, o) {
14
12
  return [
15
13
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetResourceMetadataCommand, se_GetResourceMetadataCommand } from "..
6
6
  export { $Command };
7
7
  export class GetResourceMetadataCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_GetResourceMetricsCommand, se_GetResourceMetricsCommand } from "../p
6
6
  export { $Command };
7
7
  export class GetResourceMetricsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListAvailableResourceDimensionsCommand, se_ListAvailableResourceDime
6
6
  export { $Command };
7
7
  export class ListAvailableResourceDimensionsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListAvailableResourceMetricsCommand, se_ListAvailableResourceMetrics
6
6
  export { $Command };
7
7
  export class ListAvailableResourceMetricsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListPerformanceAnalysisReportsCommand, se_ListPerformanceAnalysisRep
6
6
  export { $Command };
7
7
  export class ListPerformanceAnalysisReportsCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "..
6
6
  export { $Command };
7
7
  export class ListTagsForResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_j
6
6
  export { $Command };
7
7
  export class TagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -6,9 +6,7 @@ import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/A
6
6
  export { $Command };
7
7
  export class UntagResourceCommand extends $Command
8
8
  .classBuilder()
9
- .ep({
10
- ...commonParams,
11
- })
9
+ .ep(commonParams)
12
10
  .m(function (Command, cs, config, o) {
13
11
  return [
14
12
  getSerdePlugin(config, this.serialize, this.deserialize),
@@ -1,10 +1,14 @@
1
1
  import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
- import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
+ import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
3
3
  import { ruleSet } from "./ruleset";
4
+ const cache = new EndpointCache({
5
+ size: 50,
6
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
7
+ });
4
8
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
5
- return resolveEndpoint(ruleSet, {
9
+ return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
6
10
  endpointParams: endpointParams,
7
11
  logger: context.logger,
8
- });
12
+ }));
9
13
  };
10
14
  customEndpointFunctions.aws = awsEndpointFunctions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pi",
3
3
  "description": "AWS SDK for JavaScript Pi Client for Node.js, Browser and React Native",
4
- "version": "3.649.0",
4
+ "version": "3.650.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-pi",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.649.0",
24
- "@aws-sdk/client-sts": "3.649.0",
23
+ "@aws-sdk/client-sso-oidc": "3.650.0",
24
+ "@aws-sdk/client-sts": "3.650.0",
25
25
  "@aws-sdk/core": "3.649.0",
26
- "@aws-sdk/credential-provider-node": "3.649.0",
26
+ "@aws-sdk/credential-provider-node": "3.650.0",
27
27
  "@aws-sdk/middleware-host-header": "3.649.0",
28
28
  "@aws-sdk/middleware-logger": "3.649.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.649.0",
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.34.4"
9
- }
10
- ]
11
- }