import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateDecoderManifestRequest, CreateDecoderManifestResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateDecoderManifestCommand}. */ export interface CreateDecoderManifestCommandInput extends CreateDecoderManifestRequest { } /** * @public * * The output of {@link CreateDecoderManifestCommand}. */ export interface CreateDecoderManifestCommandOutput extends CreateDecoderManifestResponse, __MetadataBearer { } declare const CreateDecoderManifestCommand_base: { new (input: CreateDecoderManifestCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateDecoderManifestCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates the decoder manifest associated with a model manifest. To create a decoder * manifest, the following must be true:

* * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTFleetWiseClient, CreateDecoderManifestCommand } from "@aws-sdk/client-iotfleetwise"; // ES Modules import * // const { IoTFleetWiseClient, CreateDecoderManifestCommand } = require("@aws-sdk/client-iotfleetwise"); // CommonJS import * // import type { IoTFleetWiseClientConfig } from "@aws-sdk/client-iotfleetwise"; * const config = {}; // type is IoTFleetWiseClientConfig * const client = new IoTFleetWiseClient(config); * const input = { // CreateDecoderManifestRequest * name: "STRING_VALUE", // required * description: "STRING_VALUE", * modelManifestArn: "STRING_VALUE", // required * signalDecoders: [ // SignalDecoders * { // SignalDecoder * fullyQualifiedName: "STRING_VALUE", // required * type: "CAN_SIGNAL" || "OBD_SIGNAL" || "MESSAGE_SIGNAL" || "CUSTOM_DECODING_SIGNAL", // required * interfaceId: "STRING_VALUE", // required * canSignal: { // CanSignal * messageId: Number("int"), // required * isBigEndian: true || false, // required * isSigned: true || false, // required * startBit: Number("int"), // required * offset: Number("double"), // required * factor: Number("double"), // required * length: Number("int"), // required * name: "STRING_VALUE", * signalValueType: "INTEGER" || "FLOATING_POINT", * }, * obdSignal: { // ObdSignal * pidResponseLength: Number("int"), // required * serviceMode: Number("int"), // required * pid: Number("int"), // required * scaling: Number("double"), // required * offset: Number("double"), // required * startByte: Number("int"), // required * byteLength: Number("int"), // required * bitRightShift: Number("int"), * bitMaskLength: Number("int"), * isSigned: true || false, * signalValueType: "INTEGER" || "FLOATING_POINT", * }, * messageSignal: { // MessageSignal * topicName: "STRING_VALUE", // required * structuredMessage: { // StructuredMessage Union: only one key present * primitiveMessageDefinition: { // PrimitiveMessageDefinition Union: only one key present * ros2PrimitiveMessageDefinition: { // ROS2PrimitiveMessageDefinition * primitiveType: "BOOL" || "BYTE" || "CHAR" || "FLOAT32" || "FLOAT64" || "INT8" || "UINT8" || "INT16" || "UINT16" || "INT32" || "UINT32" || "INT64" || "UINT64" || "STRING" || "WSTRING", // required * offset: Number("double"), * scaling: Number("double"), * upperBound: Number("long"), * }, * }, * structuredMessageListDefinition: { // StructuredMessageListDefinition * name: "STRING_VALUE", // required * memberType: {// Union: only one key present * primitiveMessageDefinition: {// Union: only one key present * ros2PrimitiveMessageDefinition: { * primitiveType: "BOOL" || "BYTE" || "CHAR" || "FLOAT32" || "FLOAT64" || "INT8" || "UINT8" || "INT16" || "UINT16" || "INT32" || "UINT32" || "INT64" || "UINT64" || "STRING" || "WSTRING", // required * offset: Number("double"), * scaling: Number("double"), * upperBound: Number("long"), * }, * }, * structuredMessageListDefinition: { * name: "STRING_VALUE", // required * memberType: "", // required * listType: "FIXED_CAPACITY" || "DYNAMIC_UNBOUNDED_CAPACITY" || "DYNAMIC_BOUNDED_CAPACITY", // required * capacity: Number("int"), * }, * structuredMessageDefinition: [ // StructuredMessageDefinition * { // StructuredMessageFieldNameAndDataTypePair * fieldName: "STRING_VALUE", // required * dataType: "", // required * }, * ], * }, * listType: "FIXED_CAPACITY" || "DYNAMIC_UNBOUNDED_CAPACITY" || "DYNAMIC_BOUNDED_CAPACITY", // required * capacity: Number("int"), * }, * structuredMessageDefinition: [ * { * fieldName: "STRING_VALUE", // required * dataType: "", // required * }, * ], * }, * }, * customDecodingSignal: { // CustomDecodingSignal * id: "STRING_VALUE", // required * }, * }, * ], * networkInterfaces: [ // NetworkInterfaces * { // NetworkInterface * interfaceId: "STRING_VALUE", // required * type: "CAN_INTERFACE" || "OBD_INTERFACE" || "VEHICLE_MIDDLEWARE" || "CUSTOM_DECODING_INTERFACE", // required * canInterface: { // CanInterface * name: "STRING_VALUE", // required * protocolName: "STRING_VALUE", * protocolVersion: "STRING_VALUE", * }, * obdInterface: { // ObdInterface * name: "STRING_VALUE", // required * requestMessageId: Number("int"), // required * obdStandard: "STRING_VALUE", * pidRequestIntervalSeconds: Number("int"), * dtcRequestIntervalSeconds: Number("int"), * useExtendedIds: true || false, * hasTransmissionEcu: true || false, * }, * vehicleMiddleware: { // VehicleMiddleware * name: "STRING_VALUE", // required * protocolName: "ROS_2", // required * }, * customDecodingInterface: { // CustomDecodingInterface * name: "STRING_VALUE", // required * }, * }, * ], * defaultForUnmappedSignals: "CUSTOM_DECODING", * tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateDecoderManifestCommand(input); * const response = await client.send(command); * // { // CreateDecoderManifestResponse * // name: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // }; * * ``` * * @param CreateDecoderManifestCommandInput - {@link CreateDecoderManifestCommandInput} * @returns {@link CreateDecoderManifestCommandOutput} * @see {@link CreateDecoderManifestCommandInput} for command's `input` shape. * @see {@link CreateDecoderManifestCommandOutput} for command's `response` shape. * @see {@link IoTFleetWiseClientResolvedConfig | config} for IoTFleetWiseClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient permission to perform this action.

* * @throws {@link ConflictException} (client fault) *

The request has conflicting operations. This can occur if you're trying to perform * more than one operation on the same resource at the same time.

* * @throws {@link DecoderManifestValidationException} (client fault) *

The request couldn't be completed because it contains signal decoders with one or more * validation errors.

* * @throws {@link LimitExceededException} (client fault) *

A service quota was exceeded.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource wasn't found.

* * @throws {@link ThrottlingException} (client fault) *

The request couldn't be completed due to throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by an Amazon Web Services service.

* * @throws {@link InternalServerException} (server fault) *

The request couldn't be completed because the server temporarily failed.

* * @throws {@link IoTFleetWiseServiceException} *

Base exception class for all service exceptions from IoTFleetWise service.

* * * @public */ export declare class CreateDecoderManifestCommand extends CreateDecoderManifestCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateDecoderManifestRequest; output: CreateDecoderManifestResponse; }; sdk: { input: CreateDecoderManifestCommandInput; output: CreateDecoderManifestCommandOutput; }; }; }