aws_sdk_ec2/client/modify_ipam_pool_allocation.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 [`ModifyIpamPoolAllocation`](crate::operation::modify_ipam_pool_allocation::builders::ModifyIpamPoolAllocationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dry_run(bool)`](crate::operation::modify_ipam_pool_allocation::builders::ModifyIpamPoolAllocationFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::modify_ipam_pool_allocation::builders::ModifyIpamPoolAllocationFluentBuilder::set_dry_run):<br>required: **false**<br><p>A check for 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>
7 /// - [`ipam_pool_allocation_id(impl Into<String>)`](crate::operation::modify_ipam_pool_allocation::builders::ModifyIpamPoolAllocationFluentBuilder::ipam_pool_allocation_id) / [`set_ipam_pool_allocation_id(Option<String>)`](crate::operation::modify_ipam_pool_allocation::builders::ModifyIpamPoolAllocationFluentBuilder::set_ipam_pool_allocation_id):<br>required: **true**<br><p>The ID of the IPAM pool allocation you want to modify.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::modify_ipam_pool_allocation::builders::ModifyIpamPoolAllocationFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::modify_ipam_pool_allocation::builders::ModifyIpamPoolAllocationFluentBuilder::set_description):<br>required: **false**<br><p>The new description for the IPAM pool allocation. If you submit a <code>null</code> value, the description is removed from the allocation.</p><br>
9 /// - On success, responds with [`ModifyIpamPoolAllocationOutput`](crate::operation::modify_ipam_pool_allocation::ModifyIpamPoolAllocationOutput) with field(s):
10 /// - [`ipam_pool_allocation(Option<IpamPoolAllocation>)`](crate::operation::modify_ipam_pool_allocation::ModifyIpamPoolAllocationOutput::ipam_pool_allocation): <p>The modified IPAM pool allocation.</p>
11 /// - On failure, responds with [`SdkError<ModifyIpamPoolAllocationError>`](crate::operation::modify_ipam_pool_allocation::ModifyIpamPoolAllocationError)
12 pub fn modify_ipam_pool_allocation(&self) -> crate::operation::modify_ipam_pool_allocation::builders::ModifyIpamPoolAllocationFluentBuilder {
13 crate::operation::modify_ipam_pool_allocation::builders::ModifyIpamPoolAllocationFluentBuilder::new(self.handle.clone())
14 }
15}