Learn R Programming

paws (version 0.2.0)

ram: AWS Resource Access Manager

Description

This is the Resource Access Manager API Reference. This documentation provides descriptions and syntax for each of the actions and data types in RAM. RAM is a service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you have multiple Amazon Web Services accounts, you can use RAM to share those resources with other accounts. If you use Organizations to manage your accounts, then you share your resources with your organization or organizational units (OUs). For supported resource types, you can also share resources with individual Identity and Access Management (IAM) roles an users.

To learn more about RAM, see the following resources:

Usage

ram(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

  • access_key_id: AWS access key ID

  • secret_access_key: AWS secret access key

  • session_token: AWS temporary session token

  • profile: The name of a profile to use. If not given, then the default profile is used.

  • anonymous: Set anonymous credentials.

  • endpoint: The complete URL to use for the constructed client.

  • region: The AWS Region used in instantiating the client.

  • close_connection: Immediately close all HTTP connections.

  • timeout: The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

  • s3_force_path_style: Set this to true to force the request to use path-style addressing, i.e., http://s3.amazonaws.com/BUCKET/KEY.

Service syntax

svc <- ram(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string",
      anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical"
  )
)

Operations

accept_resource_share_invitationAccepts an invitation to a resource share from another Amazon Web Services account
associate_resource_shareAdds the specified list of principals and list of resources to a resource share
associate_resource_share_permissionAdds or replaces the RAM permission for a resource type included in a resource share
create_resource_shareCreates a resource share
delete_resource_shareDeletes the specified resource share
disassociate_resource_shareDisassociates the specified principals or resources from the specified resource share
disassociate_resource_share_permissionDisassociates an RAM permission from a resource share
enable_sharing_with_aws_organizationEnables resource sharing within your organization in Organizations
get_permissionGets the contents of an RAM permission in JSON format
get_resource_policiesRetrieves the resource policies for the specified resources that you own and have shared
get_resource_share_associationsRetrieves the resource and principal associations for resource shares that you own
get_resource_share_invitationsRetrieves details about invitations that you have received for resource shares
get_resource_sharesRetrieves details about the resource shares that you own or that are shared with you
list_pending_invitation_resourcesLists the resources in a resource share that is shared with you but for which the invitation is still PENDING
list_permissionsRetrieves a list of available RAM permissions that you can use for the supported resource types
list_permission_versionsLists the available versions of the specified RAM permission
list_principalsLists the principals that you are sharing resources with or that are sharing resources with you
list_resourcesLists the resources that you added to a resource share or the resources that are shared with you
list_resource_share_permissionsLists the RAM permissions that are associated with a resource share
list_resource_typesLists the resource types that can be shared by RAM
promote_resource_share_created_from_policyWhen you attach a resource-based permission policy to a resource, it automatically creates a resource share
reject_resource_share_invitationRejects an invitation to a resource share from another Amazon Web Services account
tag_resourceAdds the specified tag keys and values to the specified resource share
untag_resourceRemoves the specified tag key and value pairs from the specified resource share
update_resource_shareModifies some of the properties of the specified resource share

Examples

Run this code
if (FALSE) {
svc <- ram()
svc$accept_resource_share_invitation(
  Foo = 123
)
}

Run the code above in your browser using DataLab