Skip to main content

aws_sdk_paymentcryptography/client/
associate_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 [`AssociateMpaTeam`](crate::operation::associate_mpa_team::builders::AssociateMpaTeamFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`action(MpaOperation)`](crate::operation::associate_mpa_team::builders::AssociateMpaTeamFluentBuilder::action) / [`set_action(Option<MpaOperation>)`](crate::operation::associate_mpa_team::builders::AssociateMpaTeamFluentBuilder::set_action):<br>required: **true**<br><p>The protected operation to associate with the MPA team. Currently, the only supported value is <code>IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE</code>.</p><br>
7    ///   - [`mpa_team_arn(impl Into<String>)`](crate::operation::associate_mpa_team::builders::AssociateMpaTeamFluentBuilder::mpa_team_arn) / [`set_mpa_team_arn(Option<String>)`](crate::operation::associate_mpa_team::builders::AssociateMpaTeamFluentBuilder::set_mpa_team_arn):<br>required: **true**<br><p>The ARN of the MPA team to associate with the protected operation.</p><br>
8    ///   - [`requester_comment(impl Into<String>)`](crate::operation::associate_mpa_team::builders::AssociateMpaTeamFluentBuilder::requester_comment) / [`set_requester_comment(Option<String>)`](crate::operation::associate_mpa_team::builders::AssociateMpaTeamFluentBuilder::set_requester_comment):<br>required: **false**<br><p>The comment from the requester explaining the reason for the association.</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>
9    /// - On success, responds with [`AssociateMpaTeamOutput`](crate::operation::associate_mpa_team::AssociateMpaTeamOutput) with field(s):
10    ///   - [`mpa_team_association(Option<MpaTeamAssociation>)`](crate::operation::associate_mpa_team::AssociateMpaTeamOutput::mpa_team_association): <p>The details of the MPA team association.</p>
11    /// - On failure, responds with [`SdkError<AssociateMpaTeamError>`](crate::operation::associate_mpa_team::AssociateMpaTeamError)
12    pub fn associate_mpa_team(&self) -> crate::operation::associate_mpa_team::builders::AssociateMpaTeamFluentBuilder {
13        crate::operation::associate_mpa_team::builders::AssociateMpaTeamFluentBuilder::new(self.handle.clone())
14    }
15}