Introduction
IBM® watsonx.data is a data management solution for collecting, storing, querying, and analyzing all your enterprise data (structured, semi-structured, and unstructured) with a single unified data platform. It provides a flexible and reliable platform that is optimized to work on open data formats.
The api are in beta state and expected to change.
Endpoint URLs
The base URLs come from the service instance. To find the URL, view the service credentials by clicking the name of the service in the Resource list. Use the value of the URL. Add the method to form the complete API endpoint for your request.
Authentication
Required Purpose: To work with the API, you must use an IBM Cloud Identity and Access Management (IAM) access token. The token is used to determine the actions that a user or service ID has access to when they use the API.
You can generate an IAM token for an authenticated user or service ID by using the IAM Identity Services API. IAM tokens are generated by using the user or service ID's API key. For more information, see Generating an IBM Cloud IAM token by using an API key.
To use the API, add a valid IAM token to the HTTP Authorization request header, for example, -H 'Authorization: Bearer {TOKEN}'
.
To retrieve your access token:
curl -X POST "https://iam.cloud.ibm.com/identity/token" --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' --data-urlencode 'grant_type=urn:ibm:params:oauth:grant-type:apikey' --data-urlencode 'apikey={API_KEY}'
Replace {API_KEY}
with your IAM API key.
Auditing
Required if applicable Purpose: Describes that the API generates auditing events that can be consumed by the Activity Tracker service, and links to your related product docs for more information. Required only if any of the API's methods is enabled to generate auditing events.
Example:
You can monitor API activity within your account by using the IBM Cloud Activity Tracker service. Whenever an API method is called, an event is generated that you can then track and audit from within Activity Tracker. The specific event type is listed for each individual method.
For more information about how to track Certificate Manager activity, see Auditing events for Certificate Manager.
Error handling
This API uses standard HTTP response codes to indicate whether a method completed successfully. A 200
response indicates success. A 400
type response indicates a failure, and a 500
type response indicates an internal system error.
HTTP Error Code | Description | Recovery |
---|---|---|
200 |
Success | The request was successful. |
201 |
Created | The requested resource successfully created in a synchronous manner. |
204 |
No Content | The server successfully processed the request and is not returning any content. |
400 |
Bad Request | The input parameters in the request body are either incomplete or in the wrong format. Be sure to include all required parameters in your request. |
401 |
Unauthorized | You are not authorized to make this request. Log in to IBM Cloud and try again. If this error persists, contact the account owner to check your permissions. |
403 |
Forbidden | The supplied authentication is not authorized to access '{namespace}'. |
404 |
Not Found | The requested resource could not be found. |
409 |
Conflict | The entity is already in the requested state. |
500 |
Internal Server Error | Your request could not be processed. Wait a few minutes and try again. |
Pagination
Some API requests might return many results. To avoid performance issues, these results are returned one page at a time, with a limited number of results on each page. GET requests for the following resources use pagination:
/v1/statement
For the request that uses pagination, the response does include following urls to make subsequent requests :
infoUri
: The URL for requesting the first page of results.nextUri
: The URL for requesting the next page of results.
Methods
Get bucket registrations
Get list of registered buckets
Get list of registered buckets.
Get list of registered buckets.
Get list of registered buckets.
Get list of registered buckets.
GET /bucket_registrations
(watsonxData *WatsonxDataV2) ListBucketRegistrations(listBucketRegistrationsOptions *ListBucketRegistrationsOptions) (result *BucketRegistrationCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListBucketRegistrationsWithContext(ctx context.Context, listBucketRegistrationsOptions *ListBucketRegistrationsOptions) (result *BucketRegistrationCollection, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistrationCollection> listBucketRegistrations(ListBucketRegistrationsOptions listBucketRegistrationsOptions)
list_bucket_registrations(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listBucketRegistrations(params)
Request
Instantiate the ListBucketRegistrationsOptions
struct and set the fields to provide parameter values for the ListBucketRegistrations
method.
Use the ListBucketRegistrationsOptions.Builder
to create a ListBucketRegistrationsOptions
object that contains the parameter values for the listBucketRegistrations
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9:/-]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListBucketRegistrations options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
The listBucketRegistrations options.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
parameters
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {CRN}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations"
listBucketRegistrationsOptions := watsonxDataService.NewListBucketRegistrationsOptions() bucketRegistrationCollection, response, err := watsonxDataService.ListBucketRegistrations(listBucketRegistrationsOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(bucketRegistrationCollection, "", " ") fmt.Println(string(b))
let res; try { res = await watsonxDataService.listBucketRegistrations({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListBucketRegistrationsOptions listBucketRegistrationsOptions = new ListBucketRegistrationsOptions.Builder() .build(); Response<BucketRegistrationCollection> response = watsonxDataService.listBucketRegistrations(listBucketRegistrationsOptions).execute(); BucketRegistrationCollection bucketRegistrationCollection = response.getResult(); System.out.println(bucketRegistrationCollection);
response = watsonx_data_service.list_bucket_registrations() bucket_registration_collection = response.get_result() print(json.dumps(bucket_registration_collection, indent=2))
Response
List bucket registrations
Buckets
Possible values: 0 ≤ number of items ≤ 10000
List bucket registrations.
{
"bucket_registrations": [
{
"actions": [
"browse",
"view",
"modify",
"create",
"grant",
"revoke",
"update",
"remove",
"activate",
"register"
],
"associated_catalog": {
"catalog_name": "iceberg_catalog",
"catalog_tags": []
},
"bucket_details": {
"bucket_name": "iceberg-bucket",
"endpoint": "http://xyz-minio-svc:9000"
},
"bucket_display_name": "hive-bucket",
"bucket_id": "iceberg-bucket",
"bucket_type": "minio",
"created_by": "user",
"created_on": "1699457595",
"description": "default bucket",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"storage_details": {
"container_name": "<container_name>",
"storage_account_name": "<storage_account_name>",
"endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/",
"auth_mode": "<auth_mode>"
},
"tags": [
"tag1",
"tag2"
]
},
{
"actions": [
"browse",
"view",
"modify",
"create",
"grant",
"revoke",
"update",
"remove",
"activate",
"register"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_tags": []
},
"bucket_details": {
"bucket_name": "hive-bucket",
"endpoint": "http://xyz-minio-svc:9000"
},
"bucket_display_name": "hive-bucket",
"bucket_id": "hive-bucket",
"bucket_type": "minio",
"created_by": "user",
"created_on": "1699457595",
"description": "default bucket",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"storage_details": {
"container_name": "<conatiner_name>",
"storage_account_name": "<storage_account_name>",
"endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/",
"auth_mode": "<auth_mode>"
},
"tags": [
"tag1",
"tag2"
]
}
]
}
Buckets.
Possible values: 0 ≤ number of items ≤ 10000
Examples:{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
- BucketRegistrations
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- AssociatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- BucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- StorageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
List bucket registrations.
{
"bucket_registrations": [
{
"actions": [
"browse",
"view",
"modify",
"create",
"grant",
"revoke",
"update",
"remove",
"activate",
"register"
],
"associated_catalog": {
"catalog_name": "iceberg_catalog",
"catalog_tags": []
},
"bucket_details": {
"bucket_name": "iceberg-bucket",
"endpoint": "http://xyz-minio-svc:9000"
},
"bucket_display_name": "hive-bucket",
"bucket_id": "iceberg-bucket",
"bucket_type": "minio",
"created_by": "user",
"created_on": "1699457595",
"description": "default bucket",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"storage_details": {
"container_name": "<container_name>",
"storage_account_name": "<storage_account_name>",
"endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/",
"auth_mode": "<auth_mode>"
},
"tags": [
"tag1",
"tag2"
]
},
{
"actions": [
"browse",
"view",
"modify",
"create",
"grant",
"revoke",
"update",
"remove",
"activate",
"register"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_tags": []
},
"bucket_details": {
"bucket_name": "hive-bucket",
"endpoint": "http://xyz-minio-svc:9000"
},
"bucket_display_name": "hive-bucket",
"bucket_id": "hive-bucket",
"bucket_type": "minio",
"created_by": "user",
"created_on": "1699457595",
"description": "default bucket",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"storage_details": {
"container_name": "<conatiner_name>",
"storage_account_name": "<storage_account_name>",
"endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/",
"auth_mode": "<auth_mode>"
},
"tags": [
"tag1",
"tag2"
]
}
]
}
Buckets.
Possible values: 0 ≤ number of items ≤ 10000
Examples:{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
- bucketRegistrations
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
List bucket registrations.
{
"bucket_registrations": [
{
"actions": [
"browse",
"view",
"modify",
"create",
"grant",
"revoke",
"update",
"remove",
"activate",
"register"
],
"associated_catalog": {
"catalog_name": "iceberg_catalog",
"catalog_tags": []
},
"bucket_details": {
"bucket_name": "iceberg-bucket",
"endpoint": "http://xyz-minio-svc:9000"
},
"bucket_display_name": "hive-bucket",
"bucket_id": "iceberg-bucket",
"bucket_type": "minio",
"created_by": "user",
"created_on": "1699457595",
"description": "default bucket",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"storage_details": {
"container_name": "<container_name>",
"storage_account_name": "<storage_account_name>",
"endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/",
"auth_mode": "<auth_mode>"
},
"tags": [
"tag1",
"tag2"
]
},
{
"actions": [
"browse",
"view",
"modify",
"create",
"grant",
"revoke",
"update",
"remove",
"activate",
"register"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_tags": []
},
"bucket_details": {
"bucket_name": "hive-bucket",
"endpoint": "http://xyz-minio-svc:9000"
},
"bucket_display_name": "hive-bucket",
"bucket_id": "hive-bucket",
"bucket_type": "minio",
"created_by": "user",
"created_on": "1699457595",
"description": "default bucket",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"storage_details": {
"container_name": "<conatiner_name>",
"storage_account_name": "<storage_account_name>",
"endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/",
"auth_mode": "<auth_mode>"
},
"tags": [
"tag1",
"tag2"
]
}
]
}
Buckets.
Possible values: 0 ≤ number of items ≤ 10000
Examples:{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
- bucket_registrations
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storage_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
List bucket registrations.
{
"bucket_registrations": [
{
"actions": [
"browse",
"view",
"modify",
"create",
"grant",
"revoke",
"update",
"remove",
"activate",
"register"
],
"associated_catalog": {
"catalog_name": "iceberg_catalog",
"catalog_tags": []
},
"bucket_details": {
"bucket_name": "iceberg-bucket",
"endpoint": "http://xyz-minio-svc:9000"
},
"bucket_display_name": "hive-bucket",
"bucket_id": "iceberg-bucket",
"bucket_type": "minio",
"created_by": "user",
"created_on": "1699457595",
"description": "default bucket",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"storage_details": {
"container_name": "<container_name>",
"storage_account_name": "<storage_account_name>",
"endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/",
"auth_mode": "<auth_mode>"
},
"tags": [
"tag1",
"tag2"
]
},
{
"actions": [
"browse",
"view",
"modify",
"create",
"grant",
"revoke",
"update",
"remove",
"activate",
"register"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_tags": []
},
"bucket_details": {
"bucket_name": "hive-bucket",
"endpoint": "http://xyz-minio-svc:9000"
},
"bucket_display_name": "hive-bucket",
"bucket_id": "hive-bucket",
"bucket_type": "minio",
"created_by": "user",
"created_on": "1699457595",
"description": "default bucket",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"storage_details": {
"container_name": "<conatiner_name>",
"storage_account_name": "<storage_account_name>",
"endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/",
"auth_mode": "<auth_mode>"
},
"tags": [
"tag1",
"tag2"
]
}
]
}
Buckets.
Possible values: 0 ≤ number of items ≤ 10000
Examples:{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
- bucket_registrations
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storage_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "bucket_registrations": [ { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "iceberg_catalog", "catalog_tags": [] }, "bucket_details": { "bucket_name": "iceberg-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "iceberg-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "storage_details": { "container_name": "<container_name>", "storage_account_name": "<storage_account_name>", "endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/", "auth_mode": "<auth_mode>" }, "tags": [ "tag1", "tag2" ] }, { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [] }, "bucket_details": { "bucket_name": "hive-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "hive-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "storage_details": { "container_name": "<conatiner_name>", "storage_account_name": "<storage_account_name>", "endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/", "auth_mode": "<auth_mode>" }, "tags": [ "tag1", "tag2" ] } ] }
{ "bucket_registrations": [ { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "iceberg_catalog", "catalog_tags": [] }, "bucket_details": { "bucket_name": "iceberg-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "iceberg-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "storage_details": { "container_name": "<container_name>", "storage_account_name": "<storage_account_name>", "endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/", "auth_mode": "<auth_mode>" }, "tags": [ "tag1", "tag2" ] }, { "actions": [ "browse", "view", "modify", "create", "grant", "revoke", "update", "remove", "activate", "register" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [] }, "bucket_details": { "bucket_name": "hive-bucket", "endpoint": "http://xyz-minio-svc:9000" }, "bucket_display_name": "hive-bucket", "bucket_id": "hive-bucket", "bucket_type": "minio", "created_by": "user", "created_on": "1699457595", "description": "default bucket", "managed_by": "ibm", "region": "us-south", "state": "active", "storage_details": { "container_name": "<conatiner_name>", "storage_account_name": "<storage_account_name>", "endpoint": "abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/", "auth_mode": "<auth_mode>" }, "tags": [ "tag1", "tag2" ] } ] }
Register bucket
Register a new bucket
Register a new bucket.
Register a new bucket.
Register a new bucket.
Register a new bucket.
POST /bucket_registrations
(watsonxData *WatsonxDataV2) CreateBucketRegistration(createBucketRegistrationOptions *CreateBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateBucketRegistrationWithContext(ctx context.Context, createBucketRegistrationOptions *CreateBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistration> createBucketRegistration(CreateBucketRegistrationOptions createBucketRegistrationOptions)
create_bucket_registration(
self,
bucket_type: str,
description: str,
managed_by: str,
*,
associated_catalog: Optional['BucketCatalog'] = None,
bucket_details: Optional['BucketDetails'] = None,
bucket_display_name: Optional[str] = None,
region: Optional[str] = None,
storage_details: Optional['StorageDetails'] = None,
tags: Optional[List[str]] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createBucketRegistration(params)
Request
Instantiate the CreateBucketRegistrationOptions
struct and set the fields to provide parameter values for the CreateBucketRegistration
method.
Use the CreateBucketRegistrationOptions.Builder
to create a CreateBucketRegistrationOptions
object that contains the parameter values for the createBucketRegistration
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9:/-]+$
Request body
bucket type
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Example:
ibm_cos
bucket description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$
Example:
COS bucket for customer data
managed by
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
ibm
bucket catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
bucket details
bucket display name
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
^.*$
Example:
sample-bucket-displayname
region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
us-south
storage details
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$
Examples:[ "bucket-tag1", "bucket-tag2" ]
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateBucketRegistration options.
bucket type.
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- AssociatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- BucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
storage details.
- StorageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "bucket-tag1", "bucket-tag2" ]
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
The createBucketRegistration options.
bucket type.
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
storage details.
- storageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "bucket-tag1", "bucket-tag2" ]
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
parameters
bucket type.
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:managed by.
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/.*/
Examples:region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:storage details.
- storage_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
parameters
bucket type.
Allowable values: [
aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:managed by.
Allowable values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/.*/
Examples:region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:storage details.
- storageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {CRN}" -H "Content-Type: application/json" -d '{ "bucket_details": { "access_key": "<access_key>", "bucket_name": "sample-bucket", "endpoint": "https://s3.{region}.cloud-object-storage.appdomain.cloud/", "secret_key": "secret_key" }, "bucket_display_name": "sample-bucket-displayname", "bucket_tags": [ "read customer data", "write customer data'" ], "bucket_type": "ibm_cos", "catalog_name": "sampleCatalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "description": "COS bucket for customer data", "managed_by": "ibm", "region": "us-south", "state": "active", "table_type": "iceberg" }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations"
createBucketRegistrationOptions := watsonxDataService.NewCreateBucketRegistrationOptions( "ibm_cos", "COS bucket for customer data", "ibm", ) bucketRegistration, response, err := watsonxDataService.CreateBucketRegistration(createBucketRegistrationOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(bucketRegistration, "", " ") fmt.Println(string(b))
const params = { bucketType: 'ibm_cos', description: 'COS bucket for customer data', managedBy: 'ibm', }; let res; try { res = await watsonxDataService.createBucketRegistration(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateBucketRegistrationOptions createBucketRegistrationOptions = new CreateBucketRegistrationOptions.Builder() .bucketType("ibm_cos") .description("COS bucket for customer data") .managedBy("ibm") .build(); Response<BucketRegistration> response = watsonxDataService.createBucketRegistration(createBucketRegistrationOptions).execute(); BucketRegistration bucketRegistration = response.getResult(); System.out.println(bucketRegistration);
response = watsonx_data_service.create_bucket_registration( bucket_type='ibm_cos', description='COS bucket for customer data', managed_by='ibm', ) bucket_registration = response.get_result() print(json.dumps(bucket_registration, indent=2))
Response
Bucket
bucket catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
bucket type
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Example:
ibm_cos
Username who created the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Creation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
1686120645
bucket description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$
Example:
COS bucket for customer data
managed by
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
ibm
mark bucket active or inactive
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
active
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Examples:[ "read", "update" ]
bucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$
Example:
sample-bucket-displayname
bucket ID auto generated during bucket registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
samplebucket123
Region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
us-south
storage details
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- AssociatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- BucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- StorageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storage_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storage_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
Get bucket
Get a registered bucket
Get a registered bucket.
Get a registered bucket.
Get a registered bucket.
Get a registered bucket.
GET /bucket_registrations/{bucket_id}
(watsonxData *WatsonxDataV2) GetBucketRegistration(getBucketRegistrationOptions *GetBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetBucketRegistrationWithContext(ctx context.Context, getBucketRegistrationOptions *GetBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistration> getBucketRegistration(GetBucketRegistrationOptions getBucketRegistrationOptions)
get_bucket_registration(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getBucketRegistration(params)
Request
Instantiate the GetBucketRegistrationOptions
struct and set the fields to provide parameter values for the GetBucketRegistration
method.
Use the GetBucketRegistrationOptions.Builder
to create a GetBucketRegistrationOptions
object that contains the parameter values for the getBucketRegistration
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {CRN}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}"
getBucketRegistrationOptions := watsonxDataService.NewGetBucketRegistrationOptions( "testString", ) bucketRegistration, response, err := watsonxDataService.GetBucketRegistration(getBucketRegistrationOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(bucketRegistration, "", " ") fmt.Println(string(b))
const params = { bucketId: 'testString', }; let res; try { res = await watsonxDataService.getBucketRegistration(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetBucketRegistrationOptions getBucketRegistrationOptions = new GetBucketRegistrationOptions.Builder() .bucketId("testString") .build(); Response<BucketRegistration> response = watsonxDataService.getBucketRegistration(getBucketRegistrationOptions).execute(); BucketRegistration bucketRegistration = response.getResult(); System.out.println(bucketRegistration);
response = watsonx_data_service.get_bucket_registration( bucket_id='testString', ) bucket_registration = response.get_result() print(json.dumps(bucket_registration, indent=2))
Response
Bucket
bucket catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
bucket type
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Example:
ibm_cos
Username who created the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Creation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
1686120645
bucket description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$
Example:
COS bucket for customer data
managed by
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
ibm
mark bucket active or inactive
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
active
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Examples:[ "read", "update" ]
bucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$
Example:
sample-bucket-displayname
bucket ID auto generated during bucket registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
samplebucket123
Region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
us-south
storage details
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- AssociatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- BucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- StorageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storage_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storage_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
Deregister Bucket
Deregister a bucket
Deregister a bucket.
Deregister a bucket.
Deregister a bucket.
Deregister a bucket.
DELETE /bucket_registrations/{bucket_id}
(watsonxData *WatsonxDataV2) DeleteBucketRegistration(deleteBucketRegistrationOptions *DeleteBucketRegistrationOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteBucketRegistrationWithContext(ctx context.Context, deleteBucketRegistrationOptions *DeleteBucketRegistrationOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteBucketRegistration(DeleteBucketRegistrationOptions deleteBucketRegistrationOptions)
delete_bucket_registration(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteBucketRegistration(params)
Request
Instantiate the DeleteBucketRegistrationOptions
struct and set the fields to provide parameter values for the DeleteBucketRegistration
method.
Use the DeleteBucketRegistrationOptions.Builder
to create a DeleteBucketRegistrationOptions
object that contains the parameter values for the deleteBucketRegistration
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {CRN}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}"
deleteBucketRegistrationOptions := watsonxDataService.NewDeleteBucketRegistrationOptions( "testString", ) response, err := watsonxDataService.DeleteBucketRegistration(deleteBucketRegistrationOptions) if err != nil { panic(err) } if response.StatusCode != 204 { fmt.Printf("\nUnexpected response status code received from DeleteBucketRegistration(): %d\n", response.StatusCode) }
const params = { bucketId: 'testString', }; try { await watsonxDataService.deleteBucketRegistration(params); } catch (err) { console.warn(err); }
DeleteBucketRegistrationOptions deleteBucketRegistrationOptions = new DeleteBucketRegistrationOptions.Builder() .bucketId("testString") .build(); Response<Void> response = watsonxDataService.deleteBucketRegistration(deleteBucketRegistrationOptions).execute();
response = watsonx_data_service.delete_bucket_registration( bucket_id='testString', )
Update bucket
Update bucket details & credentials
Update bucket details & credentials.
Update bucket details & credentials.
Update bucket details & credentials.
Update bucket details & credentials.
PATCH /bucket_registrations/{bucket_id}
(watsonxData *WatsonxDataV2) UpdateBucketRegistration(updateBucketRegistrationOptions *UpdateBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) UpdateBucketRegistrationWithContext(ctx context.Context, updateBucketRegistrationOptions *UpdateBucketRegistrationOptions) (result *BucketRegistration, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistration> updateBucketRegistration(UpdateBucketRegistrationOptions updateBucketRegistrationOptions)
update_bucket_registration(
self,
bucket_id: str,
body: 'BucketRegistrationPatch',
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
updateBucketRegistration(params)
Request
Instantiate the UpdateBucketRegistrationOptions
struct and set the fields to provide parameter values for the UpdateBucketRegistration
method.
Use the UpdateBucketRegistrationOptions.Builder
to create a UpdateBucketRegistrationOptions
object that contains the parameter values for the updateBucketRegistration
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9:/-]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
{
"bucket_details": {
"access_key": "<access_key>",
"bucket_name": "sample-bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"secret_key": "secret_key"
},
"bucket_display_name": "samplebucketdisplayname",
"description": "COS bucket for customer data",
"tags": [
"testbucket",
"userbucket"
]
}
bucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$
Example:
sample-bucket-displayname
modified description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$
Example:
COS bucket for customer data
Tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$
Examples:[ "testbucket", "userbucket" ]
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The UpdateBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
The updateBucketRegistration options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Request body.
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Update bucket parameters.
Examples:{ "bucket_details": { "access_key": "<access_key>", "bucket_name": "sample-bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "secret_key": "secret_key" }, "bucket_display_name": "samplebucketdisplayname", "description": "COS bucket for customer data", "tags": [ "testbucket", "userbucket" ] }
- body
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
modified description.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "userbucket" ]
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
bucket details.
- bucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:modified description.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:Tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
curl -X PATCH -H "accept: application/json" -H "AuthInstanceId: {CRN}" -H "Content-Type: application/json" -d '{ "access_key": "<access_key>", "bucket_display_name": "sample-bucket-displayname", "description": "COS bucket for customer data", "secret_key": "<secret_key>", "tags": [ "testbucket", "userbucket" ] }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}"
bucketRegistrationPatchModel := &watsonxdatav2.BucketRegistrationPatch{ } bucketRegistrationPatchModelAsPatch, asPatchErr := bucketRegistrationPatchModel.AsPatch() Expect(asPatchErr).To(BeNil()) updateBucketRegistrationOptions := watsonxDataService.NewUpdateBucketRegistrationOptions( "testString", bucketRegistrationPatchModelAsPatch, ) bucketRegistration, response, err := watsonxDataService.UpdateBucketRegistration(updateBucketRegistrationOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(bucketRegistration, "", " ") fmt.Println(string(b))
const params = { bucketId: 'testString', }; let res; try { res = await watsonxDataService.updateBucketRegistration(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
BucketRegistrationPatch bucketRegistrationPatchModel = new BucketRegistrationPatch.Builder() .build(); Map<String, Object> bucketRegistrationPatchModelAsPatch = bucketRegistrationPatchModel.asPatch(); UpdateBucketRegistrationOptions updateBucketRegistrationOptions = new UpdateBucketRegistrationOptions.Builder() .bucketId("testString") .body(bucketRegistrationPatchModelAsPatch) .build(); Response<BucketRegistration> response = watsonxDataService.updateBucketRegistration(updateBucketRegistrationOptions).execute(); BucketRegistration bucketRegistration = response.getResult(); System.out.println(bucketRegistration);
bucket_registration_patch_model = { } response = watsonx_data_service.update_bucket_registration( bucket_id='testString', body=bucket_registration_patch_model, ) bucket_registration = response.get_result() print(json.dumps(bucket_registration, indent=2))
Response
Bucket
bucket catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
bucket type
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Example:
ibm_cos
Username who created the bucket
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Creation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
1686120645
bucket description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$
Example:
COS bucket for customer data
managed by
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
ibm
mark bucket active or inactive
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
active
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Examples:[ "read", "update" ]
bucket details
bucket display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$
Example:
sample-bucket-displayname
bucket ID auto generated during bucket registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
samplebucket123
Region where the bucket is located
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
us-south
storage details
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- AssociatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- BucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- StorageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucketDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storageDetails
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storage_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Bucket.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplebucketdisplayname",
"bucket_id": "samplebucketid",
"bucket_name": "samplebucket",
"bucket_type": "minio",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default bucket",
"endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/",
"managed_by": "ibm",
"region": "us-south",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
bucket details.
- bucket_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:b9cbf248ea5c4c96947e64407108559j
actual bucket name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sample-bucket
Cos endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:https://s3.<region>.cloud-object-storage.appdomain.cloud/
Key file, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 5000, Value must match regular expression
/.*/
Examples:key_file
bucket provider.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:ibm_cos
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:13b4045cac1a0be54c9fjbe53cb22df5fn397cd2c45b66c87
bucket display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample-bucket-displayname
bucket ID auto generated during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplebucket123
bucket type.
Possible values: [
amazon_s3
,aws_s3
,minio
,ibm_cos
,ibm_ceph
,adls_gen1
,adls_gen2
,google_cs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:ibm_cos
Username who created the bucket.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
bucket description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:COS bucket for customer data
managed by.
Possible values: [
ibm
,customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:ibm
Region where the bucket is located.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:us-south
mark bucket active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
storage details.
- storage_details
Access key ID, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<access_key>
Application Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<application_id>
Auth mode types.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<account_key/sas/service_principle>
actual container name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-container
Directory Id for bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<directory_id>
ADLS endpoint.
Possible values: 1 ≤ length ≤ 1024, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=]+/
Examples:abfss://<container_name>@<storage_account_name>.dfs.core.windows.net/
sas token, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 256, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<sas_token>
Secret access key, encrypted during bucket registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:secret_key
actual storage name.
Possible values: 3 ≤ length ≤ 63, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:sample-storage
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "testbucket", "write customer data'" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplebucketdisplayname", "bucket_id": "samplebucketid", "bucket_name": "samplebucket", "bucket_type": "minio", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default bucket", "endpoint": "https://s3.<region>.cloud-object-storage.appdomain.cloud/", "managed_by": "ibm", "region": "us-south", "state": "active", "tags": [ "tag1", "tag2" ] }
Activate Bucket
Activate a registered bucket
Activate a registered bucket.
Activate a registered bucket.
Activate a registered bucket.
Activate a registered bucket.
POST /bucket_registrations/{bucket_id}/activate
(watsonxData *WatsonxDataV2) CreateActivateBucket(createActivateBucketOptions *CreateActivateBucketOptions) (result *CreateActivateBucketCreatedBody, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateActivateBucketWithContext(ctx context.Context, createActivateBucketOptions *CreateActivateBucketOptions) (result *CreateActivateBucketCreatedBody, response *core.DetailedResponse, err error)
ServiceCall<CreateActivateBucketCreatedBody> createActivateBucket(CreateActivateBucketOptions createActivateBucketOptions)
create_activate_bucket(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createActivateBucket(params)
Request
Instantiate the CreateActivateBucketOptions
struct and set the fields to provide parameter values for the CreateActivateBucket
method.
Use the CreateActivateBucketOptions.Builder
to create a CreateActivateBucketOptions
object that contains the parameter values for the createActivateBucket
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateActivateBucket options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createActivateBucket options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {CRN}" -H "Content-Type: application/json" -d "" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}/activate"
createActivateBucketOptions := watsonxDataService.NewCreateActivateBucketOptions( "testString", ) createActivateBucketCreatedBody, response, err := watsonxDataService.CreateActivateBucket(createActivateBucketOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(createActivateBucketCreatedBody, "", " ") fmt.Println(string(b))
const params = { bucketId: 'testString', }; let res; try { res = await watsonxDataService.createActivateBucket(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateActivateBucketOptions createActivateBucketOptions = new CreateActivateBucketOptions.Builder() .bucketId("testString") .build(); Response<CreateActivateBucketCreatedBody> response = watsonxDataService.createActivateBucket(createActivateBucketOptions).execute(); CreateActivateBucketCreatedBody createActivateBucketCreatedBody = response.getResult(); System.out.println(createActivateBucketCreatedBody);
response = watsonx_data_service.create_activate_bucket( bucket_id='testString', ) create_activate_bucket_created_body = response.get_result() print(json.dumps(create_activate_bucket_created_body, indent=2))
Response
Activate bucket
Response of success
Examples:{ "message": "Successful message", "message_code": "success" }
Activate bucket.
{
"response": {
"message": "Activate bucket",
"message_code": "success"
}
}
Response of success.
Examples:{ "message": "Successful message", "message_code": "success" }
- Response
Message.
Message code.
Activate bucket.
{
"response": {
"message": "Activate bucket",
"message_code": "success"
}
}
Response of success.
Examples:{ "message": "Successful message", "message_code": "success" }
- response
Message.
Message code.
Activate bucket.
{
"response": {
"message": "Activate bucket",
"message_code": "success"
}
}
Response of success.
Examples:{ "message": "Successful message", "message_code": "success" }
- response
Message.
Message code.
Activate bucket.
{
"response": {
"message": "Activate bucket",
"message_code": "success"
}
}
Response of success.
Examples:{ "message": "Successful message", "message_code": "success" }
- response
Message.
Message code.
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "response": { "message": "Activate bucket", "message_code": "success" } }
{ "response": { "message": "Activate bucket", "message_code": "success" } }
Deactivate Bucket
Deactivate a bucket
Deactivate a bucket.
Deactivate a bucket.
Deactivate a bucket.
Deactivate a bucket.
DELETE /bucket_registrations/{bucket_id}/deactivate
(watsonxData *WatsonxDataV2) DeleteDeactivateBucket(deleteDeactivateBucketOptions *DeleteDeactivateBucketOptions) (response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) DeleteDeactivateBucketWithContext(ctx context.Context, deleteDeactivateBucketOptions *DeleteDeactivateBucketOptions) (response *core.DetailedResponse, err error)
ServiceCall<Void> deleteDeactivateBucket(DeleteDeactivateBucketOptions deleteDeactivateBucketOptions)
delete_deactivate_bucket(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
deleteDeactivateBucket(params)
Request
Instantiate the DeleteDeactivateBucketOptions
struct and set the fields to provide parameter values for the DeleteDeactivateBucket
method.
Use the DeleteDeactivateBucketOptions.Builder
to create a DeleteDeactivateBucketOptions
object that contains the parameter values for the deleteDeactivateBucket
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The DeleteDeactivateBucket options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The deleteDeactivateBucket options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
CRN.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X DELETE -H "accept: */*" -H "AuthInstanceId: {CRN}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}/deactivate"
deleteDeactivateBucketOptions := watsonxDataService.NewDeleteDeactivateBucketOptions( "testString", ) response, err := watsonxDataService.DeleteDeactivateBucket(deleteDeactivateBucketOptions) if err != nil { panic(err) } if response.StatusCode != 204 { fmt.Printf("\nUnexpected response status code received from DeleteDeactivateBucket(): %d\n", response.StatusCode) }
const params = { bucketId: 'testString', }; try { await watsonxDataService.deleteDeactivateBucket(params); } catch (err) { console.warn(err); }
DeleteDeactivateBucketOptions deleteDeactivateBucketOptions = new DeleteDeactivateBucketOptions.Builder() .bucketId("testString") .build(); Response<Void> response = watsonxDataService.deleteDeactivateBucket(deleteDeactivateBucketOptions).execute();
response = watsonx_data_service.delete_deactivate_bucket( bucket_id='testString', )
List bucket objects
Fetch all objects from a given bucket
Fetch all objects from a given bucket.
Fetch all objects from a given bucket.
Fetch all objects from a given bucket.
Fetch all objects from a given bucket.
GET /bucket_registrations/{bucket_id}/objects
(watsonxData *WatsonxDataV2) ListBucketObjects(listBucketObjectsOptions *ListBucketObjectsOptions) (result *BucketRegistrationObjectCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListBucketObjectsWithContext(ctx context.Context, listBucketObjectsOptions *ListBucketObjectsOptions) (result *BucketRegistrationObjectCollection, response *core.DetailedResponse, err error)
ServiceCall<BucketRegistrationObjectCollection> listBucketObjects(ListBucketObjectsOptions listBucketObjectsOptions)
list_bucket_objects(
self,
bucket_id: str,
*,
auth_instance_id: Optional[str] = None,
path: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listBucketObjects(params)
Request
Instantiate the ListBucketObjectsOptions
struct and set the fields to provide parameter values for the ListBucketObjects
method.
Use the ListBucketObjectsOptions.Builder
to create a ListBucketObjectsOptions
object that contains the parameter values for the listBucketObjects
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9:/-]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Query Parameters
path
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListBucketObjects options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
path.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
The listBucketObjects options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
path.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
path.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
path.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {CRN}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations/{bucket_id}/objects"
listBucketObjectsOptions := watsonxDataService.NewListBucketObjectsOptions( "testString", ) bucketRegistrationObjectCollection, response, err := watsonxDataService.ListBucketObjects(listBucketObjectsOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(bucketRegistrationObjectCollection, "", " ") fmt.Println(string(b))
const params = { bucketId: 'testString', }; let res; try { res = await watsonxDataService.listBucketObjects(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListBucketObjectsOptions listBucketObjectsOptions = new ListBucketObjectsOptions.Builder() .bucketId("testString") .build(); Response<BucketRegistrationObjectCollection> response = watsonxDataService.listBucketObjects(listBucketObjectsOptions).execute(); BucketRegistrationObjectCollection bucketRegistrationObjectCollection = response.getResult(); System.out.println(bucketRegistrationObjectCollection);
response = watsonx_data_service.list_bucket_objects( bucket_id='testString', ) bucket_registration_object_collection = response.get_result() print(json.dumps(bucket_registration_object_collection, indent=2))
Response
List bucket objects
bucket object
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-/]+
List bucket objects.
{
"objects": [
"/path/file1.json",
"/path/file2.txt",
"/path/file3.csv",
"/path/file4.parquet"
]
}
bucket object.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\/]+/
List bucket objects.
{
"objects": [
"/path/file1.json",
"/path/file2.txt",
"/path/file3.csv",
"/path/file4.parquet"
]
}
bucket object.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\/]+/
List bucket objects.
{
"objects": [
"/path/file1.json",
"/path/file2.txt",
"/path/file3.csv",
"/path/file4.parquet"
]
}
bucket object.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\/]+/
List bucket objects.
{
"objects": [
"/path/file1.json",
"/path/file2.txt",
"/path/file3.csv",
"/path/file4.parquet"
]
}
bucket object.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\/]+/
Status Code
Success
Error
Unauthorized
Not found
Internal server error
Success
{ "objects": [ "/path/file1.json", "/path/file2.txt", "/path/file3.csv", "/path/file4.parquet" ] }
{ "objects": [ "/path/file1.json", "/path/file2.txt", "/path/file3.csv", "/path/file4.parquet" ] }
Get bucket object properties
Get bucket object properties
Get bucket object properties.
Get bucket object properties.
Get bucket object properties.
Get bucket object properties.
POST /bucket_registrations/{bucket_id}/object_properties
(watsonxData *WatsonxDataV2) GetBucketObjectProperties(getBucketObjectPropertiesOptions *GetBucketObjectPropertiesOptions) (result *BucketObjectProperties, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) GetBucketObjectPropertiesWithContext(ctx context.Context, getBucketObjectPropertiesOptions *GetBucketObjectPropertiesOptions) (result *BucketObjectProperties, response *core.DetailedResponse, err error)
ServiceCall<BucketObjectProperties> getBucketObjectProperties(GetBucketObjectPropertiesOptions getBucketObjectPropertiesOptions)
get_bucket_object_properties(
self,
bucket_id: str,
*,
paths: Optional[List['Path']] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
getBucketObjectProperties(params)
Request
Instantiate the GetBucketObjectPropertiesOptions
struct and set the fields to provide parameter values for the GetBucketObjectProperties
method.
Use the GetBucketObjectPropertiesOptions.Builder
to create a GetBucketObjectPropertiesOptions
object that contains the parameter values for the getBucketObjectProperties
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Path Parameters
bucket id
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Request body
bucket object size
Possible values: 0 ≤ number of items ≤ 10000
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The GetBucketObjectProperties options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
bucket object size.
Possible values: 0 ≤ number of items ≤ 10000
- Paths
object path.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:string
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The getBucketObjectProperties options.
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
bucket object size.
Possible values: 0 ≤ number of items ≤ 10000
- paths
object path.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:string
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
bucket object size.
Possible values: 0 ≤ number of items ≤ 10000
- paths
object path.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:string
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
bucket id.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
bucket object size.
Possible values: 0 ≤ number of items ≤ 10000
- paths
object path.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:string
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: {CRN}" -H "Content-Type: application/json" -d '{ "associated_catalog": { "catalog_name": "<access_key>", "catalog_type": "sample-bucket" } }' "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/bucket_registrations"
getBucketObjectPropertiesOptions := watsonxDataService.NewGetBucketObjectPropertiesOptions( "testString", ) bucketObjectProperties, response, err := watsonxDataService.GetBucketObjectProperties(getBucketObjectPropertiesOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(bucketObjectProperties, "", " ") fmt.Println(string(b))
const params = { bucketId: 'testString', }; let res; try { res = await watsonxDataService.getBucketObjectProperties(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
GetBucketObjectPropertiesOptions getBucketObjectPropertiesOptions = new GetBucketObjectPropertiesOptions.Builder() .bucketId("testString") .build(); Response<BucketObjectProperties> response = watsonxDataService.getBucketObjectProperties(getBucketObjectPropertiesOptions).execute(); BucketObjectProperties bucketObjectProperties = response.getResult(); System.out.println(bucketObjectProperties);
response = watsonx_data_service.get_bucket_object_properties( bucket_id='testString', ) bucket_object_properties = response.get_result() print(json.dumps(bucket_object_properties, indent=2))
Response
muliple bucket object properties
muliple bucket object properties
Possible values: 0 ≤ number of items ≤ 10000
muliple bucket object properties.
{
"object_properties": [
{
"content_type": "string",
"file_type": "string",
"last_modified": "utc-2014-07",
"metadata": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"path": "abc/abc/data",
"size": "1024"
}
]
}
muliple bucket object properties.
Possible values: 0 ≤ number of items ≤ 10000
- ObjectProperties
content type.
Possible values: Value must match regular expression
/.*/
Examples:string
file type.
Possible values: Value must match regular expression
/.*/
Examples:string
bucket last modified.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:utc-2014-07
Additional metadata associated with the object.
bucket last modified.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:abc/abc/data
size of the bucket objects.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1024
muliple bucket object properties.
{
"object_properties": [
{
"content_type": "string",
"file_type": "string",
"last_modified": "utc-2014-07",
"metadata": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"path": "abc/abc/data",
"size": "1024"
}
]
}
muliple bucket object properties.
Possible values: 0 ≤ number of items ≤ 10000
- objectProperties
content type.
Possible values: Value must match regular expression
/.*/
Examples:string
file type.
Possible values: Value must match regular expression
/.*/
Examples:string
bucket last modified.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:utc-2014-07
Additional metadata associated with the object.
bucket last modified.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:abc/abc/data
size of the bucket objects.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1024
muliple bucket object properties.
{
"object_properties": [
{
"content_type": "string",
"file_type": "string",
"last_modified": "utc-2014-07",
"metadata": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"path": "abc/abc/data",
"size": "1024"
}
]
}
muliple bucket object properties.
Possible values: 0 ≤ number of items ≤ 10000
- object_properties
content type.
Possible values: Value must match regular expression
/.*/
Examples:string
file type.
Possible values: Value must match regular expression
/.*/
Examples:string
bucket last modified.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:utc-2014-07
Additional metadata associated with the object.
bucket last modified.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:abc/abc/data
size of the bucket objects.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1024
muliple bucket object properties.
{
"object_properties": [
{
"content_type": "string",
"file_type": "string",
"last_modified": "utc-2014-07",
"metadata": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"path": "abc/abc/data",
"size": "1024"
}
]
}
muliple bucket object properties.
Possible values: 0 ≤ number of items ≤ 10000
- object_properties
content type.
Possible values: Value must match regular expression
/.*/
Examples:string
file type.
Possible values: Value must match regular expression
/.*/
Examples:string
bucket last modified.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:utc-2014-07
Additional metadata associated with the object.
bucket last modified.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:abc/abc/data
size of the bucket objects.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1024
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "object_properties": [ { "content_type": "string", "file_type": "string", "last_modified": "utc-2014-07", "metadata": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" }, "path": "abc/abc/data", "size": "1024" } ] }
{ "object_properties": [ { "content_type": "string", "file_type": "string", "last_modified": "utc-2014-07", "metadata": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" }, "path": "abc/abc/data", "size": "1024" } ] }
Add/Create HDFS storage
Add or create a new HDFS database
Add or create a new HDFS database.
Add or create a new HDFS database.
Add or create a new HDFS database.
Add or create a new HDFS database.
POST /storage_hdfs_registrations
(watsonxData *WatsonxDataV2) CreateHdfsStorage(createHdfsStorageOptions *CreateHdfsStorageOptions) (result *HdfsStorageRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateHdfsStorageWithContext(ctx context.Context, createHdfsStorageOptions *CreateHdfsStorageOptions) (result *HdfsStorageRegistration, response *core.DetailedResponse, err error)
ServiceCall<HdfsStorageRegistration> createHdfsStorage(CreateHdfsStorageOptions createHdfsStorageOptions)
create_hdfs_storage(
self,
bucket_display_name: str,
bucket_type: str,
hms_thrift_uri: str,
hms_thrift_port: int,
core_site: str,
hdfs_site: str,
kerberos: str,
catalog_name: str,
catalog_type: str,
*,
krb5_config: Optional[str] = None,
hive_keytab: Optional[BinaryIO] = None,
hive_keytab_content_type: Optional[str] = None,
hdfs_keytab: Optional[BinaryIO] = None,
hdfs_keytab_content_type: Optional[str] = None,
hive_server_principal: Optional[str] = None,
hive_client_principal: Optional[str] = None,
hdfs_principal: Optional[str] = None,
description: Optional[str] = None,
created_on: Optional[str] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createHdfsStorage(params)
Request
Instantiate the CreateHdfsStorageOptions
struct and set the fields to provide parameter values for the CreateHdfsStorage
method.
Use the CreateHdfsStorageOptions.Builder
to create a CreateHdfsStorageOptions
object that contains the parameter values for the createHdfsStorage
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9:/-]+$
Form Parameters
Bucket display name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Bucket type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
HMS Thrift URI
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
HMS Thrift Port
Possible values: 1 ≤ value ≤ 65535
contents of core-site.xml file
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
^.*$
contents of hdfs-site.xml file
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
^.*$
Kerberos Flag
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^true$|^false$
Catalog name
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Catalog type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Kerberos config file
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
^.*$
Hive keytab file
Possible values: 1 ≤ length ≤ 104857600
HDFS keytab file
Possible values: 1 ≤ length ≤ 104857600
Hive server principal
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Hive client principal
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
HDFS principal
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Database description
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^[a-zA-Z0-9\-]+$
Created on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateHdfsStorage options.
Bucket display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Bucket type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HMS Thrift URI.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HMS Thrift Port.
Possible values: 1 ≤ value ≤ 65535
contents of core-site.xml file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
contents of hdfs-site.xml file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Kerberos Flag.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^true$|^false$/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Kerberos config file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Hive keytab file.
Possible values: 1 ≤ length ≤ 104857600
The content type of hiveKeytab.
HDFS keytab file.
Possible values: 1 ≤ length ≤ 104857600
The content type of hdfsKeytab.
Hive server principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Hive client principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HDFS principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
The createHdfsStorage options.
Bucket display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Bucket type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HMS Thrift URI.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HMS Thrift Port.
Possible values: 1 ≤ value ≤ 65535
contents of core-site.xml file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
contents of hdfs-site.xml file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Kerberos Flag.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^true$|^false$/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Kerberos config file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Hive keytab file.
Possible values: 1 ≤ length ≤ 104857600
The content type of hiveKeytab. Values for this parameter can be obtained from the HttpMediaType class.
HDFS keytab file.
Possible values: 1 ≤ length ≤ 104857600
The content type of hdfsKeytab. Values for this parameter can be obtained from the HttpMediaType class.
Hive server principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Hive client principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HDFS principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
parameters
Bucket display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Bucket type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HMS Thrift URI.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HMS Thrift Port.
Possible values: 1 ≤ value ≤ 65535
contents of core-site.xml file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
contents of hdfs-site.xml file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Kerberos Flag.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^true$|^false$/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Kerberos config file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Hive keytab file.
Possible values: 1 ≤ length ≤ 104857600
The content type of hive_keytab.
HDFS keytab file.
Possible values: 1 ≤ length ≤ 104857600
The content type of hdfs_keytab.
Hive server principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Hive client principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HDFS principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
parameters
Bucket display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Bucket type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HMS Thrift URI.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HMS Thrift Port.
Possible values: 1 ≤ value ≤ 65535
contents of core-site.xml file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
contents of hdfs-site.xml file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Kerberos Flag.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^true$|^false$/
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Kerberos config file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Hive keytab file.
Possible values: 1 ≤ length ≤ 104857600
The content type of hiveKeytab.
HDFS keytab file.
Possible values: 1 ≤ length ≤ 104857600
The content type of hdfsKeytab.
Hive server principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Hive client principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
HDFS principal.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Database description.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9:\/-]+$/
curl -X POST -H "accept: application/json" -H "AuthInstanceId: 00000000000" -H "Content-Type: multipart/form-data" -F "bucket_display_name=Sample_Hdfs" -F "bucket_type=hdfs" -F "hms_thrift_uri=thrif://hms.example.com" -F "hms_thrift_port=9083" -F "core_site=<contents of core-site.xml file>" -F "hdfs_site=<contents of hdfs-site.xml file>" -F "kerberos=true" -F "krb5_config=<contents of krb5.conf file>" -F "hive_keytab=hive.keytab file" -F "hdfs_keytab=hdfs.keytab file" -F "hive_server_principal=hive/_HOST@EXAMPLE.COM" -F "hive_client_principal=hive/_HOST@EXAMPLE.COM" -F "hdfs_principal=hdfs/_HOST@EXAMPLE.COM" -F "catalog_name=sample_catalog" -F "catalog_type=hive-hadoop2" -F "description=Sample description" -F "created_on=1686120645" "https://us.lakehouse.cloud.ibm.com/lakehouse/api/v2/storage_hdfs_registrations"
createHdfsStorageOptions := watsonxDataService.NewCreateHdfsStorageOptions( "testString", "testString", "testString", int64(1), "testString", "testString", "testString", "testString", "testString", ) hdfsStorageRegistration, response, err := watsonxDataService.CreateHdfsStorage(createHdfsStorageOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(hdfsStorageRegistration, "", " ") fmt.Println(string(b))
const params = { bucketDisplayName: 'testString', bucketType: 'testString', hmsThriftUri: 'testString', hmsThriftPort: 1, coreSite: 'testString', hdfsSite: 'testString', kerberos: 'testString', catalogName: 'testString', catalogType: 'testString', }; let res; try { res = await watsonxDataService.createHdfsStorage(params); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
CreateHdfsStorageOptions createHdfsStorageOptions = new CreateHdfsStorageOptions.Builder() .bucketDisplayName("testString") .bucketType("testString") .hmsThriftUri("testString") .hmsThriftPort(Long.valueOf("1")) .coreSite("testString") .hdfsSite("testString") .kerberos("testString") .catalogName("testString") .catalogType("testString") .build(); Response<HdfsStorageRegistration> response = watsonxDataService.createHdfsStorage(createHdfsStorageOptions).execute(); HdfsStorageRegistration hdfsStorageRegistration = response.getResult(); System.out.println(hdfsStorageRegistration);
response = watsonx_data_service.create_hdfs_storage( bucket_display_name='testString', bucket_type='testString', hms_thrift_uri='testString', hms_thrift_port=1, core_site='testString', hdfs_site='testString', kerberos='testString', catalog_name='testString', catalog_type='testString', ) hdfs_storage_registration = response.get_result() print(json.dumps(hdfs_storage_registration, indent=2))
Response
HDFS storage registration
bucket catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
HDFS type
Possible values: [
hdfs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-_]+$
Example:
hdfs
Username who created the HDFS storage
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
<username>@<domain>.com
Creation date
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
1686120645
HDFS description
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
^.*$
Example:
HDFS description for storage
managed by
Possible values: [
customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9.@<>\-]+
Example:
customer
mark hdfs active or inactive
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
active
Actions
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Examples:[ "read", "update" ]
HDFS storage display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$
Example:
sample hdfs displayname
HDFS Storage ID auto generated during registration
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
hdfs123
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
^.*$
Examples:[ "test", "write customer data'" ]
HDFS storage registration.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplehdfsdisplayname",
"bucket_id": "hdfs123",
"bucket_type": "hdfs",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default hdfs",
"managed_by": "customer",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- AssociatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
HDFS storage display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample hdfs displayname
HDFS Storage ID auto generated during registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:hdfs123
HDFS type.
Possible values: [
hdfs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:hdfs
Username who created the HDFS storage.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
HDFS description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:HDFS description for storage
managed by.
Possible values: [
customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:customer
mark hdfs active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "test", "write customer data'" ]
HDFS storage registration.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplehdfsdisplayname",
"bucket_id": "hdfs123",
"bucket_type": "hdfs",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default hdfs",
"managed_by": "customer",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
HDFS storage display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample hdfs displayname
HDFS Storage ID auto generated during registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:hdfs123
HDFS type.
Possible values: [
hdfs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:hdfs
Username who created the HDFS storage.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
HDFS description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:HDFS description for storage
managed by.
Possible values: [
customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:customer
mark hdfs active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "test", "write customer data'" ]
HDFS storage registration.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplehdfsdisplayname",
"bucket_id": "hdfs123",
"bucket_type": "hdfs",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default hdfs",
"managed_by": "customer",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
HDFS storage display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample hdfs displayname
HDFS Storage ID auto generated during registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:hdfs123
HDFS type.
Possible values: [
hdfs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:hdfs
Username who created the HDFS storage.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
HDFS description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:HDFS description for storage
managed by.
Possible values: [
customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:customer
mark hdfs active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "test", "write customer data'" ]
HDFS storage registration.
{
"actions": [
"create",
"update"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_type": "hive"
},
"bucket_display_name": "samplehdfsdisplayname",
"bucket_id": "hdfs123",
"bucket_type": "hdfs",
"created_by": "username@domain.com",
"created_on": "1699457595",
"description": "default hdfs",
"managed_by": "customer",
"state": "active",
"tags": [
"tag1",
"tag2"
]
}
Actions.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "read", "update" ]
bucket catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
HDFS storage display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:sample hdfs displayname
HDFS Storage ID auto generated during registration.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:hdfs123
HDFS type.
Possible values: [
hdfs
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:hdfs
Username who created the HDFS storage.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:<username>@<domain>.com
Creation date.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:1686120645
HDFS description.
Possible values: 0 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:HDFS description for storage
managed by.
Possible values: [
customer
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9.@<>\\-]+/
Examples:customer
mark hdfs active or inactive.
Possible values: [
active
,inactive
]Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:active
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 1024, Value must match regular expression
/.*/
Examples:[ "test", "write customer data'" ]
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplehdfsdisplayname", "bucket_id": "hdfs123", "bucket_type": "hdfs", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default hdfs", "managed_by": "customer", "state": "active", "tags": [ "tag1", "tag2" ] }
{ "actions": [ "create", "update" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_type": "hive" }, "bucket_display_name": "samplehdfsdisplayname", "bucket_id": "hdfs123", "bucket_type": "hdfs", "created_by": "username@domain.com", "created_on": "1699457595", "description": "default hdfs", "managed_by": "customer", "state": "active", "tags": [ "tag1", "tag2" ] }
Get databases
Get list of databases
Get list of databases.
Get list of databases.
Get list of databases.
Get list of databases.
GET /database_registrations
(watsonxData *WatsonxDataV2) ListDatabaseRegistrations(listDatabaseRegistrationsOptions *ListDatabaseRegistrationsOptions) (result *DatabaseRegistrationCollection, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) ListDatabaseRegistrationsWithContext(ctx context.Context, listDatabaseRegistrationsOptions *ListDatabaseRegistrationsOptions) (result *DatabaseRegistrationCollection, response *core.DetailedResponse, err error)
ServiceCall<DatabaseRegistrationCollection> listDatabaseRegistrations(ListDatabaseRegistrationsOptions listDatabaseRegistrationsOptions)
list_database_registrations(
self,
*,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
listDatabaseRegistrations(params)
Request
Instantiate the ListDatabaseRegistrationsOptions
struct and set the fields to provide parameter values for the ListDatabaseRegistrations
method.
Use the ListDatabaseRegistrationsOptions.Builder
to create a ListDatabaseRegistrationsOptions
object that contains the parameter values for the listDatabaseRegistrations
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The ListDatabaseRegistrations options.
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The listDatabaseRegistrations options.
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
curl -X GET -H "accept: application/json" -H "AuthInstanceId: {CRN}" "https://{region}.lakehouse.cloud.ibm.com/lakehouse/api/v2/database_registrations"
listDatabaseRegistrationsOptions := watsonxDataService.NewListDatabaseRegistrationsOptions() databaseRegistrationCollection, response, err := watsonxDataService.ListDatabaseRegistrations(listDatabaseRegistrationsOptions) if err != nil { panic(err) } b, _ := json.MarshalIndent(databaseRegistrationCollection, "", " ") fmt.Println(string(b))
let res; try { res = await watsonxDataService.listDatabaseRegistrations({}); console.log(JSON.stringify(res.result, null, 2)); } catch (err) { console.warn(err); }
ListDatabaseRegistrationsOptions listDatabaseRegistrationsOptions = new ListDatabaseRegistrationsOptions.Builder() .build(); Response<DatabaseRegistrationCollection> response = watsonxDataService.listDatabaseRegistrations(listDatabaseRegistrationsOptions).execute(); DatabaseRegistrationCollection databaseRegistrationCollection = response.getResult(); System.out.println(databaseRegistrationCollection);
response = watsonx_data_service.list_database_registrations() database_registration_collection = response.get_result() print(json.dumps(database_registration_collection, indent=2))
Response
list database registrations
Database body
Possible values: 0 ≤ number of items ≤ 10000
list database registrations.
{
"database_registrations": [
{
"actions": [
"update",
"delete"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_tags": [
"catalog_tag_1",
"catalog_tag_2"
],
"catalog_type": "hive"
},
"created_by": "user1@bim.com",
"created_on": "1686792721",
"database_details": {
"database_name": "new_database",
"hostname": "netezza://ps.fyre.com",
"password": "samplepassword",
"port": 4353,
"ssl": true,
"tables": "netezza_table_name",
"username": "sampleuser"
},
"database_display_name": "new_database",
"database_id": "new_database_id",
"database_type": "netezza",
"description": "Description of the external database",
"tags": [
"testdatabase",
"userdatabase"
]
}
]
}
Database body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
- DatabaseRegistrations
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ "update", "delete" ]
database catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }
- AssociatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
Created by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:user1@bim.com
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
database details.
- DatabaseDetails
Authentication method.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:LDAP
Broker authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Broker authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Broker authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:contents of a pem/crt file
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:pem/crt
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:basic, apikey
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:service_name
connection mode value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:orclpdb
Connection type.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:JDBC, Arrow flight
Controller authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Controller authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Controller authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
CPD Hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplecpdhostname
Base 64 encoded json file.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:eyJ0eXBlIjoic2VydmljZV9hY2NvdW50IiwicHJvamVjdF9pZCI6ImNvbm9wcy1iaWdxdWVyeSIsInByaXZhdGVfa2V5X2lkIjoiMGY3......
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:new_database
Host name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:db2@<hostname>.com
Hostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplehostname
String of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:abc.com:1234,xyz.com:4321
informix server value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ol_informix1410
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Port.
Possible values: 1 ≤ value ≤ 65535
Examples:4553
Project ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:conops-bigquery
SASL Mode.
Examples:true
service api key.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleapikey
service hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:api.dataplatform.dev.cloud.ibm.com
service password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplepassword
Service Port.
Possible values: 1 ≤ value ≤ 65535
Examples:443
Service SSL Mode.
Examples:true
service token url.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampletoakenurl
service username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleusername
SSL Mode.
Examples:true
Only for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:kafka_table_name
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
Verify certificate.
Examples:true
Verify host name.
Examples:true
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:new_database
Database ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:new_database_id
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]
- DatabaseProperties
Wether the value is to be encrypted before storing.
Examples:true
Key of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:hive.metastore
Value of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:glue
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:netezza
Database description.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Description of the external database
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "testdatabase", "userdatabase" ]
List of topics.
Possible values: 0 ≤ number of items ≤ 10000
- Topics
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
file content.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Examples:sample file content
file name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sample file name
topic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:customer
list database registrations.
{
"database_registrations": [
{
"actions": [
"update",
"delete"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_tags": [
"catalog_tag_1",
"catalog_tag_2"
],
"catalog_type": "hive"
},
"created_by": "user1@bim.com",
"created_on": "1686792721",
"database_details": {
"database_name": "new_database",
"hostname": "netezza://ps.fyre.com",
"password": "samplepassword",
"port": 4353,
"ssl": true,
"tables": "netezza_table_name",
"username": "sampleuser"
},
"database_display_name": "new_database",
"database_id": "new_database_id",
"database_type": "netezza",
"description": "Description of the external database",
"tags": [
"testdatabase",
"userdatabase"
]
}
]
}
Database body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
- databaseRegistrations
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ "update", "delete" ]
database catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }
- associatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
Created by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:user1@bim.com
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
database details.
- databaseDetails
Authentication method.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:LDAP
Broker authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Broker authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Broker authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:contents of a pem/crt file
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:pem/crt
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:basic, apikey
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:service_name
connection mode value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:orclpdb
Connection type.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:JDBC, Arrow flight
Controller authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Controller authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Controller authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
CPD Hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplecpdhostname
Base 64 encoded json file.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:eyJ0eXBlIjoic2VydmljZV9hY2NvdW50IiwicHJvamVjdF9pZCI6ImNvbm9wcy1iaWdxdWVyeSIsInByaXZhdGVfa2V5X2lkIjoiMGY3......
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:new_database
Host name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:db2@<hostname>.com
Hostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplehostname
String of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:abc.com:1234,xyz.com:4321
informix server value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ol_informix1410
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Port.
Possible values: 1 ≤ value ≤ 65535
Examples:4553
Project ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:conops-bigquery
SASL Mode.
Examples:true
service api key.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleapikey
service hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:api.dataplatform.dev.cloud.ibm.com
service password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplepassword
Service Port.
Possible values: 1 ≤ value ≤ 65535
Examples:443
Service SSL Mode.
Examples:true
service token url.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampletoakenurl
service username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleusername
SSL Mode.
Examples:true
Only for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:kafka_table_name
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
Verify certificate.
Examples:true
Verify host name.
Examples:true
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:new_database
Database ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:new_database_id
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]
- databaseProperties
Wether the value is to be encrypted before storing.
Examples:true
Key of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:hive.metastore
Value of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:glue
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:netezza
Database description.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Description of the external database
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "testdatabase", "userdatabase" ]
List of topics.
Possible values: 0 ≤ number of items ≤ 10000
- topics
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
file content.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Examples:sample file content
file name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sample file name
topic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:customer
list database registrations.
{
"database_registrations": [
{
"actions": [
"update",
"delete"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_tags": [
"catalog_tag_1",
"catalog_tag_2"
],
"catalog_type": "hive"
},
"created_by": "user1@bim.com",
"created_on": "1686792721",
"database_details": {
"database_name": "new_database",
"hostname": "netezza://ps.fyre.com",
"password": "samplepassword",
"port": 4353,
"ssl": true,
"tables": "netezza_table_name",
"username": "sampleuser"
},
"database_display_name": "new_database",
"database_id": "new_database_id",
"database_type": "netezza",
"description": "Description of the external database",
"tags": [
"testdatabase",
"userdatabase"
]
}
]
}
Database body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
- database_registrations
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ "update", "delete" ]
database catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
Created by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:user1@bim.com
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
database details.
- database_details
Authentication method.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:LDAP
Broker authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Broker authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Broker authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:contents of a pem/crt file
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:pem/crt
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:basic, apikey
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:service_name
connection mode value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:orclpdb
Connection type.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:JDBC, Arrow flight
Controller authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Controller authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Controller authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
CPD Hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplecpdhostname
Base 64 encoded json file.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:eyJ0eXBlIjoic2VydmljZV9hY2NvdW50IiwicHJvamVjdF9pZCI6ImNvbm9wcy1iaWdxdWVyeSIsInByaXZhdGVfa2V5X2lkIjoiMGY3......
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:new_database
Host name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:db2@<hostname>.com
Hostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplehostname
String of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:abc.com:1234,xyz.com:4321
informix server value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ol_informix1410
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Port.
Possible values: 1 ≤ value ≤ 65535
Examples:4553
Project ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:conops-bigquery
SASL Mode.
Examples:true
service api key.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleapikey
service hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:api.dataplatform.dev.cloud.ibm.com
service password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplepassword
Service Port.
Possible values: 1 ≤ value ≤ 65535
Examples:443
Service SSL Mode.
Examples:true
service token url.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampletoakenurl
service username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleusername
SSL Mode.
Examples:true
Only for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:kafka_table_name
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
Verify certificate.
Examples:true
Verify host name.
Examples:true
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:new_database
Database ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:new_database_id
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]
- database_properties
Wether the value is to be encrypted before storing.
Examples:true
Key of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:hive.metastore
Value of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:glue
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:netezza
Database description.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Description of the external database
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "testdatabase", "userdatabase" ]
List of topics.
Possible values: 0 ≤ number of items ≤ 10000
- topics
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
file content.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Examples:sample file content
file name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sample file name
topic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:customer
list database registrations.
{
"database_registrations": [
{
"actions": [
"update",
"delete"
],
"associated_catalog": {
"catalog_name": "hive_data",
"catalog_tags": [
"catalog_tag_1",
"catalog_tag_2"
],
"catalog_type": "hive"
},
"created_by": "user1@bim.com",
"created_on": "1686792721",
"database_details": {
"database_name": "new_database",
"hostname": "netezza://ps.fyre.com",
"password": "samplepassword",
"port": 4353,
"ssl": true,
"tables": "netezza_table_name",
"username": "sampleuser"
},
"database_display_name": "new_database",
"database_id": "new_database_id",
"database_type": "netezza",
"description": "Description of the external database",
"tags": [
"testdatabase",
"userdatabase"
]
}
]
}
Database body.
Possible values: 0 ≤ number of items ≤ 10000
Examples:{ "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "iceberg_data", "catalog_type": "iceberg" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://abc.efg.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the database", "tags": [ "testdatabase", "userdatabase" ] }
- database_registrations
actions.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ "update", "delete" ]
database catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
Catalog name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
Created by.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:user1@bim.com
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
database details.
- database_details
Authentication method.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:LDAP
Broker authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Broker authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Broker authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:contents of a pem/crt file
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:pem/crt
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:basic, apikey
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:service_name
connection mode value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:orclpdb
Connection type.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:JDBC, Arrow flight
Controller authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Controller authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Controller authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
CPD Hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplecpdhostname
Base 64 encoded json file.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:eyJ0eXBlIjoic2VydmljZV9hY2NvdW50IiwicHJvamVjdF9pZCI6ImNvbm9wcy1iaWdxdWVyeSIsInByaXZhdGVfa2V5X2lkIjoiMGY3......
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:new_database
Host name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:db2@<hostname>.com
Hostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplehostname
String of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:abc.com:1234,xyz.com:4321
informix server value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ol_informix1410
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Port.
Possible values: 1 ≤ value ≤ 65535
Examples:4553
Project ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:conops-bigquery
SASL Mode.
Examples:true
service api key.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleapikey
service hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:api.dataplatform.dev.cloud.ibm.com
service password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplepassword
Service Port.
Possible values: 1 ≤ value ≤ 65535
Examples:443
Service SSL Mode.
Examples:true
service token url.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampletoakenurl
service username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleusername
SSL Mode.
Examples:true
Only for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:kafka_table_name
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
Verify certificate.
Examples:true
Verify host name.
Examples:true
Database display name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:new_database
Database ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:new_database_id
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]
- database_properties
Wether the value is to be encrypted before storing.
Examples:true
Key of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:hive.metastore
Value of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:glue
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:netezza
Database description.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:Description of the external database
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "testdatabase", "userdatabase" ]
List of topics.
Possible values: 0 ≤ number of items ≤ 10000
- topics
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
file content.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/.*/
Examples:sample file content
file name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sample file name
topic name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:customer
Status Code
Success
Error
Unauthorized
Not found
Internal server error
{ "database_registrations": [ { "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "hive" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://ps.fyre.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the external database", "tags": [ "testdatabase", "userdatabase" ] } ] }
{ "database_registrations": [ { "actions": [ "update", "delete" ], "associated_catalog": { "catalog_name": "hive_data", "catalog_tags": [ "catalog_tag_1", "catalog_tag_2" ], "catalog_type": "hive" }, "created_by": "user1@bim.com", "created_on": "1686792721", "database_details": { "database_name": "new_database", "hostname": "netezza://ps.fyre.com", "password": "samplepassword", "port": 4353, "ssl": true, "tables": "netezza_table_name", "username": "sampleuser" }, "database_display_name": "new_database", "database_id": "new_database_id", "database_type": "netezza", "description": "Description of the external database", "tags": [ "testdatabase", "userdatabase" ] } ] }
Add/Create database
Add or create a new database
Add or create a new database.
Add or create a new database.
Add or create a new database.
Add or create a new database.
POST /database_registrations
(watsonxData *WatsonxDataV2) CreateDatabaseRegistration(createDatabaseRegistrationOptions *CreateDatabaseRegistrationOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
(watsonxData *WatsonxDataV2) CreateDatabaseRegistrationWithContext(ctx context.Context, createDatabaseRegistrationOptions *CreateDatabaseRegistrationOptions) (result *DatabaseRegistration, response *core.DetailedResponse, err error)
ServiceCall<DatabaseRegistration> createDatabaseRegistration(CreateDatabaseRegistrationOptions createDatabaseRegistrationOptions)
create_database_registration(
self,
database_display_name: str,
database_type: str,
*,
associated_catalog: Optional['DatabaseCatalog'] = None,
created_on: Optional[str] = None,
database_details: Optional['DatabaseDetails'] = None,
database_properties: Optional[List['DatabaseRegistrationPrototypeDatabasePropertiesItems']] = None,
description: Optional[str] = None,
tags: Optional[List[str]] = None,
auth_instance_id: Optional[str] = None,
**kwargs,
) -> DetailedResponse
createDatabaseRegistration(params)
Request
Instantiate the CreateDatabaseRegistrationOptions
struct and set the fields to provide parameter values for the CreateDatabaseRegistration
method.
Use the CreateDatabaseRegistrationOptions.Builder
to create a CreateDatabaseRegistrationOptions
object that contains the parameter values for the createDatabaseRegistration
method.
Custom Headers
CRN
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-\:/]+$
Request body
Database display name
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
^.*$
Example:
new_database
Connector type
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
db2
database catalog
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }
Created on
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Example:
1686792721
database details
This will hold all the properties for a custom database
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]
Database description
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
^.*$
Example:
db2 extenal database description
tags
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
^[a-zA-Z0-9\-]+$
Examples:[ "testdatabase", "userdatabase" ]
WithContext method only
A context.Context instance that you can use to specify a timeout for the operation or to cancel an in-flight request.
The CreateDatabaseRegistration options.
Database display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:new_database
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:db2
database catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }
- AssociatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
database details.
- DatabaseDetails
Authentication method.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:LDAP
Broker authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Broker authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Broker authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:contents of a pem/crt file
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:pem/crt
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:basic, apikey
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:service_name
connection mode value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:orclpdb
Connection type.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:JDBC, Arrow flight
Controller authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Controller authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Controller authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
CPD Hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplecpdhostname
Base 64 encoded json file.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:eyJ0eXBlIjoic2VydmljZV9hY2NvdW50IiwicHJvamVjdF9pZCI6ImNvbm9wcy1iaWdxdWVyeSIsInByaXZhdGVfa2V5X2lkIjoiMGY3......
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:new_database
Host name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:db2@<hostname>.com
Hostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplehostname
String of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:abc.com:1234,xyz.com:4321
informix server value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ol_informix1410
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Port.
Possible values: 1 ≤ value ≤ 65535
Examples:4553
Project ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:conops-bigquery
SASL Mode.
Examples:true
service api key.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleapikey
service hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:api.dataplatform.dev.cloud.ibm.com
service password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplepassword
Service Port.
Possible values: 1 ≤ value ≤ 65535
Examples:443
Service SSL Mode.
Examples:true
service token url.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampletoakenurl
service username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleusername
SSL Mode.
Examples:true
Only for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:kafka_table_name
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
Verify certificate.
Examples:true
Verify host name.
Examples:true
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]
- DatabaseProperties
Wether the value is to be encrypted before storing.
Examples:true
Key of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:hive.metastore
Value of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:glue
Database description.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:db2 extenal database description
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "testdatabase", "userdatabase" ]
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
The createDatabaseRegistration options.
Database display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:new_database
Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:db2
database catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }
- associatedCatalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:1686792721
database details.
- databaseDetails
Authentication method.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:LDAP
Broker authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Broker authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Broker authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
contents of a pem/crt file.
Possible values: 1 ≤ length ≤ 20000, Value must match regular expression
/^[a-zA-Z0-9\\-=]+/
Examples:contents of a pem/crt file
extension of the certificate file.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:pem/crt
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:basic, apikey
connection mode.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:service_name
connection mode value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:orclpdb
Connection type.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:JDBC, Arrow flight
Controller authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Controller authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD
Controller authentication user.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
CPD Hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplecpdhostname
Base 64 encoded json file.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:eyJ0eXBlIjoic2VydmljZV9hY2NvdW50IiwicHJvamVjdF9pZCI6ImNvbm9wcy1iaWdxdWVyeSIsInByaXZhdGVfa2V5X2lkIjoiMGY3......
Database name.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:new_database
Host name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:db2@<hostname>.com
Hostname in certificate.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplehostname
String of hostname:port.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/^[a-zA-Z0-9\\-:\/.?=@]+/
Examples:abc.com:1234,xyz.com:4321
informix server value.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:ol_informix1410
Psssword.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Port.
Possible values: 1 ≤ value ≤ 65535
Examples:4553
Project ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:conops-bigquery
SASL Mode.
Examples:true
service api key.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleapikey
service hostname.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:api.dataplatform.dev.cloud.ibm.com
service password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:samplepassword
Service Port.
Possible values: 1 ≤ value ≤ 65535
Examples:443
Service SSL Mode.
Examples:true
service token url.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampletoakenurl
service username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:sampleusername
SSL Mode.
Examples:true
Only for Kafka - Add kafka tables.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:kafka_table_name
Username.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:sampleuser
Verify certificate.
Examples:true
Verify host name.
Examples:true
This will hold all the properties for a custom database.
Possible values: 0 ≤ number of items ≤ 10000
Examples:[ { "encrypt": true, "key": "abc", "value": "xyz" } ]
- databaseProperties
Wether the value is to be encrypted before storing.
Examples:true
Key of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_.]+/
Examples:hive.metastore
Value of the database property.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:glue
Database description.
Possible values: 1 ≤ length ≤ 50, Value must match regular expression
/.*/
Examples:db2 extenal database description
tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:[ "testdatabase", "userdatabase" ]
watsonx.data instance ID.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-\\:\/]+$/
parameters
Database display name.
Possible values: 1 ≤ length ≤ 10000, Value must match regular expression
/.*/
Examples:Connector type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:database catalog.
Examples:{ "catalog_name": "iceberg_catalog", "catalog_type": "iceberg" }
- associated_catalog
catalog name.
Possible values: 0 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-_]+/
Examples:sampleCatalog
catalog tags.
Possible values: 0 ≤ number of items ≤ 10000, 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:[ "catalog_tag_1", "catalog_tag_2" ]
catalog type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:iceberg
Created on.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/^[a-zA-Z0-9\\-]+/
Examples:database details.
- database_details
Authentication method.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:LDAP
Broker authentication password.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:samplepassword
Broker authentication type.
Possible values: 1 ≤ length ≤ 128, Value must match regular expression
/.*/
Examples:PASSWORD