aws_sdk_partnercentralchannel/client/delete_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 [`DeleteRelationship`](crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`catalog(impl Into<String>)`](crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder::catalog) / [`set_catalog(Option<String>)`](crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder::set_catalog):<br>required: **true**<br><p>The catalog identifier for the relationship.</p><br>
7 /// - [`identifier(impl Into<String>)`](crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique identifier of the relationship to delete.</p><br>
8 /// - [`program_management_account_identifier(impl Into<String>)`](crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder::program_management_account_identifier) / [`set_program_management_account_identifier(Option<String>)`](crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder::set_program_management_account_identifier):<br>required: **true**<br><p>The identifier of the program management account associated with the relationship.</p><br>
9 /// - [`client_token(impl Into<String>)`](crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure idempotency of the request.</p><br>
10 /// - On success, responds with [`DeleteRelationshipOutput`](crate::operation::delete_relationship::DeleteRelationshipOutput)
11 /// - On failure, responds with [`SdkError<DeleteRelationshipError>`](crate::operation::delete_relationship::DeleteRelationshipError)
12 pub fn delete_relationship(&self) -> crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder {
13 crate::operation::delete_relationship::builders::DeleteRelationshipFluentBuilder::new(self.handle.clone())
14 }
15}