export declare class RoleConnectionsAPI export declare class RoleConnectionsAPI No summary provided.
constructor(rest)
Constructs a new instance of the
RoleConnectionsAPI class| Name | Type | Optional | Description |
|---|---|---|---|
| rest | REST | No | None |
getMetadataRecords(applicationId, { signal }?)
:
Promise<RESTGetAPIApplicationRoleConnectionMetadataResult>
Gets the role connection metadata records for the application
| Name | Type | Optional | Description |
|---|---|---|---|
| applicationId | Snowflake | No | The id of the application to get role connection metadata records for |
| { signal } | Pick<RequestData, 'signal'> | Yes | None |
updateMetadataRecords(applicationId, body, { signal }?)
:
Promise<RESTPutAPIApplicationRoleConnectionMetadataResult>
Updates the role connection metadata records for the application
| Name | Type | Optional | Description |
|---|---|---|---|
| applicationId | Snowflake | No | The id of the application to update role connection metadata records for |
| body | RESTPutAPIApplicationCommandPermissionsJSONBody | No | The new role connection metadata records |
| { signal } | Pick<RequestData, 'signal'> | Yes | None |