AWS.RAM (aws-elixir v0.8.0) View Source

Use AWS Resource Access Manager to share AWS resources between AWS accounts.

To share a resource, you create a resource share, associate the resource with the resource share, and specify the principals that can access the resources associated with the resource share. The following principals are supported: AWS accounts, organizational units (OU) from AWS Organizations, and organizations from AWS Organizations.

For more information, see the AWS Resource Access Manager User Guide.

Link to this section Summary

Functions

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.

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.

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.

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.

Link to this section Functions

Link to this function

accept_resource_share_invitation(client, input, options \\ [])

View Source

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

Link to this function

associate_resource_share(client, input, options \\ [])

View Source

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

Link to this function

associate_resource_share_permission(client, input, options \\ [])

View Source

Associates a permission with a resource share.

Link to this function

create_resource_share(client, input, options \\ [])

View Source

Creates a resource share.

Link to this function

delete_resource_share(client, input, options \\ [])

View Source

Deletes the specified resource share.

Link to this function

disassociate_resource_share(client, input, options \\ [])

View Source

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

Link to this function

disassociate_resource_share_permission(client, input, options \\ [])

View Source

Disassociates an AWS RAM permission from a resource share.

Link to this function

enable_sharing_with_aws_organization(client, input, options \\ [])

View Source

Enables resource sharing within your AWS Organization.

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

Link to this function

get_permission(client, input, options \\ [])

View Source

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

Link to this function

get_resource_policies(client, input, options \\ [])

View Source

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

Link to this function

get_resource_share_associations(client, input, options \\ [])

View Source

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

Link to this function

get_resource_share_invitations(client, input, options \\ [])

View Source

Gets the invitations that you have received for resource shares.

Link to this function

get_resource_shares(client, input, options \\ [])

View Source

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

Link to this function

list_pending_invitation_resources(client, input, options \\ [])

View Source

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

Link to this function

list_permissions(client, input, options \\ [])

View Source

Lists the AWS RAM permissions.

Link to this function

list_principals(client, input, options \\ [])

View Source

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

Link to this function

list_resource_share_permissions(client, input, options \\ [])

View Source

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

Link to this function

list_resource_types(client, input, options \\ [])

View Source

Lists the shareable resource types supported by AWS RAM.

Link to this function

list_resources(client, input, options \\ [])

View Source

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

Link to this function

promote_resource_share_created_from_policy(client, input, options \\ [])

View Source

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.

Link to this function

reject_resource_share_invitation(client, input, options \\ [])

View Source

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

Link to this function

tag_resource(client, input, options \\ [])

View Source

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

Link to this function

untag_resource(client, input, options \\ [])

View Source

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

Link to this function

update_resource_share(client, input, options \\ [])

View Source

Updates the specified resource share that you own.