[][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 resource group with the specified name and description. You can optionally include a resource query, or a service configuration.

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 the specified resource group. Deleting a resource group does not delete any 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_configuration<'life0, 'async_trait>(
    &'life0 self,
    input: GetGroupConfigurationInput
) -> Pin<Box<dyn Future<Output = Result<GetGroupConfigurationOutput, RusotoError<GetGroupConfigurationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns the service configuration associated with the specified resource group. AWS Resource Groups supports configurations for the following resource group types:

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]

Retrieves 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 group_resources<'life0, 'async_trait>(
    &'life0 self,
    input: GroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<GroupResourcesOutput, RusotoError<GroupResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds the specified resources to the specified group.

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 the 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 the 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.

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

pub fn ungroup_resources<'life0, 'async_trait>(
    &'life0 self,
    input: UngroupResourcesInput
) -> Pin<Box<dyn Future<Output = Result<UngroupResourcesOutput, RusotoError<UngroupResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes the specified resources from the specified group.

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 tags from a specified resource group.

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 the description for an existing group. 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, 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.