API standard and pre-built SDKs in multi-language
The OpenAPI specification of this product (ResourceSharing/2020-01-10) follows the RPC standard. Alibaba Cloud provides pre-built SDKs for popular programming languages to abstract low-level complexities such as request signing. This enables developers to call APIs using language-specific syntax without dealing with HTTP details directly.
Custom signature
If your specific needs, such as a customized signature, are not supported by the SDK, manually sign requests using the signature mechanism. Note that manual signing requires significant effort (usually about 5 business days). For support, join our DingTalk group (ID: 147535001692).
Before you begin
An Alibaba Cloud account has full administrative privileges. A compromised AccessKey pair exposes all associated resources to unauthorized access, posing a significant security risk. Create a Resource Access Management (RAM) user with API-only access and use RAM policies to apply the principle of least privilege (PoLP). Alibaba Cloud accounts are only used when explicitly required.
To call APIs securely, configure the following:
A RAM user account
An AccessKey pair for the account
Resource sharing invitations
|
API |
Title |
Description |
| ListResourceShareInvitations | ListResourceShareInvitations | A principal calls the ListResourceShareInvitations operation to query the resource sharing invitations that it has received. |
| AcceptResourceShareInvitation | AcceptResourceShareInvitation | A principal calls the AcceptResourceShareInvitation operation to accept a resource sharing invitation. |
| RejectResourceShareInvitation | RejectResourceShareInvitation | Rejects a resource sharing invitation. |
Resource sharing permissions
|
API |
Title |
Description |
| AssociateResourceSharePermission | AssociateResourceSharePermission | Associates permissions with a resource share. |
| DisassociateResourceSharePermission | DisassociateResourceSharePermission | Disassociates a permission from a resource share. You can disassociate a permission from a resource share only if the resource share does not contain resources of the type indicated by the permission. |
| ListResourceSharePermissions | ListResourceSharePermissions | Queries the permissions that are associated with a resource share. |
| GetPermission | GetPermission | Queries the information about a permission. |
| ListPermissionVersions | ListPermissionVersions | Queries the versions of a permission. |
| ListPermissions | ListPermissions | Queries the information about the default permission. |