aws_sdk_pinpoint/client/
put_event_stream.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`PutEventStream`](crate::operation::put_event_stream::builders::PutEventStreamFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::put_event_stream::builders::PutEventStreamFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::put_event_stream::builders::PutEventStreamFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p><br>
7    ///   - [`write_event_stream(WriteEventStream)`](crate::operation::put_event_stream::builders::PutEventStreamFluentBuilder::write_event_stream) / [`set_write_event_stream(Option<WriteEventStream>)`](crate::operation::put_event_stream::builders::PutEventStreamFluentBuilder::set_write_event_stream):<br>required: **true**<br><p>Specifies the Amazon Resource Name (ARN) of an event stream to publish events to and the AWS Identity and Access Management (IAM) role to use when publishing those events.</p><br>
8    /// - On success, responds with [`PutEventStreamOutput`](crate::operation::put_event_stream::PutEventStreamOutput) with field(s):
9    ///   - [`event_stream(Option<EventStream>)`](crate::operation::put_event_stream::PutEventStreamOutput::event_stream): <p>Specifies settings for publishing event data to an Amazon Kinesis data stream or an Amazon Kinesis Data Firehose delivery stream.</p>
10    /// - On failure, responds with [`SdkError<PutEventStreamError>`](crate::operation::put_event_stream::PutEventStreamError)
11    pub fn put_event_stream(&self) -> crate::operation::put_event_stream::builders::PutEventStreamFluentBuilder {
12        crate::operation::put_event_stream::builders::PutEventStreamFluentBuilder::new(self.handle.clone())
13    }
14}