@aws-sdk/client-iotfleetwise 3.421.0 → 3.422.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/README.md +16 -0
- package/dist-cjs/IoTFleetWise.js +4 -0
- package/dist-cjs/commands/GetEncryptionConfigurationCommand.js +51 -0
- package/dist-cjs/commands/PutEncryptionConfigurationCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/protocols/Aws_json1_0.js +120 -2
- package/dist-es/IoTFleetWise.js +4 -0
- package/dist-es/commands/GetEncryptionConfigurationCommand.js +47 -0
- package/dist-es/commands/PutEncryptionConfigurationCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_json1_0.js +113 -0
- package/dist-types/IoTFleetWise.d.ts +14 -0
- package/dist-types/IoTFleetWiseClient.d.ts +4 -2
- package/dist-types/commands/GetEncryptionConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/PutEncryptionConfigurationCommand.d.ts +95 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +101 -1
- package/dist-types/protocols/Aws_json1_0.d.ts +18 -0
- package/dist-types/ts3.4/IoTFleetWise.d.ts +34 -0
- package/dist-types/ts3.4/IoTFleetWiseClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetEncryptionConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutEncryptionConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
- package/package.json +1 -1
|
@@ -71,6 +71,10 @@ import {
|
|
|
71
71
|
GetDecoderManifestCommandInput,
|
|
72
72
|
GetDecoderManifestCommandOutput,
|
|
73
73
|
} from "./commands/GetDecoderManifestCommand";
|
|
74
|
+
import {
|
|
75
|
+
GetEncryptionConfigurationCommandInput,
|
|
76
|
+
GetEncryptionConfigurationCommandOutput,
|
|
77
|
+
} from "./commands/GetEncryptionConfigurationCommand";
|
|
74
78
|
import {
|
|
75
79
|
GetFleetCommandInput,
|
|
76
80
|
GetFleetCommandOutput,
|
|
@@ -159,6 +163,10 @@ import {
|
|
|
159
163
|
ListVehiclesInFleetCommandInput,
|
|
160
164
|
ListVehiclesInFleetCommandOutput,
|
|
161
165
|
} from "./commands/ListVehiclesInFleetCommand";
|
|
166
|
+
import {
|
|
167
|
+
PutEncryptionConfigurationCommandInput,
|
|
168
|
+
PutEncryptionConfigurationCommandOutput,
|
|
169
|
+
} from "./commands/PutEncryptionConfigurationCommand";
|
|
162
170
|
import {
|
|
163
171
|
PutLoggingOptionsCommandInput,
|
|
164
172
|
PutLoggingOptionsCommandOutput,
|
|
@@ -435,6 +443,19 @@ export interface IoTFleetWise {
|
|
|
435
443
|
options: __HttpHandlerOptions,
|
|
436
444
|
cb: (err: any, data?: GetDecoderManifestCommandOutput) => void
|
|
437
445
|
): void;
|
|
446
|
+
getEncryptionConfiguration(
|
|
447
|
+
args: GetEncryptionConfigurationCommandInput,
|
|
448
|
+
options?: __HttpHandlerOptions
|
|
449
|
+
): Promise<GetEncryptionConfigurationCommandOutput>;
|
|
450
|
+
getEncryptionConfiguration(
|
|
451
|
+
args: GetEncryptionConfigurationCommandInput,
|
|
452
|
+
cb: (err: any, data?: GetEncryptionConfigurationCommandOutput) => void
|
|
453
|
+
): void;
|
|
454
|
+
getEncryptionConfiguration(
|
|
455
|
+
args: GetEncryptionConfigurationCommandInput,
|
|
456
|
+
options: __HttpHandlerOptions,
|
|
457
|
+
cb: (err: any, data?: GetEncryptionConfigurationCommandOutput) => void
|
|
458
|
+
): void;
|
|
438
459
|
getFleet(
|
|
439
460
|
args: GetFleetCommandInput,
|
|
440
461
|
options?: __HttpHandlerOptions
|
|
@@ -727,6 +748,19 @@ export interface IoTFleetWise {
|
|
|
727
748
|
options: __HttpHandlerOptions,
|
|
728
749
|
cb: (err: any, data?: ListVehiclesInFleetCommandOutput) => void
|
|
729
750
|
): void;
|
|
751
|
+
putEncryptionConfiguration(
|
|
752
|
+
args: PutEncryptionConfigurationCommandInput,
|
|
753
|
+
options?: __HttpHandlerOptions
|
|
754
|
+
): Promise<PutEncryptionConfigurationCommandOutput>;
|
|
755
|
+
putEncryptionConfiguration(
|
|
756
|
+
args: PutEncryptionConfigurationCommandInput,
|
|
757
|
+
cb: (err: any, data?: PutEncryptionConfigurationCommandOutput) => void
|
|
758
|
+
): void;
|
|
759
|
+
putEncryptionConfiguration(
|
|
760
|
+
args: PutEncryptionConfigurationCommandInput,
|
|
761
|
+
options: __HttpHandlerOptions,
|
|
762
|
+
cb: (err: any, data?: PutEncryptionConfigurationCommandOutput) => void
|
|
763
|
+
): void;
|
|
730
764
|
putLoggingOptions(
|
|
731
765
|
args: PutLoggingOptionsCommandInput,
|
|
732
766
|
options?: __HttpHandlerOptions
|
|
@@ -117,6 +117,10 @@ import {
|
|
|
117
117
|
GetDecoderManifestCommandInput,
|
|
118
118
|
GetDecoderManifestCommandOutput,
|
|
119
119
|
} from "./commands/GetDecoderManifestCommand";
|
|
120
|
+
import {
|
|
121
|
+
GetEncryptionConfigurationCommandInput,
|
|
122
|
+
GetEncryptionConfigurationCommandOutput,
|
|
123
|
+
} from "./commands/GetEncryptionConfigurationCommand";
|
|
120
124
|
import {
|
|
121
125
|
GetFleetCommandInput,
|
|
122
126
|
GetFleetCommandOutput,
|
|
@@ -205,6 +209,10 @@ import {
|
|
|
205
209
|
ListVehiclesInFleetCommandInput,
|
|
206
210
|
ListVehiclesInFleetCommandOutput,
|
|
207
211
|
} from "./commands/ListVehiclesInFleetCommand";
|
|
212
|
+
import {
|
|
213
|
+
PutEncryptionConfigurationCommandInput,
|
|
214
|
+
PutEncryptionConfigurationCommandOutput,
|
|
215
|
+
} from "./commands/PutEncryptionConfigurationCommand";
|
|
208
216
|
import {
|
|
209
217
|
PutLoggingOptionsCommandInput,
|
|
210
218
|
PutLoggingOptionsCommandOutput,
|
|
@@ -271,6 +279,7 @@ export type ServiceInputTypes =
|
|
|
271
279
|
| DisassociateVehicleFleetCommandInput
|
|
272
280
|
| GetCampaignCommandInput
|
|
273
281
|
| GetDecoderManifestCommandInput
|
|
282
|
+
| GetEncryptionConfigurationCommandInput
|
|
274
283
|
| GetFleetCommandInput
|
|
275
284
|
| GetLoggingOptionsCommandInput
|
|
276
285
|
| GetModelManifestCommandInput
|
|
@@ -293,6 +302,7 @@ export type ServiceInputTypes =
|
|
|
293
302
|
| ListTagsForResourceCommandInput
|
|
294
303
|
| ListVehiclesCommandInput
|
|
295
304
|
| ListVehiclesInFleetCommandInput
|
|
305
|
+
| PutEncryptionConfigurationCommandInput
|
|
296
306
|
| PutLoggingOptionsCommandInput
|
|
297
307
|
| RegisterAccountCommandInput
|
|
298
308
|
| TagResourceCommandInput
|
|
@@ -322,6 +332,7 @@ export type ServiceOutputTypes =
|
|
|
322
332
|
| DisassociateVehicleFleetCommandOutput
|
|
323
333
|
| GetCampaignCommandOutput
|
|
324
334
|
| GetDecoderManifestCommandOutput
|
|
335
|
+
| GetEncryptionConfigurationCommandOutput
|
|
325
336
|
| GetFleetCommandOutput
|
|
326
337
|
| GetLoggingOptionsCommandOutput
|
|
327
338
|
| GetModelManifestCommandOutput
|
|
@@ -344,6 +355,7 @@ export type ServiceOutputTypes =
|
|
|
344
355
|
| ListTagsForResourceCommandOutput
|
|
345
356
|
| ListVehiclesCommandOutput
|
|
346
357
|
| ListVehiclesInFleetCommandOutput
|
|
358
|
+
| PutEncryptionConfigurationCommandOutput
|
|
347
359
|
| PutLoggingOptionsCommandOutput
|
|
348
360
|
| RegisterAccountCommandOutput
|
|
349
361
|
| TagResourceCommandOutput
|
|
@@ -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
|
+
IoTFleetWiseClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IoTFleetWiseClient";
|
|
14
|
+
import {
|
|
15
|
+
GetEncryptionConfigurationRequest,
|
|
16
|
+
GetEncryptionConfigurationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface GetEncryptionConfigurationCommandInput
|
|
20
|
+
extends GetEncryptionConfigurationRequest {}
|
|
21
|
+
export interface GetEncryptionConfigurationCommandOutput
|
|
22
|
+
extends GetEncryptionConfigurationResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class GetEncryptionConfigurationCommand extends $Command<
|
|
25
|
+
GetEncryptionConfigurationCommandInput,
|
|
26
|
+
GetEncryptionConfigurationCommandOutput,
|
|
27
|
+
IoTFleetWiseClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: GetEncryptionConfigurationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: GetEncryptionConfigurationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: IoTFleetWiseClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
GetEncryptionConfigurationCommandInput,
|
|
38
|
+
GetEncryptionConfigurationCommandOutput
|
|
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
|
+
IoTFleetWiseClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../IoTFleetWiseClient";
|
|
14
|
+
import {
|
|
15
|
+
PutEncryptionConfigurationRequest,
|
|
16
|
+
PutEncryptionConfigurationResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface PutEncryptionConfigurationCommandInput
|
|
20
|
+
extends PutEncryptionConfigurationRequest {}
|
|
21
|
+
export interface PutEncryptionConfigurationCommandOutput
|
|
22
|
+
extends PutEncryptionConfigurationResponse,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class PutEncryptionConfigurationCommand extends $Command<
|
|
25
|
+
PutEncryptionConfigurationCommandInput,
|
|
26
|
+
PutEncryptionConfigurationCommandOutput,
|
|
27
|
+
IoTFleetWiseClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: PutEncryptionConfigurationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: PutEncryptionConfigurationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: IoTFleetWiseClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
PutEncryptionConfigurationCommandInput,
|
|
38
|
+
PutEncryptionConfigurationCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -16,6 +16,7 @@ export * from "./DeleteVehicleCommand";
|
|
|
16
16
|
export * from "./DisassociateVehicleFleetCommand";
|
|
17
17
|
export * from "./GetCampaignCommand";
|
|
18
18
|
export * from "./GetDecoderManifestCommand";
|
|
19
|
+
export * from "./GetEncryptionConfigurationCommand";
|
|
19
20
|
export * from "./GetFleetCommand";
|
|
20
21
|
export * from "./GetLoggingOptionsCommand";
|
|
21
22
|
export * from "./GetModelManifestCommand";
|
|
@@ -38,6 +39,7 @@ export * from "./ListSignalCatalogsCommand";
|
|
|
38
39
|
export * from "./ListTagsForResourceCommand";
|
|
39
40
|
export * from "./ListVehiclesCommand";
|
|
40
41
|
export * from "./ListVehiclesInFleetCommand";
|
|
42
|
+
export * from "./PutEncryptionConfigurationCommand";
|
|
41
43
|
export * from "./PutLoggingOptionsCommand";
|
|
42
44
|
export * from "./RegisterAccountCommand";
|
|
43
45
|
export * from "./TagResourceCommand";
|
|
@@ -802,6 +802,19 @@ export interface DisassociateVehicleFleetRequest {
|
|
|
802
802
|
fleetId: string | undefined;
|
|
803
803
|
}
|
|
804
804
|
export interface DisassociateVehicleFleetResponse {}
|
|
805
|
+
export declare const EncryptionStatus: {
|
|
806
|
+
readonly FAILURE: "FAILURE";
|
|
807
|
+
readonly PENDING: "PENDING";
|
|
808
|
+
readonly SUCCESS: "SUCCESS";
|
|
809
|
+
};
|
|
810
|
+
export type EncryptionStatus =
|
|
811
|
+
(typeof EncryptionStatus)[keyof typeof EncryptionStatus];
|
|
812
|
+
export declare const EncryptionType: {
|
|
813
|
+
readonly FLEETWISE_DEFAULT_ENCRYPTION: "FLEETWISE_DEFAULT_ENCRYPTION";
|
|
814
|
+
readonly KMS_BASED_ENCRYPTION: "KMS_BASED_ENCRYPTION";
|
|
815
|
+
};
|
|
816
|
+
export type EncryptionType =
|
|
817
|
+
(typeof EncryptionType)[keyof typeof EncryptionType];
|
|
805
818
|
export interface ListFleetsForVehicleRequest {
|
|
806
819
|
vehicleName: string | undefined;
|
|
807
820
|
nextToken?: string;
|
|
@@ -873,6 +886,15 @@ export declare namespace FormattedVss {
|
|
|
873
886
|
}
|
|
874
887
|
const visit: <T>(value: FormattedVss, visitor: Visitor<T>) => T;
|
|
875
888
|
}
|
|
889
|
+
export interface GetEncryptionConfigurationRequest {}
|
|
890
|
+
export interface GetEncryptionConfigurationResponse {
|
|
891
|
+
kmsKeyId?: string;
|
|
892
|
+
encryptionStatus: EncryptionStatus | string | undefined;
|
|
893
|
+
encryptionType: EncryptionType | string | undefined;
|
|
894
|
+
errorMessage?: string;
|
|
895
|
+
creationTime?: Date;
|
|
896
|
+
lastModificationTime?: Date;
|
|
897
|
+
}
|
|
876
898
|
export interface GetLoggingOptionsRequest {}
|
|
877
899
|
export interface GetLoggingOptionsResponse {
|
|
878
900
|
cloudWatchLogDelivery: CloudWatchLogDeliveryOptions | undefined;
|
|
@@ -1027,6 +1049,15 @@ export interface UpdateModelManifestResponse {
|
|
|
1027
1049
|
name: string | undefined;
|
|
1028
1050
|
arn: string | undefined;
|
|
1029
1051
|
}
|
|
1052
|
+
export interface PutEncryptionConfigurationRequest {
|
|
1053
|
+
kmsKeyId?: string;
|
|
1054
|
+
encryptionType: EncryptionType | string | undefined;
|
|
1055
|
+
}
|
|
1056
|
+
export interface PutEncryptionConfigurationResponse {
|
|
1057
|
+
kmsKeyId?: string;
|
|
1058
|
+
encryptionStatus: EncryptionStatus | string | undefined;
|
|
1059
|
+
encryptionType: EncryptionType | string | undefined;
|
|
1060
|
+
}
|
|
1030
1061
|
export interface PutLoggingOptionsRequest {
|
|
1031
1062
|
cloudWatchLogDelivery: CloudWatchLogDeliveryOptions | undefined;
|
|
1032
1063
|
}
|
|
@@ -75,6 +75,10 @@ import {
|
|
|
75
75
|
GetDecoderManifestCommandInput,
|
|
76
76
|
GetDecoderManifestCommandOutput,
|
|
77
77
|
} from "../commands/GetDecoderManifestCommand";
|
|
78
|
+
import {
|
|
79
|
+
GetEncryptionConfigurationCommandInput,
|
|
80
|
+
GetEncryptionConfigurationCommandOutput,
|
|
81
|
+
} from "../commands/GetEncryptionConfigurationCommand";
|
|
78
82
|
import {
|
|
79
83
|
GetFleetCommandInput,
|
|
80
84
|
GetFleetCommandOutput,
|
|
@@ -163,6 +167,10 @@ import {
|
|
|
163
167
|
ListVehiclesInFleetCommandInput,
|
|
164
168
|
ListVehiclesInFleetCommandOutput,
|
|
165
169
|
} from "../commands/ListVehiclesInFleetCommand";
|
|
170
|
+
import {
|
|
171
|
+
PutEncryptionConfigurationCommandInput,
|
|
172
|
+
PutEncryptionConfigurationCommandOutput,
|
|
173
|
+
} from "../commands/PutEncryptionConfigurationCommand";
|
|
166
174
|
import {
|
|
167
175
|
PutLoggingOptionsCommandInput,
|
|
168
176
|
PutLoggingOptionsCommandOutput,
|
|
@@ -275,6 +283,10 @@ export declare const se_GetDecoderManifestCommand: (
|
|
|
275
283
|
input: GetDecoderManifestCommandInput,
|
|
276
284
|
context: __SerdeContext
|
|
277
285
|
) => Promise<__HttpRequest>;
|
|
286
|
+
export declare const se_GetEncryptionConfigurationCommand: (
|
|
287
|
+
input: GetEncryptionConfigurationCommandInput,
|
|
288
|
+
context: __SerdeContext
|
|
289
|
+
) => Promise<__HttpRequest>;
|
|
278
290
|
export declare const se_GetFleetCommand: (
|
|
279
291
|
input: GetFleetCommandInput,
|
|
280
292
|
context: __SerdeContext
|
|
@@ -363,6 +375,10 @@ export declare const se_ListVehiclesInFleetCommand: (
|
|
|
363
375
|
input: ListVehiclesInFleetCommandInput,
|
|
364
376
|
context: __SerdeContext
|
|
365
377
|
) => Promise<__HttpRequest>;
|
|
378
|
+
export declare const se_PutEncryptionConfigurationCommand: (
|
|
379
|
+
input: PutEncryptionConfigurationCommandInput,
|
|
380
|
+
context: __SerdeContext
|
|
381
|
+
) => Promise<__HttpRequest>;
|
|
366
382
|
export declare const se_PutLoggingOptionsCommand: (
|
|
367
383
|
input: PutLoggingOptionsCommandInput,
|
|
368
384
|
context: __SerdeContext
|
|
@@ -475,6 +491,10 @@ export declare const de_GetDecoderManifestCommand: (
|
|
|
475
491
|
output: __HttpResponse,
|
|
476
492
|
context: __SerdeContext
|
|
477
493
|
) => Promise<GetDecoderManifestCommandOutput>;
|
|
494
|
+
export declare const de_GetEncryptionConfigurationCommand: (
|
|
495
|
+
output: __HttpResponse,
|
|
496
|
+
context: __SerdeContext
|
|
497
|
+
) => Promise<GetEncryptionConfigurationCommandOutput>;
|
|
478
498
|
export declare const de_GetFleetCommand: (
|
|
479
499
|
output: __HttpResponse,
|
|
480
500
|
context: __SerdeContext
|
|
@@ -563,6 +583,10 @@ export declare const de_ListVehiclesInFleetCommand: (
|
|
|
563
583
|
output: __HttpResponse,
|
|
564
584
|
context: __SerdeContext
|
|
565
585
|
) => Promise<ListVehiclesInFleetCommandOutput>;
|
|
586
|
+
export declare const de_PutEncryptionConfigurationCommand: (
|
|
587
|
+
output: __HttpResponse,
|
|
588
|
+
context: __SerdeContext
|
|
589
|
+
) => Promise<PutEncryptionConfigurationCommandOutput>;
|
|
566
590
|
export declare const de_PutLoggingOptionsCommand: (
|
|
567
591
|
output: __HttpResponse,
|
|
568
592
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotfleetwise",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iotfleetwise Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.422.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",
|