@Generated public class InstanceProfilesAPI extends Object
[Secure access to S3 buckets]: https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html
| Constructor and Description |
|---|
InstanceProfilesAPI(ApiClient apiClient)
Regular-use constructor
|
InstanceProfilesAPI(InstanceProfilesService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(AddInstanceProfile request)
Registers an instance profile in Databricks.
|
void |
edit(InstanceProfile request)
The only supported field to change is the optional IAM role ARN associated with the instance
profile.
|
InstanceProfilesService |
impl() |
Iterable<InstanceProfile> |
list()
List the instance profiles that the calling user can use to launch a cluster.
|
void |
remove(RemoveInstanceProfile request)
Remove the instance profile with the provided ARN.
|
void |
remove(String instanceProfileArn) |
public InstanceProfilesAPI(ApiClient apiClient)
public InstanceProfilesAPI(InstanceProfilesService mock)
public void add(AddInstanceProfile request)
This API is only available to admin users.
public void edit(InstanceProfile request)
* 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
public Iterable<InstanceProfile> list()
This API is available to all users.
public void remove(String instanceProfileArn)
public void remove(RemoveInstanceProfile request)
This API is only accessible to admin users.
public InstanceProfilesService impl()
Copyright © 2026. All rights reserved.