Skip to main content

aws_sdk_paymentcryptography/client/
disassociate_mpa_team.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 [`DisassociateMpaTeam`](crate::operation::disassociate_mpa_team::builders::DisassociateMpaTeamFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`action(MpaOperation)`](crate::operation::disassociate_mpa_team::builders::DisassociateMpaTeamFluentBuilder::action) / [`set_action(Option<MpaOperation>)`](crate::operation::disassociate_mpa_team::builders::DisassociateMpaTeamFluentBuilder::set_action):<br>required: **true**<br><p>The protected operation to disassociate from the MPA team. Currently, the only supported value is <code>IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE</code>.</p><br>
7    ///   - [`requester_comment(impl Into<String>)`](crate::operation::disassociate_mpa_team::builders::DisassociateMpaTeamFluentBuilder::requester_comment) / [`set_requester_comment(Option<String>)`](crate::operation::disassociate_mpa_team::builders::DisassociateMpaTeamFluentBuilder::set_requester_comment):<br>required: **false**<br><p>The comment from the requester explaining the reason for the disassociation.</p><important>  <p>Don't include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.</p> </important><br>
8    /// - On success, responds with [`DisassociateMpaTeamOutput`](crate::operation::disassociate_mpa_team::DisassociateMpaTeamOutput) with field(s):
9    ///   - [`mpa_team_association(Option<MpaTeamAssociation>)`](crate::operation::disassociate_mpa_team::DisassociateMpaTeamOutput::mpa_team_association): <p>The details of the MPA team association.</p>
10    /// - On failure, responds with [`SdkError<DisassociateMpaTeamError>`](crate::operation::disassociate_mpa_team::DisassociateMpaTeamError)
11    pub fn disassociate_mpa_team(&self) -> crate::operation::disassociate_mpa_team::builders::DisassociateMpaTeamFluentBuilder {
12        crate::operation::disassociate_mpa_team::builders::DisassociateMpaTeamFluentBuilder::new(self.handle.clone())
13    }
14}