#[non_exhaustive]pub struct UpdateFunctionUrlConfigInput {
pub function_name: Option<String>,
pub qualifier: Option<String>,
pub auth_type: Option<FunctionUrlAuthType>,
pub cors: Option<Cors>,
pub invoke_mode: Option<InvokeMode>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.function_name: Option<String>
The name or ARN of the Lambda function.
Name formats
-
Function name –
my-function
. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
qualifier: Option<String>
The alias name.
auth_type: Option<FunctionUrlAuthType>
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated users only. Set to NONE
if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
cors: Option<Cors>
The cross-origin resource sharing (CORS) settings for your function URL.
invoke_mode: Option<InvokeMode>
Use one of the following options:
-
BUFFERED
– This is the default option. Lambda invokes your function using theInvoke
API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB. -
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda invokes your function using theInvokeWithResponseStream
API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.
Implementations§
source§impl UpdateFunctionUrlConfigInput
impl UpdateFunctionUrlConfigInput
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name or ARN of the Lambda function.
Name formats
-
Function name –
my-function
. -
Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN –
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
sourcepub fn auth_type(&self) -> Option<&FunctionUrlAuthType>
pub fn auth_type(&self) -> Option<&FunctionUrlAuthType>
The type of authentication that your function URL uses. Set to AWS_IAM
if you want to restrict access to authenticated users only. Set to NONE
if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs.
sourcepub fn cors(&self) -> Option<&Cors>
pub fn cors(&self) -> Option<&Cors>
The cross-origin resource sharing (CORS) settings for your function URL.
sourcepub fn invoke_mode(&self) -> Option<&InvokeMode>
pub fn invoke_mode(&self) -> Option<&InvokeMode>
Use one of the following options:
-
BUFFERED
– This is the default option. Lambda invokes your function using theInvoke
API operation. Invocation results are available when the payload is complete. The maximum payload size is 6 MB. -
RESPONSE_STREAM
– Your function streams payload results as they become available. Lambda invokes your function using theInvokeWithResponseStream
API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.
source§impl UpdateFunctionUrlConfigInput
impl UpdateFunctionUrlConfigInput
sourcepub fn builder() -> UpdateFunctionUrlConfigInputBuilder
pub fn builder() -> UpdateFunctionUrlConfigInputBuilder
Creates a new builder-style object to manufacture UpdateFunctionUrlConfigInput
.
Trait Implementations§
source§impl Clone for UpdateFunctionUrlConfigInput
impl Clone for UpdateFunctionUrlConfigInput
source§fn clone(&self) -> UpdateFunctionUrlConfigInput
fn clone(&self) -> UpdateFunctionUrlConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFunctionUrlConfigInput
impl Debug for UpdateFunctionUrlConfigInput
source§impl PartialEq for UpdateFunctionUrlConfigInput
impl PartialEq for UpdateFunctionUrlConfigInput
source§fn eq(&self, other: &UpdateFunctionUrlConfigInput) -> bool
fn eq(&self, other: &UpdateFunctionUrlConfigInput) -> bool
self
and other
values to be equal, and is used
by ==
.