aws_sdk_pinpoint/client/
get_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 [`GetEventStream`](crate::operation::get_event_stream::builders::GetEventStreamFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_event_stream::builders::GetEventStreamFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_event_stream::builders::GetEventStreamFluentBuilder::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    /// - On success, responds with [`GetEventStreamOutput`](crate::operation::get_event_stream::GetEventStreamOutput) with field(s):
8    ///   - [`event_stream(Option<EventStream>)`](crate::operation::get_event_stream::GetEventStreamOutput::event_stream): <p>Specifies settings for publishing event data to an Amazon Kinesis data stream or an Amazon Kinesis Data Firehose delivery stream.</p>
9    /// - On failure, responds with [`SdkError<GetEventStreamError>`](crate::operation::get_event_stream::GetEventStreamError)
10    pub fn get_event_stream(&self) -> crate::operation::get_event_stream::builders::GetEventStreamFluentBuilder {
11        crate::operation::get_event_stream::builders::GetEventStreamFluentBuilder::new(self.handle.clone())
12    }
13}