Authorization information

Updated at:

Resource Access Management (RAM) is an Alibaba Cloud service for managing user identities and access to resources. RAM allows you to grant users the minimum permissions they need without sharing your Alibaba Cloud account credentials. RAM policies define the permissions to grant.

This topic describes the actions, resources, and conditions that Alibaba Cloud Model Studio (DataAnalysisGBI) defines for RAM policies. Its RAM code (RamCode) is dataanalysisgbi, and it supports action-level authorization.

General policy structure

RAM policies use JSON. The following example shows the general structure:

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}

The fields are described as follows:

  • Effect: whether the policy allows or denies access. Valid values: Allow and Deny.

  • Action: the specific operations to allow or deny. For more information, see Actions.

  • Resource: the objects affected by the action. Use resource ARNs to specify resources. For more information, see Resources.

  • Condition: the conditions under which the permissions take effect. This field is optional. For more information, see Conditions.

    • Condition_operator: the condition operator. Different types of conditions use different operators. For more information, see Policy elements.
    • Condition_key: the condition key.
    • Condition_value: the value of the condition key.

Actions

The following table lists the actions defined by Alibaba Cloud Model Studio (DataAnalysisGBI). Use these actions in the Action element of a RAM policy statement to grant permission to perform them. The columns are described as follows:

  • Action: a specific permission.

  • API: the API operation corresponding to the action.

  • Access level: the access level of an action. Valid values: Write, Read, and List.

  • Resource type: the types of resources for which the action supports authorization:

    • Required resource types are marked with an asterisk (*).
    • Actions that do not support resource-level authorization use All resources.
  • Condition key: a condition key defined by the cloud service. This column does not list common condition keys that apply to all actions.

  • Dependent action: an additional permission required to perform the action. The caller must also have permission to perform the dependent action.

ActionAPIAccess levelResource typeCondition keyDependent action

dataanalysisgbi:BatchDeleteSynonyms

BatchDeleteSynonyms

none

*All resources&#42;

None

None

dataanalysisgbi:CancelDatasourceAuthorization

CancelDatasourceAuthorization

none

*All resources&#42;

None

None

dataanalysisgbi:CreateBusinessLogic

CreateBusinessLogic

none

*All resources&#42;

None

None

dataanalysisgbi:CreateDatasourceAuthorization

CreateDatasourceAuthorization

none

*All resources&#42;

None

None

dataanalysisgbi:CreateSynonyms

CreateSynonyms

none

*All resources&#42;

None

None

dataanalysisgbi:CreateVirtualDatasourceInstance

CreateVirtualDatasourceInstance

none

*All resources&#42;

None

None

dataanalysisgbi:DeleteBusinessLogic

DeleteBusinessLogic

none

*All resources&#42;

None

None

dataanalysisgbi:DeleteColumn

DeleteColumn

none

*All resources&#42;

None

None

dataanalysisgbi:DeleteSelectedTable

DeleteSelectedTable

none

*All resources&#42;

None

None

dataanalysisgbi:DeleteVirtualDatasourceInstance

DeleteVirtualDatasourceInstance

none

*All resources&#42;

None

None

dataanalysisgbi:ListBusinessLogic

ListBusinessLogic

none

*All resources&#42;

None

None

dataanalysisgbi:ListColumn

ListColumn

none

*All resources&#42;

None

None

dataanalysisgbi:ListEnumMapping

ListEnumMapping

none

*All resources&#42;

None

None

dataanalysisgbi:ListSelectedTables

ListSelectedTables

none

*All resources&#42;

None

None

dataanalysisgbi:ListSynonyms

ListSynonyms

none

*All resources&#42;

None

None

dataanalysisgbi:ListVirtualDatasourceInstance

ListVirtualDatasourceInstance

none

*All resources&#42;

None

None

dataanalysisgbi:RecoverColumn

RecoverColumn

none

*All resources&#42;

None

None

dataanalysisgbi:ResyncTable

ResyncTable

none

*All resources&#42;

None

None

dataanalysisgbi:RunDataAnalysis

RunDataAnalysis

none

*All resources&#42;

None

None

dataanalysisgbi:RunDataResultAnalysis

RunDataResultAnalysis

none

*All resources&#42;

None

None

dataanalysisgbi:RunSqlGeneration

RunSqlGeneration

none

*All resources&#42;

None

None

dataanalysisgbi:SaveVirtualDatasourceDdl

SaveVirtualDatasourceDdl

none

*All resources&#42;

None

None

dataanalysisgbi:SyncRemoteTables

SyncRemoteTables

none

*All resources&#42;

None

None

dataanalysisgbi:UpdateBusinessLogic

UpdateBusinessLogic

none

*All resources&#42;

None

None

dataanalysisgbi:UpdateColumn

UpdateColumn

none

*All resources&#42;

None

None

dataanalysisgbi:UpdateEnumMapping

UpdateEnumMapping

none

*All resources&#42;

None

None

dataanalysisgbi:UpdateSynonyms

UpdateSynonyms

none

*All resources&#42;

None

None

dataanalysisgbi:UpdateTableInfo

UpdateTableInfo

none

*All resources&#42;

None

None

dataanalysisgbi:UpdateVirtualDatasourceInstance

UpdateVirtualDatasourceInstance

none

*All resources&#42;

None

None

Resources

Alibaba Cloud Model Studio (DataAnalysisGBI) does not support resource ARNs in the Resource element of a RAM policy statement. To allow access, specify "Resource": "*" in the policy statement.

Conditions

Alibaba Cloud Model Studio (DataAnalysisGBI) does not define service-specific condition keys. For common condition keys that apply to all cloud services, see Common condition keys.

You can create custom policies and attach them to RAM users, RAM user groups, or RAM roles. For more information, see the following topics:

  • Create custom policies
  • Grant permissions to a RAM user
  • Grant permissions to a RAM user group
  • Grant permissions to a RAM role