pub struct IoArgoprojEventsV1alpha1AwsLambdaTrigger {
pub access_key: Option<IoK8sApiCoreV1SecretKeySelector>,
pub function_name: Option<String>,
pub invocation_type: Option<String>,
pub parameters: Vec<IoArgoprojEventsV1alpha1TriggerParameter>,
pub payload: Vec<IoArgoprojEventsV1alpha1TriggerParameter>,
pub region: Option<String>,
pub role_arn: Option<String>,
pub secret_key: Option<IoK8sApiCoreV1SecretKeySelector>,
}Fields§
§access_key: Option<IoK8sApiCoreV1SecretKeySelector>§function_name: Option<String>FunctionName refers to the name of the function to invoke.
invocation_type: Option<String>Choose from the following options.
-
RequestResponse (default) - Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API response includes the function response and additional data.
-
Event - Invoke the function asynchronously. Send events that fail multiple times to the function’s dead-letter queue (if it’s configured). The API response only includes a status code.
-
DryRun - Validate parameter values and verify that the user or role has permission to invoke the function. +optional
parameters: Vec<IoArgoprojEventsV1alpha1TriggerParameter>§payload: Vec<IoArgoprojEventsV1alpha1TriggerParameter>Payload is the list of key-value extracted from an event payload to construct the request payload.
region: Option<String>§role_arn: Option<String>§secret_key: Option<IoK8sApiCoreV1SecretKeySelector>Trait Implementations§
Source§impl Clone for IoArgoprojEventsV1alpha1AwsLambdaTrigger
impl Clone for IoArgoprojEventsV1alpha1AwsLambdaTrigger
Source§fn clone(&self) -> IoArgoprojEventsV1alpha1AwsLambdaTrigger
fn clone(&self) -> IoArgoprojEventsV1alpha1AwsLambdaTrigger
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for IoArgoprojEventsV1alpha1AwsLambdaTrigger
impl<'de> Deserialize<'de> for IoArgoprojEventsV1alpha1AwsLambdaTrigger
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&IoArgoprojEventsV1alpha1AwsLambdaTrigger> for IoArgoprojEventsV1alpha1AwsLambdaTrigger
impl From<&IoArgoprojEventsV1alpha1AwsLambdaTrigger> for IoArgoprojEventsV1alpha1AwsLambdaTrigger
Source§fn from(value: &IoArgoprojEventsV1alpha1AwsLambdaTrigger) -> Self
fn from(value: &IoArgoprojEventsV1alpha1AwsLambdaTrigger) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojEventsV1alpha1AwsLambdaTrigger
impl RefUnwindSafe for IoArgoprojEventsV1alpha1AwsLambdaTrigger
impl Send for IoArgoprojEventsV1alpha1AwsLambdaTrigger
impl Sync for IoArgoprojEventsV1alpha1AwsLambdaTrigger
impl Unpin for IoArgoprojEventsV1alpha1AwsLambdaTrigger
impl UnwindSafe for IoArgoprojEventsV1alpha1AwsLambdaTrigger
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
Mutably borrows from an owned value. Read more