[−][src]Struct rusoto_resourcegroupstaggingapi::ResourceGroupsTaggingApiClient
A client for the AWS Resource Groups Tagging API API.
Methods
impl ResourceGroupsTaggingApiClient
[src]
impl ResourceGroupsTaggingApiClient
pub fn new(region: Region) -> ResourceGroupsTaggingApiClient
[src]
pub fn new(region: Region) -> ResourceGroupsTaggingApiClient
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]
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,
Trait Implementations
impl ResourceGroupsTaggingApi for ResourceGroupsTaggingApiClient
[src]
impl ResourceGroupsTaggingApi for ResourceGroupsTaggingApiClient
fn get_resources(
&self,
input: GetResourcesInput
) -> RusotoFuture<GetResourcesOutput, GetResourcesError>
[src]
fn get_resources(
&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]
fn get_tag_keys(
&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]
fn get_tag_values(
&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]
fn tag_resources(
&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]
fn untag_resources(
&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.
Auto Trait Implementations
impl Send for ResourceGroupsTaggingApiClient
impl Send for ResourceGroupsTaggingApiClient
impl Sync for ResourceGroupsTaggingApiClient
impl Sync for ResourceGroupsTaggingApiClient
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
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]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
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]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self
impl<T> Erased for T
impl<T> Erased for T