aws_sdk_partnercentralchannel/client/
reject_channel_handshake.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 [`RejectChannelHandshake`](crate::operation::reject_channel_handshake::builders::RejectChannelHandshakeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`catalog(impl Into<String>)`](crate::operation::reject_channel_handshake::builders::RejectChannelHandshakeFluentBuilder::catalog) / [`set_catalog(Option<String>)`](crate::operation::reject_channel_handshake::builders::RejectChannelHandshakeFluentBuilder::set_catalog):<br>required: **true**<br><p>The catalog identifier for the handshake request.</p><br>
7    ///   - [`identifier(impl Into<String>)`](crate::operation::reject_channel_handshake::builders::RejectChannelHandshakeFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::reject_channel_handshake::builders::RejectChannelHandshakeFluentBuilder::set_identifier):<br>required: **true**<br><p>The unique identifier of the channel handshake to reject.</p><br>
8    /// - On success, responds with [`RejectChannelHandshakeOutput`](crate::operation::reject_channel_handshake::RejectChannelHandshakeOutput) with field(s):
9    ///   - [`channel_handshake_detail(Option<RejectChannelHandshakeDetail>)`](crate::operation::reject_channel_handshake::RejectChannelHandshakeOutput::channel_handshake_detail): <p>Details of the rejected channel handshake.</p>
10    /// - On failure, responds with [`SdkError<RejectChannelHandshakeError>`](crate::operation::reject_channel_handshake::RejectChannelHandshakeError)
11    pub fn reject_channel_handshake(&self) -> crate::operation::reject_channel_handshake::builders::RejectChannelHandshakeFluentBuilder {
12        crate::operation::reject_channel_handshake::builders::RejectChannelHandshakeFluentBuilder::new(self.handle.clone())
13    }
14}