aws_sdk_directconnect/client/confirm_customer_agreement.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 [`ConfirmCustomerAgreement`](crate::operation::confirm_customer_agreement::builders::ConfirmCustomerAgreementFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agreement_name(impl Into<String>)`](crate::operation::confirm_customer_agreement::builders::ConfirmCustomerAgreementFluentBuilder::agreement_name) / [`set_agreement_name(Option<String>)`](crate::operation::confirm_customer_agreement::builders::ConfirmCustomerAgreementFluentBuilder::set_agreement_name):<br>required: **false**<br><p>The name of the customer agreement.</p><br>
7 /// - On success, responds with [`ConfirmCustomerAgreementOutput`](crate::operation::confirm_customer_agreement::ConfirmCustomerAgreementOutput) with field(s):
8 /// - [`status(Option<String>)`](crate::operation::confirm_customer_agreement::ConfirmCustomerAgreementOutput::status): <p>The status of the customer agreement when the connection was created. This will be either <code>signed</code> or <code>unsigned</code>.</p>
9 /// - On failure, responds with [`SdkError<ConfirmCustomerAgreementError>`](crate::operation::confirm_customer_agreement::ConfirmCustomerAgreementError)
10 pub fn confirm_customer_agreement(&self) -> crate::operation::confirm_customer_agreement::builders::ConfirmCustomerAgreementFluentBuilder {
11 crate::operation::confirm_customer_agreement::builders::ConfirmCustomerAgreementFluentBuilder::new(self.handle.clone())
12 }
13}