[−][src]Struct rusoto_resourcegroupstaggingapi::ResourceGroupsTaggingApiClient
A client for the AWS Resource Groups Tagging API API.
Methods
impl ResourceGroupsTaggingApiClient
[src]
pub fn new(region: Region) -> ResourceGroupsTaggingApiClient
[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
) -> ResourceGroupsTaggingApiClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> ResourceGroupsTaggingApiClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
Trait Implementations
impl ResourceGroupsTaggingApi for ResourceGroupsTaggingApiClient
[src]
fn get_resources(
&self,
input: GetResourcesInput
) -> RusotoFuture<GetResourcesOutput, GetResourcesError>
[src]
&self,
input: GetResourcesInput
) -> RusotoFuture<GetResourcesOutput, GetResourcesError>
Returns all the tagged resources that are associated with the specified tags (keys and values) located in the specified region for the AWS account. The tags and the resource types that you specify in the request are known as filters. The response includes all tags that are associated with the requested resources. If no filter is provided, this action returns a paginated resource list with the associated tags.
fn get_tag_keys(
&self,
input: GetTagKeysInput
) -> RusotoFuture<GetTagKeysOutput, GetTagKeysError>
[src]
&self,
input: GetTagKeysInput
) -> RusotoFuture<GetTagKeysOutput, GetTagKeysError>
Returns all tag keys in the specified region for the AWS account.
fn get_tag_values(
&self,
input: GetTagValuesInput
) -> RusotoFuture<GetTagValuesOutput, GetTagValuesError>
[src]
&self,
input: GetTagValuesInput
) -> RusotoFuture<GetTagValuesOutput, GetTagValuesError>
Returns all tag values for the specified key in the specified region for the AWS account.
fn tag_resources(
&self,
input: TagResourcesInput
) -> RusotoFuture<TagResourcesOutput, TagResourcesError>
[src]
&self,
input: TagResourcesInput
) -> RusotoFuture<TagResourcesOutput, TagResourcesError>
Applies one or more tags to the specified resources. Note the following:
-
Not all resources can have tags. For a list of resources that support tagging, see Supported Resources in the AWS Resource Groups and Tag Editor User Guide.
-
Each resource can have up to 50 tags. For other limits, see Tag Restrictions in the Amazon EC2 User Guide for Linux Instances.
-
You can only tag resources that are located in the specified region for the AWS account.
-
To add tags to a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for adding tags. For more information, see Obtaining Permissions for Tagging in the AWS Resource Groups and Tag Editor User Guide.
fn untag_resources(
&self,
input: UntagResourcesInput
) -> RusotoFuture<UntagResourcesOutput, UntagResourcesError>
[src]
&self,
input: UntagResourcesInput
) -> RusotoFuture<UntagResourcesOutput, UntagResourcesError>
Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:
-
To remove tags from a resource, you need the necessary permissions for the service that the resource belongs to as well as permissions for removing tags. For more information, see Obtaining Permissions for Tagging in the AWS Resource Groups and Tag Editor User Guide.
-
You can only tag resources that are located in the specified region for the AWS account.
impl Clone for ResourceGroupsTaggingApiClient
[src]
fn clone(&self) -> ResourceGroupsTaggingApiClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ResourceGroupsTaggingApiClient
impl Sync for ResourceGroupsTaggingApiClient
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self