aws_sdk_redshift/client/delete_partner.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 [`DeletePartner`](crate::operation::delete_partner::builders::DeletePartnerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::delete_partner::builders::DeletePartnerFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::delete_partner::builders::DeletePartnerFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID that owns the cluster.</p><br>
7 /// - [`cluster_identifier(impl Into<String>)`](crate::operation::delete_partner::builders::DeletePartnerFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::delete_partner::builders::DeletePartnerFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>The cluster identifier of the cluster that receives data from the partner.</p><br>
8 /// - [`database_name(impl Into<String>)`](crate::operation::delete_partner::builders::DeletePartnerFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::delete_partner::builders::DeletePartnerFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the database that receives data from the partner.</p><br>
9 /// - [`partner_name(impl Into<String>)`](crate::operation::delete_partner::builders::DeletePartnerFluentBuilder::partner_name) / [`set_partner_name(Option<String>)`](crate::operation::delete_partner::builders::DeletePartnerFluentBuilder::set_partner_name):<br>required: **true**<br><p>The name of the partner that is authorized to send data.</p><br>
10 /// - On success, responds with [`DeletePartnerOutput`](crate::operation::delete_partner::DeletePartnerOutput) with field(s):
11 /// - [`database_name(Option<String>)`](crate::operation::delete_partner::DeletePartnerOutput::database_name): <p>The name of the database that receives data from the partner.</p>
12 /// - [`partner_name(Option<String>)`](crate::operation::delete_partner::DeletePartnerOutput::partner_name): <p>The name of the partner that is authorized to send data.</p>
13 /// - On failure, responds with [`SdkError<DeletePartnerError>`](crate::operation::delete_partner::DeletePartnerError)
14 pub fn delete_partner(&self) -> crate::operation::delete_partner::builders::DeletePartnerFluentBuilder {
15 crate::operation::delete_partner::builders::DeletePartnerFluentBuilder::new(self.handle.clone())
16 }
17}