aws-sdk-eventbridgev2 1.2.0

AWS SDK for Amazon EventBridgeV2
Documentation
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 [`PutRawEvents`](crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`event_bus_arn(impl Into<String>)`](crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder::event_bus_arn) / [`set_event_bus_arn(Option<String>)`](crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder::set_event_bus_arn):<br>required: **true**<br>The Amazon Resource Name (ARN) that uniquely identifies an event bus.<br>
    ///   - [`entries(PutRawEventsRequestEntry)`](crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder::entries) / [`set_entries(Option<Vec::<PutRawEventsRequestEntry>>)`](crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder::set_entries):<br>required: **true**<br>List of event entries to publish. Must contain at least one entry.<br>
    ///   - [`schema_registry_configuration(SchemaRegistryConfiguration)`](crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder::schema_registry_configuration) / [`set_schema_registry_configuration(Option<SchemaRegistryConfiguration>)`](crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder::set_schema_registry_configuration):<br>required: **false**<br>Schema-registry settings for encoding open-format (Avro/Protobuf) events. Required for open-format entries; ignored for JSON entries. The registry is read with the caller's credentials, so the caller needs read access to the registry it references.<br>
    ///   - [`deduplication_configuration(DeduplicationConfiguration)`](crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder::deduplication_configuration) / [`set_deduplication_configuration(Option<DeduplicationConfiguration>)`](crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder::set_deduplication_configuration):<br>required: **false**<br>Request-level deduplication settings, applied to every entry in the batch.<br>
    /// - On success, responds with [`PutRawEventsOutput`](crate::operation::put_raw_events::PutRawEventsOutput) with field(s):
    ///   - [`failed_entry_count(i32)`](crate::operation::put_raw_events::PutRawEventsOutput::failed_entry_count): The number of entries in the batch that failed to be published.
    ///   - [`entries(Option<Vec::<PutRawEventsResultEntry>>)`](crate::operation::put_raw_events::PutRawEventsOutput::entries): List of per-entry publish results, in the same order as the request entries.
    /// - On failure, responds with [`SdkError<PutRawEventsError>`](crate::operation::put_raw_events::PutRawEventsError)
    pub fn put_raw_events(&self) -> crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder {
        crate::operation::put_raw_events::builders::PutRawEventsFluentBuilder::new(self.handle.clone())
    }
}