aws-connected-device-framework icon indicating copy to clipboard operation
aws-connected-device-framework copied to clipboard

Use types exported from AWS SDK instead of in-house implementation

Open BenjiTheC opened this issue 9 months ago • 0 comments

Aws Connected Device Framework Affected Module(s): TBD but Multiple

I'm submitting a ...

  • [ ] bug report
  • [x] feature request

Description: CDF is defining its own types that will eventually be casted into AWS SDK client request. We should use types exported from AWS SDK client packages instead.

Current behavior: A sample of this implementation can be found in https://github.com/aws/aws-connected-device-framework/blob/main/source/packages/services/greengrass2-provisioning/src/templates/templates.models.ts#L117

Expected behavior: We should instead use https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-greengrassv2/TypeAlias/IoTJobAbortAction/

BenjiTheC avatar May 20 '24 18:05 BenjiTheC