Struct aws_sdk_resourcegroups::operation::ungroup_resources::builders::UngroupResourcesFluentBuilder
source · pub struct UngroupResourcesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UngroupResources
.
Removes the specified resources from the specified group. This operation works only with static groups that you populated using the GroupResources
operation. It doesn't work with any resource groups that are automatically populated by tag-based or CloudFormation stack-based queries.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:UngroupResources
Implementations§
source§impl UngroupResourcesFluentBuilder
impl UngroupResourcesFluentBuilder
sourcepub fn as_input(&self) -> &UngroupResourcesInputBuilder
pub fn as_input(&self) -> &UngroupResourcesInputBuilder
Access the UngroupResources as a reference.
sourcepub async fn send(
self
) -> Result<UngroupResourcesOutput, SdkError<UngroupResourcesError, HttpResponse>>
pub async fn send( self ) -> Result<UngroupResourcesOutput, SdkError<UngroupResourcesError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<UngroupResourcesOutput, UngroupResourcesError, Self>
pub fn customize( self ) -> CustomizableOperation<UngroupResourcesOutput, UngroupResourcesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn group(self, input: impl Into<String>) -> Self
pub fn group(self, input: impl Into<String>) -> Self
The name or the ARN of the resource group from which to remove the resources.
sourcepub fn set_group(self, input: Option<String>) -> Self
pub fn set_group(self, input: Option<String>) -> Self
The name or the ARN of the resource group from which to remove the resources.
sourcepub fn get_group(&self) -> &Option<String>
pub fn get_group(&self) -> &Option<String>
The name or the ARN of the resource group from which to remove the resources.
sourcepub fn resource_arns(self, input: impl Into<String>) -> Self
pub fn resource_arns(self, input: impl Into<String>) -> Self
Appends an item to ResourceArns
.
To override the contents of this collection use set_resource_arns
.
The ARNs of the resources to be removed from the group.
sourcepub fn set_resource_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_resource_arns(self, input: Option<Vec<String>>) -> Self
The ARNs of the resources to be removed from the group.
sourcepub fn get_resource_arns(&self) -> &Option<Vec<String>>
pub fn get_resource_arns(&self) -> &Option<Vec<String>>
The ARNs of the resources to be removed from the group.
Trait Implementations§
source§impl Clone for UngroupResourcesFluentBuilder
impl Clone for UngroupResourcesFluentBuilder
source§fn clone(&self) -> UngroupResourcesFluentBuilder
fn clone(&self) -> UngroupResourcesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UngroupResourcesFluentBuilder
impl !RefUnwindSafe for UngroupResourcesFluentBuilder
impl Send for UngroupResourcesFluentBuilder
impl Sync for UngroupResourcesFluentBuilder
impl Unpin for UngroupResourcesFluentBuilder
impl !UnwindSafe for UngroupResourcesFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more