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