pub struct CreateLogKinesisParams {
pub service_id: String,
pub version_id: i32,
pub name: Option<String>,
pub placement: Option<LoggingPlacement>,
pub format: Option<String>,
pub topic: Option<String>,
pub region: Option<AwsRegion>,
pub secret_key: Option<String>,
pub access_key: Option<String>,
pub iam_role: Option<String>,
pub format_version: Option<i32>,
}Expand description
struct for passing parameters to the method create_log_kinesis
Fields§
§service_id: StringAlphanumeric string identifying the service.
version_id: i32Integer identifying a service version.
name: Option<String>The name for the real-time logging configuration.
placement: Option<LoggingPlacement>§format: Option<String>A Fastly log format string.
topic: Option<String>The Amazon Kinesis stream to send logs to. Required.
region: Option<AwsRegion>§secret_key: Option<String>The secret key associated with the target Amazon Kinesis stream. Not required if iam_role is specified.
access_key: Option<String>The access key associated with the target Amazon Kinesis stream. Not required if iam_role is specified.
iam_role: Option<String>The ARN for an IAM role granting Fastly access to the target Amazon Kinesis stream. Not required if access_key and secret_key are provided.
format_version: Option<i32>The version of the custom logging format used for the configured endpoint. The logging call gets placed by default in vcl_log if format_version is set to 2 and in vcl_deliver if format_version is set to 1.
Trait Implementations§
source§impl Clone for CreateLogKinesisParams
impl Clone for CreateLogKinesisParams
source§fn clone(&self) -> CreateLogKinesisParams
fn clone(&self) -> CreateLogKinesisParams
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateLogKinesisParams
impl Debug for CreateLogKinesisParams
source§impl Default for CreateLogKinesisParams
impl Default for CreateLogKinesisParams
source§fn default() -> CreateLogKinesisParams
fn default() -> CreateLogKinesisParams
Auto Trait Implementations§
impl Freeze for CreateLogKinesisParams
impl RefUnwindSafe for CreateLogKinesisParams
impl Send for CreateLogKinesisParams
impl Sync for CreateLogKinesisParams
impl Unpin for CreateLogKinesisParams
impl UnwindSafe for CreateLogKinesisParams
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)