aws_sdk_ec2/client/disable_address_transfer.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 [`DisableAddressTransfer`](crate::operation::disable_address_transfer::builders::DisableAddressTransferFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`allocation_id(impl Into<String>)`](crate::operation::disable_address_transfer::builders::DisableAddressTransferFluentBuilder::allocation_id) / [`set_allocation_id(Option<String>)`](crate::operation::disable_address_transfer::builders::DisableAddressTransferFluentBuilder::set_allocation_id):<br>required: **true**<br><p>The allocation ID of an Elastic IP address.</p><br>
7 /// - [`dry_run(bool)`](crate::operation::disable_address_transfer::builders::DisableAddressTransferFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::disable_address_transfer::builders::DisableAddressTransferFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
8 /// - On success, responds with [`DisableAddressTransferOutput`](crate::operation::disable_address_transfer::DisableAddressTransferOutput) with field(s):
9 /// - [`address_transfer(Option<AddressTransfer>)`](crate::operation::disable_address_transfer::DisableAddressTransferOutput::address_transfer): <p>An Elastic IP address transfer.</p>
10 /// - On failure, responds with [`SdkError<DisableAddressTransferError>`](crate::operation::disable_address_transfer::DisableAddressTransferError)
11 pub fn disable_address_transfer(&self) -> crate::operation::disable_address_transfer::builders::DisableAddressTransferFluentBuilder {
12 crate::operation::disable_address_transfer::builders::DisableAddressTransferFluentBuilder::new(self.handle.clone())
13 }
14}