Skip to content

Commit 7877ded

Browse files
author
awstools
committed
feat(client-iotfleetwise): Updated APIs: SignalNodeType query parameter has been added to ListSignalCatalogNodesRequest and ListVehiclesResponse has been extended with attributes field.
1 parent daf640b commit 7877ded

File tree

5 files changed

+94
-2
lines changed

5 files changed

+94
-2
lines changed

clients/client-iotfleetwise/src/commands/ListSignalCatalogNodesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export interface ListSignalCatalogNodesCommandOutput extends ListSignalCatalogNo
4242
* name: "STRING_VALUE", // required
4343
* nextToken: "STRING_VALUE",
4444
* maxResults: Number("int"),
45+
* signalNodeType: "SENSOR" || "ACTUATOR" || "ATTRIBUTE" || "BRANCH" || "CUSTOM_STRUCT" || "CUSTOM_PROPERTY",
4546
* };
4647
* const command = new ListSignalCatalogNodesCommand(input);
4748
* const response = await client.send(command);

clients/client-iotfleetwise/src/commands/ListVehiclesCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ export interface ListVehiclesCommandOutput extends ListVehiclesResponse, __Metad
5454
* // decoderManifestArn: "STRING_VALUE", // required
5555
* // creationTime: new Date("TIMESTAMP"), // required
5656
* // lastModificationTime: new Date("TIMESTAMP"), // required
57+
* // attributes: { // attributesMap
58+
* // "<keys>": "STRING_VALUE",
59+
* // },
5760
* // },
5861
* // ],
5962
* // nextToken: "STRING_VALUE",

clients/client-iotfleetwise/src/models/models_0.ts

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ export interface ConditionBasedCollectionScheme {
824824
/**
825825
* @public
826826
* <p>The logical expression used to recognize what data to collect. For example,
827-
* <code>$variable.Vehicle.OutsideAirTemperature &gt;= 105.0</code>.</p>
827+
* <code>$variable.`Vehicle.OutsideAirTemperature` &gt;= 105.0</code>.</p>
828828
*/
829829
expression: string | undefined;
830830

@@ -4717,6 +4717,24 @@ export interface RegisterAccountResponse {
47174717
lastModificationTime: Date | undefined;
47184718
}
47194719

4720+
/**
4721+
* @public
4722+
* @enum
4723+
*/
4724+
export const SignalNodeType = {
4725+
ACTUATOR: "ACTUATOR",
4726+
ATTRIBUTE: "ATTRIBUTE",
4727+
BRANCH: "BRANCH",
4728+
CUSTOM_PROPERTY: "CUSTOM_PROPERTY",
4729+
CUSTOM_STRUCT: "CUSTOM_STRUCT",
4730+
SENSOR: "SENSOR",
4731+
} as const;
4732+
4733+
/**
4734+
* @public
4735+
*/
4736+
export type SignalNodeType = (typeof SignalNodeType)[keyof typeof SignalNodeType];
4737+
47204738
/**
47214739
* @public
47224740
*/
@@ -4739,6 +4757,12 @@ export interface ListSignalCatalogNodesRequest {
47394757
* <p> The maximum number of items to return, between 1 and 100, inclusive. </p>
47404758
*/
47414759
maxResults?: number;
4760+
4761+
/**
4762+
* @public
4763+
* <p>The type of node in the signal catalog.</p>
4764+
*/
4765+
signalNodeType?: SignalNodeType;
47424766
}
47434767

47444768
/**
@@ -4987,6 +5011,15 @@ export interface VehicleSummary {
49875011
* <p>The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time). </p>
49885012
*/
49895013
lastModificationTime: Date | undefined;
5014+
5015+
/**
5016+
* @public
5017+
* <p>Static information about a vehicle in a key-value pair. For example:</p>
5018+
* <p>
5019+
* <code>"engineType"</code> : <code>"1.3 L R2"</code>
5020+
* </p>
5021+
*/
5022+
attributes?: Record<string, string>;
49905023
}
49915024

