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

create_function_url_config Unknown parameter input #4042

Closed
mattielang opened this issue Mar 5, 2024 · 2 comments
Closed

create_function_url_config Unknown parameter input #4042

mattielang opened this issue Mar 5, 2024 · 2 comments
Labels
bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged.

Comments

@mattielang
Copy link

Describe the bug

Following boto3 documentation to create URL config, I am receiving the following error:

Unknown parameter in input: "InvokeMode", must be one of: FunctionName, Qualifier, AuthType, Cors

response = client.create_function_url_config( FunctionName=lambda_function_name, AuthType='AWS_IAM', InvokeMode='RESPONSE_STREAM' )

Expected Behavior

Expect streaming function url to be created for lambda function.

Current Behavior

Unknown parameter in input: "InvokeMode", must be one of: FunctionName, Qualifier, AuthType, Cors

Reproduction Steps

`
import boto3

client = boto3.client('lambda')

response = client.create_function_url_config(
FunctionName=lambda_function_name,
AuthType='AWS_IAM',
InvokeMode='RESPONSE_STREAM'
)
`

Possible Solution

No response

Additional Information/Context

No response

SDK version used

1.26.90

Environment details (OS name and version, etc.)

python3.9.18

@mattielang mattielang added bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged. labels Mar 5, 2024
@mattielang
Copy link
Author

Discovered it's a versioning issue and upgraded to latest boto3 version.

Copy link

github-actions bot commented Mar 5, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

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. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant