@Generated public interface ProvidersService
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 |
---|---|
ProviderInfo |
create(CreateProvider createProvider)
Create an auth provider.
|
void |
delete(DeleteProviderRequest deleteProviderRequest)
Delete a provider.
|
ProviderInfo |
get(GetProviderRequest getProviderRequest)
Get a provider.
|
ListProvidersResponse |
list(ListProvidersRequest listProvidersRequest)
List providers.
|
ListProviderSharesResponse |
listShares(ListSharesRequest listSharesRequest)
List shares by Provider.
|
ProviderInfo |
update(UpdateProvider updateProvider)
Update a provider.
|
ProviderInfo create(CreateProvider createProvider)
Creates a new authentication provider minimally based on a name and authentication type. The caller must be an admin on the metastore.
void delete(DeleteProviderRequest deleteProviderRequest)
Deletes an authentication provider, if the caller is a metastore admin or is the owner of the provider.
ProviderInfo get(GetProviderRequest getProviderRequest)
Gets a specific authentication provider. The caller must supply the name of the provider, and must either be a metastore admin or the owner of the provider.
ListProvidersResponse list(ListProvidersRequest listProvidersRequest)
Gets an array of available authentication providers. The caller must either be a metastore admin or the owner of the providers. Providers not owned by the caller are not included in the response. There is no guarantee of a specific ordering of the elements in the array.
ListProviderSharesResponse listShares(ListSharesRequest listSharesRequest)
Gets an array of a specified provider's shares within the metastore where:
* the caller is a metastore admin, or * the caller is the owner.
ProviderInfo update(UpdateProvider updateProvider)
Updates the information for an authentication provider, if the caller is a metastore admin or is the owner of the provider. If the update changes the provider name, the caller must be both a metastore admin and the owner of the provider.
Copyright © 2023. All rights reserved.