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

re auth #4190

Open
wants to merge 351 commits into
base: main
Choose a base branch
from
Open

re auth #4190

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
351 commits
Select commit Hold shift + click to select a range
ca509c8
Update pom.xml
worksasintended Jul 30, 2024
4fa77c3
Merge remote-tracking branch 'origin/SPAPIDoc-2419-listingsitemsissue…
ruby4406 Aug 19, 2024
16c2404
Add the Sales and Traffic schema for Data Kiosk
jevoniuk Nov 17, 2023
0fe5438
Remove DS Store
jevoniuk Nov 27, 2023
14fc765
Update shipmentStatusUpdates for vendorDirectFulfillmentShippingV1 mo…
waldrogi Dec 7, 2023
ba857c7
Notifications API enforcement actions update.
waldrogi Dec 13, 2023
8255eb7
December release description updates
Dec 13, 2023
e7f0105
December release
Dec 13, 2023
9de1c3c
Update vendorDirectFulfillmentOrdersV1.json
alex-rupprecht Dec 13, 2023
7e0e91e
Update Listings Items 2021 model
jevoniuk Dec 13, 2023
4aa4ddc
Update Listings Items model
jevoniuk Jan 2, 2024
cc1cb30
Update listingsItems_2021-08-01.json
alex-rupprecht Jan 12, 2024
5ce966e
Update Orders v0 model
jevoniuk Jan 29, 2024
792a391
Updating with brazil extendedaddresses and iso 8601 links
Jan 31, 2024
9c60a30
Updated respective links to point to new notifications type values page.
waldrogi Jan 31, 2024
607320e
Update Listings Items 2021 model
jevoniuk Jan 31, 2024
07e110e
Update ShipsInPackage for release
Jan 31, 2024
df6a4ea
Fixing github issue with wrong file information
Feb 19, 2024
daa5a80
Update analytics_salesAndTraffic_2023_11_15
jevoniuk Mar 5, 2024
a42260c
Update the Fulfillment Outbound model
jevoniuk Mar 20, 2024
b10792e
Update Fulfillment Inbound v0 model
jevoniuk Mar 27, 2024
af42c40
Update Merchant Fulfillment model
jevoniuk Mar 27, 2024
2771b44
Add redirect for FBA small and light API.
waldrogi Mar 29, 2024
104a766
Add Fulfillment Inbound v2024 model
jevoniuk Apr 1, 2024
ab15894
orders v0 update release
andiec1 Apr 24, 2024
3ecc629
Update Feeds model
jevoniuk Apr 24, 2024
b43c55c
Update OrdersV0 model.
waldrogi May 1, 2024
962834d
Add Economics DK schema, and update sales and trafic schemas.
waldrogi May 9, 2024
3d01961
Update Product Pricing API v2022-05-01 getCompetitiveSummary.
waldrogi May 22, 2024
947c307
Update Catalog Items API v2022
lisa-delaney May 22, 2024
ca6a18d
Update Product Pricing API v2022-05-01 getCompetitiveSummary.
waldrogi May 22, 2024
71691c4
Update README.md
shreeharsh-a May 29, 2024
b116e8d
Update README.md
shreeharsh-a May 29, 2024
4ccc37c
Update the Fulfillment Inbound v2024-03-20 model
jevoniuk Jun 4, 2024
fbce166
Update FBA Inventory and Fulfillment Outbound models
lisa-delaney Jun 19, 2024
afe6ef4
Update Vendor Analytics dataset
jevoniuk Jun 19, 2024
05f1de1
Update Analytics Sales and Traffic schema
jevoniuk Jun 25, 2024
890aa91
Vendor df models update.
waldrogi Jun 27, 2024
c4cad19
Clarify format for FreightReadyDate
jevoniuk Jun 27, 2024
ec72912
Update Merchant Fulfillment v0 model with Benefits to ShippingService.
waldrogi Jun 27, 2024
d561ad4
Update Fulfillment Outbound model
lisa-delaney Jun 28, 2024
c3a9bb4
Added the Benefits object to Merchant Fulfillment
jevoniuk Jul 8, 2024
f28ff26
Add unitOfMeasure to the vendorOrders model.
waldrogi Aug 14, 2024
734ec7e
Update rate limits in Catalog Items
jevoniuk Aug 26, 2024
c1829b6
change mvn package org.projectlombok.lombok from version 1.18.08 to 1…
worksasintended Jul 30, 2024
b79a348
Update pom.xml
worksasintended Jul 30, 2024
70e0617
Merge remote-tracking branch 'origin/SPAPIDoc-2419-listingsitemsissue…
ruby4406 Aug 19, 2024
0913785
fix typo `NotificatonTionVersion` -> `NotificationVersion` in AnyOffe…
AlexeyKosov Apr 26, 2024
769d153
add missing `IsBuyBoxWinner` field to AnyOfferChangedNotification schema
AlexeyKosov Apr 26, 2024
f5074db
add `date-time` format for datetime fields in AnyOfferChangedNotifica…
AlexeyKosov Apr 26, 2024
acfb170
Revert "add `date-time` format for datetime fields in AnyOfferChanged…
AlexeyKosov Apr 26, 2024
8648a66
add `date-time` format for datetime fields in AnyOfferChangedNotifica…
AlexeyKosov Apr 26, 2024
88dfe1f
Revert "add `date-time` format for datetime fields in AnyOfferChanged…
AlexeyKosov Apr 26, 2024
32a670b
Squashed commit of the following:
ruby4406 Oct 3, 2024
35ba783
fix: Remove schema defaults for objects with required keys
adamantike Aug 20, 2024
c186bfa
Add marketplaceAsinPageViewMetrics.json to report schemas GitHub.
waldrogi Jun 20, 2023
7e24fb2
deprecation tags added to feeds and reports 2020-09-04
andiec1 Jun 20, 2023
775dc5f
Add vendorRealTimeTrafficReport.json to the GitHub report schemas.
waldrogi Jun 21, 2023
a659bc3
Add vendorRealTimeInventoryReport.json to the report schema GitHub.
waldrogi Jun 21, 2023
1786791
Add vendorRealTimeSalesReport.json to the GitHub report schema.
waldrogi Jun 21, 2023
0411bb1
Add new replenishment API model
salric Jun 21, 2023
0776a40
Add new notification schemas
jevoniuk Jun 21, 2023
463c500
Add B2bAnyOfferChangedNotification schema
jevoniuk Jun 21, 2023
50db48d
Add promotionReport.json report schema to GitHub.
waldrogi Jun 27, 2023
99f5756
Update Notifications model
jevoniuk Jun 29, 2023
c5698d8
Remove generic_keyword from Catalog Items
jevoniuk Jun 29, 2023
f7274af
Update Notifications model for ORDER_CHANGE
jevoniuk Jun 29, 2023
b988b03
Update the Vendor DF Shipping v1 Weight description in model.
waldrogi Jul 7, 2023
a7ac28d
Update Vendor DF Payments v1 taxRegistrationNumber description in the…
waldrogi Jul 7, 2023
8d5fbd2
Include Invoice as PaymentMethod in Orders model
jevoniuk Jul 26, 2023
1d17fca
Update the Orders API model for ShipmentServiceLevelCategory.
waldrogi Aug 16, 2023
1734de4
Update the Product Pricing v0 model
jevoniuk Aug 21, 2023
c3990af
Update transparency information in Orders and MFN
jevoniuk Aug 31, 2023
9be2163
Update Orders model
jevoniuk Sep 20, 2023
8759053
Update the orders model for data archival FE.
waldrogi Sep 25, 2023
2424463
Java Auth and auth lib changes
MeenaAmz Sep 29, 2023
0e46887
CSharp Auth and auth lib changes
MeenaAmz Oct 1, 2023
5f52cbe
Add business object AssocaitedItems to orders api reference.
waldrogi Oct 11, 2023
3f667b5
update descriptions in pricingpricingv0
andiec1 Oct 11, 2023
a0d2383
update descriptions to listingsItems_2021-08-01
andiec1 Oct 11, 2023
036f3c2
ds store
andiec1 Oct 11, 2023
1f3ffe4
Update the description for the Replenishment API.
waldrogi Oct 24, 2023
e1b5564
Updating to most recent file
Nov 2, 2023
fa79ddb
Update productPricing_2022-05-01.json to add new resultStatus value.
waldrogi Nov 8, 2023
c8df03c
Product Type Definitions API Update.
waldrogi Nov 8, 2023
6ec4fb4
Update weight to mandatory
Nov 8, 2023
6992d16
NOV8 release financesv0 model update
andiec1 Nov 8, 2023
9bca5bd
new model and reference for supply sources api
andiec1 Nov 8, 2023
b642105
Update weight to mandatory
Nov 8, 2023
df419b3
updated ListingsItemissuesChangeNotification
andiec1 Nov 21, 2023
70d6cca
fba small and light deprecation note added
andiec1 Jan 31, 2024
db4dbb4
Update weight to mandatory
Nov 8, 2023
14d59de
Update Finances API
jevoniuk Nov 14, 2023
8504222
Update Finances model
jevoniuk Nov 14, 2023
51f63d1
Add Data Kiosk model and notification
jevoniuk Nov 15, 2023
7a4cd0e
Update Data Kiosk notification schema
jevoniuk Nov 15, 2023
590a878
Add the Sales and Traffic schema for Data Kiosk
jevoniuk Nov 17, 2023
2a2415c
Add throttle rate for getCompetitiveSummary.
waldrogi Nov 22, 2023
21f87c1
Remove DS Store
jevoniuk Nov 27, 2023
a1ebedd
Update shipmentStatusUpdates for vendorDirectFulfillmentShippingV1 mo…
waldrogi Dec 7, 2023
17bbc1a
Update shipmentStatusUpdates for the vendor df shipping v2021-12-28 m…
waldrogi Dec 7, 2023
242bd22
Update Product Type Definitions API
jevoniuk Dec 8, 2023
68657c0
Notifications API enforcement actions update.
waldrogi Dec 13, 2023
caecb04
Add Shipping v2 model
jevoniuk Dec 13, 2023
a2505d4
Add Application Management model
jevoniuk Dec 13, 2023
3f84677
Updates for December release
Dec 13, 2023
4afef77
December release description updates
Dec 13, 2023
d75a406
December release
Dec 13, 2023
ad87240
Update vendorDirectFulfillmentOrdersV1.json
alex-rupprecht Dec 13, 2023
9ab7699
Update Listings Items 2021 model
jevoniuk Dec 13, 2023
64c0e79
Update Listings Items model
jevoniuk Jan 2, 2024
b93bd32
Update listingsItems_2021-08-01.json
alex-rupprecht Jan 12, 2024
39befd6
Fix link in App Management model
jevoniuk Jan 22, 2024
e377757
Update Orders v0 model
jevoniuk Jan 29, 2024
fad5b5c
Updating with brazil extendedaddresses and iso 8601 links
Jan 31, 2024
e0364c4
Updated respective links to point to new notifications type values page.
waldrogi Jan 31, 2024
9deb4ca
Update Listings Items 2021 model
jevoniuk Jan 31, 2024
866be3b
Update Data Kiosk model
jevoniuk Jan 31, 2024
8379161
Update ShipsInPackage for release
Jan 31, 2024
20c57db
Update Finances API Financial Events Group originaltotal description.
waldrogi Feb 15, 2024
a2b0b4a
Fixing github issue with wrong file information
Feb 19, 2024
12d0dce
Add javascript SDK
Feb 20, 2024
9f6ec3e
Add endUserDataReport.json to GitHub.
waldrogi Feb 21, 2024
c919a87
Add Python SDK
Feb 21, 2024
47edb31
Update analytics_salesAndTraffic_2023_11_15
jevoniuk Mar 5, 2024
bb9fdf7
Update the Fulfillment Outbound model
jevoniuk Mar 20, 2024
3921811
Update Feed_Processing_Finished and Report_Processing_Finished notifi…
waldrogi Mar 20, 2024
50c0d6e
Update Vendor Shipments model
jevoniuk Mar 20, 2024
a500880
Update MarketplaceAsinPageViewMetrics.json scema.
waldrogi Mar 20, 2024
08294fe
Update Fulfillment Inbound v0 model
jevoniuk Mar 27, 2024
9891598
Update Merchant Fulfillment model
jevoniuk Mar 27, 2024
a96893e
Add redirect for FBA small and light API.
waldrogi Mar 29, 2024
8ee434f
Add redirect for the authorization API.
waldrogi Mar 29, 2024
5657629
Add Fulfillment Inbound v2024 model
jevoniuk Apr 1, 2024
bda8b4f
Update Data Kiosk schemas
jevoniuk Apr 24, 2024
85dd3a5
orders v0 update release
andiec1 Apr 24, 2024
e80304c
Update Easy Ship model
jevoniuk Apr 24, 2024
9000c2b
Update Feeds model
jevoniuk Apr 24, 2024
6c3cfc5
Update Reports model
jevoniuk Apr 24, 2024
d01d8c5
Update Vendor report schemas
jevoniuk Apr 24, 2024
12b2590
Update Sales and Traffic 2024 schema
jevoniuk Apr 24, 2024
81e17d9
Update Data Kiosk Economics schema
jevoniuk Apr 24, 2024
4eb3369
Update OrdersV0 model.
waldrogi May 1, 2024
6216ab6
Remove analytics_economics_2024_03_15.graphql from GitHub.
waldrogi May 6, 2024
6769239
Update closing_inactive_issues.yml
shreeharsh-a May 9, 2024
2ab6a96
Update closing_inactive_issues.yml
shreeharsh-a May 9, 2024
0ace8d5
Update closing_inactive_issues.yml
shreeharsh-a May 9, 2024
a85c1ce
Add Economics DK schema, and update sales and trafic schemas.
waldrogi May 9, 2024
d25fb41
Update Product Pricing API v2022-05-01 getCompetitiveSummary.
waldrogi May 22, 2024
2da4286
Update Catalog Items API v2022
lisa-delaney May 22, 2024
911f723
Update Product Pricing API v2022-05-01 getCompetitiveSummary.
waldrogi May 22, 2024
0a039ca
Update closing_inactive_issues.yml
shreeharsh-a May 23, 2024
6e95f06
Update README.md
shreeharsh-a May 29, 2024
01dca3a
Update README.md
shreeharsh-a May 29, 2024
327ddca
Update the Fulfillment Inbound v2024-03-20 model
jevoniuk Jun 4, 2024
c684fe9
Add Amazon Warehousing and Distribution model to Github.
waldrogi Jun 19, 2024
2e50c65
Update Replenishment API model
jevoniuk Jun 19, 2024
edab7fe
Add Vendor Analytics dataset for Data Kiosk
jevoniuk Jun 19, 2024
166675b
Update FBA Inventory and Fulfillment Outbound models
lisa-delaney Jun 19, 2024
a33c478
Update Vendor Analytics dataset
jevoniuk Jun 19, 2024
336bf66
Update dates in the Feeds and Reports models
jevoniuk Jun 21, 2024
6154cc5
Update Analytics Sales and Traffic schema
jevoniuk Jun 25, 2024
81e15f8
Vendor df models update.
waldrogi Jun 27, 2024
6381697
Clarify format for FreightReadyDate
jevoniuk Jun 27, 2024
4b99003
Update Merchant Fulfillment v0 model with Benefits to ShippingService.
waldrogi Jun 27, 2024
a801c6d
Update Fulfillment Outbound model
lisa-delaney Jun 28, 2024
8f61ec8
Update descriptions in awd_2024-05-09.json.
waldrogi Jul 2, 2024
ccea2e0
Added the Benefits object to Merchant Fulfillment
jevoniuk Jul 8, 2024
7f1f1b0
Create workspace.xml
ruby4406 Aug 24, 2024
d08f07d
Create .gitignore
ruby4406 Aug 24, 2024
5e1ddfb
Create gradle-publish.yml
ruby4406 Aug 30, 2024
2188bf6
Add unitOfMeasure to the vendorOrders model.
waldrogi Aug 14, 2024
ac93ca4
Update Sellers API model
jevoniuk Aug 14, 2024
fa56b11
Update AWD model
jevoniuk Aug 14, 2024
fd2b4f0
Update 400 Error Response Message for rotateApplicationClientSecret.
waldrogi Aug 14, 2024
dcd8412
Revert "Update AWD model"
lisa-delaney Aug 19, 2024
8c4980e
Update AWD model
lisa-delaney Aug 19, 2024
8fd558b
Add rate limit difference note to the Feeds API.
waldrogi Aug 22, 2024
16f16a5
Update rate limits in Catalog Items
jevoniuk Aug 26, 2024
cf0d88b
change mvn package org.projectlombok.lombok from version 1.18.08 to 1…
worksasintended Jul 30, 2024
82e188f
Update pom.xml
worksasintended Jul 30, 2024
9853b82
Update pom.xml
worksasintended Jul 30, 2024
f6603a5
Merge remote-tracking branch 'origin/SPAPIDoc-2419-listingsitemsissue…
ruby4406 Aug 19, 2024
e3120f2
Add the Sales and Traffic schema for Data Kiosk
jevoniuk Nov 17, 2023
6ffc74e
Remove DS Store
jevoniuk Nov 27, 2023
16571d7
Update shipmentStatusUpdates for vendorDirectFulfillmentShippingV1 mo…
waldrogi Dec 7, 2023
479ae28
Notifications API enforcement actions update.
waldrogi Dec 13, 2023
d27b6e2
December release description updates
Dec 13, 2023
8f87992
December release
Dec 13, 2023
6d7af97
Update vendorDirectFulfillmentOrdersV1.json
alex-rupprecht Dec 13, 2023
7f6aa90
Update Listings Items 2021 model
jevoniuk Dec 13, 2023
5683a41
Update Listings Items model
jevoniuk Jan 2, 2024
a0c2019
Update listingsItems_2021-08-01.json
alex-rupprecht Jan 12, 2024
4cc325d
Update Orders v0 model
jevoniuk Jan 29, 2024
3708c76
Updating with brazil extendedaddresses and iso 8601 links
Jan 31, 2024
f3a0b14
Updated respective links to point to new notifications type values page.
waldrogi Jan 31, 2024
725def1
Update Listings Items 2021 model
jevoniuk Jan 31, 2024
aaaa983
Update ShipsInPackage for release
Jan 31, 2024
16755b9
Fixing github issue with wrong file information
Feb 19, 2024
b1b8468
Update analytics_salesAndTraffic_2023_11_15
jevoniuk Mar 5, 2024
43b7f03
Update the Fulfillment Outbound model
jevoniuk Mar 20, 2024
4ef925d
Update Fulfillment Inbound v0 model
jevoniuk Mar 27, 2024
c4313fd
Update Merchant Fulfillment model
jevoniuk Mar 27, 2024
eda79c6
Add redirect for FBA small and light API.
waldrogi Mar 29, 2024
5b8bb07
Add Fulfillment Inbound v2024 model
jevoniuk Apr 1, 2024
7496eae
orders v0 update release
andiec1 Apr 24, 2024
324d500
Update Feeds model
jevoniuk Apr 24, 2024
f1fe858
Update OrdersV0 model.
waldrogi May 1, 2024
4d12893
Add Economics DK schema, and update sales and trafic schemas.
waldrogi May 9, 2024
2c46132
Update Product Pricing API v2022-05-01 getCompetitiveSummary.
waldrogi May 22, 2024
710174a
Update Catalog Items API v2022
lisa-delaney May 22, 2024
92f82c3
Update Product Pricing API v2022-05-01 getCompetitiveSummary.
waldrogi May 22, 2024
54b3fbe
Update README.md
shreeharsh-a May 29, 2024
c34f349
Update README.md
shreeharsh-a May 29, 2024
b063874
Update the Fulfillment Inbound v2024-03-20 model
jevoniuk Jun 4, 2024
df22f1a
Update FBA Inventory and Fulfillment Outbound models
lisa-delaney Jun 19, 2024
e4afea0
Update Vendor Analytics dataset
jevoniuk Jun 19, 2024
937af91
Update Analytics Sales and Traffic schema
jevoniuk Jun 25, 2024
6b72582
Vendor df models update.
waldrogi Jun 27, 2024
7df9e8c
Clarify format for FreightReadyDate
jevoniuk Jun 27, 2024
ed5fa7a
Update Merchant Fulfillment v0 model with Benefits to ShippingService.
waldrogi Jun 27, 2024
28a4477
Update Fulfillment Outbound model
lisa-delaney Jun 28, 2024
6c3ecf7
Added the Benefits object to Merchant Fulfillment
jevoniuk Jul 8, 2024
08b40ea
Add unitOfMeasure to the vendorOrders model.
waldrogi Aug 14, 2024
9cc76b8
Update rate limits in Catalog Items
jevoniuk Aug 26, 2024
80eb7be
change mvn package org.projectlombok.lombok from version 1.18.08 to 1…
worksasintended Jul 30, 2024
209cd0d
Update pom.xml
worksasintended Jul 30, 2024
89b8aa9
Merge remote-tracking branch 'origin/SPAPIDoc-2419-listingsitemsissue…
ruby4406 Aug 19, 2024
35fb498
fix typo `NotificatonTionVersion` -> `NotificationVersion` in AnyOffe…
AlexeyKosov Apr 26, 2024
d423ad3
add missing `IsBuyBoxWinner` field to AnyOfferChangedNotification schema
AlexeyKosov Apr 26, 2024
4a6b011
add `date-time` format for datetime fields in AnyOfferChangedNotifica…
AlexeyKosov Apr 26, 2024
0858aaa
Revert "add `date-time` format for datetime fields in AnyOfferChanged…
AlexeyKosov Apr 26, 2024
61d7341
add `date-time` format for datetime fields in AnyOfferChangedNotifica…
AlexeyKosov Apr 26, 2024
1715aa7
Revert "add `date-time` format for datetime fields in AnyOfferChanged…
AlexeyKosov Apr 26, 2024
edec467
Squashed commit of the following:
ruby4406 Oct 3, 2024
d5e8eaf
fix: Remove schema defaults for objects with required keys
adamantike Aug 20, 2024
bac6b5b
Merge branch 'main' of https://github.com/ruby4406/selling-partner-ap…
ruby4406 Oct 12, 2024
ab76651
Merge branch 'pr/4121'
ruby4406 Oct 12, 2024
6a7722a
Create codeql.yml
ruby4406 Oct 12, 2024
71db2c6
Merge branch 'pr/4108'
ruby4406 Oct 15, 2024
1d80cd1
Merge branch 'pr/4068'
ruby4406 Oct 15, 2024
14bc20f
Added basic IAM Role Implementation to C# Auth and Auth client with n…
avvarga Apr 27, 2021
d9b5771
Added AWSSDK Dependencies
avvarga May 5, 2021
1a897de
Bump requests
dependabot[bot] Nov 29, 2024
e307028
Merge branch 'pr/4191'
ruby4406 Dec 14, 2024
f3b9586
Merge branch 'main' of https://github.com/ruby4406/selling-partner-ap…
ruby4406 Dec 14, 2024
38729d4
Merge branch 'pr/4196'
ruby4406 Dec 14, 2024
dabc715
Merge pull request #5 from ruby4406/dependabot/pip/clients/sellingpar…
ruby4406 Dec 22, 2024
fe8efb5
Create static.yml
ruby4406 Dec 22, 2024
9c40c36
Merge branch 'amzn:main' into main
ruby4406 Dec 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
98 changes: 98 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Advanced"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '45 7 * * 3'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: csharp
build-mode: none
- language: java-kotlin
build-mode: none # This mode only analyzes Java. Set this to 'autobuild' or 'manual' to analyze Kotlin too.
- language: javascript-typescript
build-mode: none
- language: python
build-mode: none
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
44 changes: 44 additions & 0 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle

name: Gradle Package

on:
release:
types: [created]

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Setup Gradle
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0

- name: Build with Gradle
run: ./gradlew build

# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Publish to GitHub Packages
run: ./gradlew publish
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
43 changes: 43 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions clients/sellingpartner-api-aa-csharp/Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package.SellingPartnerAPIAuthAndAuthCSharp = {
interfaces = (1.0);

# Use NoOpBuild. See https://w.amazon.com/index.php/BrazilBuildSystem/NoOpBuild
build-system = no-op;
build-tools = {
1.0 = {
NoOpBuild = 1.0;
};
};

# Use runtime-dependencies for when you want to bring in additional
# packages when deploying.
# Use dependencies instead if you intend for these dependencies to
# be exported to other packages that build against you.
dependencies = {
1.0 = {
};
};

runtime-dependencies = {
1.0 = {
};
};

};
53 changes: 29 additions & 24 deletions clients/sellingpartner-api-aa-csharp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,35 +38,38 @@ restRequest = new LWAAuthorizationSigner(lwaAuthorizationCredentials).Sign(restR
```
Note the IRestRequest reference is treated as **mutable** when signed.

## RateLimitConfiguration
Interface to set and get rateLimit configurations that are used with RateLimiter. RateLimiter is used on client side to restrict the rate at which requests are made. RateLimiter Configuration takes Permit, rate which requests are made and TimeOut
## AWSSigV4Signer
Signs a request with [AWS Signature Version 4](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html)
using the provided AWS developer account credentials.

This implementation of the IAM Role-based Authentication, will work only as long as the initial STS Token is valid (typically for 3600 seconds) and until an instance is able to refresh the STS Token on its own, otherwise, the Token needs to be reinitialized via the AWSSigV4Signer.

*Example*
```
RateLimitConfiguration rateLimitConfig = new RateLimitConfigurationOnRequests
{
RateLimitPermit = ..,
WaitTimeOutInMilliSeconds = ...
};
using RestSharp;
using Amazon.SellingPartnerAPIAA;

```
string resource = "/my/api/path";
RestClient restClient = new RestClient("https://...");
IRestRequest restRequest = new RestRequest(resource, Method.GET);

## Exception
This package returns a custom LWAException when there is an error returned during LWA authorization. LWAException provides additional details like errorCode and errorDescription to help fix the issue.

*Example*
```
catch (LWAException e)
{
Console.WriteLine("LWA Exception when calling Selling partner API");
Console.WriteLine(e.getErrorCode());
Console.WriteLine(e.getErrorMessage());
Console.WriteLine(e.Message);
}
```
AWSAuthenticationCredentials awsAuthenticationCredentials = new AWSAuthenticationCredentials
{
AccessKeyId = "..."
SecretKey = "..."
Region = "..."
};

## Version
Selling Partner API Authentication/Authorization Library version 2.0.
AWSAuthenticationCredentialsProvider awsAuthenticationCredentialsProvider = new AWSAuthenticationCredentialsProvider
{
RoleArn = "...",
RoleSessionName = "..."
};

restRequest = new AWSSigV4Signer(awsAuthenticationCredentials, awsAuthenticationCredentialsProvider)
.Sign(restRequest, restClient.BaseUrl.Host);
```
Note the IRestRequest reference is treated as **mutable** when signed.

## Resources
This package features Mustache templates designed for use with [swagger codegen](https://swagger.io/tools/swagger-codegen/).
Expand All @@ -77,9 +80,11 @@ This package is built as a .NET Standard Library via a Visual Studio Solution wi

## Dependencies
All dependencies can be installed via NuGet
- RestSharp - 106.12.0
- RestSharp - 105.1.0
- Newtonsoft.Json 12.0.3
- NETStandard.Library 2.0.3 (platform-specific implementation requirements are documented on the [Microsoft .NET Guide](https://docs.microsoft.com/en-us/dotnet/standard/net-standard))
- AWSSDK.Core 3.5.1.23
- AWSSDK.SecurityToken 3.5.1.5

## License
Swagger Codegen templates are subject to the [Swagger Codegen License](https://github.com/swagger-api/swagger-codegen#license).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,4 @@ Global
{12B130EB-1087-4F88-BDFA-3088868C0A46}.Release|Any CPU.ActiveCfg = Release|Any CPU
{12B130EB-1087-4F88-BDFA-3088868C0A46}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
version = 2.0
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Amazon.SellingPartnerAPIAA
{
/**
* AWSAuthenticationCredentialsProvider
*/
public class AWSAuthenticationCredentialsProvider
{
/**
* AWS IAM Role ARN
*/
public String RoleArn { get; set; }

/**
* AWS IAM Role Session Name
*/
public String RoleSessionName { get; set; }
}
}
Loading