#[non_exhaustive]pub struct CreateFunctionUrlConfigInput { /* private fields */ }Implementations§
source§impl CreateFunctionUrlConfigInput
impl CreateFunctionUrlConfigInput
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name 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 theInvokeAPI 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 theInvokeWithResponseStreamAPI operation. The maximum response payload size is 20 MB, however, you can request a quota increase.
source§impl CreateFunctionUrlConfigInput
impl CreateFunctionUrlConfigInput
sourcepub fn builder() -> CreateFunctionUrlConfigInputBuilder
pub fn builder() -> CreateFunctionUrlConfigInputBuilder
Creates a new builder-style object to manufacture CreateFunctionUrlConfigInput.
source§impl CreateFunctionUrlConfigInput
impl CreateFunctionUrlConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateFunctionUrlConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<CreateFunctionUrlConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateFunctionUrlConfig>
Trait Implementations§
source§impl Clone for CreateFunctionUrlConfigInput
impl Clone for CreateFunctionUrlConfigInput
source§fn clone(&self) -> CreateFunctionUrlConfigInput
fn clone(&self) -> CreateFunctionUrlConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateFunctionUrlConfigInput
impl Debug for CreateFunctionUrlConfigInput
source§impl PartialEq<CreateFunctionUrlConfigInput> for CreateFunctionUrlConfigInput
impl PartialEq<CreateFunctionUrlConfigInput> for CreateFunctionUrlConfigInput
source§fn eq(&self, other: &CreateFunctionUrlConfigInput) -> bool
fn eq(&self, other: &CreateFunctionUrlConfigInput) -> bool
self and other values to be equal, and is used
by ==.