@Generated public interface InstanceProfilesService
[Secure access to S3 buckets]: https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
Modifier and Type | Method and Description |
---|---|
void |
add(AddInstanceProfile addInstanceProfile)
Register an instance profile.
|
void |
edit(InstanceProfile instanceProfile)
Edit an instance profile.
|
ListInstanceProfilesResponse |
list()
List available instance profiles.
|
void |
remove(RemoveInstanceProfile removeInstanceProfile)
Remove the instance profile.
|
void add(AddInstanceProfile addInstanceProfile)
In the UI, you can select the instance profile when launching clusters. This API is only available to admin users.
void edit(InstanceProfile instanceProfile)
The only supported field to change is the optional IAM role ARN associated with the instance profile. It is required to specify the IAM role ARN if both of the following are true:
* Your role name and instance profile name do not match. The name is the part after the last slash in each ARN. * You want to use the instance profile with [Databricks SQL Serverless].
To understand where these fields are in the AWS console, see [Enable serverless SQL warehouses].
This API is only available to admin users.
[Databricks SQL Serverless]: https://docs.databricks.com/sql/admin/serverless.html [Enable serverless SQL warehouses]: https://docs.databricks.com/sql/admin/serverless.html
ListInstanceProfilesResponse list()
List the instance profiles that the calling user can use to launch a cluster.
This API is available to all users.
void remove(RemoveInstanceProfile removeInstanceProfile)
Remove the instance profile with the provided ARN. Existing clusters with this instance profile will continue to function.
This API is only accessible to admin users.
Copyright © 2023. All rights reserved.