aws_sdk_connectcampaignsv2/client/
put_profile_outbound_request_batch.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 [`PutProfileOutboundRequestBatch`](crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder::set_id):<br>required: **true**<br>Identifier representing a Campaign<br>
7    ///   - [`profile_outbound_requests(ProfileOutboundRequest)`](crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder::profile_outbound_requests) / [`set_profile_outbound_requests(Option<Vec::<ProfileOutboundRequest>>)`](crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder::set_profile_outbound_requests):<br>required: **true**<br>List of profile outbound requests<br>
8    /// - On success, responds with [`PutProfileOutboundRequestBatchOutput`](crate::operation::put_profile_outbound_request_batch::PutProfileOutboundRequestBatchOutput) with field(s):
9    ///   - [`successful_requests(Option<Vec::<SuccessfulProfileOutboundRequest>>)`](crate::operation::put_profile_outbound_request_batch::PutProfileOutboundRequestBatchOutput::successful_requests): List of successful profile outbound requests
10    ///   - [`failed_requests(Option<Vec::<FailedProfileOutboundRequest>>)`](crate::operation::put_profile_outbound_request_batch::PutProfileOutboundRequestBatchOutput::failed_requests): List of failed profile outbound requests
11    /// - On failure, responds with [`SdkError<PutProfileOutboundRequestBatchError>`](crate::operation::put_profile_outbound_request_batch::PutProfileOutboundRequestBatchError)
12    pub fn put_profile_outbound_request_batch(
13        &self,
14    ) -> crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder {
15        crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder::new(self.handle.clone())
16    }
17}