#[non_exhaustive]pub struct CreateFunctionUrlConfigOutput {
pub function_url: String,
pub function_arn: String,
pub auth_type: FunctionUrlAuthType,
pub cors: Option<Cors>,
pub creation_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).
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 CreateFunctionUrlConfigOutput
impl CreateFunctionUrlConfigOutput
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 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 CreateFunctionUrlConfigOutput
impl CreateFunctionUrlConfigOutput
sourcepub fn builder() -> CreateFunctionUrlConfigOutputBuilder
pub fn builder() -> CreateFunctionUrlConfigOutputBuilder
Creates a new builder-style object to manufacture CreateFunctionUrlConfigOutput
.
Trait Implementations§
source§impl Clone for CreateFunctionUrlConfigOutput
impl Clone for CreateFunctionUrlConfigOutput
source§fn clone(&self) -> CreateFunctionUrlConfigOutput
fn clone(&self) -> CreateFunctionUrlConfigOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateFunctionUrlConfigOutput
impl PartialEq for CreateFunctionUrlConfigOutput
source§fn eq(&self, other: &CreateFunctionUrlConfigOutput) -> bool
fn eq(&self, other: &CreateFunctionUrlConfigOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreateFunctionUrlConfigOutput
impl RequestId for CreateFunctionUrlConfigOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateFunctionUrlConfigOutput
Auto Trait Implementations§
impl Freeze for CreateFunctionUrlConfigOutput
impl RefUnwindSafe for CreateFunctionUrlConfigOutput
impl Send for CreateFunctionUrlConfigOutput
impl Sync for CreateFunctionUrlConfigOutput
impl Unpin for CreateFunctionUrlConfigOutput
impl UnwindSafe for CreateFunctionUrlConfigOutput
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