Learn R Programming

paws.security.identity (version 0.7.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 to other Amazon Web Services accounts. If you use Organizations to manage your accounts, then you can share your resources with your entire organization or to organizational units (OUs). For supported resource types, you can also share resources with individual Identity and Access Management (IAM) roles and users.

To learn more about RAM, see the following resources:

Usage

ram(config = list(), credentials = list(), endpoint = NULL, region = NULL)

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.

  • credentials:

    • creds:

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

  • sts_regional_endpoint: Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

credentials

Optional credentials shorthand for the config parameter

  • creds:

    • 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

Optional shorthand for complete URL to use for the constructed client.

region

Optional shorthand for AWS Region used in instantiating the client.

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",
    sts_regional_endpoint = "string"
  ),
  credentials = list(
    creds = list(
      access_key_id = "string",
      secret_access_key = "string",
      session_token = "string"
    ),
    profile = "string",
    anonymous = "logical"
  ),
  endpoint = "string",
  region = "string"
)

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_permissionCreates a customer managed permission for a specified resource type that you can attach to resource shares
create_permission_versionCreates a new version of the specified customer managed permission
create_resource_shareCreates a resource share
delete_permissionDeletes the specified customer managed permission in the Amazon Web Services Region in which you call this operation
delete_permission_versionDeletes one version of a customer managed permission
delete_resource_shareDeletes the specified resource share
disassociate_resource_shareRemoves the specified principals or resources from participating in the specified resource share
disassociate_resource_share_permissionRemoves a managed permission from a resource share
enable_sharing_with_aws_organizationEnables resource sharing within your organization in Organizations
get_permissionRetrieves the contents of a managed 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 lists of resources and principals that associated 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_permission_associationsLists information about the managed permission and its associations to any resource shares that use this managed permission
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_replace_permission_associations_workRetrieves the current status of the asynchronous tasks performed by RAM when you perform the ReplacePermissionAssociationsWork operation
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_permission_created_from_policyWhen you attach a resource-based policy to a resource, RAM automatically creates a resource share of featureSet=CREATED_FROM_POLICY with a managed permission that has the same IAM permissions as the original resource-based policy
promote_resource_share_created_from_policyWhen you attach a resource-based policy to a resource, RAM automatically creates a resource share of featureSet=CREATED_FROM_POLICY with a managed permission that has the same IAM permissions as the original resource-based policy
reject_resource_share_invitationRejects an invitation to a resource share from another Amazon Web Services account
replace_permission_associationsUpdates all resource shares that use a managed permission to a different managed permission
set_default_permission_versionDesignates the specified version number as the default version for the specified customer managed permission
tag_resourceAdds the specified tag keys and values to a resource share or managed permission
untag_resourceRemoves the specified tag key and value pairs from the specified resource share or managed permission
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