49925025
/**

clients/client-iotfleetwise/src/protocols/Aws_json1_0.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5581,6 +5581,7 @@ const de_vehicleSummaries = (output: any, context: __SerdeContext): VehicleSumma
55815581
const de_VehicleSummary = (output: any, context: __SerdeContext): VehicleSummary => {
55825582
return take(output, {
55835583
arn: __expectString,
5584+
attributes: _json,
55845585
creationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
55855586
decoderManifestArn: __expectString,
55865587
lastModificationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),

codegen/sdk-codegen/aws-models/iotfleetwise.json

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@
732732
"expression": {
733733
"target": "com.amazonaws.iotfleetwise#eventExpression",
734734
"traits": {
735-
"smithy.api#documentation": "<p>The logical expression used to recognize what data to collect. For example,\n <code>$variable.Vehicle.OutsideAirTemperature &gt;= 105.0</code>.</p>",
735+
"smithy.api#documentation": "<p>The logical expression used to recognize what data to collect. For example,\n <code>$variable.`Vehicle.OutsideAirTemperature` &gt;= 105.0</code>.</p>",
736736
"smithy.api#required": {}
737737
}
738738
},
@@ -5267,6 +5267,13 @@
52675267
"smithy.api#documentation": "<p> The maximum number of items to return, between 1 and 100, inclusive. </p>",
52685268
"smithy.api#httpQuery": "maxResults"
52695269
}
5270+
},
5271+
"signalNodeType": {
5272+
"target": "com.amazonaws.iotfleetwise#SignalNodeType",
5273+
"traits": {
5274+
"smithy.api#documentation": "<p>The type of node in the signal catalog.</p>",
5275+
"smithy.api#httpQuery": "signalNodeType"
5276+
}
52705277
}
52715278
}
52725279
},
@@ -7275,6 +7282,47 @@
72757282
}
72767283
}
72777284
},
7285+
"com.amazonaws.iotfleetwise#SignalNodeType": {
7286+
"type": "enum",
7287+
"members": {
7288+
"SENSOR": {
7289+
"target": "smithy.api#Unit",
7290+
"traits": {
7291+
"smithy.api#enumValue": "SENSOR"
7292+
}
7293+
},
7294+
"ACTUATOR": {
7295+
"target": "smithy.api#Unit",
7296+
"traits": {
7297+
"smithy.api#enumValue": "ACTUATOR"
7298+
}
7299+
},
7300+
"ATTRIBUTE": {
7301+
"target": "smithy.api#Unit",
7302+
"traits": {
7303+
"smithy.api#enumValue": "ATTRIBUTE"
7304+
}
7305+
},
7306+
"BRANCH": {
7307+
"target": "smithy.api#Unit",
7308+
"traits": {
7309+
"smithy.api#enumValue": "BRANCH"
7310+
}
7311+
},
7312+
"CUSTOM_STRUCT": {
7313+
"target": "smithy.api#Unit",
7314+
"traits": {
7315+
"smithy.api#enumValue": "CUSTOM_STRUCT"
7316+
}
7317+
},
7318+
"CUSTOM_PROPERTY": {
7319+
"target": "smithy.api#Unit",
7320+
"traits": {
7321+
"smithy.api#enumValue": "CUSTOM_PROPERTY"
7322+
}
7323+
}
7324+
}
7325+
},
72787326
"com.amazonaws.iotfleetwise#SpoolingMode": {
72797327
"type": "enum",
72807328
"members": {
@@ -8839,6 +8887,12 @@
88398887
"smithy.api#documentation": "<p>The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time). </p>",
88408888
"smithy.api#required": {}
88418889
}
8890+
},
8891+
"attributes": {
8892+
"target": "com.amazonaws.iotfleetwise#attributesMap",
8893+
"traits": {
8894+
"smithy.api#documentation": "<p>Static information about a vehicle in a key-value pair. For example:</p>\n <p>\n <code>\"engineType\"</code> : <code>\"1.3 L R2\"</code>\n </p>"
8895+
}
88428896
}
88438897
},
88448898
"traits": {

0 commit comments

Comments
 (0)