@aws-sdk/client-pi 3.34.0 → 3.35.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 (132) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/{dist/cjs → dist-cjs}/PI.js +1 -1
  3. package/dist-cjs/PI.js.map +1 -0
  4. package/{dist/cjs → dist-cjs}/PIClient.js +8 -8
  5. package/dist-cjs/PIClient.js.map +1 -0
  6. package/{dist/cjs → dist-cjs}/commands/DescribeDimensionKeysCommand.js +2 -2
  7. package/dist-cjs/commands/DescribeDimensionKeysCommand.js.map +1 -0
  8. package/{dist/cjs → dist-cjs}/commands/GetDimensionKeyDetailsCommand.js +2 -2
  9. package/dist-cjs/commands/GetDimensionKeyDetailsCommand.js.map +1 -0
  10. package/{dist/cjs → dist-cjs}/commands/GetResourceMetricsCommand.js +2 -2
  11. package/dist-cjs/commands/GetResourceMetricsCommand.js.map +1 -0
  12. package/{dist/cjs → dist-cjs}/endpoints.js +0 -0
  13. package/dist-cjs/endpoints.js.map +1 -0
  14. package/{dist/cjs → dist-cjs}/index.js +0 -0
  15. package/dist-cjs/index.js.map +1 -0
  16. package/{dist/cjs → dist-cjs}/models/index.js +0 -0
  17. package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
  18. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
  19. package/dist-cjs/models/models_0.js.map +1 -0
  20. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -0
  21. package/dist-cjs/protocols/Aws_json1_1.js.map +1 -0
  22. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -1
  23. package/dist-cjs/runtimeConfig.browser.js.map +1 -0
  24. package/{dist/cjs → dist-cjs}/runtimeConfig.js +3 -2
  25. package/dist-cjs/runtimeConfig.js.map +1 -0
  26. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -0
  27. package/dist-cjs/runtimeConfig.native.js.map +1 -0
  28. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
  29. package/dist-cjs/runtimeConfig.shared.js.map +1 -0
  30. package/{dist/es → dist-es}/PI.js +1 -1
  31. package/dist-es/PI.js.map +1 -0
  32. package/{dist/es → dist-es}/PIClient.js +1 -1
  33. package/dist-es/PIClient.js.map +1 -0
  34. package/{dist/es → dist-es}/commands/DescribeDimensionKeysCommand.js +2 -2
  35. package/dist-es/commands/DescribeDimensionKeysCommand.js.map +1 -0
  36. package/{dist/es → dist-es}/commands/GetDimensionKeyDetailsCommand.js +2 -2
  37. package/dist-es/commands/GetDimensionKeyDetailsCommand.js.map +1 -0
  38. package/{dist/es → dist-es}/commands/GetResourceMetricsCommand.js +2 -2
  39. package/dist-es/commands/GetResourceMetricsCommand.js.map +1 -0
  40. package/{dist/es → dist-es}/endpoints.js +0 -0
  41. package/dist-es/endpoints.js.map +1 -0
  42. package/{dist/es → dist-es}/index.js +0 -0
  43. package/dist-es/index.js.map +1 -0
  44. package/{dist/es → dist-es}/models/index.js +0 -0
  45. package/dist-es/models/index.js.map +1 -0
  46. package/{dist/es → dist-es}/models/models_0.js +0 -0
  47. package/dist-es/models/models_0.js.map +1 -0
  48. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -0
  49. package/dist-es/protocols/Aws_json1_1.js.map +1 -0
  50. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -1
  51. package/dist-es/runtimeConfig.browser.js.map +1 -0
  52. package/{dist/es → dist-es}/runtimeConfig.js +2 -2
  53. package/dist-es/runtimeConfig.js.map +1 -0
  54. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -0
  55. package/dist-es/runtimeConfig.native.js.map +1 -0
  56. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -1
  57. package/dist-es/runtimeConfig.shared.js.map +1 -0
  58. package/{dist/types → dist-types}/PI.d.ts +2 -2
  59. package/{dist/types → dist-types}/PIClient.d.ts +4 -4
  60. package/{dist/types → dist-types}/commands/DescribeDimensionKeysCommand.d.ts +3 -3
  61. package/{dist/types → dist-types}/commands/GetDimensionKeyDetailsCommand.d.ts +3 -3
  62. package/{dist/types → dist-types}/commands/GetResourceMetricsCommand.d.ts +3 -3
  63. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  64. package/{dist/types → dist-types}/index.d.ts +0 -0
  65. package/{dist/types → dist-types}/models/index.d.ts +0 -0
  66. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  67. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  68. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  69. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  70. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  71. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  72. package/{dist/types → dist-types}/ts3.4/PI.d.ts +2 -2
  73. package/{dist/types → dist-types}/ts3.4/PIClient.d.ts +4 -4
  74. package/{dist/types → dist-types}/ts3.4/commands/DescribeDimensionKeysCommand.d.ts +3 -3
  75. package/{dist/types → dist-types}/ts3.4/commands/GetDimensionKeyDetailsCommand.d.ts +3 -3
  76. package/{dist/types → dist-types}/ts3.4/commands/GetResourceMetricsCommand.d.ts +3 -3
  77. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  78. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  79. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  80. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  81. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  82. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +0 -0
  83. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +1 -1
  84. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +0 -0
  85. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  86. package/package.json +42 -42
  87. package/{PI.ts → src/PI.ts} +3 -2
  88. package/{PIClient.ts → src/PIClient.ts} +24 -23
  89. package/{commands → src/commands}/DescribeDimensionKeysCommand.ts +8 -7
  90. package/{commands → src/commands}/GetDimensionKeyDetailsCommand.ts +8 -7
  91. package/{commands → src/commands}/GetResourceMetricsCommand.ts +8 -7
  92. package/{endpoints.ts → src/endpoints.ts} +1 -1
  93. package/{index.ts → src/index.ts} +0 -0
  94. package/{models → src/models}/index.ts +0 -0
  95. package/{models → src/models}/models_0.ts +0 -0
  96. package/{protocols → src/protocols}/Aws_json1_1.ts +20 -19
  97. package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
  98. package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
  99. package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
  100. package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
  101. package/tsconfig.es.json +1 -1
  102. package/tsconfig.json +4 -2
  103. package/tsconfig.types.json +3 -2
  104. package/dist/cjs/PI.js.map +0 -1
  105. package/dist/cjs/PIClient.js.map +0 -1
  106. package/dist/cjs/commands/DescribeDimensionKeysCommand.js.map +0 -1
  107. package/dist/cjs/commands/GetDimensionKeyDetailsCommand.js.map +0 -1
  108. package/dist/cjs/commands/GetResourceMetricsCommand.js.map +0 -1
  109. package/dist/cjs/endpoints.js.map +0 -1
  110. package/dist/cjs/index.js.map +0 -1
  111. package/dist/cjs/models/models_0.js.map +0 -1
  112. package/dist/cjs/package.json +0 -91
  113. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  114. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  115. package/dist/cjs/runtimeConfig.js.map +0 -1
  116. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  117. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  118. package/dist/es/PI.js.map +0 -1
  119. package/dist/es/PIClient.js.map +0 -1
  120. package/dist/es/commands/DescribeDimensionKeysCommand.js.map +0 -1
  121. package/dist/es/commands/GetDimensionKeyDetailsCommand.js.map +0 -1
  122. package/dist/es/commands/GetResourceMetricsCommand.js.map +0 -1
  123. package/dist/es/endpoints.js.map +0 -1
  124. package/dist/es/index.js.map +0 -1
  125. package/dist/es/models/index.js.map +0 -1
  126. package/dist/es/models/models_0.js.map +0 -1
  127. package/dist/es/package.json +0 -91
  128. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  129. package/dist/es/runtimeConfig.browser.js.map +0 -1
  130. package/dist/es/runtimeConfig.js.map +0 -1
  131. package/dist/es/runtimeConfig.native.js.map +0 -1
  132. package/dist/es/runtimeConfig.shared.js.map +0 -1
