Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Codecommit.GetReferencesCommand is missing in @aws-sdk/client-codecommit #684

Closed
1 of 2 tasks
AllanOricil opened this issue Jan 24, 2024 · 2 comments
Closed
1 of 2 tasks
Assignees
Labels
codecommit feature-request New feature or request service-api This issue pertains to the AWS API

Comments

@AllanOricil
Copy link

AllanOricil commented Jan 24, 2024

Describe the feature

Add a command to execute GetReferences codecommit api call.

As you can see in the image bellow, it is available in the service

image

But the package does not have a command to match this resource

image

I noticed that the AWS cli is also missing this command

https://docs.aws.amazon.com/cli/latest/reference/codecommit/

The Web API doc is also missing this resource

https://docs.aws.amazon.com/codecommit/latest/APIReference/Welcome.html

Use Case

I have a codepipeline v1 which is triggered by a lambda. This pipeline has a buildspec.yml with a pre-build step that uses the commit sha to discover if it has a tag or not. If this commit has a tag, then I run additional steps. I can't currently use codepipeline v2 because there is no L2 construct yet. Someone will soon merge this feature: aws/aws-cdk#28538

Proposed Solution

Use this permissions list to discover which commands are missing

https://docs.aws.amazon.com/pt_br/codecommit/latest/userguide/auth-and-access-control-permissions-reference.html

Other Information

I can implement it. But I would need some initial guidance.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

3.121.0
also tried with 3.496.0 and the same result

Environment details (OS name and version, etc.)

MacOs Sonoma Beta 3

@AllanOricil AllanOricil added feature-request New feature or request needs-triage labels Jan 24, 2024
@RanVaknin RanVaknin self-assigned this Jan 25, 2024
@RanVaknin
Copy link

Hi @AllanOricil ,

Thanks for reaching out. If you didn't know, all of the AWS SDKs and the CLI are code generated from the API model of each AWS service.

Since the service does not model this operation in their model, the SDKs cannot generate code and types for them. Even if that operation might have already backend support.

I have created a feature request with the CodeCommit service team on your behalf - P115757716, you will be able to check on the status of it if you cut a support ticket through the AWS console yourself.

I will be closing this ticket since its not actionable by the SDK team, but will update it when we hear back from the service team.

Thanks again,
Ran~

@RanVaknin RanVaknin transferred this issue from aws/aws-sdk-js-v3 Jan 29, 2024
@RanVaknin RanVaknin added service-api This issue pertains to the AWS API codecommit labels Jan 29, 2024
@RanVaknin RanVaknin closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2024
Copy link

This issue is now closed.

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
codecommit feature-request New feature or request service-api This issue pertains to the AWS API
Projects
None yet
Development

No branches or pull requests

2 participants