aws_sdk_customerprofiles/client/
create_event_stream.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateEventStream`](crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    ///   - [`uri(impl Into<String>)`](crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder::uri) / [`set_uri(Option<String>)`](crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder::set_uri):<br>required: **true**<br><p>The StreamARN of the destination to deliver profile events to. For example, arn:aws:kinesis:region:account-id:stream/stream-name</p><br>
    ///   - [`event_stream_name(impl Into<String>)`](crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder::event_stream_name) / [`set_event_stream_name(Option<String>)`](crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder::set_event_stream_name):<br>required: **true**<br><p>The name of the event stream.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder::set_tags):<br>required: **false**<br><p>The tags used to organize, track, or control access for this resource.</p><br>
    /// - On success, responds with [`CreateEventStreamOutput`](crate::operation::create_event_stream::CreateEventStreamOutput) with field(s):
    ///   - [`event_stream_arn(String)`](crate::operation::create_event_stream::CreateEventStreamOutput::event_stream_arn): <p>A unique identifier for the event stream.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_event_stream::CreateEventStreamOutput::tags): <p>The tags used to organize, track, or control access for this resource.</p>
    /// - On failure, responds with [`SdkError<CreateEventStreamError>`](crate::operation::create_event_stream::CreateEventStreamError)
    pub fn create_event_stream(&self) -> crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder {
        crate::operation::create_event_stream::builders::CreateEventStreamFluentBuilder::new(self.handle.clone())
    }
}