aws_sdk_globalaccelerator/client/
delete_cross_account_attachment.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 [`DeleteCrossAccountAttachment`](crate::operation::delete_cross_account_attachment::builders::DeleteCrossAccountAttachmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`attachment_arn(impl Into<String>)`](crate::operation::delete_cross_account_attachment::builders::DeleteCrossAccountAttachmentFluentBuilder::attachment_arn) / [`set_attachment_arn(Option<String>)`](crate::operation::delete_cross_account_attachment::builders::DeleteCrossAccountAttachmentFluentBuilder::set_attachment_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) for the cross-account attachment to delete.</p><br>
7    /// - On success, responds with [`DeleteCrossAccountAttachmentOutput`](crate::operation::delete_cross_account_attachment::DeleteCrossAccountAttachmentOutput)
8    /// - On failure, responds with [`SdkError<DeleteCrossAccountAttachmentError>`](crate::operation::delete_cross_account_attachment::DeleteCrossAccountAttachmentError)
9    pub fn delete_cross_account_attachment(
10        &self,
11    ) -> crate::operation::delete_cross_account_attachment::builders::DeleteCrossAccountAttachmentFluentBuilder {
12        crate::operation::delete_cross_account_attachment::builders::DeleteCrossAccountAttachmentFluentBuilder::new(self.handle.clone())
13    }
14}