@@ -1,6 +1,3 @@
1
- import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "./commands/DescribeDimensionKeysCommand";
2
- import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "./commands/GetDimensionKeyDetailsCommand";
3
- import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
4
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
5
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
6
3
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
@@ -8,7 +5,10 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
8
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
10
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
11
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "./commands/DescribeDimensionKeysCommand";
10
+ import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "./commands/GetDimensionKeyDetailsCommand";
11
+ import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
12
12
  export declare type ServiceInputTypes = DescribeDimensionKeysCommandInput | GetDimensionKeyDetailsCommandInput | GetResourceMetricsCommandInput;
13
13
  export declare type ServiceOutputTypes = DescribeDimensionKeysCommandOutput | GetDimensionKeyDetailsCommandOutput | GetResourceMetricsCommandOutput;
14
14
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
- import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
2
- import { DescribeDimensionKeysRequest, DescribeDimensionKeysResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeDimensionKeysRequest, DescribeDimensionKeysResponse } from "../models/models_0";
4
+ import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
5
5
  export interface DescribeDimensionKeysCommandInput extends DescribeDimensionKeysRequest {
6
6
  }
7
7
  export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKeysResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
2
- import { GetDimensionKeyDetailsRequest, GetDimensionKeyDetailsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetDimensionKeyDetailsRequest, GetDimensionKeyDetailsResponse } from "../models/models_0";
4
+ import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
5
5
  export interface GetDimensionKeyDetailsCommandInput extends GetDimensionKeyDetailsRequest {
6
6
  }
