@aws-sdk/client-pi 3.50.0 → 3.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/PIServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +44 -1
- package/dist-cjs/protocols/Aws_json1_1.js +73 -193
- package/dist-es/index.js +1 -0
- package/dist-es/models/PIServiceException.js +12 -0
- package/dist-es/models/models_0.js +41 -1
- package/dist-es/protocols/Aws_json1_1.js +140 -212
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/PIServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +23 -10
- package/dist-types/ts3.4/PI.d.ts +35 -0
- package/dist-types/ts3.4/PIClient.d.ts +79 -0
- package/dist-types/ts3.4/commands/DescribeDimensionKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDimensionKeyDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourceMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourceMetricsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAvailableResourceDimensionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAvailableResourceMetricsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/PIServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +386 -0
- package/dist-types/ts3.4/pagination/DescribeDimensionKeysPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetResourceMetricsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAvailableResourceDimensionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAvailableResourceMetricsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +20 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { PIServiceException as __BaseException } from "./PIServiceException";
|
|
3
|
+
|
|
4
|
+
export interface DataPoint {
|
|
5
|
+
|
|
6
|
+
Timestamp: Date | undefined;
|
|
7
|
+
|
|
8
|
+
Value: number | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace DataPoint {
|
|
11
|
+
|
|
12
|
+
const filterSensitiveLog: (obj: DataPoint) => any;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface DimensionGroup {
|
|
16
|
+
|
|
17
|
+
Group: string | undefined;
|
|
18
|
+
|
|
19
|
+
Dimensions?: string[];
|
|
20
|
+
|
|
21
|
+
Limit?: number;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace DimensionGroup {
|
|
24
|
+
|
|
25
|
+
const filterSensitiveLog: (obj: DimensionGroup) => any;
|
|
26
|
+
}
|
|
27
|
+
export declare enum ServiceType {
|
|
28
|
+
DOCDB = "DOCDB",
|
|
29
|
+
RDS = "RDS"
|
|
30
|
+
}
|
|
31
|
+
export interface DescribeDimensionKeysRequest {
|
|
32
|
+
|
|
33
|
+
ServiceType: ServiceType | string | undefined;
|
|
34
|
+
|
|
35
|
+
Identifier: string | undefined;
|
|
36
|
+
|
|
37
|
+
StartTime: Date | undefined;
|
|
38
|
+
|
|
39
|
+
EndTime: Date | undefined;
|
|
40
|
+
|
|
41
|
+
Metric: string | undefined;
|
|
42
|
+
|
|
43
|
+
PeriodInSeconds?: number;
|
|
44
|
+
|
|
45
|
+
GroupBy: DimensionGroup | undefined;
|
|
46
|
+
|
|
47
|
+
AdditionalMetrics?: string[];
|
|
48
|
+
|
|
49
|
+
PartitionBy?: DimensionGroup;
|
|
50
|
+
|
|
51
|
+
Filter?: {
|
|
52
|
+
[key: string]: string;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
MaxResults?: number;
|
|
56
|
+
|
|
57
|
+
NextToken?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace DescribeDimensionKeysRequest {
|
|
60
|
+
|
|
61
|
+
const filterSensitiveLog: (obj: DescribeDimensionKeysRequest) => any;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface DimensionKeyDescription {
|
|
65
|
+
|
|
66
|
+
Dimensions?: {
|
|
67
|
+
[key: string]: string;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
Total?: number;
|
|
71
|
+
|
|
72
|
+
AdditionalMetrics?: {
|
|
73
|
+
[key: string]: number;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
Partitions?: number[];
|
|
77
|
+
}
|
|
78
|
+
export declare namespace DimensionKeyDescription {
|
|
79
|
+
|
|
80
|
+
const filterSensitiveLog: (obj: DimensionKeyDescription) => any;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export interface ResponsePartitionKey {
|
|
84
|
+
|
|
85
|
+
Dimensions: {
|
|
86
|
+
[key: string]: string;
|
|
87
|
+
} | undefined;
|
|
88
|
+
}
|
|
89
|
+
export declare namespace ResponsePartitionKey {
|
|
90
|
+
|
|
91
|
+
const filterSensitiveLog: (obj: ResponsePartitionKey) => any;
|
|
92
|
+
}
|
|
93
|
+
export interface DescribeDimensionKeysResponse {
|
|
94
|
+
|
|
95
|
+
AlignedStartTime?: Date;
|
|
96
|
+
|
|
97
|
+
AlignedEndTime?: Date;
|
|
98
|
+
|
|
99
|
+
PartitionKeys?: ResponsePartitionKey[];
|
|
100
|
+
|
|
101
|
+
Keys?: DimensionKeyDescription[];
|
|
102
|
+
|
|
103
|
+
NextToken?: string;
|
|
104
|
+
}
|
|
105
|
+
export declare namespace DescribeDimensionKeysResponse {
|
|
106
|
+
|
|
107
|
+
const filterSensitiveLog: (obj: DescribeDimensionKeysResponse) => any;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export declare class InternalServiceError extends __BaseException {
|
|
111
|
+
readonly name: "InternalServiceError";
|
|
112
|
+
readonly $fault: "server";
|
|
113
|
+
Message?: string;
|
|
114
|
+
|
|
115
|
+
constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export declare class InvalidArgumentException extends __BaseException {
|
|
119
|
+
readonly name: "InvalidArgumentException";
|
|
120
|
+
readonly $fault: "client";
|
|
121
|
+
Message?: string;
|
|
122
|
+
|
|
123
|
+
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export declare class NotAuthorizedException extends __BaseException {
|
|
127
|
+
readonly name: "NotAuthorizedException";
|
|
128
|
+
readonly $fault: "client";
|
|
129
|
+
Message?: string;
|
|
130
|
+
|
|
131
|
+
constructor(opts: __ExceptionOptionType<NotAuthorizedException, __BaseException>);
|
|
132
|
+
}
|
|
133
|
+
export declare enum DetailStatus {
|
|
134
|
+
AVAILABLE = "AVAILABLE",
|
|
135
|
+
PROCESSING = "PROCESSING",
|
|
136
|
+
UNAVAILABLE = "UNAVAILABLE"
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface DimensionDetail {
|
|
140
|
+
|
|
141
|
+
Identifier?: string;
|
|
142
|
+
}
|
|
143
|
+
export declare namespace DimensionDetail {
|
|
144
|
+
|
|
145
|
+
const filterSensitiveLog: (obj: DimensionDetail) => any;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export interface DimensionGroupDetail {
|
|
149
|
+
|
|
150
|
+
Group?: string;
|
|
151
|
+
|
|
152
|
+
Dimensions?: DimensionDetail[];
|
|
153
|
+
}
|
|
154
|
+
export declare namespace DimensionGroupDetail {
|
|
155
|
+
|
|
156
|
+
const filterSensitiveLog: (obj: DimensionGroupDetail) => any;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export interface DimensionKeyDetail {
|
|
160
|
+
|
|
161
|
+
Value?: string;
|
|
162
|
+
|
|
163
|
+
Dimension?: string;
|
|
164
|
+
|
|
165
|
+
Status?: DetailStatus | string;
|
|
166
|
+
}
|
|
167
|
+
export declare namespace DimensionKeyDetail {
|
|
168
|
+
|
|
169
|
+
const filterSensitiveLog: (obj: DimensionKeyDetail) => any;
|
|
170
|
+
}
|
|
171
|
+
export declare enum FeatureStatus {
|
|
172
|
+
DISABLED = "DISABLED",
|
|
173
|
+
DISABLED_PENDING_REBOOT = "DISABLED_PENDING_REBOOT",
|
|
174
|
+
ENABLED = "ENABLED",
|
|
175
|
+
ENABLED_PENDING_REBOOT = "ENABLED_PENDING_REBOOT",
|
|
176
|
+
UNKNOWN = "UNKNOWN",
|
|
177
|
+
UNSUPPORTED = "UNSUPPORTED"
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export interface FeatureMetadata {
|
|
181
|
+
|
|
182
|
+
Status?: FeatureStatus | string;
|
|
183
|
+
}
|
|
184
|
+
export declare namespace FeatureMetadata {
|
|
185
|
+
|
|
186
|
+
const filterSensitiveLog: (obj: FeatureMetadata) => any;
|
|
187
|
+
}
|
|
188
|
+
export interface GetDimensionKeyDetailsRequest {
|
|
189
|
+
|
|
190
|
+
ServiceType: ServiceType | string | undefined;
|
|
191
|
+
|
|
192
|
+
Identifier: string | undefined;
|
|
193
|
+
|
|
194
|
+
Group: string | undefined;
|
|
195
|
+
|
|
196
|
+
GroupIdentifier: string | undefined;
|
|
197
|
+
|
|
198
|
+
RequestedDimensions?: string[];
|
|
199
|
+
}
|
|
200
|
+
export declare namespace GetDimensionKeyDetailsRequest {
|
|
201
|
+
|
|
202
|
+
const filterSensitiveLog: (obj: GetDimensionKeyDetailsRequest) => any;
|
|
203
|
+
}
|
|
204
|
+
export interface GetDimensionKeyDetailsResponse {
|
|
205
|
+
|
|
206
|
+
Dimensions?: DimensionKeyDetail[];
|
|
207
|
+
}
|
|
208
|
+
export declare namespace GetDimensionKeyDetailsResponse {
|
|
209
|
+
|
|
210
|
+
const filterSensitiveLog: (obj: GetDimensionKeyDetailsResponse) => any;
|
|
211
|
+
}
|
|
212
|
+
export interface GetResourceMetadataRequest {
|
|
213
|
+
|
|
214
|
+
ServiceType: ServiceType | string | undefined;
|
|
215
|
+
|
|
216
|
+
Identifier: string | undefined;
|
|
217
|
+
}
|
|
218
|
+
export declare namespace GetResourceMetadataRequest {
|
|
219
|
+
|
|
220
|
+
const filterSensitiveLog: (obj: GetResourceMetadataRequest) => any;
|
|
221
|
+
}
|
|
222
|
+
export interface GetResourceMetadataResponse {
|
|
223
|
+
|
|
224
|
+
Identifier?: string;
|
|
225
|
+
|
|
226
|
+
Features?: {
|
|
227
|
+
[key: string]: FeatureMetadata;
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
export declare namespace GetResourceMetadataResponse {
|
|
231
|
+
|
|
232
|
+
const filterSensitiveLog: (obj: GetResourceMetadataResponse) => any;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export interface MetricQuery {
|
|
236
|
+
|
|
237
|
+
Metric: string | undefined;
|
|
238
|
+
|
|
239
|
+
GroupBy?: DimensionGroup;
|
|
240
|
+
|
|
241
|
+
Filter?: {
|
|
242
|
+
[key: string]: string;
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
export declare namespace MetricQuery {
|
|
246
|
+
|
|
247
|
+
const filterSensitiveLog: (obj: MetricQuery) => any;
|
|
248
|
+
}
|
|
249
|
+
export interface GetResourceMetricsRequest {
|
|
250
|
+
|
|
251
|
+
ServiceType: ServiceType | string | undefined;
|
|
252
|
+
|
|
253
|
+
Identifier: string | undefined;
|
|
254
|
+
|
|
255
|
+
MetricQueries: MetricQuery[] | undefined;
|
|
256
|
+
|
|
257
|
+
StartTime: Date | undefined;
|
|
258
|
+
|
|
259
|
+
EndTime: Date | undefined;
|
|
260
|
+
|
|
261
|
+
PeriodInSeconds?: number;
|
|
262
|
+
|
|
263
|
+
MaxResults?: number;
|
|
264
|
+
|
|
265
|
+
NextToken?: string;
|
|
266
|
+
}
|
|
267
|
+
export declare namespace GetResourceMetricsRequest {
|
|
268
|
+
|
|
269
|
+
const filterSensitiveLog: (obj: GetResourceMetricsRequest) => any;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export interface ResponseResourceMetricKey {
|
|
273
|
+
|
|
274
|
+
Metric: string | undefined;
|
|
275
|
+
|
|
276
|
+
Dimensions?: {
|
|
277
|
+
[key: string]: string;
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
export declare namespace ResponseResourceMetricKey {
|
|
281
|
+
|
|
282
|
+
const filterSensitiveLog: (obj: ResponseResourceMetricKey) => any;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface MetricKeyDataPoints {
|
|
286
|
+
|
|
287
|
+
Key?: ResponseResourceMetricKey;
|
|
288
|
+
|
|
289
|
+
DataPoints?: DataPoint[];
|
|
290
|
+
}
|
|
291
|
+
export declare namespace MetricKeyDataPoints {
|
|
292
|
+
|
|
293
|
+
const filterSensitiveLog: (obj: MetricKeyDataPoints) => any;
|
|
294
|
+
}
|
|
295
|
+
export interface GetResourceMetricsResponse {
|
|
296
|
+
|
|
297
|
+
AlignedStartTime?: Date;
|
|
298
|
+
|
|
299
|
+
AlignedEndTime?: Date;
|
|
300
|
+
|
|
301
|
+
Identifier?: string;
|
|
302
|
+
|
|
303
|
+
MetricList?: MetricKeyDataPoints[];
|
|
304
|
+
|
|
305
|
+
NextToken?: string;
|
|
306
|
+
}
|
|
307
|
+
export declare namespace GetResourceMetricsResponse {
|
|
308
|
+
|
|
309
|
+
const filterSensitiveLog: (obj: GetResourceMetricsResponse) => any;
|
|
310
|
+
}
|
|
311
|
+
export interface ListAvailableResourceDimensionsRequest {
|
|
312
|
+
|
|
313
|
+
ServiceType: ServiceType | string | undefined;
|
|
314
|
+
|
|
315
|
+
Identifier: string | undefined;
|
|
316
|
+
|
|
317
|
+
Metrics: string[] | undefined;
|
|
318
|
+
|
|
319
|
+
MaxResults?: number;
|
|
320
|
+
|
|
321
|
+
NextToken?: string;
|
|
322
|
+
}
|
|
323
|
+
export declare namespace ListAvailableResourceDimensionsRequest {
|
|
324
|
+
|
|
325
|
+
const filterSensitiveLog: (obj: ListAvailableResourceDimensionsRequest) => any;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export interface MetricDimensionGroups {
|
|
329
|
+
|
|
330
|
+
Metric?: string;
|
|
331
|
+
|
|
332
|
+
Groups?: DimensionGroupDetail[];
|
|
333
|
+
}
|
|
334
|
+
export declare namespace MetricDimensionGroups {
|
|
335
|
+
|
|
336
|
+
const filterSensitiveLog: (obj: MetricDimensionGroups) => any;
|
|
337
|
+
}
|
|
338
|
+
export interface ListAvailableResourceDimensionsResponse {
|
|
339
|
+
|
|
340
|
+
MetricDimensions?: MetricDimensionGroups[];
|
|
341
|
+
|
|
342
|
+
NextToken?: string;
|
|
343
|
+
}
|
|
344
|
+
export declare namespace ListAvailableResourceDimensionsResponse {
|
|
345
|
+
|
|
346
|
+
const filterSensitiveLog: (obj: ListAvailableResourceDimensionsResponse) => any;
|
|
347
|
+
}
|
|
348
|
+
export interface ListAvailableResourceMetricsRequest {
|
|
349
|
+
|
|
350
|
+
ServiceType: ServiceType | string | undefined;
|
|
351
|
+
|
|
352
|
+
Identifier: string | undefined;
|
|
353
|
+
|
|
354
|
+
MetricTypes: string[] | undefined;
|
|
355
|
+
|
|
356
|
+
NextToken?: string;
|
|
357
|
+
|
|
358
|
+
MaxResults?: number;
|
|
359
|
+
}
|
|
360
|
+
export declare namespace ListAvailableResourceMetricsRequest {
|
|
361
|
+
|
|
362
|
+
const filterSensitiveLog: (obj: ListAvailableResourceMetricsRequest) => any;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export interface ResponseResourceMetric {
|
|
366
|
+
|
|
367
|
+
Metric?: string;
|
|
368
|
+
|
|
369
|
+
Description?: string;
|
|
370
|
+
|
|
371
|
+
Unit?: string;
|
|
372
|
+
}
|
|
373
|
+
export declare namespace ResponseResourceMetric {
|
|
374
|
+
|
|
375
|
+
const filterSensitiveLog: (obj: ResponseResourceMetric) => any;
|
|
376
|
+
}
|
|
377
|
+
export interface ListAvailableResourceMetricsResponse {
|
|
378
|
+
|
|
379
|
+
Metrics?: ResponseResourceMetric[];
|
|
380
|
+
|
|
381
|
+
NextToken?: string;
|
|
382
|
+
}
|
|
383
|
+
export declare namespace ListAvailableResourceMetricsResponse {
|
|
384
|
+
|
|
385
|
+
const filterSensitiveLog: (obj: ListAvailableResourceMetricsResponse) => any;
|
|
386
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "../commands/DescribeDimensionKeysCommand";
|
|
3
|
+
import { PIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateDescribeDimensionKeys(config: PIPaginationConfiguration, input: DescribeDimensionKeysCommandInput, ...additionalArguments: any): Paginator<DescribeDimensionKeysCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "../commands/GetResourceMetricsCommand";
|
|
3
|
+
import { PIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateGetResourceMetrics(config: PIPaginationConfiguration, input: GetResourceMetricsCommandInput, ...additionalArguments: any): Paginator<GetResourceMetricsCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListAvailableResourceDimensionsCommandInput, ListAvailableResourceDimensionsCommandOutput } from "../commands/ListAvailableResourceDimensionsCommand";
|
|
3
|
+
import { PIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListAvailableResourceDimensions(config: PIPaginationConfiguration, input: ListAvailableResourceDimensionsCommandInput, ...additionalArguments: any): Paginator<ListAvailableResourceDimensionsCommandOutput>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListAvailableResourceMetricsCommandInput, ListAvailableResourceMetricsCommandOutput } from "../commands/ListAvailableResourceMetricsCommand";
|
|
3
|
+
import { PIPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListAvailableResourceMetrics(config: PIPaginationConfiguration, input: ListAvailableResourceMetricsCommandInput, ...additionalArguments: any): Paginator<ListAvailableResourceMetricsCommandOutput>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { DescribeDimensionKeysCommandInput, DescribeDimensionKeysCommandOutput } from "../commands/DescribeDimensionKeysCommand";
|
|
4
|
+
import { GetDimensionKeyDetailsCommandInput, GetDimensionKeyDetailsCommandOutput } from "../commands/GetDimensionKeyDetailsCommand";
|
|
5
|
+
import { GetResourceMetadataCommandInput, GetResourceMetadataCommandOutput } from "../commands/GetResourceMetadataCommand";
|
|
6
|
+
import { GetResourceMetricsCommandInput, GetResourceMetricsCommandOutput } from "../commands/GetResourceMetricsCommand";
|
|
7
|
+
import { ListAvailableResourceDimensionsCommandInput, ListAvailableResourceDimensionsCommandOutput } from "../commands/ListAvailableResourceDimensionsCommand";
|
|
8
|
+
import { ListAvailableResourceMetricsCommandInput, ListAvailableResourceMetricsCommandOutput } from "../commands/ListAvailableResourceMetricsCommand";
|
|
9
|
+
export declare const serializeAws_json1_1DescribeDimensionKeysCommand: (input: DescribeDimensionKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
export declare const serializeAws_json1_1GetDimensionKeyDetailsCommand: (input: GetDimensionKeyDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
|
+
export declare const serializeAws_json1_1GetResourceMetadataCommand: (input: GetResourceMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_json1_1GetResourceMetricsCommand: (input: GetResourceMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
export declare const serializeAws_json1_1ListAvailableResourceDimensionsCommand: (input: ListAvailableResourceDimensionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const serializeAws_json1_1ListAvailableResourceMetricsCommand: (input: ListAvailableResourceMetricsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
export declare const deserializeAws_json1_1DescribeDimensionKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeDimensionKeysCommandOutput>;
|
|
16
|
+
export declare const deserializeAws_json1_1GetDimensionKeyDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDimensionKeyDetailsCommandOutput>;
|
|
17
|
+
export declare const deserializeAws_json1_1GetResourceMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceMetadataCommandOutput>;
|
|
18
|
+
export declare const deserializeAws_json1_1GetResourceMetricsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceMetricsCommandOutput>;
|
|
19
|
+
export declare const deserializeAws_json1_1ListAvailableResourceDimensionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAvailableResourceDimensionsCommandOutput>;
|
|
20
|
+
export declare const deserializeAws_json1_1ListAvailableResourceMetricsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAvailableResourceMetricsCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { PIClientConfig } from "./PIClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: PIClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { PIClientConfig } from "./PIClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: PIClientConfig) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
|
+
apiVersion: string;
|
|
23
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
|
+
disableHostPrefix: boolean;
|
|
25
|
+
logger: import("@aws-sdk/types").Logger;
|
|
26
|
+
serviceId: string;
|
|
27
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PIClientConfig } from "./PIClient";
|
|
2
|
+
|
|
3
|
+
export declare const getRuntimeConfig: (config: PIClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
6
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
10
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
13
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
disableHostPrefix: boolean;
|
|
16
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
17
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
|
+
logger: import("@aws-sdk/types").Logger;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
23
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { PIClientConfig } from "./PIClient";
|
|
3
|
+
|
|
4
|
+
export declare const getRuntimeConfig: (config: PIClientConfig) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
logger: __Logger;
|
|
8
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
9
|
+
serviceId: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
};
|
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.
|
|
4
|
+
"version": "3.53.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*"
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
13
13
|
},
|
|
14
14
|
"main": "./dist-cjs/index.js",
|
|
15
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -18,40 +18,40 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
39
|
+
"@aws-sdk/types": "3.53.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|