Struct aws_sdk_ec2::client::fluent_builders::ModifyManagedPrefixList [−][src]
pub struct ModifyManagedPrefixList<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ModifyManagedPrefixList
.
Modifies the specified managed prefix list.
Adding or removing entries in a prefix list creates a new version of the prefix list. Changing the name of the prefix list does not affect the version.
If you specify a current version number that does not match the true current version number, the request fails.
Implementations
impl<C, M, R> ModifyManagedPrefixList<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ModifyManagedPrefixList<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ModifyManagedPrefixListOutput, SdkError<ModifyManagedPrefixListError>> where
R::Policy: SmithyRetryPolicy<ModifyManagedPrefixListInputOperationOutputAlias, ModifyManagedPrefixListOutput, ModifyManagedPrefixListError, ModifyManagedPrefixListInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ModifyManagedPrefixListOutput, SdkError<ModifyManagedPrefixListError>> where
R::Policy: SmithyRetryPolicy<ModifyManagedPrefixListInputOperationOutputAlias, ModifyManagedPrefixListOutput, ModifyManagedPrefixListError, ModifyManagedPrefixListInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
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 DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
The ID of the prefix list.
The ID of the prefix list.
The current version of the prefix list.
The current version of the prefix list.
A name for the prefix list.
A name for the prefix list.
Appends an item to AddEntries
.
To override the contents of this collection use set_add_entries
.
One or more entries to add to the prefix list.
One or more entries to add to the prefix list.
Appends an item to RemoveEntries
.
To override the contents of this collection use set_remove_entries
.
One or more entries to remove from the prefix list.
One or more entries to remove from the prefix list.
The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.
If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.
The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.
If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ModifyManagedPrefixList<C, M, R>
impl<C, M, R> Send for ModifyManagedPrefixList<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ModifyManagedPrefixList<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ModifyManagedPrefixList<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ModifyManagedPrefixList<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more