#[non_exhaustive]pub struct GetFunctionUrlConfigOutput {
pub function_url: String,
pub function_arn: String,
pub auth_type: FunctionUrlAuthType,
pub cors: Option<Cors>,
pub creation_time: String,
pub last_modified_time: String,
pub invoke_mode: Option<InvokeMode>,
/* private fields */
}
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_url: String
The HTTP URL endpoint for your function.
function_arn: String
The Amazon Resource Name (ARN) of your function.
auth_type: 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.
creation_time: String
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
last_modified_time: String
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
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 GetFunctionUrlConfigOutput
impl GetFunctionUrlConfigOutput
sourcepub fn function_url(&self) -> &str
pub fn function_url(&self) -> &str
The HTTP URL endpoint for your function.
sourcepub fn function_arn(&self) -> &str
pub fn function_arn(&self) -> &str
The Amazon Resource Name (ARN) of your function.
sourcepub fn auth_type(&self) -> &FunctionUrlAuthType
pub fn auth_type(&self) -> &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 creation_time(&self) -> &str
pub fn creation_time(&self) -> &str
When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
sourcepub fn last_modified_time(&self) -> &str
pub fn last_modified_time(&self) -> &str
When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
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 GetFunctionUrlConfigOutput
impl GetFunctionUrlConfigOutput
sourcepub fn builder() -> GetFunctionUrlConfigOutputBuilder
pub fn builder() -> GetFunctionUrlConfigOutputBuilder
Creates a new builder-style object to manufacture GetFunctionUrlConfigOutput
.
Trait Implementations§
source§impl Clone for GetFunctionUrlConfigOutput
impl Clone for GetFunctionUrlConfigOutput
source§fn clone(&self) -> GetFunctionUrlConfigOutput
fn clone(&self) -> GetFunctionUrlConfigOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFunctionUrlConfigOutput
impl Debug for GetFunctionUrlConfigOutput
source§impl PartialEq for GetFunctionUrlConfigOutput
impl PartialEq for GetFunctionUrlConfigOutput
source§fn eq(&self, other: &GetFunctionUrlConfigOutput) -> bool
fn eq(&self, other: &GetFunctionUrlConfigOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetFunctionUrlConfigOutput
impl RequestId for GetFunctionUrlConfigOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.