pub struct CreateEventStreamBody {
pub https_auth_header_name: Option<String>,
pub https_auth_secret: Option<String>,
pub https_auth_type: Option<HttpsAuthTypeEnum>,
pub https_endpoint: Option<String>,
pub role_arn: Option<String>,
pub status: Option<StatusEnum>,
pub topic_arn: Option<String>,
pub type: TypeEnum,
}Expand description
CreateEventStreamBody : Create Event Stream Request Body
Fields§
§https_auth_header_name: Option<String>The header that carries the API key. Required if https_auth_type is api_key. It must not be a header Ory sets itself, or a connection-specific header such as Connection, Keep-Alive, Upgrade, or TE, which HTTP/2 does not allow.
https_auth_secret: Option<String>The API key or bearer token. Required if https_auth_type is api_key or bearer. At most 4096 bytes.
https_auth_type: Option<HttpsAuthTypeEnum>How deliveries to the HTTPS endpoint authenticate. Defaults to none. api_key sends https_auth_secret in the header named by https_auth_header_name. bearer sends it as Authorization: Bearer.
https_endpoint: Option<String>The HTTPS endpoint URL to send events to. Required if type is https.
role_arn: Option<String>The AWS IAM role ARN to assume when publishing to the SNS topic. Required if type is sns.
status: Option<StatusEnum>The status of the event stream. Defaults to active. A paused stream is created but does not forward any events until it is set to active.
topic_arn: Option<String>The AWS SNS topic ARN. Required if type is sns.
type: TypeEnumThe type of the event stream (AWS SNS or HTTPS webhook).
Implementations§
Source§impl CreateEventStreamBody
impl CreateEventStreamBody
Sourcepub fn new(type: TypeEnum) -> CreateEventStreamBody
pub fn new(type: TypeEnum) -> CreateEventStreamBody
Create Event Stream Request Body