aws-sdk-organizations 1.120.0

AWS SDK for AWS Organizations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeclineHandshake`](crate::operation::decline_handshake::builders::DeclineHandshakeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`handshake_id(impl Into<String>)`](crate::operation::decline_handshake::builders::DeclineHandshakeFluentBuilder::handshake_id) / [`set_handshake_id(Option<String>)`](crate::operation::decline_handshake::builders::DeclineHandshakeFluentBuilder::set_handshake_id):<br>required: **true**<br><p>ID for the handshake that you want to decline. You can get the ID from the <code>ListHandshakesForAccount</code> operation.</p> <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> for handshake ID string requires "h-" followed by from 8 to 32 lowercase letters or digits.</p><br>
    /// - On success, responds with [`DeclineHandshakeOutput`](crate::operation::decline_handshake::DeclineHandshakeOutput) with field(s):
    ///   - [`handshake(Option<Handshake>)`](crate::operation::decline_handshake::DeclineHandshakeOutput::handshake): <p>A <code>Handshake</code> object. Contains details for the declined handshake.</p>
    /// - On failure, responds with [`SdkError<DeclineHandshakeError>`](crate::operation::decline_handshake::DeclineHandshakeError)
    pub fn decline_handshake(&self) -> crate::operation::decline_handshake::builders::DeclineHandshakeFluentBuilder {
        crate::operation::decline_handshake::builders::DeclineHandshakeFluentBuilder::new(self.handle.clone())
    }
}