Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RAM

import { RAM } from "https://aws-api.deno.dev/v0.2/services/ram.ts?docs=full";
class RAM {
constructor(apiFactory: client.ApiFactory);
async acceptResourceShareInvitation(params: AcceptResourceShareInvitationRequest, opts?: client.RequestOptions): Promise<AcceptResourceShareInvitationResponse>;
async associateResourceShare(params: AssociateResourceShareRequest, opts?: client.RequestOptions): Promise<AssociateResourceShareResponse>;
async associateResourceSharePermission(params: AssociateResourceSharePermissionRequest, opts?: client.RequestOptions): Promise<AssociateResourceSharePermissionResponse>;
async createResourceShare(params: CreateResourceShareRequest, opts?: client.RequestOptions): Promise<CreateResourceShareResponse>;
async deleteResourceShare(params: DeleteResourceShareRequest, opts?: client.RequestOptions): Promise<DeleteResourceShareResponse>;
async disassociateResourceShare(params: DisassociateResourceShareRequest, opts?: client.RequestOptions): Promise<DisassociateResourceShareResponse>;
async disassociateResourceSharePermission(params: DisassociateResourceSharePermissionRequest, opts?: client.RequestOptions): Promise<DisassociateResourceSharePermissionResponse>;
async enableSharingWithAwsOrganization(opts?: client.RequestOptions): Promise<EnableSharingWithAwsOrganizationResponse>;
async getPermission(params: GetPermissionRequest, opts?: client.RequestOptions): Promise<GetPermissionResponse>;
async getResourcePolicies(params: GetResourcePoliciesRequest, opts?: client.RequestOptions): Promise<GetResourcePoliciesResponse>;
async getResourceShareAssociations(params: GetResourceShareAssociationsRequest, opts?: client.RequestOptions): Promise<GetResourceShareAssociationsResponse>;
async getResourceShareInvitations(params?: GetResourceShareInvitationsRequest, opts?: client.RequestOptions): Promise<GetResourceShareInvitationsResponse>;
async getResourceShares(params: GetResourceSharesRequest, opts?: client.RequestOptions): Promise<GetResourceSharesResponse>;
async listPendingInvitationResources(params: ListPendingInvitationResourcesRequest, opts?: client.RequestOptions): Promise<ListPendingInvitationResourcesResponse>;
async listPermissions(params?: ListPermissionsRequest, opts?: client.RequestOptions): Promise<ListPermissionsResponse>;
async listPrincipals(params: ListPrincipalsRequest, opts?: client.RequestOptions): Promise<ListPrincipalsResponse>;
async listResources(params: ListResourcesRequest, opts?: client.RequestOptions): Promise<ListResourcesResponse>;
async listResourceSharePermissions(params: ListResourceSharePermissionsRequest, opts?: client.RequestOptions): Promise<ListResourceSharePermissionsResponse>;
async listResourceTypes(params?: ListResourceTypesRequest, opts?: client.RequestOptions): Promise<ListResourceTypesResponse>;
async promoteResourceShareCreatedFromPolicy(params: PromoteResourceShareCreatedFromPolicyRequest, opts?: client.RequestOptions): Promise<PromoteResourceShareCreatedFromPolicyResponse>;
async rejectResourceShareInvitation(params: RejectResourceShareInvitationRequest, opts?: client.RequestOptions): Promise<RejectResourceShareInvitationResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateResourceShare(params: UpdateResourceShareRequest, opts?: client.RequestOptions): Promise<UpdateResourceShareResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new RAM(apiFactory: client.ApiFactory)
[src]

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

§
enableSharingWithAwsOrganization(opts?: client.RequestOptions): Promise<EnableSharingWithAwsOrganizationResponse>
[src]

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 resources that you added to a resource shares or the resources that are shared with you.

§

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

§

Lists the shareable resource types supported by AWS RAM.

§

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.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

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

§

Updates the specified resource share that you own.

§Static Properties