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

list_archives does not honor State argument #4437

Open
1 task
hb2638 opened this issue Feb 12, 2025 · 2 comments
Open
1 task

list_archives does not honor State argument #4437

hb2638 opened this issue Feb 12, 2025 · 2 comments
Assignees
Labels
bug This issue is a confirmed bug. eventbridge A low-level client representing Amazon EventBridge p3 This is a minor priority issue service-api This issue is caused by the service API, not the SDK implementation.

Comments

@hb2638
Copy link

hb2638 commented Feb 12, 2025

Describe the bug

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/events/client/list_archives.html

Calling list_archives with State as ENABLED or DISABLED will return the same list of archives... It's as if AWS is ignoring the argument.

Regression Issue

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

Expected Behavior

Return archives in the requested state, when specified by the caller

Current Behavior

Returns archives in any state, regardless of the state specified by the caller.

Reproduction Steps

Call list_archives with the State as ENABLED and make the same call with State set to DISABLED

import boto3

client = boto3.client("events")
print(client.list_archives(State="DISABLED"))
print(client.list_archives(State="ENABLED"))
print(client.list_archives(State="UPDATING"))

I'm using
boto3==1.35.98
botocore==1.35.99

Possible Solution

No response

Additional Information/Context

No response

SDK version used

1.35.98

Environment details (OS name and version, etc.)

Windows 11

@hb2638 hb2638 added bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged. labels Feb 12, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Feb 12, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK added investigating This issue is being investigated and/or work is in progress to resolve the issue. eventbridge A low-level client representing Amazon EventBridge p3 This is a minor priority issue service-api This issue is caused by the service API, not the SDK implementation. and removed needs-triage This issue or PR still needs to be triaged. investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Feb 12, 2025
@RyanFitzSimmonsAK
Copy link
Contributor

Hi @hb2638, thanks for reaching out. I was able to reproduce this behavior in both Boto3 and AWS CLI. I've reached out to the EventBridge service team to address or clarify this behavior. I'll let you know when I have any updates. Thanks!

Ticket # for internal use : P200408303

@RyanFitzSimmonsAK
Copy link
Contributor

This is confirmed to be a bug, and the team has taken a backlog item to address it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a confirmed bug. eventbridge A low-level client representing Amazon EventBridge p3 This is a minor priority issue service-api This issue is caused by the service API, not the SDK implementation.
Projects
None yet
Development

No branches or pull requests

2 participants