@aws-sdk/client-pi 3.391.0 → 3.395.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 (78) hide show
  1. package/README.md +63 -7
  2. package/dist-cjs/PI.js +14 -0
  3. package/dist-cjs/PIClient.js +4 -2
  4. package/dist-cjs/clientConfiguration.js +2 -0
  5. package/dist-cjs/commands/CreatePerformanceAnalysisReportCommand.js +46 -0
  6. package/dist-cjs/commands/DeletePerformanceAnalysisReportCommand.js +46 -0
  7. package/dist-cjs/commands/GetPerformanceAnalysisReportCommand.js +47 -0
  8. package/dist-cjs/commands/ListPerformanceAnalysisReportsCommand.js +46 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  10. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  11. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  12. package/dist-cjs/commands/index.js +7 -0
  13. package/dist-cjs/endpoint/ruleset.js +1 -1
  14. package/dist-cjs/models/models_0.js +49 -1
  15. package/dist-cjs/pagination/ListPerformanceAnalysisReportsPaginator.js +29 -0
  16. package/dist-cjs/pagination/index.js +1 -0
  17. package/dist-cjs/protocols/Aws_json1_1.js +417 -1
  18. package/dist-cjs/runtimeConfig.shared.js +1 -0
  19. package/dist-cjs/runtimeExtensions.js +16 -0
  20. package/dist-es/PI.js +14 -0
  21. package/dist-es/PIClient.js +4 -2
  22. package/dist-es/clientConfiguration.js +1 -0
  23. package/dist-es/commands/CreatePerformanceAnalysisReportCommand.js +42 -0
  24. package/dist-es/commands/DeletePerformanceAnalysisReportCommand.js +42 -0
  25. package/dist-es/commands/GetPerformanceAnalysisReportCommand.js +43 -0
  26. package/dist-es/commands/ListPerformanceAnalysisReportsCommand.js +42 -0
  27. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  28. package/dist-es/commands/TagResourceCommand.js +42 -0
  29. package/dist-es/commands/UntagResourceCommand.js +42 -0
  30. package/dist-es/commands/index.js +7 -0
  31. package/dist-es/endpoint/ruleset.js +1 -1
  32. package/dist-es/models/models_0.js +44 -0
  33. package/dist-es/pagination/ListPerformanceAnalysisReportsPaginator.js +25 -0
  34. package/dist-es/pagination/index.js +1 -0
  35. package/dist-es/protocols/Aws_json1_1.js +402 -0
  36. package/dist-es/runtimeConfig.shared.js +1 -0
  37. package/dist-es/runtimeExtensions.js +12 -0
  38. package/dist-types/PI.d.ts +49 -0
  39. package/dist-types/PIClient.d.ts +15 -3
  40. package/dist-types/clientConfiguration.d.ts +6 -0
  41. package/dist-types/commands/CreatePerformanceAnalysisReportCommand.d.ts +92 -0
  42. package/dist-types/commands/DeletePerformanceAnalysisReportCommand.d.ts +82 -0
  43. package/dist-types/commands/GetPerformanceAnalysisReportCommand.d.ts +180 -0
  44. package/dist-types/commands/ListPerformanceAnalysisReportsCommand.d.ts +101 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
  46. package/dist-types/commands/TagResourceCommand.d.ts +87 -0
  47. package/dist-types/commands/UntagResourceCommand.d.ts +84 -0
  48. package/dist-types/commands/index.d.ts +7 -0
  49. package/dist-types/models/models_0.d.ts +633 -51
  50. package/dist-types/pagination/ListPerformanceAnalysisReportsPaginator.d.ts +7 -0
  51. package/dist-types/pagination/index.d.ts +1 -0
  52. package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
  53. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  54. package/dist-types/runtimeConfig.d.ts +1 -0
  55. package/dist-types/runtimeConfig.native.d.ts +1 -0
  56. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  57. package/dist-types/runtimeExtensions.d.ts +17 -0
  58. package/dist-types/ts3.4/PI.d.ts +119 -0
  59. package/dist-types/ts3.4/PIClient.d.ts +47 -2
  60. package/dist-types/ts3.4/clientConfiguration.d.ts +2 -0
  61. package/dist-types/ts3.4/commands/CreatePerformanceAnalysisReportCommand.d.ts +42 -0
  62. package/dist-types/ts3.4/commands/DeletePerformanceAnalysisReportCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/GetPerformanceAnalysisReportCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/ListPerformanceAnalysisReportsCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  66. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  67. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +171 -29
  70. package/dist-types/ts3.4/pagination/ListPerformanceAnalysisReportsPaginator.d.ts +11 -0
  71. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  72. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  76. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  77. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  78. package/package.json +3 -3
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListPerformanceAnalysisReportsCommandInput, ListPerformanceAnalysisReportsCommandOutput } from "../commands/ListPerformanceAnalysisReportsCommand";
3
+ import { PIPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare function paginateListPerformanceAnalysisReports(config: PIPaginationConfiguration, input: ListPerformanceAnalysisReportsCommandInput, ...additionalArguments: any): Paginator<ListPerformanceAnalysisReportsCommandOutput>;
@@ -3,3 +3,4 @@ export * from "./GetResourceMetricsPaginator";
3
3
  export * from "./Interfaces";
4
4
  export * from "./ListAvailableResourceDimensionsPaginator";
5
5
  export * from "./ListAvailableResourceMetricsPaginator";
6
+ export * from "./ListPerformanceAnalysisReportsPaginator";
@@ -1,11 +1,26 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { CreatePerformanceAnalysisReportCommandInput, CreatePerformanceAnalysisReportCommandOutput } from "../commands/CreatePerformanceAnalysisReportCommand";
4
+ import { DeletePerformanceAnalysisReportCommandInput, DeletePerformanceAnalysisReportCommandOutput } from "../commands/DeletePerformanceAnalysisReportCommand";
3
5
  import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "../commands/DescribeDimensionKeysCommand";
4
6
  import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "../commands/GetDimensionKeyDetailsCommand";
7
+ import { GetPerformanceAnalysisReportCommandInput, GetPerformanceAnalysisReportCommandOutput } from "../commands/GetPerformanceAnalysisReportCommand";
5
8
  import { GetResourceMetadataCommandInput, GetResourceMetadataCommandOutput } from "../commands/GetResourceMetadataCommand";
6
9
  import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "../commands/GetResourceMetricsCommand";
7
10
  import { ListAvailableResourceDimensionsCommandInput, ListAvailableResourceDimensionsCommandOutput } from "../commands/ListAvailableResourceDimensionsCommand";
8
11
  import { ListAvailableResourceMetricsCommandInput, ListAvailableResourceMetricsCommandOutput } from "../commands/ListAvailableResourceMetricsCommand";
12
+ import { ListPerformanceAnalysisReportsCommandInput, ListPerformanceAnalysisReportsCommandOutput } from "../commands/ListPerformanceAnalysisReportsCommand";
13
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
14
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
15
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
16
+ /**
17
+ * serializeAws_json1_1CreatePerformanceAnalysisReportCommand
18
+ */
19
+ export declare const se_CreatePerformanceAnalysisReportCommand: (input: CreatePerformanceAnalysisReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
+ /**
21
+ * serializeAws_json1_1DeletePerformanceAnalysisReportCommand
22
+ */
23
+ export declare const se_DeletePerformanceAnalysisReportCommand: (input: DeletePerformanceAnalysisReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
24
  /**
10
25
  * serializeAws_json1_1DescribeDimensionKeysCommand
11
26
  */
@@ -14,6 +29,10 @@ export declare const se_DescribeDimensionKeysCommand: (input: DescribeDimensionK
14
29
  * serializeAws_json1_1GetDimensionKeyDetailsCommand
15
30
  */
16
31
  export declare const se_GetDimensionKeyDetailsCommand: (input: GetDimensionKeyDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
+ /**
33
+ * serializeAws_json1_1GetPerformanceAnalysisReportCommand
34
+ */
35
+ export declare const se_GetPerformanceAnalysisReportCommand: (input: GetPerformanceAnalysisReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
17
36
  /**
18
37
  * serializeAws_json1_1GetResourceMetadataCommand
19
38
  */
@@ -30,6 +49,30 @@ export declare const se_ListAvailableResourceDimensionsCommand: (input: ListAvai
30
49
  * serializeAws_json1_1ListAvailableResourceMetricsCommand
31
50
  */
32
51
  export declare const se_ListAvailableResourceMetricsCommand: (input: ListAvailableResourceMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ /**
53
+ * serializeAws_json1_1ListPerformanceAnalysisReportsCommand
54
+ */
55
+ export declare const se_ListPerformanceAnalysisReportsCommand: (input: ListPerformanceAnalysisReportsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
+ /**
57
+ * serializeAws_json1_1ListTagsForResourceCommand
58
+ */
59
+ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
+ /**
61
+ * serializeAws_json1_1TagResourceCommand
62
+ */
63
+ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ /**
65
+ * serializeAws_json1_1UntagResourceCommand
66
+ */
67
+ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
+ /**
69
+ * deserializeAws_json1_1CreatePerformanceAnalysisReportCommand
70
+ */
71
+ export declare const de_CreatePerformanceAnalysisReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePerformanceAnalysisReportCommandOutput>;
72
+ /**
73
+ * deserializeAws_json1_1DeletePerformanceAnalysisReportCommand
74
+ */
75
+ export declare const de_DeletePerformanceAnalysisReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeletePerformanceAnalysisReportCommandOutput>;
33
76
  /**
34
77
  * deserializeAws_json1_1DescribeDimensionKeysCommand
35
78
  */
@@ -38,6 +81,10 @@ export declare const de_DescribeDimensionKeysCommand: (output: __HttpResponse, c
38
81
  * deserializeAws_json1_1GetDimensionKeyDetailsCommand
39
82
  */
40
83
  export declare const de_GetDimensionKeyDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDimensionKeyDetailsCommandOutput>;
84
+ /**
85
+ * deserializeAws_json1_1GetPerformanceAnalysisReportCommand
86
+ */
87
+ export declare const de_GetPerformanceAnalysisReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPerformanceAnalysisReportCommandOutput>;
41
88
  /**
42
89
  * deserializeAws_json1_1GetResourceMetadataCommand
43
90
  */
@@ -54,3 +101,19 @@ export declare const de_ListAvailableResourceDimensionsCommand: (output: __HttpR
54
101
  * deserializeAws_json1_1ListAvailableResourceMetricsCommand
55
102
  */
56
103
  export declare const de_ListAvailableResourceMetricsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAvailableResourceMetricsCommandOutput>;
104
+ /**
105
+ * deserializeAws_json1_1ListPerformanceAnalysisReportsCommand
106
+ */
107
+ export declare const de_ListPerformanceAnalysisReportsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPerformanceAnalysisReportsCommandOutput>;
108
+ /**
109
+ * deserializeAws_json1_1ListTagsForResourceCommand
110
+ */
111
+ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
112
+ /**
113
+ * deserializeAws_json1_1TagResourceCommand
114
+ */
115
+ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
116
+ /**
117
+ * deserializeAws_json1_1UntagResourceCommand
118
+ */
119
+ export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: PIClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
30
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
30
31
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
32
  logger?: import("@smithy/types").Logger | undefined;
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: PIClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
30
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
30
31
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
32
  logger?: import("@smithy/types").Logger | undefined;
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: PIClientConfig) => {
24
24
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
26
  logger: import("@smithy/types").Logger;
27
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
27
28
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
28
29
  endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
29
30
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
@@ -10,6 +10,7 @@ export declare const getRuntimeConfig: (config: PIClientConfig) => {
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
12
12
  }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
13
14
  logger: import("@smithy/types").Logger;
14
15
  serviceId: string;
15
16
  urlParser: import("@smithy/types").UrlParser;
@@ -0,0 +1,17 @@
1
+ import { PIClientConfiguration } from "./clientConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configureClient(clientConfiguration: PIClientConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -1,4 +1,12 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ CreatePerformanceAnalysisReportCommandInput,
4
+ CreatePerformanceAnalysisReportCommandOutput,
5
+ } from "./commands/CreatePerformanceAnalysisReportCommand";
6
+ import {
7
+ DeletePerformanceAnalysisReportCommandInput,
8
+ DeletePerformanceAnalysisReportCommandOutput,
9
+ } from "./commands/DeletePerformanceAnalysisReportCommand";
2
10
  import {
3
11
  DescribeDimensionKeysCommandInput,
4
12
  DescribeDimensionKeysCommandOutput,
@@ -7,6 +15,10 @@ import {
7
15
  GetDimensionKeyDetailsCommandInput,
8
16
  GetDimensionKeyDetailsCommandOutput,
9
17
  } from "./commands/GetDimensionKeyDetailsCommand";
18
+ import {
19
+ GetPerformanceAnalysisReportCommandInput,
20
+ GetPerformanceAnalysisReportCommandOutput,
21
+ } from "./commands/GetPerformanceAnalysisReportCommand";
10
22
  import {
11
23
  GetResourceMetadataCommandInput,
12
24
  GetResourceMetadataCommandOutput,
@@ -23,8 +35,50 @@ import {
23
35
  ListAvailableResourceMetricsCommandInput,
24
36
  ListAvailableResourceMetricsCommandOutput,
25
37
  } from "./commands/ListAvailableResourceMetricsCommand";
38
+ import {
39
+ ListPerformanceAnalysisReportsCommandInput,
40
+ ListPerformanceAnalysisReportsCommandOutput,
41
+ } from "./commands/ListPerformanceAnalysisReportsCommand";
42
+ import {
43
+ ListTagsForResourceCommandInput,
44
+ ListTagsForResourceCommandOutput,
45
+ } from "./commands/ListTagsForResourceCommand";
46
+ import {
47
+ TagResourceCommandInput,
48
+ TagResourceCommandOutput,
49
+ } from "./commands/TagResourceCommand";
50
+ import {
51
+ UntagResourceCommandInput,
52
+ UntagResourceCommandOutput,
53
+ } from "./commands/UntagResourceCommand";
26
54
  import { PIClient } from "./PIClient";
27
55
  export interface PI {
56
+ createPerformanceAnalysisReport(
57
+ args: CreatePerformanceAnalysisReportCommandInput,
58
+ options?: __HttpHandlerOptions
59
+ ): Promise<CreatePerformanceAnalysisReportCommandOutput>;
60
+ createPerformanceAnalysisReport(
61
+ args: CreatePerformanceAnalysisReportCommandInput,
62
+ cb: (err: any, data?: CreatePerformanceAnalysisReportCommandOutput) => void
63
+ ): void;
64
+ createPerformanceAnalysisReport(
65
+ args: CreatePerformanceAnalysisReportCommandInput,
66
+ options: __HttpHandlerOptions,
67
+ cb: (err: any, data?: CreatePerformanceAnalysisReportCommandOutput) => void
68
+ ): void;
69
+ deletePerformanceAnalysisReport(
70
+ args: DeletePerformanceAnalysisReportCommandInput,
71
+ options?: __HttpHandlerOptions
72
+ ): Promise<DeletePerformanceAnalysisReportCommandOutput>;
73
+ deletePerformanceAnalysisReport(
74
+ args: DeletePerformanceAnalysisReportCommandInput,
75
+ cb: (err: any, data?: DeletePerformanceAnalysisReportCommandOutput) => void
76
+ ): void;
77
+ deletePerformanceAnalysisReport(
78
+ args: DeletePerformanceAnalysisReportCommandInput,
79
+ options: __HttpHandlerOptions,
80
+ cb: (err: any, data?: DeletePerformanceAnalysisReportCommandOutput) => void
81
+ ): void;
28
82
  describeDimensionKeys(
29
83
  args: DescribeDimensionKeysCommandInput,
30
84
  options?: __HttpHandlerOptions
@@ -51,6 +105,19 @@ export interface PI {
51
105
  options: __HttpHandlerOptions,
52
106
  cb: (err: any, data?: GetDimensionKeyDetailsCommandOutput) => void
53
107
  ): void;
108
+ getPerformanceAnalysisReport(
109
+ args: GetPerformanceAnalysisReportCommandInput,
110
+ options?: __HttpHandlerOptions
111
+ ): Promise<GetPerformanceAnalysisReportCommandOutput>;
112
+ getPerformanceAnalysisReport(
113
+ args: GetPerformanceAnalysisReportCommandInput,
114
+ cb: (err: any, data?: GetPerformanceAnalysisReportCommandOutput) => void
115
+ ): void;
116
+ getPerformanceAnalysisReport(
117
+ args: GetPerformanceAnalysisReportCommandInput,
118
+ options: __HttpHandlerOptions,
119
+ cb: (err: any, data?: GetPerformanceAnalysisReportCommandOutput) => void
120
+ ): void;
54
121
  getResourceMetadata(
55
122
  args: GetResourceMetadataCommandInput,
56
123
  options?: __HttpHandlerOptions
@@ -103,5 +170,57 @@ export interface PI {
103
170
  options: __HttpHandlerOptions,
104
171
  cb: (err: any, data?: ListAvailableResourceMetricsCommandOutput) => void
105
172
  ): void;
173
+ listPerformanceAnalysisReports(
174
+ args: ListPerformanceAnalysisReportsCommandInput,
175
+ options?: __HttpHandlerOptions
176
+ ): Promise<ListPerformanceAnalysisReportsCommandOutput>;
177
+ listPerformanceAnalysisReports(
178
+ args: ListPerformanceAnalysisReportsCommandInput,
179
+ cb: (err: any, data?: ListPerformanceAnalysisReportsCommandOutput) => void
180
+ ): void;
181
+ listPerformanceAnalysisReports(
182
+ args: ListPerformanceAnalysisReportsCommandInput,
183
+ options: __HttpHandlerOptions,
184
+ cb: (err: any, data?: ListPerformanceAnalysisReportsCommandOutput) => void
185
+ ): void;
186
+ listTagsForResource(
187
+ args: ListTagsForResourceCommandInput,
188
+ options?: __HttpHandlerOptions
189
+ ): Promise<ListTagsForResourceCommandOutput>;
190
+ listTagsForResource(
191
+ args: ListTagsForResourceCommandInput,
192
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
193
+ ): void;
194
+ listTagsForResource(
195
+ args: ListTagsForResourceCommandInput,
196
+ options: __HttpHandlerOptions,
197
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
198
+ ): void;
199
+ tagResource(
200
+ args: TagResourceCommandInput,
201
+ options?: __HttpHandlerOptions
202
+ ): Promise<TagResourceCommandOutput>;
203
+ tagResource(
204
+ args: TagResourceCommandInput,
205
+ cb: (err: any, data?: TagResourceCommandOutput) => void
206
+ ): void;
207
+ tagResource(
208
+ args: TagResourceCommandInput,
209
+ options: __HttpHandlerOptions,
210
+ cb: (err: any, data?: TagResourceCommandOutput) => void
211
+ ): void;
212
+ untagResource(
213
+ args: UntagResourceCommandInput,
214
+ options?: __HttpHandlerOptions
215
+ ): Promise<UntagResourceCommandOutput>;
216
+ untagResource(
217
+ args: UntagResourceCommandInput,
218
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
219
+ ): void;
220
+ untagResource(
221
+ args: UntagResourceCommandInput,
222
+ options: __HttpHandlerOptions,
223
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
224
+ ): void;
106
225
  }
107
226
  export declare class PI extends PIClient implements PI {}
@@ -45,6 +45,14 @@ import {
45
45
  UrlParser as __UrlParser,
46
46
  UserAgent as __UserAgent,
47
47
  } from "@smithy/types";
48
+ import {
49
+ CreatePerformanceAnalysisReportCommandInput,
50
+ CreatePerformanceAnalysisReportCommandOutput,
51
+ } from "./commands/CreatePerformanceAnalysisReportCommand";
52
+ import {
53
+ DeletePerformanceAnalysisReportCommandInput,
54
+ DeletePerformanceAnalysisReportCommandOutput,
55
+ } from "./commands/DeletePerformanceAnalysisReportCommand";
48
56
  import {
49
57
  DescribeDimensionKeysCommandInput,
50
58
  DescribeDimensionKeysCommandOutput,
@@ -53,6 +61,10 @@ import {
53
61
  GetDimensionKeyDetailsCommandInput,
54
62
  GetDimensionKeyDetailsCommandOutput,
55
63
  } from "./commands/GetDimensionKeyDetailsCommand";
64
+ import {
65
+ GetPerformanceAnalysisReportCommandInput,
66
+ GetPerformanceAnalysisReportCommandOutput,
67
+ } from "./commands/GetPerformanceAnalysisReportCommand";
56
68
  import {
57
69
  GetResourceMetadataCommandInput,
58
70
  GetResourceMetadataCommandOutput,
@@ -69,26 +81,57 @@ import {
69
81
  ListAvailableResourceMetricsCommandInput,
70
82
  ListAvailableResourceMetricsCommandOutput,
71
83
  } from "./commands/ListAvailableResourceMetricsCommand";
84
+ import {
85
+ ListPerformanceAnalysisReportsCommandInput,
86
+ ListPerformanceAnalysisReportsCommandOutput,
87
+ } from "./commands/ListPerformanceAnalysisReportsCommand";
88
+ import {
89
+ ListTagsForResourceCommandInput,
90
+ ListTagsForResourceCommandOutput,
91
+ } from "./commands/ListTagsForResourceCommand";
92
+ import {
93
+ TagResourceCommandInput,
94
+ TagResourceCommandOutput,
95
+ } from "./commands/TagResourceCommand";
96
+ import {
97
+ UntagResourceCommandInput,
98
+ UntagResourceCommandOutput,
99
+ } from "./commands/UntagResourceCommand";
72
100
  import {
73
101
  ClientInputEndpointParameters,
74
102
  ClientResolvedEndpointParameters,
75
103
  EndpointParameters,
76
104
  } from "./endpoint/EndpointParameters";
105
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
77
106
  export { __Client };
78
107
  export type ServiceInputTypes =
108
+ | CreatePerformanceAnalysisReportCommandInput
109
+ | DeletePerformanceAnalysisReportCommandInput
79
110
  | DescribeDimensionKeysCommandInput
80
111
  | GetDimensionKeyDetailsCommandInput
112
+ | GetPerformanceAnalysisReportCommandInput
81
113
  | GetResourceMetadataCommandInput
82
114
  | GetResourceMetricsCommandInput
83
115
  | ListAvailableResourceDimensionsCommandInput
84
- | ListAvailableResourceMetricsCommandInput;
116
+ | ListAvailableResourceMetricsCommandInput
117
+ | ListPerformanceAnalysisReportsCommandInput
118
+ | ListTagsForResourceCommandInput
119
+ | TagResourceCommandInput
120
+ | UntagResourceCommandInput;
85
121
  export type ServiceOutputTypes =
122
+ | CreatePerformanceAnalysisReportCommandOutput
123
+ | DeletePerformanceAnalysisReportCommandOutput
86
124
  | DescribeDimensionKeysCommandOutput
87
125
  | GetDimensionKeyDetailsCommandOutput
126
+ | GetPerformanceAnalysisReportCommandOutput
88
127
  | GetResourceMetadataCommandOutput
89
128
  | GetResourceMetricsCommandOutput
90
129
  | ListAvailableResourceDimensionsCommandOutput
91
- | ListAvailableResourceMetricsCommandOutput;
130
+ | ListAvailableResourceMetricsCommandOutput
131
+ | ListPerformanceAnalysisReportsCommandOutput
132
+ | ListTagsForResourceCommandOutput
133
+ | TagResourceCommandOutput
134
+ | UntagResourceCommandOutput;
92
135
  export interface ClientDefaults
93
136
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
94
137
  requestHandler?: __HttpHandler;
@@ -111,6 +154,7 @@ export interface ClientDefaults
111
154
  maxAttempts?: number | __Provider<number>;
112
155
  retryMode?: string | __Provider<string>;
113
156
  logger?: __Logger;
157
+ extensions?: RuntimeExtension[];
114
158
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
115
159
  }
116
160
  export type PIClientConfigType = Partial<
@@ -128,6 +172,7 @@ export interface PIClientConfig extends PIClientConfigType {}
128
172
  export type PIClientResolvedConfigType =
129
173
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
130
174
  Required<ClientDefaults> &
175
+ RuntimeExtensionsConfig &
131
176
  RegionResolvedConfig &
132
177
  EndpointResolvedConfig<EndpointParameters> &
133
178
  RetryResolvedConfig &
@@ -0,0 +1,2 @@
1
+ import { DefaultClientConfiguration } from "@smithy/types";
2
+ export interface PIClientConfiguration extends DefaultClientConfiguration {}
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ CreatePerformanceAnalysisReportRequest,
11
+ CreatePerformanceAnalysisReportResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ PIClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../PIClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface CreatePerformanceAnalysisReportCommandInput
20
+ extends CreatePerformanceAnalysisReportRequest {}
21
+ export interface CreatePerformanceAnalysisReportCommandOutput
22
+ extends CreatePerformanceAnalysisReportResponse,
23
+ __MetadataBearer {}
24
+ export declare class CreatePerformanceAnalysisReportCommand extends $Command<
25
+ CreatePerformanceAnalysisReportCommandInput,
26
+ CreatePerformanceAnalysisReportCommandOutput,
27
+ PIClientResolvedConfig
28
+ > {
29
+ readonly input: CreatePerformanceAnalysisReportCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: CreatePerformanceAnalysisReportCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: PIClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ CreatePerformanceAnalysisReportCommandInput,
38
+ CreatePerformanceAnalysisReportCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ DeletePerformanceAnalysisReportRequest,
11
+ DeletePerformanceAnalysisReportResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ PIClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../PIClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface DeletePerformanceAnalysisReportCommandInput
20
+ extends DeletePerformanceAnalysisReportRequest {}
21
+ export interface DeletePerformanceAnalysisReportCommandOutput
22
+ extends DeletePerformanceAnalysisReportResponse,
23
+ __MetadataBearer {}
24
+ export declare class DeletePerformanceAnalysisReportCommand extends $Command<
25
+ DeletePerformanceAnalysisReportCommandInput,
26
+ DeletePerformanceAnalysisReportCommandOutput,
27
+ PIClientResolvedConfig
28
+ > {
29
+ readonly input: DeletePerformanceAnalysisReportCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DeletePerformanceAnalysisReportCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: PIClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ DeletePerformanceAnalysisReportCommandInput,
38
+ DeletePerformanceAnalysisReportCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ GetPerformanceAnalysisReportRequest,
11
+ GetPerformanceAnalysisReportResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ PIClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../PIClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetPerformanceAnalysisReportCommandInput
20
+ extends GetPerformanceAnalysisReportRequest {}
21
+ export interface GetPerformanceAnalysisReportCommandOutput
22
+ extends GetPerformanceAnalysisReportResponse,
23
+ __MetadataBearer {}
24
+ export declare class GetPerformanceAnalysisReportCommand extends $Command<
25
+ GetPerformanceAnalysisReportCommandInput,
26
+ GetPerformanceAnalysisReportCommandOutput,
27
+ PIClientResolvedConfig
28
+ > {
29
+ readonly input: GetPerformanceAnalysisReportCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: GetPerformanceAnalysisReportCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: PIClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ GetPerformanceAnalysisReportCommandInput,
38
+ GetPerformanceAnalysisReportCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListPerformanceAnalysisReportsRequest,
11
+ ListPerformanceAnalysisReportsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ PIClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../PIClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListPerformanceAnalysisReportsCommandInput
20
+ extends ListPerformanceAnalysisReportsRequest {}
21
+ export interface ListPerformanceAnalysisReportsCommandOutput
22
+ extends ListPerformanceAnalysisReportsResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListPerformanceAnalysisReportsCommand extends $Command<
25
+ ListPerformanceAnalysisReportsCommandInput,
26
+ ListPerformanceAnalysisReportsCommandOutput,
27
+ PIClientResolvedConfig
28
+ > {
29
+ readonly input: ListPerformanceAnalysisReportsCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListPerformanceAnalysisReportsCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: PIClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<
37
+ ListPerformanceAnalysisReportsCommandInput,
38
+ ListPerformanceAnalysisReportsCommandOutput
39
+ >;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ ListTagsForResourceRequest,
11
+ ListTagsForResourceResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ PIClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../PIClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ListTagsForResourceCommandInput
20
+ extends ListTagsForResourceRequest {}
21
+ export interface ListTagsForResourceCommandOutput
22
+ extends ListTagsForResourceResponse,
23
+ __MetadataBearer {}
24
+ export declare class ListTagsForResourceCommand extends $Command<
25
+ ListTagsForResourceCommandInput,
26
+ ListTagsForResourceCommandOutput,
27
+ PIClientResolvedConfig
28
+ > {
29
+ readonly input: ListTagsForResourceCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ListTagsForResourceCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: PIClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }