aws_sdk_partnercentralchannel/client/create_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 [`CreateChannelHandshake`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`handshake_type(HandshakeType)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::handshake_type) / [`set_handshake_type(Option<HandshakeType>)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::set_handshake_type):<br>required: **true**<br><p>The type of handshake to create (e.g., start service period, revoke service period).</p><br>
7 /// - [`catalog(impl Into<String>)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::catalog) / [`set_catalog(Option<String>)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::set_catalog):<br>required: **true**<br><p>The catalog identifier for the handshake request.</p><br>
8 /// - [`associated_resource_identifier(impl Into<String>)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::associated_resource_identifier) / [`set_associated_resource_identifier(Option<String>)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::set_associated_resource_identifier):<br>required: **true**<br><p>The identifier of the resource associated with this handshake.</p><br>
9 /// - [`payload(ChannelHandshakePayload)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::payload) / [`set_payload(Option<ChannelHandshakePayload>)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::set_payload):<br>required: **false**<br><p>The payload containing specific details for the handshake type.</p><br>
10 /// - [`client_token(impl Into<String>)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure idempotency of the request.</p><br>
11 /// - [`tags(Tag)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::set_tags):<br>required: **false**<br><p>Key-value pairs to associate with the channel handshake.</p><br>
12 /// - On success, responds with [`CreateChannelHandshakeOutput`](crate::operation::create_channel_handshake::CreateChannelHandshakeOutput) with field(s):
13 /// - [`channel_handshake_detail(Option<CreateChannelHandshakeDetail>)`](crate::operation::create_channel_handshake::CreateChannelHandshakeOutput::channel_handshake_detail): <p>Details of the created channel handshake.</p>
14 /// - On failure, responds with [`SdkError<CreateChannelHandshakeError>`](crate::operation::create_channel_handshake::CreateChannelHandshakeError)
15 pub fn create_channel_handshake(&self) -> crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder {
16 crate::operation::create_channel_handshake::builders::CreateChannelHandshakeFluentBuilder::new(self.handle.clone())
17 }
18}