aws_sdk_ec2/client/accept_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 [`AcceptAddressTransfer`](crate::operation::accept_address_transfer::builders::AcceptAddressTransferFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`address(impl Into<String>)`](crate::operation::accept_address_transfer::builders::AcceptAddressTransferFluentBuilder::address) / [`set_address(Option<String>)`](crate::operation::accept_address_transfer::builders::AcceptAddressTransferFluentBuilder::set_address):<br>required: **true**<br><p>The Elastic IP address you are accepting for transfer.</p><br>
7 /// - [`tag_specifications(TagSpecification)`](crate::operation::accept_address_transfer::builders::AcceptAddressTransferFluentBuilder::tag_specifications) / [`set_tag_specifications(Option<Vec::<TagSpecification>>)`](crate::operation::accept_address_transfer::builders::AcceptAddressTransferFluentBuilder::set_tag_specifications):<br>required: **false**<br><p><code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value. </key></p><br>
8 /// - [`dry_run(bool)`](crate::operation::accept_address_transfer::builders::AcceptAddressTransferFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::accept_address_transfer::builders::AcceptAddressTransferFluentBuilder::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>
9 /// - On success, responds with [`AcceptAddressTransferOutput`](crate::operation::accept_address_transfer::AcceptAddressTransferOutput) with field(s):
10 /// - [`address_transfer(Option<AddressTransfer>)`](crate::operation::accept_address_transfer::AcceptAddressTransferOutput::address_transfer): <p>An Elastic IP address transfer.</p>
11 /// - On failure, responds with [`SdkError<AcceptAddressTransferError>`](crate::operation::accept_address_transfer::AcceptAddressTransferError)
12 pub fn accept_address_transfer(&self) -> crate::operation::accept_address_transfer::builders::AcceptAddressTransferFluentBuilder {
13 crate::operation::accept_address_transfer::builders::AcceptAddressTransferFluentBuilder::new(self.handle.clone())
14 }
15}