aws_sdk_redshift/client/describe_partners.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 [`DescribePartners`](crate::operation::describe_partners::builders::DescribePartnersFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::describe_partners::builders::DescribePartnersFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_partners::builders::DescribePartnersFluentBuilder::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::describe_partners::builders::DescribePartnersFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::describe_partners::builders::DescribePartnersFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>The cluster identifier of the cluster whose partner integration is being described.</p><br>
8 /// - [`database_name(impl Into<String>)`](crate::operation::describe_partners::builders::DescribePartnersFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::describe_partners::builders::DescribePartnersFluentBuilder::set_database_name):<br>required: **false**<br><p>The name of the database whose partner integration is being described. If database name is not specified, then all databases in the cluster are described.</p><br>
9 /// - [`partner_name(impl Into<String>)`](crate::operation::describe_partners::builders::DescribePartnersFluentBuilder::partner_name) / [`set_partner_name(Option<String>)`](crate::operation::describe_partners::builders::DescribePartnersFluentBuilder::set_partner_name):<br>required: **false**<br><p>The name of the partner that is being described. If partner name is not specified, then all partner integrations are described.</p><br>
10 /// - On success, responds with [`DescribePartnersOutput`](crate::operation::describe_partners::DescribePartnersOutput) with field(s):
11 /// - [`partner_integration_info_list(Option<Vec::<PartnerIntegrationInfo>>)`](crate::operation::describe_partners::DescribePartnersOutput::partner_integration_info_list): <p>A list of partner integrations.</p>
12 /// - On failure, responds with [`SdkError<DescribePartnersError>`](crate::operation::describe_partners::DescribePartnersError)
13 pub fn describe_partners(&self) -> crate::operation::describe_partners::builders::DescribePartnersFluentBuilder {
14 crate::operation::describe_partners::builders::DescribePartnersFluentBuilder::new(self.handle.clone())
15 }
16}