aws_sdk_connectcampaignsv2/client/
put_profile_outbound_request_batch.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 [`PutProfileOutboundRequestBatch`](crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`PutProfileOutboundRequestBatchOutput`](crate::operation::put_profile_outbound_request_batch::PutProfileOutboundRequestBatchOutput) with field(s):
    ///   - [`successful_requests(Option<Vec::<SuccessfulProfileOutboundRequest>>)`](crate::operation::put_profile_outbound_request_batch::PutProfileOutboundRequestBatchOutput::successful_requests): List of successful profile outbound requests
    ///   - [`failed_requests(Option<Vec::<FailedProfileOutboundRequest>>)`](crate::operation::put_profile_outbound_request_batch::PutProfileOutboundRequestBatchOutput::failed_requests): List of failed profile outbound requests
    /// - On failure, responds with [`SdkError<PutProfileOutboundRequestBatchError>`](crate::operation::put_profile_outbound_request_batch::PutProfileOutboundRequestBatchError)
    pub fn put_profile_outbound_request_batch(
        &self,
    ) -> crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder {
        crate::operation::put_profile_outbound_request_batch::builders::PutProfileOutboundRequestBatchFluentBuilder::new(self.handle.clone())
    }
}