pub struct SetEventStreamBody {
pub https_endpoint: Option<String>,
pub role_arn: Option<String>,
pub status: Option<StatusEnum>,
pub topic_arn: Option<String>,
pub type: Option<TypeEnum>,
}Expand description
SetEventStreamBody : All fields are optional. Omitted fields keep their current value, so a caller can change only the status (pause/resume) without resubmitting the destination. This matters because secrets such as the password in an HTTPS endpoint URL are redacted in API responses, and resubmitting the redacted value would overwrite the real one.
Fields§
§https_endpoint: Option<String>The HTTPS endpoint URL to send events to. When omitted, the current value is kept.
role_arn: Option<String>The AWS IAM role ARN to assume when publishing to the SNS topic. When omitted, the current value is kept.
status: Option<StatusEnum>The desired status of the event stream. When omitted, the current status is kept.
topic_arn: Option<String>The AWS SNS topic ARN. When omitted, the current value is kept.
type: Option<TypeEnum>The type of the event stream (AWS SNS or HTTPS webhook). When omitted, the current type and its destination settings are kept.
Implementations§
Source§impl SetEventStreamBody
impl SetEventStreamBody
Sourcepub fn new() -> SetEventStreamBody
pub fn new() -> SetEventStreamBody
All fields are optional. Omitted fields keep their current value, so a caller can change only the status (pause/resume) without resubmitting the destination. This matters because secrets such as the password in an HTTPS endpoint URL are redacted in API responses, and resubmitting the redacted value would overwrite the real one.
Trait Implementations§
Source§impl Clone for SetEventStreamBody
impl Clone for SetEventStreamBody
Source§fn clone(&self) -> SetEventStreamBody
fn clone(&self) -> SetEventStreamBody
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more