func (a StorageConfigurationsAPI) Read(mwsAcctID, storageConfigurationID string) (StorageConfiguration, error) {
	var mwsStorageConfigurations StorageConfiguration
	storageConfigurationAPIPath := fmt.Sprintf("/accounts/%s/storage-configurations/%s", mwsAcctID, storageConfigurationID)
	err := a.client.Get(a.context, storageConfigurationAPIPath, nil, &mwsStorageConfigurations)
	return mwsStorageConfigurations, err
}
Read returns the configuration for the root s3 bucket and metadata for the storage configuration
package mws
import (
	"context"
	"fmt"
	"github.com/databrickslabs/terraform-provider-databricks/common"
	"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
func NewStorageConfigurationsAPI(ctx context.Context, m interface{}) StorageConfigurationsAPI {
	return StorageConfigurationsAPI{m.(*common.DatabricksClient), ctx}
}
type StorageConfigurationsAPI struct {
	client  *common.DatabricksClient
	context context.Context
}
func (a StorageConfigurationsAPI) Create(mwsAcctID, storageConfigurationName string, bucketName string) (StorageConfiguration, error) {
	var mwsStorageConfigurations StorageConfiguration
	storageConfigurationAPIPath := fmt.Sprintf("/accounts/%s/storage-configurations", mwsAcctID)
	err := a.client.Post(a.context, storageConfigurationAPIPath, StorageConfiguration{
		StorageConfigurationName: storageConfigurationName,
		RootBucketInfo: &RootBucketInfo{
			BucketName: bucketName,
		},
	}, &mwsStorageConfigurations)
	return mwsStorageConfigurations, err
}