Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Amazon Incentives API (AGCOD) #1508

Closed
MattFromGer opened this issue Nov 14, 2019 · 1 comment
Closed

Support for Amazon Incentives API (AGCOD) #1508

MattFromGer opened this issue Nov 14, 2019 · 1 comment
Labels
guidance Question that needs advice or information. wontfix We have determined that we will not resolve the issue.

Comments

@MattFromGer
Copy link

MattFromGer commented Nov 14, 2019

Hey guys,
I need to use the Amazon Incentives API or Amazon Gift Card on Demand (AGCOD) API (Link, Spec). The service is not yet supported in v2.

Ideally the result will be similar to the following code:

    AgcodClient client = AgcodClient.builder()
            .credentialsProvider(StaticCredentialsProvider.create(AwsBasicCredentials.create("akid", "skid")))
            .region(Region.US_EAST_1)
            .build();

    CreateGiftCardResponse response = client.createGiftCard(CreateGiftCardRequest.builder()
            .creationRequestId("123")
            .partnerId("1234")
            .value(Value.builder()
                    .amount(10)
                    .currencyCode("USD")
                    .build())
            .build());

I could try to implement it and open a PR, but it will be WIP, because I'll probably need some guidance. Or should I do my own lib? What do you think?

Edit: I'm working on it here for anyone interested: https://github.com/mayflower/agcod-java-client

@klaytaybai
Copy link

Hi @MattFromGer, thanks for the interest in this feature. Unfortunately for your use case, this SDK is only for Amazon Web Services APIs. Amazon Incentives does not fall under AWS, so we cannot add this in at this time. Please contact Amazon Incentives at https://www.amazon-incentives.com/api/contact-us to learn more about next steps for your use case.

@klaytaybai klaytaybai added guidance Question that needs advice or information. wontfix We have determined that we will not resolve the issue. labels Nov 19, 2019
aws-sdk-java-automation added a commit that referenced this issue Jul 1, 2021
…41408062a

Pull request: release <- staging/0e98db51-e3f2-4ad9-bc9b-dec41408062a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information. wontfix We have determined that we will not resolve the issue.
Projects
None yet
Development

No branches or pull requests

2 participants