Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

access-analyzer: upon throttling, AwsServiceException is thrown, instead of ThrottlingException #6621

Copy link
Copy link
@OhadR

Description

@OhadR
Issue body actions

Describe the bug

i am using sdk for access-analyzer, 2.33.0
when i hit throttling, i see that i get AwsServiceException , instead of ThrottlingException.
in ThrottlingException there is a method (according to the docs) retryAfterSeconds() so I would like to use it - to know how much time to "sleep". but all i get is AwsServiceException, and when i call isThrottlingException() i get "true".

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

i would expect the SDL to throw ThrottlingException.

Current Behavior

i see that the SDK throws AwsServiceException

Reproduction Steps

call the SDK many times till u hit throttling error.

Possible Solution

No response

Additional Information/Context

No response

AWS Java SDK version used

2.33.0

JDK version used

"21.0.6" 2025-01-21 LTS

Operating System and version

MAC

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.This issue is a bug.needs-triageThis issue or PR still needs to be triaged.This issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.