static InputFormatConfiguration translateInputFormatConfigurationToCfnModel()

in deliverystream/src/main/java/com/amazonaws/kinesisfirehose/deliverystream/HandlerUtils.java [1084:1101]


	static InputFormatConfiguration translateInputFormatConfigurationToCfnModel(
			software.amazon.awssdk.services.firehose.model.InputFormatConfiguration inputFormatConfiguration) {
		if (inputFormatConfiguration == null) {
			return null;
		}
		val deserializer = inputFormatConfiguration.deserializer();
		return InputFormatConfiguration.builder()
				.deserializer(Deserializer.builder().
						openXJsonSerDe(deserializer.openXJsonSerDe() == null ? null
								:OpenXJsonSerDe.builder()
								.caseInsensitive(deserializer.openXJsonSerDe().caseInsensitive())
								.columnToJsonKeyMappings(deserializer.openXJsonSerDe().columnToJsonKeyMappings())
								.convertDotsInJsonKeysToUnderscores(deserializer.openXJsonSerDe().convertDotsInJsonKeysToUnderscores()).build())
						.hiveJsonSerDe(deserializer.hiveJsonSerDe() == null ? null
								: HiveJsonSerDe.builder().timestampFormats(deserializer.hiveJsonSerDe().timestampFormats()).build())
						.build())
				.build();
	}