Skip to content

Undefined behavior when calling GetLifecycleConfiguration #4329

@kikaragyozov

Description

@kikaragyozov

Describe the bug

Documentation clearly states the following for GetLifecycleConfiguration:

Image

Prior to updating the SDK, everything was working as expected, but when we updated to the latest version, our code completely broke down, because now, the API does not throw such a special error when a NotFound status code is returned.

This is a major breaking change, is undocumented, and undefined behavior.

If you could please investigate this as it's entirely possible the same type of handling is being done to other endpoints.

Regression Issue

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

Expected Behavior

An exception be thrown as previously so.

Current Behavior

No exception is thrown.

Reproduction Steps

Call the method when there is no lifecycle rule defined.

Possible Solution

No response

Additional Information/Context

No response

AWS .NET SDK and/or Package version used

AWSSDK.S3 - 4.0.17.2

Targeted .NET Platform

.NET 10

Operating System and version

Windows 11

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.needs-reproductionThis issue needs reproduction.potential-regressionMarking this issue as a potential regression to be checked by team members3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions