Struct aws_sdk_inspector::operation::create_resource_group::builders::CreateResourceGroupFluentBuilder
source · pub struct CreateResourceGroupFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateResourceGroup.
Creates a resource group using the specified set of tags (key and value pairs) that are used to select the EC2 instances to be included in an Amazon Inspector assessment target. The created resource group is then used to create an Amazon Inspector assessment target. For more information, see CreateAssessmentTarget.
Implementations§
source§impl CreateResourceGroupFluentBuilder
impl CreateResourceGroupFluentBuilder
sourcepub fn as_input(&self) -> &CreateResourceGroupInputBuilder
pub fn as_input(&self) -> &CreateResourceGroupInputBuilder
Access the CreateResourceGroup as a reference.
sourcepub async fn send(
self
) -> Result<CreateResourceGroupOutput, SdkError<CreateResourceGroupError, HttpResponse>>
pub async fn send( self ) -> Result<CreateResourceGroupOutput, SdkError<CreateResourceGroupError, 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 async fn customize(
self
) -> Result<CustomizableOperation<CreateResourceGroupOutput, CreateResourceGroupError>, SdkError<CreateResourceGroupError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateResourceGroupOutput, CreateResourceGroupError>, SdkError<CreateResourceGroupError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Appends an item to resourceGroupTags.
To override the contents of this collection use set_resource_group_tags.
A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
A collection of keys and an array of possible values, '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.
For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.
Trait Implementations§
source§impl Clone for CreateResourceGroupFluentBuilder
impl Clone for CreateResourceGroupFluentBuilder
source§fn clone(&self) -> CreateResourceGroupFluentBuilder
fn clone(&self) -> CreateResourceGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more