PolygonGeometry: de_PolygonGeometryInput()

in clients/client-sagemaker-geospatial/src/protocols/Aws_restJson1.ts [1565:1707]


      PolygonGeometry: de_PolygonGeometryInput(output.PolygonGeometry, context),
    };
  }
  return { $unknown: Object.entries(output)[0] };
};

// de_AssetsMap omitted.

// de_AssetValue omitted.

// de_BandMathConfigInput omitted.

// de_CloudMaskingConfigInput omitted.

// de_CloudRemovalConfigInput omitted.

// de_CustomIndicesInput omitted.

/**
 * deserializeAws_restJson1DataCollectionsList
 */
const de_DataCollectionsList = (output: any, context: __SerdeContext): RasterDataCollectionMetadata[] => {
  const retVal = (output || [])
    .filter((e: any) => e != null)
    .map((entry: any) => {
      return de_RasterDataCollectionMetadata(entry, context);
    });
  return retVal;
};

// de_EarthObservationJobErrorDetails omitted.

/**
 * deserializeAws_restJson1EarthObservationJobList
 */
const de_EarthObservationJobList = (output: any, context: __SerdeContext): ListEarthObservationJobOutputConfig[] => {
  const retVal = (output || [])
    .filter((e: any) => e != null)
    .map((entry: any) => {
      return de_ListEarthObservationJobOutputConfig(entry, context);
    });
  return retVal;
};

// de_EarthObservationJobOutputBands omitted.

/**
 * deserializeAws_restJson1EoCloudCoverInput
 */
const de_EoCloudCoverInput = (output: any, context: __SerdeContext): EoCloudCoverInput => {
  return take(output, {
    LowerBound: __limitedParseFloat32,
    UpperBound: __limitedParseFloat32,
  }) as any;
};

// de_ExportErrorDetails omitted.

// de_ExportErrorDetailsOutput omitted.

// de_ExportS3DataInput omitted.

// de_ExportVectorEnrichmentJobOutputConfig omitted.

/**
 * deserializeAws_restJson1Filter
 */
const de_Filter = (output: any, context: __SerdeContext): Filter => {
  return take(output, {
    Maximum: __limitedParseFloat32,
    Minimum: __limitedParseFloat32,
    Name: __expectString,
    Type: __expectString,
  }) as any;
};

/**
 * deserializeAws_restJson1FilterList
 */
const de_FilterList = (output: any, context: __SerdeContext): Filter[] => {
  const retVal = (output || [])
    .filter((e: any) => e != null)
    .map((entry: any) => {
      return de_Filter(entry, context);
    });
  return retVal;
};

/**
 * deserializeAws_restJson1Geometry
 */
const de_Geometry = (output: any, context: __SerdeContext): Geometry => {
  return take(output, {
    Coordinates: (_: any) => de_LinearRings(_, context),
    Type: __expectString,
  }) as any;
};

// de_GeoMosaicConfigInput omitted.

// de_ImageSourceBandList omitted.

/**
 * deserializeAws_restJson1InputConfigOutput
 */
const de_InputConfigOutput = (output: any, context: __SerdeContext): InputConfigOutput => {
  return take(output, {
    PreviousEarthObservationJobArn: __expectString,
    RasterDataCollectionQuery: (_: any) => de_RasterDataCollectionQueryOutput(_, context),
  }) as any;
};

/**
 * deserializeAws_restJson1ItemSource
 */
const de_ItemSource = (output: any, context: __SerdeContext): ItemSource => {
  return take(output, {
    Assets: _json,
    DateTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
    Geometry: (_: any) => de_Geometry(_, context),
    Id: __expectString,
    Properties: (_: any) => de_Properties(_, context),
  }) as any;
};

/**
 * deserializeAws_restJson1ItemSourceList
 */
const de_ItemSourceList = (output: any, context: __SerdeContext): ItemSource[] => {
  const retVal = (output || [])
    .filter((e: any) => e != null)
    .map((entry: any) => {
      return de_ItemSource(entry, context);
    });
  return retVal;
};

/**
 * deserializeAws_restJson1JobConfigInput
 */
const de_JobConfigInput = (output: any, context: __SerdeContext): JobConfigInput => {
  if (output.BandMathConfig != null) {
    return {