aws_sdk_partnercentralchannel/client/update_relationship.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 [`UpdateRelationship`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`catalog(impl Into<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::catalog) / [`set_catalog(Option<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::set_catalog):<br>required: **true**<br><p>The catalog identifier for the relationship.</p><br>
7 /// - [`identifier(impl Into<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique identifier of the relationship to update.</p><br>
8 /// - [`program_management_account_identifier(impl Into<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::program_management_account_identifier) / [`set_program_management_account_identifier(Option<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::set_program_management_account_identifier):<br>required: **true**<br><p>The identifier of the program management account associated with the relationship.</p><br>
9 /// - [`revision(impl Into<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::revision) / [`set_revision(Option<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::set_revision):<br>required: **false**<br><p>The current revision number of the relationship.</p><br>
10 /// - [`display_name(impl Into<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::set_display_name):<br>required: **false**<br><p>The new display name for the relationship.</p><br>
11 /// - [`requested_support_plan(SupportPlan)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::requested_support_plan) / [`set_requested_support_plan(Option<SupportPlan>)`](crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::set_requested_support_plan):<br>required: **false**<br><p>The updated support plan for the relationship.</p><br>
12 /// - On success, responds with [`UpdateRelationshipOutput`](crate::operation::update_relationship::UpdateRelationshipOutput) with field(s):
13 /// - [`relationship_detail(Option<UpdateRelationshipDetail>)`](crate::operation::update_relationship::UpdateRelationshipOutput::relationship_detail): <p>Details of the updated relationship.</p>
14 /// - On failure, responds with [`SdkError<UpdateRelationshipError>`](crate::operation::update_relationship::UpdateRelationshipError)
15 pub fn update_relationship(&self) -> crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder {
16 crate::operation::update_relationship::builders::UpdateRelationshipFluentBuilder::new(self.handle.clone())
17 }
18}