aws_sdk_bedrockagent/client/
disassociate_agent_collaborator.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 [`DisassociateAgentCollaborator`](crate::operation::disassociate_agent_collaborator::builders::DisassociateAgentCollaboratorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`agent_id(impl Into<String>)`](crate::operation::disassociate_agent_collaborator::builders::DisassociateAgentCollaboratorFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::disassociate_agent_collaborator::builders::DisassociateAgentCollaboratorFluentBuilder::set_agent_id):<br>required: **true**<br><p>An agent ID.</p><br>
7    ///   - [`agent_version(impl Into<String>)`](crate::operation::disassociate_agent_collaborator::builders::DisassociateAgentCollaboratorFluentBuilder::agent_version) / [`set_agent_version(Option<String>)`](crate::operation::disassociate_agent_collaborator::builders::DisassociateAgentCollaboratorFluentBuilder::set_agent_version):<br>required: **true**<br><p>The agent's version.</p><br>
8    ///   - [`collaborator_id(impl Into<String>)`](crate::operation::disassociate_agent_collaborator::builders::DisassociateAgentCollaboratorFluentBuilder::collaborator_id) / [`set_collaborator_id(Option<String>)`](crate::operation::disassociate_agent_collaborator::builders::DisassociateAgentCollaboratorFluentBuilder::set_collaborator_id):<br>required: **true**<br><p>The collaborator's ID.</p><br>
9    /// - On success, responds with [`DisassociateAgentCollaboratorOutput`](crate::operation::disassociate_agent_collaborator::DisassociateAgentCollaboratorOutput)
10    /// - On failure, responds with [`SdkError<DisassociateAgentCollaboratorError>`](crate::operation::disassociate_agent_collaborator::DisassociateAgentCollaboratorError)
11    pub fn disassociate_agent_collaborator(
12        &self,
13    ) -> crate::operation::disassociate_agent_collaborator::builders::DisassociateAgentCollaboratorFluentBuilder {
14        crate::operation::disassociate_agent_collaborator::builders::DisassociateAgentCollaboratorFluentBuilder::new(self.handle.clone())
15    }
16}