func (client *Client) ListAuthorizedBucketsWithContext(ctx context.Context) (*ListBucketsResponse, error) {
	result := &ListBucketsResponse{}
	req := &clientRequest{
		Method:             HTTPGet,
		QueryHeaderOptions: listAuthorizedBucketsOption{""},
		Result:             result,
	}

	resp, err := client.do(ctx, req)
	if err != nil {
		return nil, err
	}
	defer resp.Body.Close()

	return result, err
}
// ListAuthorizedBucketsWithContext will return all buckets users could access with context controlling
ListAuthorizedBucketsWithContext will return all buckets users could access with context controlling
// ListAuthorizedBucketsWithContext will return all buckets users could access with context controlling
func (client *Client) ListAuthorizedBucketsWithContext(ctx context.Context) (*ListBucketsResponse, error) {
	result := &ListBucketsResponse{}
	req := &clientRequest{
		Method:             HTTPGet,
		QueryHeaderOptions: listAuthorizedBucketsOption{""},
		Result:             result,
	}
	resp, err := client.do(ctx, req)
	if err != nil {
		return nil, err
	}
	defer resp.Body.Close()
	return result, err
}
func ( client * Client ) ListAuthorizedBucketsWithContext ( ctx context . Context ) ( * ListBucketsResponse , error ) { result := & ListBucketsResponse { } req := & clientRequest { Method : HTTPGet , QueryHeaderOptions : listAuthorizedBucketsOption { " " } , Result : result , } resp , err := client . do ( ctx , req ) if err != nil { return nil , err } defer resp . Body . Close ( ) return result , err }
ListAuthorizedBucketsWithContext will return all buckets users could access with context controlling
ListAuthorizedBucketsWithContext will return all buckets users could access with context controlling