logo
pub trait Ram {
Show 24 methods 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; 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
; fn list_resource_types<'life0, 'async_trait>(
        &'life0 self,
        input: ListResourceTypesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListResourceTypesResponse, RusotoError<ListResourceTypesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; 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
; 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
; 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
; 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
; 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
; 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
;
}
Expand description

Trait representing the capabilities of the RAM API. RAM clients implement this trait.

Required Methods

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

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

Associates a permission with a resource share.

Creates a resource share.

Deletes the specified resource share.

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

Disassociates an AWS RAM permission from a resource share.

Enables resource sharing within your AWS Organization.

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

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

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

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

Gets the invitations that you have received for resource shares.

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

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

Lists the AWS RAM permissions.

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

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

Lists the shareable resource types supported by AWS RAM.

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

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.

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

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

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

Updates the specified resource share that you own.

Implementors