7
7
  export interface GetDimensionKeyDetailsCommandOutput extends GetDimensionKeyDetailsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
2
- import { GetResourceMetricsRequest, GetResourceMetricsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetResourceMetricsRequest, GetResourceMetricsResponse } from "../models/models_0";
4
+ import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
5
5
  export interface GetResourceMetricsCommandInput extends GetResourceMetricsRequest {
6
6
  }
7
7
  export interface GetResourceMetricsCommandOutput extends GetResourceMetricsResponse, __MetadataBearer {
File without changes
File without changes
File without changes
File without changes
@@ -1,8 +1,8 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "../commands/DescribeDimensionKeysCommand";
2
4
  import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "../commands/GetDimensionKeyDetailsCommand";
3
5
  import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "../commands/GetResourceMetricsCommand";
4
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
6
  export declare const serializeAws_json1_1DescribeDimensionKeysCommand: (input: DescribeDimensionKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
7
  export declare const serializeAws_json1_1GetDimensionKeyDetailsCommand: (input: GetDimensionKeyDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
8
  export declare const serializeAws_json1_1GetResourceMetricsCommand: (input: GetResourceMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PIClientConfig) => {
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
@@ -1,8 +1,8 @@
1
- import { PIClient } from "./PIClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
2
  import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "./commands/DescribeDimensionKeysCommand";
3
3
  import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "./commands/GetDimensionKeyDetailsCommand";
4
4
  import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
5
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
5
+ import { PIClient } from "./PIClient";
6
6
  /**
7
7
  * <fullname>Amazon RDS Performance Insights</fullname>
8
8
  *
@@ -1,6 +1,3 @@
1
- import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "./commands/DescribeDimensionKeysCommand";
2
- import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "./commands/GetDimensionKeyDetailsCommand";
3
- import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
4
1
  import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
5
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
6
3
  import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
@@ -8,7 +5,10 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
8
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
10
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
11
- import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "./commands/DescribeDimensionKeysCommand";
10
+ import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "./commands/GetDimensionKeyDetailsCommand";
11
+ import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
12
12
  export declare type ServiceInputTypes = DescribeDimensionKeysCommandInput | GetDimensionKeyDetailsCommandInput | GetResourceMetricsCommandInput;
13
13
  export declare type ServiceOutputTypes = DescribeDimensionKeysCommandOutput | GetDimensionKeyDetailsCommandOutput | GetResourceMetricsCommandOutput;
14
14
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
@@ -1,7 +1,7 @@
1
- import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
2
- import { DescribeDimensionKeysRequest, DescribeDimensionKeysResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeDimensionKeysRequest, DescribeDimensionKeysResponse } from "../models/models_0";
4
+ import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
5
5
  export interface DescribeDimensionKeysCommandInput extends DescribeDimensionKeysRequest {
6
6
  }
7
7
  export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKeysResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
2
- import { GetDimensionKeyDetailsRequest, GetDimensionKeyDetailsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetDimensionKeyDetailsRequest, GetDimensionKeyDetailsResponse } from "../models/models_0";
4
+ import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
5
5
  export interface GetDimensionKeyDetailsCommandInput extends GetDimensionKeyDetailsRequest {
6
6
  }
7
7
  export interface GetDimensionKeyDetailsCommandOutput extends GetDimensionKeyDetailsResponse, __MetadataBearer {
@@ -1,7 +1,7 @@
1
- import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
2
- import { GetResourceMetricsRequest, GetResourceMetricsResponse } from "../models/models_0";
3
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetResourceMetricsRequest, GetResourceMetricsResponse } from "../models/models_0";
4
+ import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
5
5
  export interface GetResourceMetricsCommandInput extends GetResourceMetricsRequest {
6
6
  }
7
7
  export interface GetResourceMetricsCommandOutput extends GetResourceMetricsResponse, __MetadataBearer {
File without changes
File without changes
@@ -1,8 +1,8 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
1
3
  import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "../commands/DescribeDimensionKeysCommand";
2
4
  import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "../commands/GetDimensionKeyDetailsCommand";
3
5
  import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "../commands/GetResourceMetricsCommand";
4
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
5
- import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
6
6
  export declare const serializeAws_json1_1DescribeDimensionKeysCommand: (input: DescribeDimensionKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
7
7
  export declare const serializeAws_json1_1GetDimensionKeyDetailsCommand: (input: GetDimensionKeyDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
8
8
  export declare const serializeAws_json1_1GetResourceMetricsCommand: (input: GetResourceMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: PIClientConfig) => {
8
8
  base64Decoder: import("@aws-sdk/types").Decoder;
9
9
  base64Encoder: import("@aws-sdk/types").Encoder;
10
10
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist/types/defaultStsRoleAssumers").DefaultCredentialProvider;
11
+ credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
12
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
13
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
14
  region: string | import("@aws-sdk/types").Provider<string>;
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.34.0",
4
+ "version": "3.35.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -11,54 +11,48 @@
11
11
  "clean": "yarn clean:dist && yarn clean:docs",
12
12
  "clean:dist": "rimraf ./dist",
13
13
  "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
14
+ "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
15
  "test": "exit 0"
16
16
  },
17
- "main": "./dist/cjs/index.js",
18
- "types": "./dist/types/index.d.ts",
19
- "module": "./dist/es/index.js",
20
- "browser": {
21
- "./runtimeConfig": "./runtimeConfig.browser"
22
- },
23
- "react-native": {
24
- "./runtimeConfig": "./runtimeConfig.native"
25
- },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
26
20
  "sideEffects": false,
27
21
  "dependencies": {
28
22
  "@aws-crypto/sha256-browser": "^1.0.0",
29
23
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.34.0",
31
- "@aws-sdk/config-resolver": "3.34.0",
32
- "@aws-sdk/credential-provider-node": "3.34.0",
33
- "@aws-sdk/fetch-http-handler": "3.34.0",
34
- "@aws-sdk/hash-node": "3.34.0",
35
- "@aws-sdk/invalid-dependency": "3.34.0",
36
- "@aws-sdk/middleware-content-length": "3.34.0",
37
- "@aws-sdk/middleware-host-header": "3.34.0",
38
- "@aws-sdk/middleware-logger": "3.34.0",
39
- "@aws-sdk/middleware-retry": "3.34.0",
40
- "@aws-sdk/middleware-serde": "3.34.0",
41
- "@aws-sdk/middleware-signing": "3.34.0",
42
- "@aws-sdk/middleware-stack": "3.34.0",
43
- "@aws-sdk/middleware-user-agent": "3.34.0",
44
- "@aws-sdk/node-config-provider": "3.34.0",
45
- "@aws-sdk/node-http-handler": "3.34.0",
46
- "@aws-sdk/protocol-http": "3.34.0",
47
- "@aws-sdk/smithy-client": "3.34.0",
48
- "@aws-sdk/types": "3.34.0",
49
- "@aws-sdk/url-parser": "3.34.0",
50
- "@aws-sdk/util-base64-browser": "3.34.0",
51
- "@aws-sdk/util-base64-node": "3.34.0",
52
- "@aws-sdk/util-body-length-browser": "3.34.0",
53
- "@aws-sdk/util-body-length-node": "3.34.0",
54
- "@aws-sdk/util-user-agent-browser": "3.34.0",
55
- "@aws-sdk/util-user-agent-node": "3.34.0",
56
- "@aws-sdk/util-utf8-browser": "3.34.0",
57
- "@aws-sdk/util-utf8-node": "3.34.0",
24
+ "@aws-sdk/client-sts": "3.35.0",
25
+ "@aws-sdk/config-resolver": "3.35.0",
26
+ "@aws-sdk/credential-provider-node": "3.35.0",
27
+ "@aws-sdk/fetch-http-handler": "3.35.0",
28
+ "@aws-sdk/hash-node": "3.35.0",
29
+ "@aws-sdk/invalid-dependency": "3.35.0",
30
+ "@aws-sdk/middleware-content-length": "3.35.0",
31
+ "@aws-sdk/middleware-host-header": "3.35.0",
32
+ "@aws-sdk/middleware-logger": "3.35.0",
33
+ "@aws-sdk/middleware-retry": "3.35.0",
34
+ "@aws-sdk/middleware-serde": "3.35.0",
35
+ "@aws-sdk/middleware-signing": "3.35.0",
36
+ "@aws-sdk/middleware-stack": "3.35.0",
37
+ "@aws-sdk/middleware-user-agent": "3.35.0",
38
+ "@aws-sdk/node-config-provider": "3.35.0",
39
+ "@aws-sdk/node-http-handler": "3.35.0",
40
+ "@aws-sdk/protocol-http": "3.35.0",
41
+ "@aws-sdk/smithy-client": "3.35.0",
42
+ "@aws-sdk/types": "3.35.0",
43
+ "@aws-sdk/url-parser": "3.35.0",
44
+ "@aws-sdk/util-base64-browser": "3.35.0",
45
+ "@aws-sdk/util-base64-node": "3.35.0",
46
+ "@aws-sdk/util-body-length-browser": "3.35.0",
47
+ "@aws-sdk/util-body-length-node": "3.35.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.35.0",
49
+ "@aws-sdk/util-user-agent-node": "3.35.0",
50
+ "@aws-sdk/util-utf8-browser": "3.35.0",
51
+ "@aws-sdk/util-utf8-node": "3.35.0",
58
52
  "tslib": "^2.3.0"
59
53
  },
60
54
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.34.0",
55
+ "@aws-sdk/client-documentation-generator": "3.35.0",
62
56
  "@types/node": "^12.7.5",
63
57
  "downlevel-dts": "0.7.0",
64
58
  "jest": "^26.1.0",
@@ -72,8 +66,8 @@
72
66
  },
73
67
  "typesVersions": {
74
68
  "<4.0": {
75
- "dist/types/*": [
76
- "dist/types/ts3.4/*"
69
+ "dist-types/*": [
70
+ "dist-types/ts3.4/*"
77
71
  ]
78
72
  }
79
73
  },
@@ -82,6 +76,12 @@
82
76
  "url": "https://aws.amazon.com/javascript/"
83
77
  },
84
78
  "license": "Apache-2.0",
79
+ "browser": {
80
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
81
+ },
82
+ "react-native": {
83
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
84
+ },
85
85
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pi",
86
86
  "repository": {
87
87
  "type": "git",
@@ -1,4 +1,5 @@
1
- import { PIClient } from "./PIClient";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+
2
3
  import {
3
4
  DescribeDimensionKeysCommand,
4
5
  DescribeDimensionKeysCommandInput,
@@ -14,7 +15,7 @@ import {
14
15
  GetResourceMetricsCommandInput,
15
16
  GetResourceMetricsCommandOutput,
16
17
  } from "./commands/GetResourceMetricsCommand";
17
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
18
+ import { PIClient } from "./PIClient";
18
19
 
19
20
  /**
20
21
  * <fullname>Amazon RDS Performance Insights</fullname>
@@ -1,13 +1,3 @@
1
- import {
2
- DescribeDimensionKeysCommandInput,
3
- DescribeDimensionKeysCommandOutput,
4
- } from "./commands/DescribeDimensionKeysCommand";
5
- import {
6
- GetDimensionKeyDetailsCommandInput,
7
- GetDimensionKeyDetailsCommandOutput,
8
- } from "./commands/GetDimensionKeyDetailsCommand";
9
- import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
10
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
1
  import {
12
2
  EndpointsInputConfig,
13
3
  EndpointsResolvedConfig,
@@ -18,13 +8,13 @@ import {
18
8
  } from "@aws-sdk/config-resolver";
19
9
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
20
10
  import {
11
+ getHostHeaderPlugin,
21
12
  HostHeaderInputConfig,
22
13
  HostHeaderResolvedConfig,
23
- getHostHeaderPlugin,
24
14
  resolveHostHeaderConfig,
25
15
  } from "@aws-sdk/middleware-host-header";
26
16
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
27
- import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
17
+ import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
28
18
  import {
29
19
  AwsAuthInputConfig,
30
20
  AwsAuthResolvedConfig,
@@ -32,10 +22,10 @@ import {
32
22
  resolveAwsAuthConfig,
33
23
  } from "@aws-sdk/middleware-signing";
34
24
  import {
35
- UserAgentInputConfig,
36
- UserAgentResolvedConfig,
37
25
  getUserAgentPlugin,
38
26
  resolveUserAgentConfig,
27
+ UserAgentInputConfig,
28
+ UserAgentResolvedConfig,
39
29
  } from "@aws-sdk/middleware-user-agent";
40
30
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
41
31
  import {
@@ -44,8 +34,6 @@ import {
44
34
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
45
35
  } from "@aws-sdk/smithy-client";
46
36
  import {
47
- Provider,
48
- RegionInfoProvider,
49
37
  Credentials as __Credentials,
50
38
  Decoder as __Decoder,
51
39
  Encoder as __Encoder,
@@ -54,11 +42,24 @@ import {
54
42
  HttpHandlerOptions as __HttpHandlerOptions,
55
43
  Logger as __Logger,
56
44
  Provider as __Provider,
45
+ Provider,
46
+ RegionInfoProvider,
57
47
  StreamCollector as __StreamCollector,
58
48
  UrlParser as __UrlParser,
59
49
  UserAgent as __UserAgent,
60
50
  } from "@aws-sdk/types";
61
51
 
52
+ import {
53
+ DescribeDimensionKeysCommandInput,
54
+ DescribeDimensionKeysCommandOutput,
55
+ } from "./commands/DescribeDimensionKeysCommand";
56
+ import {
57
+ GetDimensionKeyDetailsCommandInput,
58
+ GetDimensionKeyDetailsCommandOutput,
59
+ } from "./commands/GetDimensionKeyDetailsCommand";
60
+ import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "./commands/GetResourceMetricsCommand";
61
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
62
+
62
63
  export type ServiceInputTypes =
63
64
  | DescribeDimensionKeysCommandInput
64
65
  | GetDimensionKeyDetailsCommandInput
@@ -243,13 +244,13 @@ export class PIClient extends __Client<
243
244
  readonly config: PIClientResolvedConfig;
244
245
 
245
246
  constructor(configuration: PIClientConfig) {
246
- let _config_0 = __getRuntimeConfig(configuration);
247
- let _config_1 = resolveRegionConfig(_config_0);
248
- let _config_2 = resolveEndpointsConfig(_config_1);
249
- let _config_3 = resolveRetryConfig(_config_2);
250
- let _config_4 = resolveHostHeaderConfig(_config_3);
251
- let _config_5 = resolveAwsAuthConfig(_config_4);
252
- let _config_6 = resolveUserAgentConfig(_config_5);
247
+ const _config_0 = __getRuntimeConfig(configuration);
248
+ const _config_1 = resolveRegionConfig(_config_0);
249
+ const _config_2 = resolveEndpointsConfig(_config_1);
250
+ const _config_3 = resolveRetryConfig(_config_2);
251
+ const _config_4 = resolveHostHeaderConfig(_config_3);
252
+ const _config_5 = resolveAwsAuthConfig(_config_4);
253
+ const _config_6 = resolveUserAgentConfig(_config_5);
253
254
  super(_config_6);
254
255
  this.config = _config_6;
255
256
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -1,9 +1,3 @@
1
- import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
2
- import { DescribeDimensionKeysRequest, DescribeDimensionKeysResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1DescribeDimensionKeysCommand,
5
- serializeAws_json1_1DescribeDimensionKeysCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { DescribeDimensionKeysRequest, DescribeDimensionKeysResponse } from "../models/models_0";
15
+ import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
16
+ import {
17
+ deserializeAws_json1_1DescribeDimensionKeysCommand,
18
+ serializeAws_json1_1DescribeDimensionKeysCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface DescribeDimensionKeysCommandInput extends DescribeDimensionKeysRequest {}
21
22
  export interface DescribeDimensionKeysCommandOutput extends DescribeDimensionKeysResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
2
- import { GetDimensionKeyDetailsRequest, GetDimensionKeyDetailsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetDimensionKeyDetailsCommand,
5
- serializeAws_json1_1GetDimensionKeyDetailsCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { GetDimensionKeyDetailsRequest, GetDimensionKeyDetailsResponse } from "../models/models_0";
15
+ import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
16
+ import {
17
+ deserializeAws_json1_1GetDimensionKeyDetailsCommand,
18
+ serializeAws_json1_1GetDimensionKeyDetailsCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface GetDimensionKeyDetailsCommandInput extends GetDimensionKeyDetailsRequest {}
21
22
  export interface GetDimensionKeyDetailsCommandOutput extends GetDimensionKeyDetailsResponse, __MetadataBearer {}
22
23
 
@@ -1,9 +1,3 @@
1
- import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
2
- import { GetResourceMetricsRequest, GetResourceMetricsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetResourceMetricsCommand,
5
- serializeAws_json1_1GetResourceMetricsCommand,
6
- } from "../protocols/Aws_json1_1";
7
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
2
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
@@ -11,12 +5,19 @@ import {
11
5
  FinalizeHandlerArguments,
12
6
  Handler,
13
7
  HandlerExecutionContext,
14
- MiddlewareStack,
15
8
  HttpHandlerOptions as __HttpHandlerOptions,
16
9
  MetadataBearer as __MetadataBearer,
10
+ MiddlewareStack,
17
11
  SerdeContext as __SerdeContext,
18
12
  } from "@aws-sdk/types";
19
13
 
14
+ import { GetResourceMetricsRequest, GetResourceMetricsResponse } from "../models/models_0";
15
+ import { PIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PIClient";
16
+ import {
17
+ deserializeAws_json1_1GetResourceMetricsCommand,
18
+ serializeAws_json1_1GetResourceMetricsCommand,
19
+ } from "../protocols/Aws_json1_1";
20
+
20
21
  export interface GetResourceMetricsCommandInput extends GetResourceMetricsRequest {}
21
22
  export interface GetResourceMetricsCommandOutput extends GetResourceMetricsResponse, __MetadataBearer {}
22
23
 
@@ -1,4 +1,4 @@
1
- import { PartitionHash, RegionHash, getRegionInfo } from "@aws-sdk/config-resolver";
1
+ import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
2
  import { RegionInfoProvider } from "@aws-sdk/types";
3
3
 
4
4
  const regionHash: RegionHash = {};
File without changes
File without changes
File without changes
@@ -1,3 +1,20 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import {
3
+ expectNonNull as __expectNonNull,
4
+ expectNumber as __expectNumber,
5
+ expectString as __expectString,
6
+ limitedParseDouble as __limitedParseDouble,
7
+ parseEpochTimestamp as __parseEpochTimestamp,
8
+ } from "@aws-sdk/smithy-client";
9
+ import {
10
+ Endpoint as __Endpoint,
11
+ HeaderBag as __HeaderBag,
12
+ MetadataBearer as __MetadataBearer,
13
+ ResponseMetadata as __ResponseMetadata,
14
+ SerdeContext as __SerdeContext,
15
+ SmithyException as __SmithyException,
16
+ } from "@aws-sdk/types";
17
+
1
18
  import {
2
19
  DescribeDimensionKeysCommandInput,
3
20
  DescribeDimensionKeysCommandOutput,
@@ -26,22 +43,6 @@ import {
26
43
  ResponsePartitionKey,
27
44
  ResponseResourceMetricKey,
28
45
  } from "../models/models_0";
29
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
30
- import {
31
- expectNonNull as __expectNonNull,
32
- expectNumber as __expectNumber,
33
- expectString as __expectString,
34
- limitedParseDouble as __limitedParseDouble,
35
- parseEpochTimestamp as __parseEpochTimestamp,
36
- } from "@aws-sdk/smithy-client";
37
- import {
38
- Endpoint as __Endpoint,
39
- HeaderBag as __HeaderBag,
40
- MetadataBearer as __MetadataBearer,
41
- ResponseMetadata as __ResponseMetadata,
42
- SerdeContext as __SerdeContext,
43
- SmithyException as __SmithyException,
44
- } from "@aws-sdk/types";
45
46
 
46
47
  export const serializeAws_json1_1DescribeDimensionKeysCommand = async (
47
48
  input: DescribeDimensionKeysCommandInput,
@@ -108,7 +109,7 @@ const deserializeAws_json1_1DescribeDimensionKeysCommandError = async (
108
109
  body: await parseBody(output.body, context),
109
110
  };
110
111
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
111
- let errorCode: string = "UnknownError";
112
+ let errorCode = "UnknownError";
112
113
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
113
114
  switch (errorCode) {
114
115
  case "InternalServiceError":
@@ -178,7 +179,7 @@ const deserializeAws_json1_1GetDimensionKeyDetailsCommandError = async (
178
179
  body: await parseBody(output.body, context),
179
180
  };
180
181
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
181
- let errorCode: string = "UnknownError";
182
+ let errorCode = "UnknownError";
182
183
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
183
184
  switch (errorCode) {
184
185
  case "InternalServiceError":
@@ -248,7 +249,7 @@ const deserializeAws_json1_1GetResourceMetricsCommandError = async (
248
249
  body: await parseBody(output.body, context),
249
250
  };
250
251
  let response: __SmithyException & __MetadataBearer & { [key: string]: any };
251
- let errorCode: string = "UnknownError";
252
+ let errorCode = "UnknownError";
252
253
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
253
254
  switch (errorCode) {
254
255
  case "InternalServiceError":