[][src]Struct rusoto_resource_groups::ResourceGroupsClient

pub struct ResourceGroupsClient { /* fields omitted */ }

A client for the Resource Groups API.

Implementations

impl ResourceGroupsClient[src]

pub fn new(region: Region) -> ResourceGroupsClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> ResourceGroupsClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> ResourceGroupsClient[src]

Trait Implementations

impl Clone for ResourceGroupsClient[src]

impl ResourceGroups for ResourceGroupsClient[src]

pub fn create_group<'life0, 'async_trait>(
    &'life0 self,
    input: CreateGroupInput
) -> Pin<Box<dyn Future<Output = Result<CreateGroupOutput, RusotoError<CreateGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a group with a specified name, description, and resource query.

pub fn delete_group<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteGroupInput
) -> Pin<Box<dyn Future<Output = Result<DeleteGroupOutput, RusotoError<DeleteGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a specified resource group. Deleting a resource group does not delete resources that are members of the group; it only deletes the group structure.

pub fn get_group<'life0, 'async_trait>(
    &'life0 self,
    input: GetGroupInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupOutput, RusotoError<GetGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about a specified resource group.

pub fn get_group_query<'life0, 'async_trait>(
    &'life0 self,
    input: GetGroupQueryInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupQueryOutput, RusotoError<GetGroupQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns the resource query associated with the specified resource group.

pub fn get_tags<'life0, 'async_trait>(
    &'life0 self,
    input: GetTagsInput
) -> Pin<Box<dyn Future<Output = Result<GetTagsOutput, RusotoError<GetTagsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of tags that are associated with a resource group, specified by an ARN.

pub fn list_group_resources<'life0, 'async_trait>(
    &'life0 self,
    input: ListGroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<ListGroupResourcesOutput, RusotoError<ListGroupResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of ARNs of resources that are members of a specified resource group.

pub fn list_groups<'life0, 'async_trait>(
    &'life0 self,
    input: ListGroupsInput
) -> Pin<Box<dyn Future<Output = Result<ListGroupsOutput, RusotoError<ListGroupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of existing resource groups in your account.

pub fn search_resources<'life0, 'async_trait>(
    &'life0 self,
    input: SearchResourcesInput
) -> Pin<Box<dyn Future<Output = Result<SearchResourcesOutput, RusotoError<SearchResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns a list of AWS resource identifiers that matches a specified query. The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery operation.

pub fn tag<'life0, 'async_trait>(
    &'life0 self,
    input: TagInput
) -> Pin<Box<dyn Future<Output = Result<TagOutput, RusotoError<TagError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds tags to a resource group with the specified ARN. Existing tags on a resource group are not changed if they are not specified in the request parameters.

pub fn untag<'life0, 'async_trait>(
    &'life0 self,
    input: UntagInput
) -> Pin<Box<dyn Future<Output = Result<UntagOutput, RusotoError<UntagError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes specified tags from a specified resource.

pub fn update_group<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateGroupInput
) -> Pin<Box<dyn Future<Output = Result<UpdateGroupOutput, RusotoError<UpdateGroupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates an existing group with a new or changed description. You cannot update the name of a resource group.

pub fn update_group_query<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateGroupQueryInput
) -> Pin<Box<dyn Future<Output = Result<UpdateGroupQueryOutput, RusotoError<UpdateGroupQueryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the resource query of a group.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.