@aws-sdk/client-pi 3.758.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +36 -36
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AcceptLanguage: () => AcceptLanguage,
25
25
  AnalysisReportFilterSensitiveLog: () => AnalysisReportFilterSensitiveLog,
26
26
  AnalysisStatus: () => AnalysisStatus,
@@ -61,7 +61,7 @@ __export(src_exports, {
61
61
  paginateListAvailableResourceMetrics: () => paginateListAvailableResourceMetrics,
62
62
  paginateListPerformanceAnalysisReports: () => paginateListPerformanceAnalysisReports
63
63
  });
64
- module.exports = __toCommonJS(src_exports);
64
+ module.exports = __toCommonJS(index_exports);
65
65
 
66
66
  // src/PIClient.ts
67
67
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -188,9 +188,9 @@ var PIClient = class extends import_smithy_client.Client {
188
188
  this.middlewareStack.use(
189
189
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
190
190
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPIHttpAuthSchemeParametersProvider,
191
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
191
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
192
192
  "aws.auth#sigv4": config.credentials
193
- })
193
+ }), "identityProviderConfigProvider")
194
194
  })
195
195
  );
196
196
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -669,17 +669,17 @@ var de_NotAuthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, c
669
669
  }, "de_NotAuthorizedExceptionRes");
670
670
  var se_CreatePerformanceAnalysisReportRequest = /* @__PURE__ */ __name((input, context) => {
671
671
  return (0, import_smithy_client.take)(input, {
672
- EndTime: (_) => _.getTime() / 1e3,
672
+ EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
673
673
  Identifier: [],
674
674
  ServiceType: [],
675
- StartTime: (_) => _.getTime() / 1e3,
675
+ StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime"),
676
676
  Tags: import_smithy_client._json
677
677
  });
678
678
  }, "se_CreatePerformanceAnalysisReportRequest");
679
679
  var se_DescribeDimensionKeysRequest = /* @__PURE__ */ __name((input, context) => {
680
680
  return (0, import_smithy_client.take)(input, {
681
681
  AdditionalMetrics: import_smithy_client._json,
682
- EndTime: (_) => _.getTime() / 1e3,
682
+ EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
683
683
  Filter: import_smithy_client._json,
684
684
  GroupBy: import_smithy_client._json,
685
685
  Identifier: [],
@@ -689,12 +689,12 @@ var se_DescribeDimensionKeysRequest = /* @__PURE__ */ __name((input, context) =>
689
689
  PartitionBy: import_smithy_client._json,
690
690
  PeriodInSeconds: [],
691
691
  ServiceType: [],
692
- StartTime: (_) => _.getTime() / 1e3
692
+ StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
693
693
  });
694
694
  }, "se_DescribeDimensionKeysRequest");
695
695
  var se_GetResourceMetricsRequest = /* @__PURE__ */ __name((input, context) => {
696
696
  return (0, import_smithy_client.take)(input, {
697
- EndTime: (_) => _.getTime() / 1e3,
697
+ EndTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "EndTime"),
698
698
  Identifier: [],
699
699
  MaxResults: [],
700
700
  MetricQueries: import_smithy_client._json,
@@ -702,7 +702,7 @@ var se_GetResourceMetricsRequest = /* @__PURE__ */ __name((input, context) => {
702
702
  PeriodAlignment: [],
703
703
  PeriodInSeconds: [],
704
704
  ServiceType: [],
705
- StartTime: (_) => _.getTime() / 1e3
705
+ StartTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "StartTime")
706
706
  });
707
707
  }, "se_GetResourceMetricsRequest");
708
708
  var de_AdditionalMetricsMap = /* @__PURE__ */ __name((output, context) => {
@@ -717,21 +717,21 @@ var de_AdditionalMetricsMap = /* @__PURE__ */ __name((output, context) => {
717
717
  var de_AnalysisReport = /* @__PURE__ */ __name((output, context) => {
718
718
  return (0, import_smithy_client.take)(output, {
719
719
  AnalysisReportId: import_smithy_client.expectString,
720
- CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
721
- EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
720
+ CreateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTime"),
721
+ EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
722
722
  Identifier: import_smithy_client.expectString,
723
- Insights: (_) => de_InsightList(_, context),
723
+ Insights: /* @__PURE__ */ __name((_) => de_InsightList(_, context), "Insights"),
724
724
  ServiceType: import_smithy_client.expectString,
725
- StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
725
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
726
726
  Status: import_smithy_client.expectString
727
727
  });
728
728
  }, "de_AnalysisReport");
729
729
  var de_AnalysisReportSummary = /* @__PURE__ */ __name((output, context) => {
730
730
  return (0, import_smithy_client.take)(output, {
731
731
  AnalysisReportId: import_smithy_client.expectString,
732
- CreateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
733
- EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
734
- StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
732
+ CreateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTime"),
733
+ EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
734
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
735
735
  Status: import_smithy_client.expectString,
736
736
  Tags: import_smithy_client._json
737
737
  });
@@ -744,7 +744,7 @@ var de_AnalysisReportSummaryList = /* @__PURE__ */ __name((output, context) => {
744
744
  }, "de_AnalysisReportSummaryList");
745
745
  var de_Data = /* @__PURE__ */ __name((output, context) => {
746
746
  return (0, import_smithy_client.take)(output, {
747
- PerformanceInsightsMetric: (_) => de_PerformanceInsightsMetric(_, context)
747
+ PerformanceInsightsMetric: /* @__PURE__ */ __name((_) => de_PerformanceInsightsMetric(_, context), "PerformanceInsightsMetric")
748
748
  });
749
749
  }, "de_Data");
750
750
  var de_DataList = /* @__PURE__ */ __name((output, context) => {
@@ -755,7 +755,7 @@ var de_DataList = /* @__PURE__ */ __name((output, context) => {
755
755
  }, "de_DataList");
756
756
  var de_DataPoint = /* @__PURE__ */ __name((output, context) => {
757
757
  return (0, import_smithy_client.take)(output, {
758
- Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
758
+ Timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Timestamp"),
759
759
  Value: import_smithy_client.limitedParseDouble
760
760
  });
761
761
  }, "de_DataPoint");
@@ -767,18 +767,18 @@ var de_DataPointsList = /* @__PURE__ */ __name((output, context) => {
767
767
  }, "de_DataPointsList");
768
768
  var de_DescribeDimensionKeysResponse = /* @__PURE__ */ __name((output, context) => {
769
769
  return (0, import_smithy_client.take)(output, {
770
- AlignedEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
771
- AlignedStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
772
- Keys: (_) => de_DimensionKeyDescriptionList(_, context),
770
+ AlignedEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AlignedEndTime"),
771
+ AlignedStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AlignedStartTime"),
772
+ Keys: /* @__PURE__ */ __name((_) => de_DimensionKeyDescriptionList(_, context), "Keys"),
773
773
  NextToken: import_smithy_client.expectString,
774
774
  PartitionKeys: import_smithy_client._json
775
775
  });
776
776
  }, "de_DescribeDimensionKeysResponse");
777
777
  var de_DimensionKeyDescription = /* @__PURE__ */ __name((output, context) => {
778
778
  return (0, import_smithy_client.take)(output, {
779
- AdditionalMetrics: (_) => de_AdditionalMetricsMap(_, context),
779
+ AdditionalMetrics: /* @__PURE__ */ __name((_) => de_AdditionalMetricsMap(_, context), "AdditionalMetrics"),
780
780
  Dimensions: import_smithy_client._json,
781
- Partitions: (_) => de_MetricValuesList(_, context),
781
+ Partitions: /* @__PURE__ */ __name((_) => de_MetricValuesList(_, context), "Partitions"),
782
782
  Total: import_smithy_client.limitedParseDouble
783
783
  });
784
784
  }, "de_DimensionKeyDescription");
@@ -790,31 +790,31 @@ var de_DimensionKeyDescriptionList = /* @__PURE__ */ __name((output, context) =>
790
790
  }, "de_DimensionKeyDescriptionList");
791
791
  var de_GetPerformanceAnalysisReportResponse = /* @__PURE__ */ __name((output, context) => {
792
792
  return (0, import_smithy_client.take)(output, {
793
- AnalysisReport: (_) => de_AnalysisReport(_, context)
793
+ AnalysisReport: /* @__PURE__ */ __name((_) => de_AnalysisReport(_, context), "AnalysisReport")
794
794
  });
795
795
  }, "de_GetPerformanceAnalysisReportResponse");
796
796
  var de_GetResourceMetricsResponse = /* @__PURE__ */ __name((output, context) => {
797
797
  return (0, import_smithy_client.take)(output, {
798
- AlignedEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
799
- AlignedStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
798
+ AlignedEndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AlignedEndTime"),
799
+ AlignedStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AlignedStartTime"),
800
800
  Identifier: import_smithy_client.expectString,
801
- MetricList: (_) => de_MetricKeyDataPointsList(_, context),
801
+ MetricList: /* @__PURE__ */ __name((_) => de_MetricKeyDataPointsList(_, context), "MetricList"),
802
802
  NextToken: import_smithy_client.expectString
803
803
  });
804
804
  }, "de_GetResourceMetricsResponse");
805
805
  var de_Insight = /* @__PURE__ */ __name((output, context) => {
806
806
  return (0, import_smithy_client.take)(output, {
807
- BaselineData: (_) => de_DataList(_, context),
807
+ BaselineData: /* @__PURE__ */ __name((_) => de_DataList(_, context), "BaselineData"),
808
808
  Context: import_smithy_client.expectString,
809
809
  Description: import_smithy_client.expectString,
810
- EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
811
- InsightData: (_) => de_DataList(_, context),
810
+ EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
811
+ InsightData: /* @__PURE__ */ __name((_) => de_DataList(_, context), "InsightData"),
812
812
  InsightId: import_smithy_client.expectString,
813
813
  InsightType: import_smithy_client.expectString,
814
814
  Recommendations: import_smithy_client._json,
815
815
  Severity: import_smithy_client.expectString,
816
- StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
817
- SupportingInsights: (_) => de_InsightList(_, context)
816
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
817
+ SupportingInsights: /* @__PURE__ */ __name((_) => de_InsightList(_, context), "SupportingInsights")
818
818
  });
819
819
  }, "de_Insight");
820
820
  var de_InsightList = /* @__PURE__ */ __name((output, context) => {
@@ -825,13 +825,13 @@ var de_InsightList = /* @__PURE__ */ __name((output, context) => {
825
825
  }, "de_InsightList");
826
826
  var de_ListPerformanceAnalysisReportsResponse = /* @__PURE__ */ __name((output, context) => {
827
827
  return (0, import_smithy_client.take)(output, {
828
- AnalysisReports: (_) => de_AnalysisReportSummaryList(_, context),
828
+ AnalysisReports: /* @__PURE__ */ __name((_) => de_AnalysisReportSummaryList(_, context), "AnalysisReports"),
829
829
  NextToken: import_smithy_client.expectString
830
830
  });
831
831
  }, "de_ListPerformanceAnalysisReportsResponse");
832
832
  var de_MetricKeyDataPoints = /* @__PURE__ */ __name((output, context) => {
833
833
  return (0, import_smithy_client.take)(output, {
834
- DataPoints: (_) => de_DataPointsList(_, context),
834
+ DataPoints: /* @__PURE__ */ __name((_) => de_DataPointsList(_, context), "DataPoints"),
835
835
  Key: import_smithy_client._json
836
836
  });
837
837
  }, "de_MetricKeyDataPoints");
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.758.0",
4
+ "version": "3.772.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",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",