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

exclude invoke operations from SSP #3695

Merged
merged 4 commits into from
Jun 13, 2024
Merged

Conversation

Velfi
Copy link
Contributor

@Velfi Velfi commented Jun 13, 2024

Motivation and Context

aws-sdk-rust#1166

Description

SSP shouldn't be enabled for long-running operations that transfer no data.

Testing

Checked the generated lambda SDK to see that SSP has been disabled for the operations specified.

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
  • I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Velfi Velfi requested a review from a team as a code owner June 13, 2024 14:32
Copy link
Contributor

@aajtodd aajtodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: I wonder if a more generalized DisableStalledStreamProtectionDecorator that centralizes this wouldn't be better. We'd add the existing S3 operation and the new Lambda ones to a single decorator.

I'm not going to block on this as this works but an alternative to consider that may be better for long term maintenance and discoverability.

Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

Copy link
Contributor

@ysaito1001 ysaito1001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix!

CHANGELOG.next.toml Outdated Show resolved Hide resolved
@Velfi Velfi enabled auto-merge June 13, 2024 15:52
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@Velfi Velfi added this pull request to the merge queue Jun 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Jun 13, 2024
@Velfi Velfi enabled auto-merge June 13, 2024 16:59
Copy link

A new generated diff is ready to view.

  • AWS SDK (ignoring whitespace)
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@Velfi Velfi added this pull request to the merge queue Jun 13, 2024
Merged via the queue into main with commit ec25a35 Jun 13, 2024
44 checks passed
@Velfi Velfi deleted the zhessler-fix-lambda-invoke-triggers-ssp branch June 13, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants