Skip to content

Should TableArn be distinct from TableName? #1451

@hearnadam

Description

@hearnadam

aws-sdk-java-v2 released a commit changing request types from accepting TableName to TableArn.

In Java, this is source compatible, as AWS uses a String to represent both values. Since zio-aws-dynamodb makes a distinction between these two types, this upgrade is not source compatible (or binary compatible for that matter).

From the API Documentation in the linked commit:

The name of the table containing the requested items. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

I realize this issue may be somewhat pedantic, as the code is fully generated from the AWS SDK. Perhaps overloads can be generated if the underlying type changes with no consequence on the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions