in clients/client-iotfleetwise/src/protocols/Aws_json1_0.ts [3663:3829]
ros2PrimitiveMessageDefinition: de_ROS2PrimitiveMessageDefinition(output.ros2PrimitiveMessageDefinition, context),
};
}
return { $unknown: Object.entries(output)[0] };
};
// de_PutEncryptionConfigurationResponse omitted.
// de_PutLoggingOptionsResponse omitted.
/**
* deserializeAws_json1_0RegisterAccountResponse
*/
const de_RegisterAccountResponse = (output: any, context: __SerdeContext): RegisterAccountResponse => {
return take(output, {
creationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
iamResources: _json,
lastModificationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
registerAccountStatus: __expectString,
timestreamResources: _json,
}) as any;
};
// de_ResourceNotFoundException omitted.
/**
* deserializeAws_json1_0ROS2PrimitiveMessageDefinition
*/
const de_ROS2PrimitiveMessageDefinition = (output: any, context: __SerdeContext): ROS2PrimitiveMessageDefinition => {
return take(output, {
offset: __limitedParseDouble,
primitiveType: __expectString,
scaling: __limitedParseDouble,
upperBound: __expectLong,
}) as any;
};
// de_S3Config omitted.
/**
* deserializeAws_json1_0Sensor
*/
const de_Sensor = (output: any, context: __SerdeContext): Sensor => {
return take(output, {
allowedValues: _json,
comment: __expectString,
dataType: __expectString,
deprecationMessage: __expectString,
description: __expectString,
fullyQualifiedName: __expectString,
max: __limitedParseDouble,
min: __limitedParseDouble,
structFullyQualifiedName: __expectString,
unit: __expectString,
}) as any;
};
/**
* deserializeAws_json1_0signalCatalogSummaries
*/
const de_signalCatalogSummaries = (output: any, context: __SerdeContext): SignalCatalogSummary[] => {
const retVal = (output || [])
.filter((e: any) => e != null)
.map((entry: any) => {
return de_SignalCatalogSummary(entry, context);
});
return retVal;
};
/**
* deserializeAws_json1_0SignalCatalogSummary
*/
const de_SignalCatalogSummary = (output: any, context: __SerdeContext): SignalCatalogSummary => {
return take(output, {
arn: __expectString,
creationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
lastModificationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
name: __expectString,
}) as any;
};
/**
* deserializeAws_json1_0SignalDecoder
*/
const de_SignalDecoder = (output: any, context: __SerdeContext): SignalDecoder => {
return take(output, {
canSignal: (_: any) => de_CanSignal(_, context),
customDecodingSignal: _json,
fullyQualifiedName: __expectString,
interfaceId: __expectString,
messageSignal: (_: any) => de_MessageSignal(_, context),
obdSignal: (_: any) => de_ObdSignal(_, context),
type: __expectString,
}) as any;
};
/**
* deserializeAws_json1_0SignalDecoders
*/
const de_SignalDecoders = (output: any, context: __SerdeContext): SignalDecoder[] => {
const retVal = (output || [])
.filter((e: any) => e != null)
.map((entry: any) => {
return de_SignalDecoder(entry, context);
});
return retVal;
};
// de_SignalFetchConfig omitted.
// de_SignalFetchInformation omitted.
// de_SignalFetchInformationList omitted.
// de_SignalInformation omitted.
// de_SignalInformationList omitted.
// de_StateTemplateAssociation omitted.
// de_StateTemplateAssociations omitted.
// de_StateTemplateDataExtraDimensionNodePathList omitted.
// de_StateTemplateMetadataExtraDimensionNodePathList omitted.
// de_StateTemplateProperties omitted.
/**
* deserializeAws_json1_0StateTemplateSummaries
*/
const de_StateTemplateSummaries = (output: any, context: __SerdeContext): StateTemplateSummary[] => {
const retVal = (output || [])
.filter((e: any) => e != null)
.map((entry: any) => {
return de_StateTemplateSummary(entry, context);
});
return retVal;
};
/**
* deserializeAws_json1_0StateTemplateSummary
*/
const de_StateTemplateSummary = (output: any, context: __SerdeContext): StateTemplateSummary => {
return take(output, {
arn: __expectString,
creationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
description: __expectString,
id: __expectString,
lastModificationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
name: __expectString,
signalCatalogArn: __expectString,
}) as any;
};
// de_StateTemplateUpdateStrategy omitted.
// de_StorageMaximumSize omitted.
// de_StorageMinimumTimeToLive omitted.
/**
* deserializeAws_json1_0StructuredMessage
*/
const de_StructuredMessage = (output: any, context: __SerdeContext): StructuredMessage => {
if (output.primitiveMessageDefinition != null) {
return {