[][src]Struct rusoto_ram::RamClient

pub struct RamClient { /* fields omitted */ }

A client for the RAM API.

Methods

impl RamClient[src]

pub fn new(region: Region) -> RamClient[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
) -> RamClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

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

Trait Implementations

impl Clone for RamClient[src]

impl Ram for RamClient[src]

fn accept_resource_share_invitation<'life0, 'async_trait>(
    &'life0 self,
    input: AcceptResourceShareInvitationRequest
) -> Pin<Box<dyn Future<Output = Result<AcceptResourceShareInvitationResponse, RusotoError<AcceptResourceShareInvitationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Accepts an invitation to a resource share from another AWS account.

fn associate_resource_share<'life0, 'async_trait>(
    &'life0 self,
    input: AssociateResourceShareRequest
) -> Pin<Box<dyn Future<Output = Result<AssociateResourceShareResponse, RusotoError<AssociateResourceShareError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Associates the specified resource share with the specified principals and resources.

fn associate_resource_share_permission<'life0, 'async_trait>(
    &'life0 self,
    input: AssociateResourceSharePermissionRequest
) -> Pin<Box<dyn Future<Output = Result<AssociateResourceSharePermissionResponse, RusotoError<AssociateResourceSharePermissionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Associates a permission with a resource share.

fn create_resource_share<'life0, 'async_trait>(
    &'life0 self,
    input: CreateResourceShareRequest
) -> Pin<Box<dyn Future<Output = Result<CreateResourceShareResponse, RusotoError<CreateResourceShareError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a resource share.

fn delete_resource_share<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteResourceShareRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteResourceShareResponse, RusotoError<DeleteResourceShareError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes the specified resource share.

fn disassociate_resource_share<'life0, 'async_trait>(
    &'life0 self,
    input: DisassociateResourceShareRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateResourceShareResponse, RusotoError<DisassociateResourceShareError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Disassociates the specified principals or resources from the specified resource share.

fn disassociate_resource_share_permission<'life0, 'async_trait>(
    &'life0 self,
    input: DisassociateResourceSharePermissionRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateResourceSharePermissionResponse, RusotoError<DisassociateResourceSharePermissionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Disassociates an AWS RAM permission from a resource share.

fn enable_sharing_with_aws_organization<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<EnableSharingWithAwsOrganizationResponse, RusotoError<EnableSharingWithAwsOrganizationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Enables resource sharing within your AWS Organization.

The caller must be the master account for the AWS Organization.

fn get_permission<'life0, 'async_trait>(
    &'life0 self,
    input: GetPermissionRequest
) -> Pin<Box<dyn Future<Output = Result<GetPermissionResponse, RusotoError<GetPermissionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets the contents of an AWS RAM permission in JSON format.

fn get_resource_policies<'life0, 'async_trait>(
    &'life0 self,
    input: GetResourcePoliciesRequest
) -> Pin<Box<dyn Future<Output = Result<GetResourcePoliciesResponse, RusotoError<GetResourcePoliciesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets the policies for the specified resources that you own and have shared.

fn get_resource_share_associations<'life0, 'async_trait>(
    &'life0 self,
    input: GetResourceShareAssociationsRequest
) -> Pin<Box<dyn Future<Output = Result<GetResourceShareAssociationsResponse, RusotoError<GetResourceShareAssociationsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets the resources or principals for the resource shares that you own.

fn get_resource_share_invitations<'life0, 'async_trait>(
    &'life0 self,
    input: GetResourceShareInvitationsRequest
) -> Pin<Box<dyn Future<Output = Result<GetResourceShareInvitationsResponse, RusotoError<GetResourceShareInvitationsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets the invitations for resource sharing that you've received.

fn get_resource_shares<'life0, 'async_trait>(
    &'life0 self,
    input: GetResourceSharesRequest
) -> Pin<Box<dyn Future<Output = Result<GetResourceSharesResponse, RusotoError<GetResourceSharesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets the resource shares that you own or the resource shares that are shared with you.

fn list_pending_invitation_resources<'life0, 'async_trait>(
    &'life0 self,
    input: ListPendingInvitationResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListPendingInvitationResourcesResponse, RusotoError<ListPendingInvitationResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the resources in a resource share that is shared with you but that the invitation is still pending for.

fn list_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: ListPermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPermissionsResponse, RusotoError<ListPermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the AWS RAM permissions.

fn list_principals<'life0, 'async_trait>(
    &'life0 self,
    input: ListPrincipalsRequest
) -> Pin<Box<dyn Future<Output = Result<ListPrincipalsResponse, RusotoError<ListPrincipalsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the principals that you have shared resources with or that have shared resources with you.

fn list_resource_share_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: ListResourceSharePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListResourceSharePermissionsResponse, RusotoError<ListResourceSharePermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the AWS RAM permissions that are associated with a resource share.

fn list_resources<'life0, 'async_trait>(
    &'life0 self,
    input: ListResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<ListResourcesResponse, RusotoError<ListResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the resources that you added to a resource shares or the resources that are shared with you.

fn promote_resource_share_created_from_policy<'life0, 'async_trait>(
    &'life0 self,
    input: PromoteResourceShareCreatedFromPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<PromoteResourceShareCreatedFromPolicyResponse, RusotoError<PromoteResourceShareCreatedFromPolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Resource shares that were created by attaching a policy to a resource are visible only to the resource share owner, and the resource share cannot be modified in AWS RAM.

Use this API action to promote the resource share. When you promote the resource share, it becomes:

  • Visible to all principals that it is shared with.

  • Modifiable in AWS RAM.

fn reject_resource_share_invitation<'life0, 'async_trait>(
    &'life0 self,
    input: RejectResourceShareInvitationRequest
) -> Pin<Box<dyn Future<Output = Result<RejectResourceShareInvitationResponse, RusotoError<RejectResourceShareInvitationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Rejects an invitation to a resource share from another AWS account.

fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds the specified tags to the specified resource share that you own.

fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes the specified tags from the specified resource share that you own.

fn update_resource_share<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateResourceShareRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateResourceShareResponse, RusotoError<UpdateResourceShareError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the specified resource share that you own.

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