#[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.impl StructuralPartialEq for GetFunctionUrlConfigOutput
Auto Trait Implementations§
impl Freeze for GetFunctionUrlConfigOutput
impl RefUnwindSafe for GetFunctionUrlConfigOutput
impl Send for GetFunctionUrlConfigOutput
impl Sync for GetFunctionUrlConfigOutput
impl Unpin for GetFunctionUrlConfigOutput
impl UnwindSafe for GetFunctionUrlConfigOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more