Skip to content

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

@BenjiTheC

Description

@BenjiTheC

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

I'm submitting a ...

  • bug report
  • 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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions