finspacedata function

FinSpace Public API

FinSpace Public API

The FinSpace APIs let you take actions inside the FinSpace.

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

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.

Returns

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.

Service syntax

svc <- finspacedata(
  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

associate_user_to_permission_groupAdds a user to a permission group to grant permissions for actions a user can perform in FinSpace
create_changesetCreates a new Changeset in a FinSpace Dataset
create_datasetCreates a new FinSpace Dataset
create_data_viewCreates a Dataview for a Dataset
create_permission_groupCreates a group of permissions for various actions that a user can perform in FinSpace
create_userCreates a new user in FinSpace
delete_datasetDeletes a FinSpace Dataset
delete_permission_groupDeletes a permission group
disable_userDenies access to the FinSpace web application and API for the specified user
disassociate_user_from_permission_groupRemoves a user from a permission group
enable_userAllows the specified user to access the FinSpace web application and API
get_changesetGet information about a Changeset
get_datasetReturns information about a Dataset
get_data_viewGets information about a Dataview
get_external_data_view_access_detailsReturns the credentials to access the external Dataview from an S3 location
get_permission_groupRetrieves the details of a specific permission group
get_programmatic_access_credentialsRequest programmatic credentials to use with FinSpace SDK
get_userRetrieves details for a specific user
get_working_locationA temporary Amazon S3 location, where you can copy your files from a source location to stage or use as a scratch space in FinSpace notebook
list_changesetsLists the FinSpace Changesets for a Dataset
list_datasetsLists all of the active Datasets that a user has access to
list_data_viewsLists all available Dataviews for a Dataset
list_permission_groupsLists all available permission groups in FinSpace
list_permission_groups_by_userLists all the permission groups that are associated with a specific user
list_usersLists all available users in FinSpace
list_users_by_permission_groupLists details of all the users in a specific permission group
reset_user_passwordResets the password for a specified user ID and generates a temporary one
update_changesetUpdates a FinSpace Changeset
update_datasetUpdates a FinSpace Dataset
update_permission_groupModifies the details of a permission group
update_userModifies the details of the specified user

Examples

## Not run: svc <- finspacedata() svc$associate_user_to_permission_group( Foo = 123 ) ## End(Not run)
  • Maintainer: Dyfan Jones
  • License: Apache License (>= 2.0)
  • Last published: 2025-03-17