pub struct EditSqsTrigger {
pub queue_url: String,
pub aws_auth_resource_type: AwsAuthResourceType,
pub aws_resource_path: String,
pub message_attributes: Option<Vec<String>>,
pub path: String,
pub script_path: String,
pub is_flow: bool,
pub mode: Option<TriggerMode>,
pub error_handler_path: Option<String>,
pub error_handler_args: Option<HashMap<String, Value>>,
pub retry: Option<Box<Retry>>,
}Fields§
§queue_url: StringThe full URL of the AWS SQS queue to poll for messages
aws_auth_resource_type: AwsAuthResourceType§aws_resource_path: StringPath to the AWS resource containing credentials or OIDC configuration
message_attributes: Option<Vec<String>>Array of SQS message attribute names to include with each message
path: StringThe unique path identifier for this trigger
script_path: StringPath to the script or flow to execute when a message is received
is_flow: boolTrue if script_path points to a flow, false if it points to a script
mode: Option<TriggerMode>§error_handler_path: Option<String>Path to a script or flow to run when the triggered job fails
error_handler_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
retry: Option<Box<Retry>>Implementations§
Source§impl EditSqsTrigger
impl EditSqsTrigger
pub fn new( queue_url: String, aws_auth_resource_type: AwsAuthResourceType, aws_resource_path: String, path: String, script_path: String, is_flow: bool, ) -> EditSqsTrigger
Trait Implementations§
Source§impl Clone for EditSqsTrigger
impl Clone for EditSqsTrigger
Source§fn clone(&self) -> EditSqsTrigger
fn clone(&self) -> EditSqsTrigger
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 Debug for EditSqsTrigger
impl Debug for EditSqsTrigger
Source§impl Default for EditSqsTrigger
impl Default for EditSqsTrigger
Source§fn default() -> EditSqsTrigger
fn default() -> EditSqsTrigger
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EditSqsTrigger
impl<'de> Deserialize<'de> for EditSqsTrigger
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 PartialEq for EditSqsTrigger
impl PartialEq for EditSqsTrigger
Source§impl Serialize for EditSqsTrigger
impl Serialize for EditSqsTrigger
impl StructuralPartialEq for EditSqsTrigger
Auto Trait Implementations§
impl Freeze for EditSqsTrigger
impl RefUnwindSafe for EditSqsTrigger
impl Send for EditSqsTrigger
impl Sync for EditSqsTrigger
impl Unpin for EditSqsTrigger
impl UnwindSafe for EditSqsTrigger
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